com.apple.foundationdb.record.TimeWindowLeaderboardProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fdb-record-layer-core Show documentation
Show all versions of fdb-record-layer-core Show documentation
A record-oriented layer built for FoundationDB (proto2).
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: time_window_leaderboard.proto
package com.apple.foundationdb.record;
public final class TimeWindowLeaderboardProto {
private TimeWindowLeaderboardProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface TimeWindowLeaderboardDirectoryOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.apple.foundationdb.record.TimeWindowLeaderboardDirectory)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint64 update_timestamp = 1;
*/
boolean hasUpdateTimestamp();
/**
* optional uint64 update_timestamp = 1;
*/
long getUpdateTimestamp();
/**
* optional bool high_score_first = 2;
*/
boolean hasHighScoreFirst();
/**
* optional bool high_score_first = 2;
*/
boolean getHighScoreFirst();
/**
* optional uint32 next_key = 3;
*/
boolean hasNextKey();
/**
* optional uint32 next_key = 3;
*/
int getNextKey();
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
java.util.List
getLeaderboardsList();
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard getLeaderboards(int index);
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
int getLeaderboardsCount();
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
java.util.List
getLeaderboardsOrBuilderList();
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardOrBuilder getLeaderboardsOrBuilder(
int index);
}
/**
* Protobuf type {@code com.apple.foundationdb.record.TimeWindowLeaderboardDirectory}
*/
public static final class TimeWindowLeaderboardDirectory extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:com.apple.foundationdb.record.TimeWindowLeaderboardDirectory)
TimeWindowLeaderboardDirectoryOrBuilder {
// Use TimeWindowLeaderboardDirectory.newBuilder() to construct.
private TimeWindowLeaderboardDirectory(com.google.protobuf.GeneratedMessage.Builder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private TimeWindowLeaderboardDirectory(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final TimeWindowLeaderboardDirectory defaultInstance;
public static TimeWindowLeaderboardDirectory getDefaultInstance() {
return defaultInstance;
}
public TimeWindowLeaderboardDirectory getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TimeWindowLeaderboardDirectory(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
updateTimestamp_ = input.readUInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
highScoreFirst_ = input.readBool();
break;
}
case 24: {
bitField0_ |= 0x00000004;
nextKey_ = input.readUInt32();
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
leaderboards_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
leaderboards_.add(input.readMessage(com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
leaderboards_ = java.util.Collections.unmodifiableList(leaderboards_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardDirectory_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardDirectory_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory.class, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public TimeWindowLeaderboardDirectory parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TimeWindowLeaderboardDirectory(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int UPDATE_TIMESTAMP_FIELD_NUMBER = 1;
private long updateTimestamp_;
/**
* optional uint64 update_timestamp = 1;
*/
public boolean hasUpdateTimestamp() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint64 update_timestamp = 1;
*/
public long getUpdateTimestamp() {
return updateTimestamp_;
}
public static final int HIGH_SCORE_FIRST_FIELD_NUMBER = 2;
private boolean highScoreFirst_;
/**
* optional bool high_score_first = 2;
*/
public boolean hasHighScoreFirst() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool high_score_first = 2;
*/
public boolean getHighScoreFirst() {
return highScoreFirst_;
}
public static final int NEXT_KEY_FIELD_NUMBER = 3;
private int nextKey_;
/**
* optional uint32 next_key = 3;
*/
public boolean hasNextKey() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 next_key = 3;
*/
public int getNextKey() {
return nextKey_;
}
public static final int LEADERBOARDS_FIELD_NUMBER = 4;
private java.util.List leaderboards_;
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public java.util.List getLeaderboardsList() {
return leaderboards_;
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public java.util.List
getLeaderboardsOrBuilderList() {
return leaderboards_;
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public int getLeaderboardsCount() {
return leaderboards_.size();
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard getLeaderboards(int index) {
return leaderboards_.get(index);
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardOrBuilder getLeaderboardsOrBuilder(
int index) {
return leaderboards_.get(index);
}
private void initFields() {
updateTimestamp_ = 0L;
highScoreFirst_ = false;
nextKey_ = 0;
leaderboards_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt64(1, updateTimestamp_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(2, highScoreFirst_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, nextKey_);
}
for (int i = 0; i < leaderboards_.size(); i++) {
output.writeMessage(4, leaderboards_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, updateTimestamp_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, highScoreFirst_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, nextKey_);
}
for (int i = 0; i < leaderboards_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, leaderboards_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.apple.foundationdb.record.TimeWindowLeaderboardDirectory}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:com.apple.foundationdb.record.TimeWindowLeaderboardDirectory)
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectoryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardDirectory_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardDirectory_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory.class, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory.Builder.class);
}
// Construct using com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getLeaderboardsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
updateTimestamp_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
highScoreFirst_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
nextKey_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
if (leaderboardsBuilder_ == null) {
leaderboards_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
leaderboardsBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardDirectory_descriptor;
}
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory getDefaultInstanceForType() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory.getDefaultInstance();
}
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory build() {
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory buildPartial() {
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory result = new com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.updateTimestamp_ = updateTimestamp_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.highScoreFirst_ = highScoreFirst_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.nextKey_ = nextKey_;
if (leaderboardsBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
leaderboards_ = java.util.Collections.unmodifiableList(leaderboards_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.leaderboards_ = leaderboards_;
} else {
result.leaderboards_ = leaderboardsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory) {
return mergeFrom((com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory other) {
if (other == com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory.getDefaultInstance()) return this;
if (other.hasUpdateTimestamp()) {
setUpdateTimestamp(other.getUpdateTimestamp());
}
if (other.hasHighScoreFirst()) {
setHighScoreFirst(other.getHighScoreFirst());
}
if (other.hasNextKey()) {
setNextKey(other.getNextKey());
}
if (leaderboardsBuilder_ == null) {
if (!other.leaderboards_.isEmpty()) {
if (leaderboards_.isEmpty()) {
leaderboards_ = other.leaderboards_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureLeaderboardsIsMutable();
leaderboards_.addAll(other.leaderboards_);
}
onChanged();
}
} else {
if (!other.leaderboards_.isEmpty()) {
if (leaderboardsBuilder_.isEmpty()) {
leaderboardsBuilder_.dispose();
leaderboardsBuilder_ = null;
leaderboards_ = other.leaderboards_;
bitField0_ = (bitField0_ & ~0x00000008);
leaderboardsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getLeaderboardsFieldBuilder() : null;
} else {
leaderboardsBuilder_.addAllMessages(other.leaderboards_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardDirectory) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long updateTimestamp_ ;
/**
* optional uint64 update_timestamp = 1;
*/
public boolean hasUpdateTimestamp() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint64 update_timestamp = 1;
*/
public long getUpdateTimestamp() {
return updateTimestamp_;
}
/**
* optional uint64 update_timestamp = 1;
*/
public Builder setUpdateTimestamp(long value) {
bitField0_ |= 0x00000001;
updateTimestamp_ = value;
onChanged();
return this;
}
/**
* optional uint64 update_timestamp = 1;
*/
public Builder clearUpdateTimestamp() {
bitField0_ = (bitField0_ & ~0x00000001);
updateTimestamp_ = 0L;
onChanged();
return this;
}
private boolean highScoreFirst_ ;
/**
* optional bool high_score_first = 2;
*/
public boolean hasHighScoreFirst() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool high_score_first = 2;
*/
public boolean getHighScoreFirst() {
return highScoreFirst_;
}
/**
* optional bool high_score_first = 2;
*/
public Builder setHighScoreFirst(boolean value) {
bitField0_ |= 0x00000002;
highScoreFirst_ = value;
onChanged();
return this;
}
/**
* optional bool high_score_first = 2;
*/
public Builder clearHighScoreFirst() {
bitField0_ = (bitField0_ & ~0x00000002);
highScoreFirst_ = false;
onChanged();
return this;
}
private int nextKey_ ;
/**
* optional uint32 next_key = 3;
*/
public boolean hasNextKey() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 next_key = 3;
*/
public int getNextKey() {
return nextKey_;
}
/**
* optional uint32 next_key = 3;
*/
public Builder setNextKey(int value) {
bitField0_ |= 0x00000004;
nextKey_ = value;
onChanged();
return this;
}
/**
* optional uint32 next_key = 3;
*/
public Builder clearNextKey() {
bitField0_ = (bitField0_ & ~0x00000004);
nextKey_ = 0;
onChanged();
return this;
}
private java.util.List leaderboards_ =
java.util.Collections.emptyList();
private void ensureLeaderboardsIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
leaderboards_ = new java.util.ArrayList(leaderboards_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.Builder, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardOrBuilder> leaderboardsBuilder_;
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public java.util.List getLeaderboardsList() {
if (leaderboardsBuilder_ == null) {
return java.util.Collections.unmodifiableList(leaderboards_);
} else {
return leaderboardsBuilder_.getMessageList();
}
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public int getLeaderboardsCount() {
if (leaderboardsBuilder_ == null) {
return leaderboards_.size();
} else {
return leaderboardsBuilder_.getCount();
}
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard getLeaderboards(int index) {
if (leaderboardsBuilder_ == null) {
return leaderboards_.get(index);
} else {
return leaderboardsBuilder_.getMessage(index);
}
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public Builder setLeaderboards(
int index, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard value) {
if (leaderboardsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeaderboardsIsMutable();
leaderboards_.set(index, value);
onChanged();
} else {
leaderboardsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public Builder setLeaderboards(
int index, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.Builder builderForValue) {
if (leaderboardsBuilder_ == null) {
ensureLeaderboardsIsMutable();
leaderboards_.set(index, builderForValue.build());
onChanged();
} else {
leaderboardsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public Builder addLeaderboards(com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard value) {
if (leaderboardsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeaderboardsIsMutable();
leaderboards_.add(value);
onChanged();
} else {
leaderboardsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public Builder addLeaderboards(
int index, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard value) {
if (leaderboardsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeaderboardsIsMutable();
leaderboards_.add(index, value);
onChanged();
} else {
leaderboardsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public Builder addLeaderboards(
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.Builder builderForValue) {
if (leaderboardsBuilder_ == null) {
ensureLeaderboardsIsMutable();
leaderboards_.add(builderForValue.build());
onChanged();
} else {
leaderboardsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public Builder addLeaderboards(
int index, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.Builder builderForValue) {
if (leaderboardsBuilder_ == null) {
ensureLeaderboardsIsMutable();
leaderboards_.add(index, builderForValue.build());
onChanged();
} else {
leaderboardsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public Builder addAllLeaderboards(
java.lang.Iterable values) {
if (leaderboardsBuilder_ == null) {
ensureLeaderboardsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, leaderboards_);
onChanged();
} else {
leaderboardsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public Builder clearLeaderboards() {
if (leaderboardsBuilder_ == null) {
leaderboards_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
leaderboardsBuilder_.clear();
}
return this;
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public Builder removeLeaderboards(int index) {
if (leaderboardsBuilder_ == null) {
ensureLeaderboardsIsMutable();
leaderboards_.remove(index);
onChanged();
} else {
leaderboardsBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.Builder getLeaderboardsBuilder(
int index) {
return getLeaderboardsFieldBuilder().getBuilder(index);
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardOrBuilder getLeaderboardsOrBuilder(
int index) {
if (leaderboardsBuilder_ == null) {
return leaderboards_.get(index); } else {
return leaderboardsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public java.util.List
getLeaderboardsOrBuilderList() {
if (leaderboardsBuilder_ != null) {
return leaderboardsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(leaderboards_);
}
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.Builder addLeaderboardsBuilder() {
return getLeaderboardsFieldBuilder().addBuilder(
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.getDefaultInstance());
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.Builder addLeaderboardsBuilder(
int index) {
return getLeaderboardsFieldBuilder().addBuilder(
index, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.getDefaultInstance());
}
/**
* repeated .com.apple.foundationdb.record.TimeWindowLeaderboard leaderboards = 4;
*/
public java.util.List
getLeaderboardsBuilderList() {
return getLeaderboardsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.Builder, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardOrBuilder>
getLeaderboardsFieldBuilder() {
if (leaderboardsBuilder_ == null) {
leaderboardsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.Builder, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardOrBuilder>(
leaderboards_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
leaderboards_ = null;
}
return leaderboardsBuilder_;
}
// @@protoc_insertion_point(builder_scope:com.apple.foundationdb.record.TimeWindowLeaderboardDirectory)
}
static {
defaultInstance = new TimeWindowLeaderboardDirectory(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.apple.foundationdb.record.TimeWindowLeaderboardDirectory)
}
public interface TimeWindowLeaderboardSubDirectoryOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.apple.foundationdb.record.TimeWindowLeaderboardSubDirectory)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool high_score_first = 1;
*/
boolean hasHighScoreFirst();
/**
* optional bool high_score_first = 1;
*/
boolean getHighScoreFirst();
}
/**
* Protobuf type {@code com.apple.foundationdb.record.TimeWindowLeaderboardSubDirectory}
*/
public static final class TimeWindowLeaderboardSubDirectory extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:com.apple.foundationdb.record.TimeWindowLeaderboardSubDirectory)
TimeWindowLeaderboardSubDirectoryOrBuilder {
// Use TimeWindowLeaderboardSubDirectory.newBuilder() to construct.
private TimeWindowLeaderboardSubDirectory(com.google.protobuf.GeneratedMessage.Builder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private TimeWindowLeaderboardSubDirectory(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final TimeWindowLeaderboardSubDirectory defaultInstance;
public static TimeWindowLeaderboardSubDirectory getDefaultInstance() {
return defaultInstance;
}
public TimeWindowLeaderboardSubDirectory getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TimeWindowLeaderboardSubDirectory(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
highScoreFirst_ = input.readBool();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardSubDirectory_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardSubDirectory_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory.class, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public TimeWindowLeaderboardSubDirectory parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TimeWindowLeaderboardSubDirectory(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int HIGH_SCORE_FIRST_FIELD_NUMBER = 1;
private boolean highScoreFirst_;
/**
* optional bool high_score_first = 1;
*/
public boolean hasHighScoreFirst() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional bool high_score_first = 1;
*/
public boolean getHighScoreFirst() {
return highScoreFirst_;
}
private void initFields() {
highScoreFirst_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBool(1, highScoreFirst_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, highScoreFirst_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.apple.foundationdb.record.TimeWindowLeaderboardSubDirectory}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:com.apple.foundationdb.record.TimeWindowLeaderboardSubDirectory)
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectoryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardSubDirectory_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardSubDirectory_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory.class, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory.Builder.class);
}
// Construct using com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
highScoreFirst_ = false;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardSubDirectory_descriptor;
}
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory getDefaultInstanceForType() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory.getDefaultInstance();
}
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory build() {
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory buildPartial() {
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory result = new com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.highScoreFirst_ = highScoreFirst_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory) {
return mergeFrom((com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory other) {
if (other == com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory.getDefaultInstance()) return this;
if (other.hasHighScoreFirst()) {
setHighScoreFirst(other.getHighScoreFirst());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardSubDirectory) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean highScoreFirst_ ;
/**
* optional bool high_score_first = 1;
*/
public boolean hasHighScoreFirst() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional bool high_score_first = 1;
*/
public boolean getHighScoreFirst() {
return highScoreFirst_;
}
/**
* optional bool high_score_first = 1;
*/
public Builder setHighScoreFirst(boolean value) {
bitField0_ |= 0x00000001;
highScoreFirst_ = value;
onChanged();
return this;
}
/**
* optional bool high_score_first = 1;
*/
public Builder clearHighScoreFirst() {
bitField0_ = (bitField0_ & ~0x00000001);
highScoreFirst_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:com.apple.foundationdb.record.TimeWindowLeaderboardSubDirectory)
}
static {
defaultInstance = new TimeWindowLeaderboardSubDirectory(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.apple.foundationdb.record.TimeWindowLeaderboardSubDirectory)
}
public interface TimeWindowLeaderboardOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.apple.foundationdb.record.TimeWindowLeaderboard)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 type = 1;
*/
boolean hasType();
/**
* optional uint32 type = 1;
*/
int getType();
/**
* optional uint64 start_timestamp = 2;
*/
boolean hasStartTimestamp();
/**
* optional uint64 start_timestamp = 2;
*/
long getStartTimestamp();
/**
* optional uint64 end_timestamp = 3;
*/
boolean hasEndTimestamp();
/**
* optional uint64 end_timestamp = 3;
*/
long getEndTimestamp();
/**
* optional bytes subspace_key = 5;
*
*
* Subkey within the index's primary and secondary subspaces.
*
*/
boolean hasSubspaceKey();
/**
* optional bytes subspace_key = 5;
*
*
* Subkey within the index's primary and secondary subspaces.
*
*/
com.google.protobuf.ByteString getSubspaceKey();
/**
* optional int32 nlevels = 6;
*/
boolean hasNlevels();
/**
* optional int32 nlevels = 6;
*/
int getNlevels();
}
/**
* Protobuf type {@code com.apple.foundationdb.record.TimeWindowLeaderboard}
*/
public static final class TimeWindowLeaderboard extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:com.apple.foundationdb.record.TimeWindowLeaderboard)
TimeWindowLeaderboardOrBuilder {
// Use TimeWindowLeaderboard.newBuilder() to construct.
private TimeWindowLeaderboard(com.google.protobuf.GeneratedMessage.Builder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private TimeWindowLeaderboard(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final TimeWindowLeaderboard defaultInstance;
public static TimeWindowLeaderboard getDefaultInstance() {
return defaultInstance;
}
public TimeWindowLeaderboard getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TimeWindowLeaderboard(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
type_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
startTimestamp_ = input.readUInt64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
endTimestamp_ = input.readUInt64();
break;
}
case 42: {
bitField0_ |= 0x00000008;
subspaceKey_ = input.readBytes();
break;
}
case 48: {
bitField0_ |= 0x00000010;
nlevels_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboard_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboard_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.class, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public TimeWindowLeaderboard parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TimeWindowLeaderboard(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
* optional uint32 type = 1;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 type = 1;
*/
public int getType() {
return type_;
}
public static final int START_TIMESTAMP_FIELD_NUMBER = 2;
private long startTimestamp_;
/**
* optional uint64 start_timestamp = 2;
*/
public boolean hasStartTimestamp() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint64 start_timestamp = 2;
*/
public long getStartTimestamp() {
return startTimestamp_;
}
public static final int END_TIMESTAMP_FIELD_NUMBER = 3;
private long endTimestamp_;
/**
* optional uint64 end_timestamp = 3;
*/
public boolean hasEndTimestamp() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint64 end_timestamp = 3;
*/
public long getEndTimestamp() {
return endTimestamp_;
}
public static final int SUBSPACE_KEY_FIELD_NUMBER = 5;
private com.google.protobuf.ByteString subspaceKey_;
/**
* optional bytes subspace_key = 5;
*
*
* Subkey within the index's primary and secondary subspaces.
*
*/
public boolean hasSubspaceKey() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bytes subspace_key = 5;
*
*
* Subkey within the index's primary and secondary subspaces.
*
*/
public com.google.protobuf.ByteString getSubspaceKey() {
return subspaceKey_;
}
public static final int NLEVELS_FIELD_NUMBER = 6;
private int nlevels_;
/**
* optional int32 nlevels = 6;
*/
public boolean hasNlevels() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 nlevels = 6;
*/
public int getNlevels() {
return nlevels_;
}
private void initFields() {
type_ = 0;
startTimestamp_ = 0L;
endTimestamp_ = 0L;
subspaceKey_ = com.google.protobuf.ByteString.EMPTY;
nlevels_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, type_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt64(2, startTimestamp_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt64(3, endTimestamp_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(5, subspaceKey_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(6, nlevels_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, type_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, startTimestamp_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, endTimestamp_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, subspaceKey_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, nlevels_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.apple.foundationdb.record.TimeWindowLeaderboard}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:com.apple.foundationdb.record.TimeWindowLeaderboard)
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboardOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboard_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboard_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.class, com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.Builder.class);
}
// Construct using com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
type_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
startTimestamp_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
endTimestamp_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
subspaceKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
nlevels_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.internal_static_com_apple_foundationdb_record_TimeWindowLeaderboard_descriptor;
}
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard getDefaultInstanceForType() {
return com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.getDefaultInstance();
}
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard build() {
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard buildPartial() {
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard result = new com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.startTimestamp_ = startTimestamp_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.endTimestamp_ = endTimestamp_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.subspaceKey_ = subspaceKey_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.nlevels_ = nlevels_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard) {
return mergeFrom((com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard other) {
if (other == com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard.getDefaultInstance()) return this;
if (other.hasType()) {
setType(other.getType());
}
if (other.hasStartTimestamp()) {
setStartTimestamp(other.getStartTimestamp());
}
if (other.hasEndTimestamp()) {
setEndTimestamp(other.getEndTimestamp());
}
if (other.hasSubspaceKey()) {
setSubspaceKey(other.getSubspaceKey());
}
if (other.hasNlevels()) {
setNlevels(other.getNlevels());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.apple.foundationdb.record.TimeWindowLeaderboardProto.TimeWindowLeaderboard) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int type_ ;
/**
* optional uint32 type = 1;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 type = 1;
*/
public int getType() {
return type_;
}
/**
* optional uint32 type = 1;
*/
public Builder setType(int value) {
bitField0_ |= 0x00000001;
type_ = value;
onChanged();
return this;
}
/**
* optional uint32 type = 1;
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 0;
onChanged();
return this;
}
private long startTimestamp_ ;
/**
* optional uint64 start_timestamp = 2;
*/
public boolean hasStartTimestamp() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint64 start_timestamp = 2;
*/
public long getStartTimestamp() {
return startTimestamp_;
}
/**
* optional uint64 start_timestamp = 2;
*/
public Builder setStartTimestamp(long value) {
bitField0_ |= 0x00000002;
startTimestamp_ = value;
onChanged();
return this;
}
/**
* optional uint64 start_timestamp = 2;
*/
public Builder clearStartTimestamp() {
bitField0_ = (bitField0_ & ~0x00000002);
startTimestamp_ = 0L;
onChanged();
return this;
}
private long endTimestamp_ ;
/**
* optional uint64 end_timestamp = 3;
*/
public boolean hasEndTimestamp() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint64 end_timestamp = 3;
*/
public long getEndTimestamp() {
return endTimestamp_;
}
/**
* optional uint64 end_timestamp = 3;
*/
public Builder setEndTimestamp(long value) {
bitField0_ |= 0x00000004;
endTimestamp_ = value;
onChanged();
return this;
}
/**
* optional uint64 end_timestamp = 3;
*/
public Builder clearEndTimestamp() {
bitField0_ = (bitField0_ & ~0x00000004);
endTimestamp_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.ByteString subspaceKey_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes subspace_key = 5;
*
*
* Subkey within the index's primary and secondary subspaces.
*
*/
public boolean hasSubspaceKey() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bytes subspace_key = 5;
*
*
* Subkey within the index's primary and secondary subspaces.
*
*/
public com.google.protobuf.ByteString getSubspaceKey() {
return subspaceKey_;
}
/**
* optional bytes subspace_key = 5;
*
*
* Subkey within the index's primary and secondary subspaces.
*
*/
public Builder setSubspaceKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
subspaceKey_ = value;
onChanged();
return this;
}
/**
* optional bytes subspace_key = 5;
*
*
* Subkey within the index's primary and secondary subspaces.
*
*/
public Builder clearSubspaceKey() {
bitField0_ = (bitField0_ & ~0x00000008);
subspaceKey_ = getDefaultInstance().getSubspaceKey();
onChanged();
return this;
}
private int nlevels_ ;
/**
* optional int32 nlevels = 6;
*/
public boolean hasNlevels() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 nlevels = 6;
*/
public int getNlevels() {
return nlevels_;
}
/**
* optional int32 nlevels = 6;
*/
public Builder setNlevels(int value) {
bitField0_ |= 0x00000010;
nlevels_ = value;
onChanged();
return this;
}
/**
* optional int32 nlevels = 6;
*/
public Builder clearNlevels() {
bitField0_ = (bitField0_ & ~0x00000010);
nlevels_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:com.apple.foundationdb.record.TimeWindowLeaderboard)
}
static {
defaultInstance = new TimeWindowLeaderboard(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.apple.foundationdb.record.TimeWindowLeaderboard)
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardDirectory_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardDirectory_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardSubDirectory_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardSubDirectory_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboard_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboard_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\035time_window_leaderboard.proto\022\035com.app" +
"le.foundationdb.record\032 google/protobuf/" +
"descriptor.proto\"\262\001\n\036TimeWindowLeaderboa" +
"rdDirectory\022\030\n\020update_timestamp\030\001 \001(\004\022\030\n" +
"\020high_score_first\030\002 \001(\010\022\020\n\010next_key\030\003 \001(" +
"\r\022J\n\014leaderboards\030\004 \003(\01324.com.apple.foun" +
"dationdb.record.TimeWindowLeaderboard\"=\n" +
"!TimeWindowLeaderboardSubDirectory\022\030\n\020hi" +
"gh_score_first\030\001 \001(\010\"|\n\025TimeWindowLeader" +
"board\022\014\n\004type\030\001 \001(\r\022\027\n\017start_timestamp\030\002",
" \001(\004\022\025\n\rend_timestamp\030\003 \001(\004\022\024\n\014subspace_" +
"key\030\005 \001(\014\022\017\n\007nlevels\030\006 \001(\005B\034B\032TimeWindow" +
"LeaderboardProto"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.DescriptorProtos.getDescriptor(),
}, assigner);
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardDirectory_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardDirectory_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardDirectory_descriptor,
new java.lang.String[] { "UpdateTimestamp", "HighScoreFirst", "NextKey", "Leaderboards", });
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardSubDirectory_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardSubDirectory_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboardSubDirectory_descriptor,
new java.lang.String[] { "HighScoreFirst", });
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboard_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboard_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_apple_foundationdb_record_TimeWindowLeaderboard_descriptor,
new java.lang.String[] { "Type", "StartTimestamp", "EndTimestamp", "SubspaceKey", "Nlevels", });
com.google.protobuf.DescriptorProtos.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}