emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grasscutter Show documentation
Show all versions of grasscutter Show documentation
A server software reimplementation for an anime game.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ArenaChallengeFinishNotify.proto
package emu.grasscutter.net.proto;
public final class ArenaChallengeFinishNotifyOuterClass {
private ArenaChallengeFinishNotifyOuterClass() {}
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 ArenaChallengeFinishNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:ArenaChallengeFinishNotify)
com.google.protobuf.MessageOrBuilder {
/**
* bool is_success = 15;
* @return The isSuccess.
*/
boolean getIsSuccess();
/**
* uint32 finish_time = 13;
* @return The finishTime.
*/
int getFinishTime();
/**
* uint32 CCKGKFMEKKL = 9;
* @return The cCKGKFMEKKL.
*/
int getCCKGKFMEKKL();
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
java.util.List
getChildChallengeListList();
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo getChildChallengeList(int index);
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
int getChildChallengeListCount();
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
java.util.List extends emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfoOrBuilder>
getChildChallengeListOrBuilderList();
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfoOrBuilder getChildChallengeListOrBuilder(
int index);
/**
* bool GEDHGMKJHBB = 8;
* @return The gEDHGMKJHBB.
*/
boolean getGEDHGMKJHBB();
/**
* uint32 OAHPACPBKJM = 10;
* @return The oAHPACPBKJM.
*/
int getOAHPACPBKJM();
}
/**
*
* CmdId: 20843
* Obf: KPFJDEAJFFJ
*
*
* Protobuf type {@code ArenaChallengeFinishNotify}
*/
public static final class ArenaChallengeFinishNotify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ArenaChallengeFinishNotify)
ArenaChallengeFinishNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use ArenaChallengeFinishNotify.newBuilder() to construct.
private ArenaChallengeFinishNotify(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ArenaChallengeFinishNotify() {
childChallengeList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ArenaChallengeFinishNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ArenaChallengeFinishNotify(
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 58: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
childChallengeList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
childChallengeList_.add(
input.readMessage(emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo.parser(), extensionRegistry));
break;
}
case 64: {
gEDHGMKJHBB_ = input.readBool();
break;
}
case 72: {
cCKGKFMEKKL_ = input.readUInt32();
break;
}
case 80: {
oAHPACPBKJM_ = input.readUInt32();
break;
}
case 104: {
finishTime_ = input.readUInt32();
break;
}
case 120: {
isSuccess_ = 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_ & 0x00000001) != 0)) {
childChallengeList_ = java.util.Collections.unmodifiableList(childChallengeList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.internal_static_ArenaChallengeFinishNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.internal_static_ArenaChallengeFinishNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify.class, emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify.Builder.class);
}
public static final int IS_SUCCESS_FIELD_NUMBER = 15;
private boolean isSuccess_;
/**
* bool is_success = 15;
* @return The isSuccess.
*/
@java.lang.Override
public boolean getIsSuccess() {
return isSuccess_;
}
public static final int FINISH_TIME_FIELD_NUMBER = 13;
private int finishTime_;
/**
* uint32 finish_time = 13;
* @return The finishTime.
*/
@java.lang.Override
public int getFinishTime() {
return finishTime_;
}
public static final int CCKGKFMEKKL_FIELD_NUMBER = 9;
private int cCKGKFMEKKL_;
/**
* uint32 CCKGKFMEKKL = 9;
* @return The cCKGKFMEKKL.
*/
@java.lang.Override
public int getCCKGKFMEKKL() {
return cCKGKFMEKKL_;
}
public static final int CHILD_CHALLENGE_LIST_FIELD_NUMBER = 7;
private java.util.List childChallengeList_;
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
@java.lang.Override
public java.util.List getChildChallengeListList() {
return childChallengeList_;
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfoOrBuilder>
getChildChallengeListOrBuilderList() {
return childChallengeList_;
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
@java.lang.Override
public int getChildChallengeListCount() {
return childChallengeList_.size();
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
@java.lang.Override
public emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo getChildChallengeList(int index) {
return childChallengeList_.get(index);
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
@java.lang.Override
public emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfoOrBuilder getChildChallengeListOrBuilder(
int index) {
return childChallengeList_.get(index);
}
public static final int GEDHGMKJHBB_FIELD_NUMBER = 8;
private boolean gEDHGMKJHBB_;
/**
* bool GEDHGMKJHBB = 8;
* @return The gEDHGMKJHBB.
*/
@java.lang.Override
public boolean getGEDHGMKJHBB() {
return gEDHGMKJHBB_;
}
public static final int OAHPACPBKJM_FIELD_NUMBER = 10;
private int oAHPACPBKJM_;
/**
* uint32 OAHPACPBKJM = 10;
* @return The oAHPACPBKJM.
*/
@java.lang.Override
public int getOAHPACPBKJM() {
return oAHPACPBKJM_;
}
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 {
for (int i = 0; i < childChallengeList_.size(); i++) {
output.writeMessage(7, childChallengeList_.get(i));
}
if (gEDHGMKJHBB_ != false) {
output.writeBool(8, gEDHGMKJHBB_);
}
if (cCKGKFMEKKL_ != 0) {
output.writeUInt32(9, cCKGKFMEKKL_);
}
if (oAHPACPBKJM_ != 0) {
output.writeUInt32(10, oAHPACPBKJM_);
}
if (finishTime_ != 0) {
output.writeUInt32(13, finishTime_);
}
if (isSuccess_ != false) {
output.writeBool(15, isSuccess_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < childChallengeList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, childChallengeList_.get(i));
}
if (gEDHGMKJHBB_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, gEDHGMKJHBB_);
}
if (cCKGKFMEKKL_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, cCKGKFMEKKL_);
}
if (oAHPACPBKJM_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, oAHPACPBKJM_);
}
if (finishTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, finishTime_);
}
if (isSuccess_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(15, isSuccess_);
}
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.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify other = (emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify) obj;
if (getIsSuccess()
!= other.getIsSuccess()) return false;
if (getFinishTime()
!= other.getFinishTime()) return false;
if (getCCKGKFMEKKL()
!= other.getCCKGKFMEKKL()) return false;
if (!getChildChallengeListList()
.equals(other.getChildChallengeListList())) return false;
if (getGEDHGMKJHBB()
!= other.getGEDHGMKJHBB()) return false;
if (getOAHPACPBKJM()
!= other.getOAHPACPBKJM()) 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) + IS_SUCCESS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsSuccess());
hash = (37 * hash) + FINISH_TIME_FIELD_NUMBER;
hash = (53 * hash) + getFinishTime();
hash = (37 * hash) + CCKGKFMEKKL_FIELD_NUMBER;
hash = (53 * hash) + getCCKGKFMEKKL();
if (getChildChallengeListCount() > 0) {
hash = (37 * hash) + CHILD_CHALLENGE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getChildChallengeListList().hashCode();
}
hash = (37 * hash) + GEDHGMKJHBB_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getGEDHGMKJHBB());
hash = (37 * hash) + OAHPACPBKJM_FIELD_NUMBER;
hash = (53 * hash) + getOAHPACPBKJM();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify 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.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify 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.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify 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.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify 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.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify 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.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify 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;
}
/**
*
* CmdId: 20843
* Obf: KPFJDEAJFFJ
*
*
* Protobuf type {@code ArenaChallengeFinishNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ArenaChallengeFinishNotify)
emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.internal_static_ArenaChallengeFinishNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.internal_static_ArenaChallengeFinishNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify.class, emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getChildChallengeListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
isSuccess_ = false;
finishTime_ = 0;
cCKGKFMEKKL_ = 0;
if (childChallengeListBuilder_ == null) {
childChallengeList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
childChallengeListBuilder_.clear();
}
gEDHGMKJHBB_ = false;
oAHPACPBKJM_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.internal_static_ArenaChallengeFinishNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify build() {
emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify buildPartial() {
emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify result = new emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify(this);
int from_bitField0_ = bitField0_;
result.isSuccess_ = isSuccess_;
result.finishTime_ = finishTime_;
result.cCKGKFMEKKL_ = cCKGKFMEKKL_;
if (childChallengeListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
childChallengeList_ = java.util.Collections.unmodifiableList(childChallengeList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.childChallengeList_ = childChallengeList_;
} else {
result.childChallengeList_ = childChallengeListBuilder_.build();
}
result.gEDHGMKJHBB_ = gEDHGMKJHBB_;
result.oAHPACPBKJM_ = oAHPACPBKJM_;
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.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify) {
return mergeFrom((emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify other) {
if (other == emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify.getDefaultInstance()) return this;
if (other.getIsSuccess() != false) {
setIsSuccess(other.getIsSuccess());
}
if (other.getFinishTime() != 0) {
setFinishTime(other.getFinishTime());
}
if (other.getCCKGKFMEKKL() != 0) {
setCCKGKFMEKKL(other.getCCKGKFMEKKL());
}
if (childChallengeListBuilder_ == null) {
if (!other.childChallengeList_.isEmpty()) {
if (childChallengeList_.isEmpty()) {
childChallengeList_ = other.childChallengeList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureChildChallengeListIsMutable();
childChallengeList_.addAll(other.childChallengeList_);
}
onChanged();
}
} else {
if (!other.childChallengeList_.isEmpty()) {
if (childChallengeListBuilder_.isEmpty()) {
childChallengeListBuilder_.dispose();
childChallengeListBuilder_ = null;
childChallengeList_ = other.childChallengeList_;
bitField0_ = (bitField0_ & ~0x00000001);
childChallengeListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getChildChallengeListFieldBuilder() : null;
} else {
childChallengeListBuilder_.addAllMessages(other.childChallengeList_);
}
}
}
if (other.getGEDHGMKJHBB() != false) {
setGEDHGMKJHBB(other.getGEDHGMKJHBB());
}
if (other.getOAHPACPBKJM() != 0) {
setOAHPACPBKJM(other.getOAHPACPBKJM());
}
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.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean isSuccess_ ;
/**
* bool is_success = 15;
* @return The isSuccess.
*/
@java.lang.Override
public boolean getIsSuccess() {
return isSuccess_;
}
/**
* bool is_success = 15;
* @param value The isSuccess to set.
* @return This builder for chaining.
*/
public Builder setIsSuccess(boolean value) {
isSuccess_ = value;
onChanged();
return this;
}
/**
* bool is_success = 15;
* @return This builder for chaining.
*/
public Builder clearIsSuccess() {
isSuccess_ = false;
onChanged();
return this;
}
private int finishTime_ ;
/**
* uint32 finish_time = 13;
* @return The finishTime.
*/
@java.lang.Override
public int getFinishTime() {
return finishTime_;
}
/**
* uint32 finish_time = 13;
* @param value The finishTime to set.
* @return This builder for chaining.
*/
public Builder setFinishTime(int value) {
finishTime_ = value;
onChanged();
return this;
}
/**
* uint32 finish_time = 13;
* @return This builder for chaining.
*/
public Builder clearFinishTime() {
finishTime_ = 0;
onChanged();
return this;
}
private int cCKGKFMEKKL_ ;
/**
* uint32 CCKGKFMEKKL = 9;
* @return The cCKGKFMEKKL.
*/
@java.lang.Override
public int getCCKGKFMEKKL() {
return cCKGKFMEKKL_;
}
/**
* uint32 CCKGKFMEKKL = 9;
* @param value The cCKGKFMEKKL to set.
* @return This builder for chaining.
*/
public Builder setCCKGKFMEKKL(int value) {
cCKGKFMEKKL_ = value;
onChanged();
return this;
}
/**
* uint32 CCKGKFMEKKL = 9;
* @return This builder for chaining.
*/
public Builder clearCCKGKFMEKKL() {
cCKGKFMEKKL_ = 0;
onChanged();
return this;
}
private java.util.List childChallengeList_ =
java.util.Collections.emptyList();
private void ensureChildChallengeListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
childChallengeList_ = new java.util.ArrayList(childChallengeList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo, emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo.Builder, emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfoOrBuilder> childChallengeListBuilder_;
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public java.util.List getChildChallengeListList() {
if (childChallengeListBuilder_ == null) {
return java.util.Collections.unmodifiableList(childChallengeList_);
} else {
return childChallengeListBuilder_.getMessageList();
}
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public int getChildChallengeListCount() {
if (childChallengeListBuilder_ == null) {
return childChallengeList_.size();
} else {
return childChallengeListBuilder_.getCount();
}
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo getChildChallengeList(int index) {
if (childChallengeListBuilder_ == null) {
return childChallengeList_.get(index);
} else {
return childChallengeListBuilder_.getMessage(index);
}
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public Builder setChildChallengeList(
int index, emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo value) {
if (childChallengeListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildChallengeListIsMutable();
childChallengeList_.set(index, value);
onChanged();
} else {
childChallengeListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public Builder setChildChallengeList(
int index, emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo.Builder builderForValue) {
if (childChallengeListBuilder_ == null) {
ensureChildChallengeListIsMutable();
childChallengeList_.set(index, builderForValue.build());
onChanged();
} else {
childChallengeListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public Builder addChildChallengeList(emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo value) {
if (childChallengeListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildChallengeListIsMutable();
childChallengeList_.add(value);
onChanged();
} else {
childChallengeListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public Builder addChildChallengeList(
int index, emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo value) {
if (childChallengeListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildChallengeListIsMutable();
childChallengeList_.add(index, value);
onChanged();
} else {
childChallengeListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public Builder addChildChallengeList(
emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo.Builder builderForValue) {
if (childChallengeListBuilder_ == null) {
ensureChildChallengeListIsMutable();
childChallengeList_.add(builderForValue.build());
onChanged();
} else {
childChallengeListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public Builder addChildChallengeList(
int index, emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo.Builder builderForValue) {
if (childChallengeListBuilder_ == null) {
ensureChildChallengeListIsMutable();
childChallengeList_.add(index, builderForValue.build());
onChanged();
} else {
childChallengeListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public Builder addAllChildChallengeList(
java.lang.Iterable extends emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo> values) {
if (childChallengeListBuilder_ == null) {
ensureChildChallengeListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, childChallengeList_);
onChanged();
} else {
childChallengeListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public Builder clearChildChallengeList() {
if (childChallengeListBuilder_ == null) {
childChallengeList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
childChallengeListBuilder_.clear();
}
return this;
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public Builder removeChildChallengeList(int index) {
if (childChallengeListBuilder_ == null) {
ensureChildChallengeListIsMutable();
childChallengeList_.remove(index);
onChanged();
} else {
childChallengeListBuilder_.remove(index);
}
return this;
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo.Builder getChildChallengeListBuilder(
int index) {
return getChildChallengeListFieldBuilder().getBuilder(index);
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfoOrBuilder getChildChallengeListOrBuilder(
int index) {
if (childChallengeListBuilder_ == null) {
return childChallengeList_.get(index); } else {
return childChallengeListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public java.util.List extends emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfoOrBuilder>
getChildChallengeListOrBuilderList() {
if (childChallengeListBuilder_ != null) {
return childChallengeListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(childChallengeList_);
}
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo.Builder addChildChallengeListBuilder() {
return getChildChallengeListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo.getDefaultInstance());
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo.Builder addChildChallengeListBuilder(
int index) {
return getChildChallengeListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo.getDefaultInstance());
}
/**
* repeated .ArenaChallengeChildChallengeInfo child_challenge_list = 7;
*/
public java.util.List
getChildChallengeListBuilderList() {
return getChildChallengeListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo, emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo.Builder, emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfoOrBuilder>
getChildChallengeListFieldBuilder() {
if (childChallengeListBuilder_ == null) {
childChallengeListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo, emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfo.Builder, emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.ArenaChallengeChildChallengeInfoOrBuilder>(
childChallengeList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
childChallengeList_ = null;
}
return childChallengeListBuilder_;
}
private boolean gEDHGMKJHBB_ ;
/**
* bool GEDHGMKJHBB = 8;
* @return The gEDHGMKJHBB.
*/
@java.lang.Override
public boolean getGEDHGMKJHBB() {
return gEDHGMKJHBB_;
}
/**
* bool GEDHGMKJHBB = 8;
* @param value The gEDHGMKJHBB to set.
* @return This builder for chaining.
*/
public Builder setGEDHGMKJHBB(boolean value) {
gEDHGMKJHBB_ = value;
onChanged();
return this;
}
/**
* bool GEDHGMKJHBB = 8;
* @return This builder for chaining.
*/
public Builder clearGEDHGMKJHBB() {
gEDHGMKJHBB_ = false;
onChanged();
return this;
}
private int oAHPACPBKJM_ ;
/**
* uint32 OAHPACPBKJM = 10;
* @return The oAHPACPBKJM.
*/
@java.lang.Override
public int getOAHPACPBKJM() {
return oAHPACPBKJM_;
}
/**
* uint32 OAHPACPBKJM = 10;
* @param value The oAHPACPBKJM to set.
* @return This builder for chaining.
*/
public Builder setOAHPACPBKJM(int value) {
oAHPACPBKJM_ = value;
onChanged();
return this;
}
/**
* uint32 OAHPACPBKJM = 10;
* @return This builder for chaining.
*/
public Builder clearOAHPACPBKJM() {
oAHPACPBKJM_ = 0;
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:ArenaChallengeFinishNotify)
}
// @@protoc_insertion_point(class_scope:ArenaChallengeFinishNotify)
private static final emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify();
}
public static emu.grasscutter.net.proto.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ArenaChallengeFinishNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ArenaChallengeFinishNotify(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.ArenaChallengeFinishNotifyOuterClass.ArenaChallengeFinishNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ArenaChallengeFinishNotify_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ArenaChallengeFinishNotify_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 ArenaChallengeFinishNotify.proto\032&Aren" +
"aChallengeChildChallengeInfo.proto\"\305\001\n\032A" +
"renaChallengeFinishNotify\022\022\n\nis_success\030" +
"\017 \001(\010\022\023\n\013finish_time\030\r \001(\r\022\023\n\013CCKGKFMEKK" +
"L\030\t \001(\r\022?\n\024child_challenge_list\030\007 \003(\0132!." +
"ArenaChallengeChildChallengeInfo\022\023\n\013GEDH" +
"GMKJHBB\030\010 \001(\010\022\023\n\013OAHPACPBKJM\030\n \001(\rB\033\n\031em" +
"u.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.getDescriptor(),
});
internal_static_ArenaChallengeFinishNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_ArenaChallengeFinishNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ArenaChallengeFinishNotify_descriptor,
new java.lang.String[] { "IsSuccess", "FinishTime", "CCKGKFMEKKL", "ChildChallengeList", "GEDHGMKJHBB", "OAHPACPBKJM", });
emu.grasscutter.net.proto.ArenaChallengeChildChallengeInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}