// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: InstableSprayDungeonSettleInfo.proto
package emu.grasscutter.net.proto;
public final class InstableSprayDungeonSettleInfoOuterClass {
private InstableSprayDungeonSettleInfoOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface InstableSprayDungeonSettleInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:InstableSprayDungeonSettleInfo)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 stage_id = 12;
* @return The stageId.
*/
int getStageId();
/**
* uint32 difficulty = 15;
* @return The difficulty.
*/
int getDifficulty();
/**
* bool is_new_record = 9;
* @return The isNewRecord.
*/
boolean getIsNewRecord();
/**
* repeated uint32 score_list = 3;
* @return A list containing the scoreList.
*/
java.util.List getScoreListList();
/**
* repeated uint32 score_list = 3;
* @return The count of scoreList.
*/
int getScoreListCount();
/**
* repeated uint32 score_list = 3;
* @param index The index of the element to return.
* @return The scoreList at the given index.
*/
int getScoreList(int index);
}
/**
* Protobuf type {@code InstableSprayDungeonSettleInfo}
*/
public static final class InstableSprayDungeonSettleInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:InstableSprayDungeonSettleInfo)
InstableSprayDungeonSettleInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use InstableSprayDungeonSettleInfo.newBuilder() to construct.
private InstableSprayDungeonSettleInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private InstableSprayDungeonSettleInfo() {
scoreList_ = emptyIntList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InstableSprayDungeonSettleInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InstableSprayDungeonSettleInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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;
case 24: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
scoreList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
scoreList_.addInt(input.readUInt32());
break;
}
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
scoreList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
scoreList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 72: {
isNewRecord_ = input.readBool();
break;
}
case 96: {
stageId_ = input.readUInt32();
break;
}
case 120: {
difficulty_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
scoreList_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.internal_static_InstableSprayDungeonSettleInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.internal_static_InstableSprayDungeonSettleInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo.class, emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo.Builder.class);
}
public static final int STAGE_ID_FIELD_NUMBER = 12;
private int stageId_;
/**
* uint32 stage_id = 12;
* @return The stageId.
*/
@java.lang.Override
public int getStageId() {
return stageId_;
}
public static final int DIFFICULTY_FIELD_NUMBER = 15;
private int difficulty_;
/**
* uint32 difficulty = 15;
* @return The difficulty.
*/
@java.lang.Override
public int getDifficulty() {
return difficulty_;
}
public static final int IS_NEW_RECORD_FIELD_NUMBER = 9;
private boolean isNewRecord_;
/**
* bool is_new_record = 9;
* @return The isNewRecord.
*/
@java.lang.Override
public boolean getIsNewRecord() {
return isNewRecord_;
}
public static final int SCORE_LIST_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.IntList scoreList_;
/**
* repeated uint32 score_list = 3;
* @return A list containing the scoreList.
*/
@java.lang.Override
public java.util.List
getScoreListList() {
return scoreList_;
}
/**
* repeated uint32 score_list = 3;
* @return The count of scoreList.
*/
public int getScoreListCount() {
return scoreList_.size();
}
/**
* repeated uint32 score_list = 3;
* @param index The index of the element to return.
* @return The scoreList at the given index.
*/
public int getScoreList(int index) {
return scoreList_.getInt(index);
}
private int scoreListMemoizedSerializedSize = -1;
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (getScoreListList().size() > 0) {
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(scoreListMemoizedSerializedSize);
}
for (int i = 0; i < scoreList_.size(); i++) {
output.writeUInt32NoTag(scoreList_.getInt(i));
}
if (isNewRecord_ != false) {
output.writeBool(9, isNewRecord_);
}
if (stageId_ != 0) {
output.writeUInt32(12, stageId_);
}
if (difficulty_ != 0) {
output.writeUInt32(15, difficulty_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < scoreList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(scoreList_.getInt(i));
}
size += dataSize;
if (!getScoreListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
scoreListMemoizedSerializedSize = dataSize;
}
if (isNewRecord_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, isNewRecord_);
}
if (stageId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, stageId_);
}
if (difficulty_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, difficulty_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo other = (emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo) obj;
if (getStageId()
!= other.getStageId()) return false;
if (getDifficulty()
!= other.getDifficulty()) return false;
if (getIsNewRecord()
!= other.getIsNewRecord()) return false;
if (!getScoreListList()
.equals(other.getScoreListList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + STAGE_ID_FIELD_NUMBER;
hash = (53 * hash) + getStageId();
hash = (37 * hash) + DIFFICULTY_FIELD_NUMBER;
hash = (53 * hash) + getDifficulty();
hash = (37 * hash) + IS_NEW_RECORD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsNewRecord());
if (getScoreListCount() > 0) {
hash = (37 * hash) + SCORE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getScoreListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code InstableSprayDungeonSettleInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:InstableSprayDungeonSettleInfo)
emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.internal_static_InstableSprayDungeonSettleInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.internal_static_InstableSprayDungeonSettleInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo.class, emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
stageId_ = 0;
difficulty_ = 0;
isNewRecord_ = false;
scoreList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.internal_static_InstableSprayDungeonSettleInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo build() {
emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo buildPartial() {
emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo result = new emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo(this);
int from_bitField0_ = bitField0_;
result.stageId_ = stageId_;
result.difficulty_ = difficulty_;
result.isNewRecord_ = isNewRecord_;
if (((bitField0_ & 0x00000001) != 0)) {
scoreList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.scoreList_ = scoreList_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo) {
return mergeFrom((emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo other) {
if (other == emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo.getDefaultInstance()) return this;
if (other.getStageId() != 0) {
setStageId(other.getStageId());
}
if (other.getDifficulty() != 0) {
setDifficulty(other.getDifficulty());
}
if (other.getIsNewRecord() != false) {
setIsNewRecord(other.getIsNewRecord());
}
if (!other.scoreList_.isEmpty()) {
if (scoreList_.isEmpty()) {
scoreList_ = other.scoreList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureScoreListIsMutable();
scoreList_.addAll(other.scoreList_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int stageId_ ;
/**
* uint32 stage_id = 12;
* @return The stageId.
*/
@java.lang.Override
public int getStageId() {
return stageId_;
}
/**
* uint32 stage_id = 12;
* @param value The stageId to set.
* @return This builder for chaining.
*/
public Builder setStageId(int value) {
stageId_ = value;
onChanged();
return this;
}
/**
* uint32 stage_id = 12;
* @return This builder for chaining.
*/
public Builder clearStageId() {
stageId_ = 0;
onChanged();
return this;
}
private int difficulty_ ;
/**
* uint32 difficulty = 15;
* @return The difficulty.
*/
@java.lang.Override
public int getDifficulty() {
return difficulty_;
}
/**
* uint32 difficulty = 15;
* @param value The difficulty to set.
* @return This builder for chaining.
*/
public Builder setDifficulty(int value) {
difficulty_ = value;
onChanged();
return this;
}
/**
* uint32 difficulty = 15;
* @return This builder for chaining.
*/
public Builder clearDifficulty() {
difficulty_ = 0;
onChanged();
return this;
}
private boolean isNewRecord_ ;
/**
* bool is_new_record = 9;
* @return The isNewRecord.
*/
@java.lang.Override
public boolean getIsNewRecord() {
return isNewRecord_;
}
/**
* bool is_new_record = 9;
* @param value The isNewRecord to set.
* @return This builder for chaining.
*/
public Builder setIsNewRecord(boolean value) {
isNewRecord_ = value;
onChanged();
return this;
}
/**
* bool is_new_record = 9;
* @return This builder for chaining.
*/
public Builder clearIsNewRecord() {
isNewRecord_ = false;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList scoreList_ = emptyIntList();
private void ensureScoreListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
scoreList_ = mutableCopy(scoreList_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated uint32 score_list = 3;
* @return A list containing the scoreList.
*/
public java.util.List
getScoreListList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(scoreList_) : scoreList_;
}
/**
* repeated uint32 score_list = 3;
* @return The count of scoreList.
*/
public int getScoreListCount() {
return scoreList_.size();
}
/**
* repeated uint32 score_list = 3;
* @param index The index of the element to return.
* @return The scoreList at the given index.
*/
public int getScoreList(int index) {
return scoreList_.getInt(index);
}
/**
* repeated uint32 score_list = 3;
* @param index The index to set the value at.
* @param value The scoreList to set.
* @return This builder for chaining.
*/
public Builder setScoreList(
int index, int value) {
ensureScoreListIsMutable();
scoreList_.setInt(index, value);
onChanged();
return this;
}
/**
* repeated uint32 score_list = 3;
* @param value The scoreList to add.
* @return This builder for chaining.
*/
public Builder addScoreList(int value) {
ensureScoreListIsMutable();
scoreList_.addInt(value);
onChanged();
return this;
}
/**
* repeated uint32 score_list = 3;
* @param values The scoreList to add.
* @return This builder for chaining.
*/
public Builder addAllScoreList(
java.lang.Iterable extends java.lang.Integer> values) {
ensureScoreListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, scoreList_);
onChanged();
return this;
}
/**
* repeated uint32 score_list = 3;
* @return This builder for chaining.
*/
public Builder clearScoreList() {
scoreList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:InstableSprayDungeonSettleInfo)
}
// @@protoc_insertion_point(class_scope:InstableSprayDungeonSettleInfo)
private static final emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo();
}
public static emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public InstableSprayDungeonSettleInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new InstableSprayDungeonSettleInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.InstableSprayDungeonSettleInfoOuterClass.InstableSprayDungeonSettleInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_InstableSprayDungeonSettleInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_InstableSprayDungeonSettleInfo_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$InstableSprayDungeonSettleInfo.proto\"q" +
"\n\036InstableSprayDungeonSettleInfo\022\020\n\010stag" +
"e_id\030\014 \001(\r\022\022\n\ndifficulty\030\017 \001(\r\022\025\n\ris_new" +
"_record\030\t \001(\010\022\022\n\nscore_list\030\003 \003(\rB\033\n\031emu" +
".grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_InstableSprayDungeonSettleInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_InstableSprayDungeonSettleInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_InstableSprayDungeonSettleInfo_descriptor,
new java.lang.String[] { "StageId", "Difficulty", "IsNewRecord", "ScoreList", });
}
// @@protoc_insertion_point(outer_class_scope)
}