Grasscutter/src/generated/main/java/emu/grasscutter/net/proto/LanV3BoatSettleNotifyOuterClass.java
2023-08-14 18:57:07 -04:00

1851 lines
67 KiB
Java

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: LanV3BoatSettleNotify.proto
package emu.grasscutter.net.proto;
public final class LanV3BoatSettleNotifyOuterClass {
private LanV3BoatSettleNotifyOuterClass() {}
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 LanV3BoatSettleNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:LanV3BoatSettleNotify)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 play_index = 8;</code>
* @return The playIndex.
*/
int getPlayIndex();
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
java.util.List<emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo>
getSettleInfoListList();
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo getSettleInfoList(int index);
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
int getSettleInfoListCount();
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfoOrBuilder>
getSettleInfoListOrBuilderList();
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfoOrBuilder getSettleInfoListOrBuilder(
int index);
/**
* <code>bool is_single = 1;</code>
* @return The isSingle.
*/
boolean getIsSingle();
/**
* <code>repeated uint32 winner_uid_list = 7;</code>
* @return A list containing the winnerUidList.
*/
java.util.List<java.lang.Integer> getWinnerUidListList();
/**
* <code>repeated uint32 winner_uid_list = 7;</code>
* @return The count of winnerUidList.
*/
int getWinnerUidListCount();
/**
* <code>repeated uint32 winner_uid_list = 7;</code>
* @param index The index of the element to return.
* @return The winnerUidList at the given index.
*/
int getWinnerUidList(int index);
/**
* <code>uint32 begin_time = 6;</code>
* @return The beginTime.
*/
int getBeginTime();
/**
* <code>uint32 stage_type = 13;</code>
* @return The stageType.
*/
int getStageType();
/**
* <code>uint32 duration = 2;</code>
* @return The duration.
*/
int getDuration();
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
java.util.List<emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo>
getScoreListList();
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo getScoreList(int index);
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
int getScoreListCount();
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfoOrBuilder>
getScoreListOrBuilderList();
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfoOrBuilder getScoreListOrBuilder(
int index);
/**
* <code>bool IPELDMIMABF = 14;</code>
* @return The iPELDMIMABF.
*/
boolean getIPELDMIMABF();
}
/**
* <pre>
* CmdId: 27166
* Obf: HMONBEDKAPN
* </pre>
*
* Protobuf type {@code LanV3BoatSettleNotify}
*/
public static final class LanV3BoatSettleNotify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:LanV3BoatSettleNotify)
LanV3BoatSettleNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use LanV3BoatSettleNotify.newBuilder() to construct.
private LanV3BoatSettleNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private LanV3BoatSettleNotify() {
settleInfoList_ = java.util.Collections.emptyList();
winnerUidList_ = emptyIntList();
scoreList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LanV3BoatSettleNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LanV3BoatSettleNotify(
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 8: {
isSingle_ = input.readBool();
break;
}
case 16: {
duration_ = input.readUInt32();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
scoreList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo>();
mutable_bitField0_ |= 0x00000004;
}
scoreList_.add(
input.readMessage(emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo.parser(), extensionRegistry));
break;
}
case 48: {
beginTime_ = input.readUInt32();
break;
}
case 56: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
winnerUidList_ = newIntList();
mutable_bitField0_ |= 0x00000002;
}
winnerUidList_.addInt(input.readUInt32());
break;
}
case 58: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
winnerUidList_ = newIntList();
mutable_bitField0_ |= 0x00000002;
}
while (input.getBytesUntilLimit() > 0) {
winnerUidList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 64: {
playIndex_ = input.readUInt32();
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
settleInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo>();
mutable_bitField0_ |= 0x00000001;
}
settleInfoList_.add(
input.readMessage(emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo.parser(), extensionRegistry));
break;
}
case 104: {
stageType_ = input.readUInt32();
break;
}
case 112: {
iPELDMIMABF_ = input.readBool();
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_ & 0x00000004) != 0)) {
scoreList_ = java.util.Collections.unmodifiableList(scoreList_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
winnerUidList_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000001) != 0)) {
settleInfoList_ = java.util.Collections.unmodifiableList(settleInfoList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.internal_static_LanV3BoatSettleNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.internal_static_LanV3BoatSettleNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify.class, emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify.Builder.class);
}
public static final int PLAY_INDEX_FIELD_NUMBER = 8;
private int playIndex_;
/**
* <code>uint32 play_index = 8;</code>
* @return The playIndex.
*/
@java.lang.Override
public int getPlayIndex() {
return playIndex_;
}
public static final int SETTLE_INFO_LIST_FIELD_NUMBER = 10;
private java.util.List<emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo> settleInfoList_;
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo> getSettleInfoListList() {
return settleInfoList_;
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfoOrBuilder>
getSettleInfoListOrBuilderList() {
return settleInfoList_;
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
@java.lang.Override
public int getSettleInfoListCount() {
return settleInfoList_.size();
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo getSettleInfoList(int index) {
return settleInfoList_.get(index);
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfoOrBuilder getSettleInfoListOrBuilder(
int index) {
return settleInfoList_.get(index);
}
public static final int IS_SINGLE_FIELD_NUMBER = 1;
private boolean isSingle_;
/**
* <code>bool is_single = 1;</code>
* @return The isSingle.
*/
@java.lang.Override
public boolean getIsSingle() {
return isSingle_;
}
public static final int WINNER_UID_LIST_FIELD_NUMBER = 7;
private com.google.protobuf.Internal.IntList winnerUidList_;
/**
* <code>repeated uint32 winner_uid_list = 7;</code>
* @return A list containing the winnerUidList.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getWinnerUidListList() {
return winnerUidList_;
}
/**
* <code>repeated uint32 winner_uid_list = 7;</code>
* @return The count of winnerUidList.
*/
public int getWinnerUidListCount() {
return winnerUidList_.size();
}
/**
* <code>repeated uint32 winner_uid_list = 7;</code>
* @param index The index of the element to return.
* @return The winnerUidList at the given index.
*/
public int getWinnerUidList(int index) {
return winnerUidList_.getInt(index);
}
private int winnerUidListMemoizedSerializedSize = -1;
public static final int BEGIN_TIME_FIELD_NUMBER = 6;
private int beginTime_;
/**
* <code>uint32 begin_time = 6;</code>
* @return The beginTime.
*/
@java.lang.Override
public int getBeginTime() {
return beginTime_;
}
public static final int STAGE_TYPE_FIELD_NUMBER = 13;
private int stageType_;
/**
* <code>uint32 stage_type = 13;</code>
* @return The stageType.
*/
@java.lang.Override
public int getStageType() {
return stageType_;
}
public static final int DURATION_FIELD_NUMBER = 2;
private int duration_;
/**
* <code>uint32 duration = 2;</code>
* @return The duration.
*/
@java.lang.Override
public int getDuration() {
return duration_;
}
public static final int SCORE_LIST_FIELD_NUMBER = 3;
private java.util.List<emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo> scoreList_;
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo> getScoreListList() {
return scoreList_;
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfoOrBuilder>
getScoreListOrBuilderList() {
return scoreList_;
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
@java.lang.Override
public int getScoreListCount() {
return scoreList_.size();
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo getScoreList(int index) {
return scoreList_.get(index);
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfoOrBuilder getScoreListOrBuilder(
int index) {
return scoreList_.get(index);
}
public static final int IPELDMIMABF_FIELD_NUMBER = 14;
private boolean iPELDMIMABF_;
/**
* <code>bool IPELDMIMABF = 14;</code>
* @return The iPELDMIMABF.
*/
@java.lang.Override
public boolean getIPELDMIMABF() {
return iPELDMIMABF_;
}
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 (isSingle_ != false) {
output.writeBool(1, isSingle_);
}
if (duration_ != 0) {
output.writeUInt32(2, duration_);
}
for (int i = 0; i < scoreList_.size(); i++) {
output.writeMessage(3, scoreList_.get(i));
}
if (beginTime_ != 0) {
output.writeUInt32(6, beginTime_);
}
if (getWinnerUidListList().size() > 0) {
output.writeUInt32NoTag(58);
output.writeUInt32NoTag(winnerUidListMemoizedSerializedSize);
}
for (int i = 0; i < winnerUidList_.size(); i++) {
output.writeUInt32NoTag(winnerUidList_.getInt(i));
}
if (playIndex_ != 0) {
output.writeUInt32(8, playIndex_);
}
for (int i = 0; i < settleInfoList_.size(); i++) {
output.writeMessage(10, settleInfoList_.get(i));
}
if (stageType_ != 0) {
output.writeUInt32(13, stageType_);
}
if (iPELDMIMABF_ != false) {
output.writeBool(14, iPELDMIMABF_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (isSingle_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, isSingle_);
}
if (duration_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, duration_);
}
for (int i = 0; i < scoreList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, scoreList_.get(i));
}
if (beginTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, beginTime_);
}
{
int dataSize = 0;
for (int i = 0; i < winnerUidList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(winnerUidList_.getInt(i));
}
size += dataSize;
if (!getWinnerUidListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
winnerUidListMemoizedSerializedSize = dataSize;
}
if (playIndex_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, playIndex_);
}
for (int i = 0; i < settleInfoList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, settleInfoList_.get(i));
}
if (stageType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, stageType_);
}
if (iPELDMIMABF_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(14, iPELDMIMABF_);
}
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.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify other = (emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify) obj;
if (getPlayIndex()
!= other.getPlayIndex()) return false;
if (!getSettleInfoListList()
.equals(other.getSettleInfoListList())) return false;
if (getIsSingle()
!= other.getIsSingle()) return false;
if (!getWinnerUidListList()
.equals(other.getWinnerUidListList())) return false;
if (getBeginTime()
!= other.getBeginTime()) return false;
if (getStageType()
!= other.getStageType()) return false;
if (getDuration()
!= other.getDuration()) return false;
if (!getScoreListList()
.equals(other.getScoreListList())) return false;
if (getIPELDMIMABF()
!= other.getIPELDMIMABF()) 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) + PLAY_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getPlayIndex();
if (getSettleInfoListCount() > 0) {
hash = (37 * hash) + SETTLE_INFO_LIST_FIELD_NUMBER;
hash = (53 * hash) + getSettleInfoListList().hashCode();
}
hash = (37 * hash) + IS_SINGLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsSingle());
if (getWinnerUidListCount() > 0) {
hash = (37 * hash) + WINNER_UID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getWinnerUidListList().hashCode();
}
hash = (37 * hash) + BEGIN_TIME_FIELD_NUMBER;
hash = (53 * hash) + getBeginTime();
hash = (37 * hash) + STAGE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getStageType();
hash = (37 * hash) + DURATION_FIELD_NUMBER;
hash = (53 * hash) + getDuration();
if (getScoreListCount() > 0) {
hash = (37 * hash) + SCORE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getScoreListList().hashCode();
}
hash = (37 * hash) + IPELDMIMABF_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIPELDMIMABF());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify 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.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify 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.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify 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.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify 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.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify 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.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify 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;
}
/**
* <pre>
* CmdId: 27166
* Obf: HMONBEDKAPN
* </pre>
*
* Protobuf type {@code LanV3BoatSettleNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:LanV3BoatSettleNotify)
emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.internal_static_LanV3BoatSettleNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.internal_static_LanV3BoatSettleNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify.class, emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSettleInfoListFieldBuilder();
getScoreListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
playIndex_ = 0;
if (settleInfoListBuilder_ == null) {
settleInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
settleInfoListBuilder_.clear();
}
isSingle_ = false;
winnerUidList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000002);
beginTime_ = 0;
stageType_ = 0;
duration_ = 0;
if (scoreListBuilder_ == null) {
scoreList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
scoreListBuilder_.clear();
}
iPELDMIMABF_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.internal_static_LanV3BoatSettleNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify build() {
emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify buildPartial() {
emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify result = new emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify(this);
int from_bitField0_ = bitField0_;
result.playIndex_ = playIndex_;
if (settleInfoListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
settleInfoList_ = java.util.Collections.unmodifiableList(settleInfoList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.settleInfoList_ = settleInfoList_;
} else {
result.settleInfoList_ = settleInfoListBuilder_.build();
}
result.isSingle_ = isSingle_;
if (((bitField0_ & 0x00000002) != 0)) {
winnerUidList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.winnerUidList_ = winnerUidList_;
result.beginTime_ = beginTime_;
result.stageType_ = stageType_;
result.duration_ = duration_;
if (scoreListBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
scoreList_ = java.util.Collections.unmodifiableList(scoreList_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.scoreList_ = scoreList_;
} else {
result.scoreList_ = scoreListBuilder_.build();
}
result.iPELDMIMABF_ = iPELDMIMABF_;
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.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify) {
return mergeFrom((emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify other) {
if (other == emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify.getDefaultInstance()) return this;
if (other.getPlayIndex() != 0) {
setPlayIndex(other.getPlayIndex());
}
if (settleInfoListBuilder_ == null) {
if (!other.settleInfoList_.isEmpty()) {
if (settleInfoList_.isEmpty()) {
settleInfoList_ = other.settleInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSettleInfoListIsMutable();
settleInfoList_.addAll(other.settleInfoList_);
}
onChanged();
}
} else {
if (!other.settleInfoList_.isEmpty()) {
if (settleInfoListBuilder_.isEmpty()) {
settleInfoListBuilder_.dispose();
settleInfoListBuilder_ = null;
settleInfoList_ = other.settleInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
settleInfoListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSettleInfoListFieldBuilder() : null;
} else {
settleInfoListBuilder_.addAllMessages(other.settleInfoList_);
}
}
}
if (other.getIsSingle() != false) {
setIsSingle(other.getIsSingle());
}
if (!other.winnerUidList_.isEmpty()) {
if (winnerUidList_.isEmpty()) {
winnerUidList_ = other.winnerUidList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureWinnerUidListIsMutable();
winnerUidList_.addAll(other.winnerUidList_);
}
onChanged();
}
if (other.getBeginTime() != 0) {
setBeginTime(other.getBeginTime());
}
if (other.getStageType() != 0) {
setStageType(other.getStageType());
}
if (other.getDuration() != 0) {
setDuration(other.getDuration());
}
if (scoreListBuilder_ == null) {
if (!other.scoreList_.isEmpty()) {
if (scoreList_.isEmpty()) {
scoreList_ = other.scoreList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureScoreListIsMutable();
scoreList_.addAll(other.scoreList_);
}
onChanged();
}
} else {
if (!other.scoreList_.isEmpty()) {
if (scoreListBuilder_.isEmpty()) {
scoreListBuilder_.dispose();
scoreListBuilder_ = null;
scoreList_ = other.scoreList_;
bitField0_ = (bitField0_ & ~0x00000004);
scoreListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getScoreListFieldBuilder() : null;
} else {
scoreListBuilder_.addAllMessages(other.scoreList_);
}
}
}
if (other.getIPELDMIMABF() != false) {
setIPELDMIMABF(other.getIPELDMIMABF());
}
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.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int playIndex_ ;
/**
* <code>uint32 play_index = 8;</code>
* @return The playIndex.
*/
@java.lang.Override
public int getPlayIndex() {
return playIndex_;
}
/**
* <code>uint32 play_index = 8;</code>
* @param value The playIndex to set.
* @return This builder for chaining.
*/
public Builder setPlayIndex(int value) {
playIndex_ = value;
onChanged();
return this;
}
/**
* <code>uint32 play_index = 8;</code>
* @return This builder for chaining.
*/
public Builder clearPlayIndex() {
playIndex_ = 0;
onChanged();
return this;
}
private java.util.List<emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo> settleInfoList_ =
java.util.Collections.emptyList();
private void ensureSettleInfoListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
settleInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo>(settleInfoList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo, emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo.Builder, emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfoOrBuilder> settleInfoListBuilder_;
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public java.util.List<emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo> getSettleInfoListList() {
if (settleInfoListBuilder_ == null) {
return java.util.Collections.unmodifiableList(settleInfoList_);
} else {
return settleInfoListBuilder_.getMessageList();
}
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public int getSettleInfoListCount() {
if (settleInfoListBuilder_ == null) {
return settleInfoList_.size();
} else {
return settleInfoListBuilder_.getCount();
}
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo getSettleInfoList(int index) {
if (settleInfoListBuilder_ == null) {
return settleInfoList_.get(index);
} else {
return settleInfoListBuilder_.getMessage(index);
}
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public Builder setSettleInfoList(
int index, emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo value) {
if (settleInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSettleInfoListIsMutable();
settleInfoList_.set(index, value);
onChanged();
} else {
settleInfoListBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public Builder setSettleInfoList(
int index, emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo.Builder builderForValue) {
if (settleInfoListBuilder_ == null) {
ensureSettleInfoListIsMutable();
settleInfoList_.set(index, builderForValue.build());
onChanged();
} else {
settleInfoListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public Builder addSettleInfoList(emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo value) {
if (settleInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSettleInfoListIsMutable();
settleInfoList_.add(value);
onChanged();
} else {
settleInfoListBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public Builder addSettleInfoList(
int index, emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo value) {
if (settleInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSettleInfoListIsMutable();
settleInfoList_.add(index, value);
onChanged();
} else {
settleInfoListBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public Builder addSettleInfoList(
emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo.Builder builderForValue) {
if (settleInfoListBuilder_ == null) {
ensureSettleInfoListIsMutable();
settleInfoList_.add(builderForValue.build());
onChanged();
} else {
settleInfoListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public Builder addSettleInfoList(
int index, emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo.Builder builderForValue) {
if (settleInfoListBuilder_ == null) {
ensureSettleInfoListIsMutable();
settleInfoList_.add(index, builderForValue.build());
onChanged();
} else {
settleInfoListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public Builder addAllSettleInfoList(
java.lang.Iterable<? extends emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo> values) {
if (settleInfoListBuilder_ == null) {
ensureSettleInfoListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, settleInfoList_);
onChanged();
} else {
settleInfoListBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public Builder clearSettleInfoList() {
if (settleInfoListBuilder_ == null) {
settleInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
settleInfoListBuilder_.clear();
}
return this;
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public Builder removeSettleInfoList(int index) {
if (settleInfoListBuilder_ == null) {
ensureSettleInfoListIsMutable();
settleInfoList_.remove(index);
onChanged();
} else {
settleInfoListBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo.Builder getSettleInfoListBuilder(
int index) {
return getSettleInfoListFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfoOrBuilder getSettleInfoListOrBuilder(
int index) {
if (settleInfoListBuilder_ == null) {
return settleInfoList_.get(index); } else {
return settleInfoListBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfoOrBuilder>
getSettleInfoListOrBuilderList() {
if (settleInfoListBuilder_ != null) {
return settleInfoListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(settleInfoList_);
}
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo.Builder addSettleInfoListBuilder() {
return getSettleInfoListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo.getDefaultInstance());
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo.Builder addSettleInfoListBuilder(
int index) {
return getSettleInfoListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo.getDefaultInstance());
}
/**
* <code>repeated .LanV3BoatSettleInfo settle_info_list = 10;</code>
*/
public java.util.List<emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo.Builder>
getSettleInfoListBuilderList() {
return getSettleInfoListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo, emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo.Builder, emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfoOrBuilder>
getSettleInfoListFieldBuilder() {
if (settleInfoListBuilder_ == null) {
settleInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo, emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfo.Builder, emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.LanV3BoatSettleInfoOrBuilder>(
settleInfoList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
settleInfoList_ = null;
}
return settleInfoListBuilder_;
}
private boolean isSingle_ ;
/**
* <code>bool is_single = 1;</code>
* @return The isSingle.
*/
@java.lang.Override
public boolean getIsSingle() {
return isSingle_;
}
/**
* <code>bool is_single = 1;</code>
* @param value The isSingle to set.
* @return This builder for chaining.
*/
public Builder setIsSingle(boolean value) {
isSingle_ = value;
onChanged();
return this;
}
/**
* <code>bool is_single = 1;</code>
* @return This builder for chaining.
*/
public Builder clearIsSingle() {
isSingle_ = false;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList winnerUidList_ = emptyIntList();
private void ensureWinnerUidListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
winnerUidList_ = mutableCopy(winnerUidList_);
bitField0_ |= 0x00000002;
}
}
/**
* <code>repeated uint32 winner_uid_list = 7;</code>
* @return A list containing the winnerUidList.
*/
public java.util.List<java.lang.Integer>
getWinnerUidListList() {
return ((bitField0_ & 0x00000002) != 0) ?
java.util.Collections.unmodifiableList(winnerUidList_) : winnerUidList_;
}
/**
* <code>repeated uint32 winner_uid_list = 7;</code>
* @return The count of winnerUidList.
*/
public int getWinnerUidListCount() {
return winnerUidList_.size();
}
/**
* <code>repeated uint32 winner_uid_list = 7;</code>
* @param index The index of the element to return.
* @return The winnerUidList at the given index.
*/
public int getWinnerUidList(int index) {
return winnerUidList_.getInt(index);
}
/**
* <code>repeated uint32 winner_uid_list = 7;</code>
* @param index The index to set the value at.
* @param value The winnerUidList to set.
* @return This builder for chaining.
*/
public Builder setWinnerUidList(
int index, int value) {
ensureWinnerUidListIsMutable();
winnerUidList_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>repeated uint32 winner_uid_list = 7;</code>
* @param value The winnerUidList to add.
* @return This builder for chaining.
*/
public Builder addWinnerUidList(int value) {
ensureWinnerUidListIsMutable();
winnerUidList_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated uint32 winner_uid_list = 7;</code>
* @param values The winnerUidList to add.
* @return This builder for chaining.
*/
public Builder addAllWinnerUidList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureWinnerUidListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, winnerUidList_);
onChanged();
return this;
}
/**
* <code>repeated uint32 winner_uid_list = 7;</code>
* @return This builder for chaining.
*/
public Builder clearWinnerUidList() {
winnerUidList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private int beginTime_ ;
/**
* <code>uint32 begin_time = 6;</code>
* @return The beginTime.
*/
@java.lang.Override
public int getBeginTime() {
return beginTime_;
}
/**
* <code>uint32 begin_time = 6;</code>
* @param value The beginTime to set.
* @return This builder for chaining.
*/
public Builder setBeginTime(int value) {
beginTime_ = value;
onChanged();
return this;
}
/**
* <code>uint32 begin_time = 6;</code>
* @return This builder for chaining.
*/
public Builder clearBeginTime() {
beginTime_ = 0;
onChanged();
return this;
}
private int stageType_ ;
/**
* <code>uint32 stage_type = 13;</code>
* @return The stageType.
*/
@java.lang.Override
public int getStageType() {
return stageType_;
}
/**
* <code>uint32 stage_type = 13;</code>
* @param value The stageType to set.
* @return This builder for chaining.
*/
public Builder setStageType(int value) {
stageType_ = value;
onChanged();
return this;
}
/**
* <code>uint32 stage_type = 13;</code>
* @return This builder for chaining.
*/
public Builder clearStageType() {
stageType_ = 0;
onChanged();
return this;
}
private int duration_ ;
/**
* <code>uint32 duration = 2;</code>
* @return The duration.
*/
@java.lang.Override
public int getDuration() {
return duration_;
}
/**
* <code>uint32 duration = 2;</code>
* @param value The duration to set.
* @return This builder for chaining.
*/
public Builder setDuration(int value) {
duration_ = value;
onChanged();
return this;
}
/**
* <code>uint32 duration = 2;</code>
* @return This builder for chaining.
*/
public Builder clearDuration() {
duration_ = 0;
onChanged();
return this;
}
private java.util.List<emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo> scoreList_ =
java.util.Collections.emptyList();
private void ensureScoreListIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
scoreList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo>(scoreList_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo, emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo.Builder, emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfoOrBuilder> scoreListBuilder_;
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public java.util.List<emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo> getScoreListList() {
if (scoreListBuilder_ == null) {
return java.util.Collections.unmodifiableList(scoreList_);
} else {
return scoreListBuilder_.getMessageList();
}
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public int getScoreListCount() {
if (scoreListBuilder_ == null) {
return scoreList_.size();
} else {
return scoreListBuilder_.getCount();
}
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo getScoreList(int index) {
if (scoreListBuilder_ == null) {
return scoreList_.get(index);
} else {
return scoreListBuilder_.getMessage(index);
}
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public Builder setScoreList(
int index, emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo value) {
if (scoreListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScoreListIsMutable();
scoreList_.set(index, value);
onChanged();
} else {
scoreListBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public Builder setScoreList(
int index, emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo.Builder builderForValue) {
if (scoreListBuilder_ == null) {
ensureScoreListIsMutable();
scoreList_.set(index, builderForValue.build());
onChanged();
} else {
scoreListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public Builder addScoreList(emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo value) {
if (scoreListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScoreListIsMutable();
scoreList_.add(value);
onChanged();
} else {
scoreListBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public Builder addScoreList(
int index, emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo value) {
if (scoreListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScoreListIsMutable();
scoreList_.add(index, value);
onChanged();
} else {
scoreListBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public Builder addScoreList(
emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo.Builder builderForValue) {
if (scoreListBuilder_ == null) {
ensureScoreListIsMutable();
scoreList_.add(builderForValue.build());
onChanged();
} else {
scoreListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public Builder addScoreList(
int index, emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo.Builder builderForValue) {
if (scoreListBuilder_ == null) {
ensureScoreListIsMutable();
scoreList_.add(index, builderForValue.build());
onChanged();
} else {
scoreListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public Builder addAllScoreList(
java.lang.Iterable<? extends emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo> values) {
if (scoreListBuilder_ == null) {
ensureScoreListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, scoreList_);
onChanged();
} else {
scoreListBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public Builder clearScoreList() {
if (scoreListBuilder_ == null) {
scoreList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
scoreListBuilder_.clear();
}
return this;
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public Builder removeScoreList(int index) {
if (scoreListBuilder_ == null) {
ensureScoreListIsMutable();
scoreList_.remove(index);
onChanged();
} else {
scoreListBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo.Builder getScoreListBuilder(
int index) {
return getScoreListFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfoOrBuilder getScoreListOrBuilder(
int index) {
if (scoreListBuilder_ == null) {
return scoreList_.get(index); } else {
return scoreListBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfoOrBuilder>
getScoreListOrBuilderList() {
if (scoreListBuilder_ != null) {
return scoreListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(scoreList_);
}
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo.Builder addScoreListBuilder() {
return getScoreListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo.getDefaultInstance());
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo.Builder addScoreListBuilder(
int index) {
return getScoreListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo.getDefaultInstance());
}
/**
* <code>repeated .ExhibitionDisplayInfo score_list = 3;</code>
*/
public java.util.List<emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo.Builder>
getScoreListBuilderList() {
return getScoreListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo, emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo.Builder, emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfoOrBuilder>
getScoreListFieldBuilder() {
if (scoreListBuilder_ == null) {
scoreListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo, emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfo.Builder, emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.ExhibitionDisplayInfoOrBuilder>(
scoreList_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
scoreList_ = null;
}
return scoreListBuilder_;
}
private boolean iPELDMIMABF_ ;
/**
* <code>bool IPELDMIMABF = 14;</code>
* @return The iPELDMIMABF.
*/
@java.lang.Override
public boolean getIPELDMIMABF() {
return iPELDMIMABF_;
}
/**
* <code>bool IPELDMIMABF = 14;</code>
* @param value The iPELDMIMABF to set.
* @return This builder for chaining.
*/
public Builder setIPELDMIMABF(boolean value) {
iPELDMIMABF_ = value;
onChanged();
return this;
}
/**
* <code>bool IPELDMIMABF = 14;</code>
* @return This builder for chaining.
*/
public Builder clearIPELDMIMABF() {
iPELDMIMABF_ = false;
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:LanV3BoatSettleNotify)
}
// @@protoc_insertion_point(class_scope:LanV3BoatSettleNotify)
private static final emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify();
}
public static emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<LanV3BoatSettleNotify>
PARSER = new com.google.protobuf.AbstractParser<LanV3BoatSettleNotify>() {
@java.lang.Override
public LanV3BoatSettleNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LanV3BoatSettleNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<LanV3BoatSettleNotify> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<LanV3BoatSettleNotify> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.LanV3BoatSettleNotifyOuterClass.LanV3BoatSettleNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_LanV3BoatSettleNotify_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_LanV3BoatSettleNotify_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\033LanV3BoatSettleNotify.proto\032\031LanV3Boat" +
"SettleInfo.proto\032\033ExhibitionDisplayInfo." +
"proto\"\202\002\n\025LanV3BoatSettleNotify\022\022\n\nplay_" +
"index\030\010 \001(\r\022.\n\020settle_info_list\030\n \003(\0132\024." +
"LanV3BoatSettleInfo\022\021\n\tis_single\030\001 \001(\010\022\027" +
"\n\017winner_uid_list\030\007 \003(\r\022\022\n\nbegin_time\030\006 " +
"\001(\r\022\022\n\nstage_type\030\r \001(\r\022\020\n\010duration\030\002 \001(" +
"\r\022*\n\nscore_list\030\003 \003(\0132\026.ExhibitionDispla" +
"yInfo\022\023\n\013IPELDMIMABF\030\016 \001(\010B\033\n\031emu.grassc" +
"utter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.getDescriptor(),
emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.getDescriptor(),
});
internal_static_LanV3BoatSettleNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_LanV3BoatSettleNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_LanV3BoatSettleNotify_descriptor,
new java.lang.String[] { "PlayIndex", "SettleInfoList", "IsSingle", "WinnerUidList", "BeginTime", "StageType", "Duration", "ScoreList", "IPELDMIMABF", });
emu.grasscutter.net.proto.LanV3BoatSettleInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.ExhibitionDisplayInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}