diff --git a/src/generated/main/java/emu/grasscutter/net/proto/BeginCameraSceneLookNotifyOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/BeginCameraSceneLookNotifyOuterClass.java new file mode 100644 index 000000000..0ff3d22bb --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/BeginCameraSceneLookNotifyOuterClass.java @@ -0,0 +1,2476 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: BeginCameraSceneLookNotify.proto + +package emu.grasscutter.net.proto; + +public final class BeginCameraSceneLookNotifyOuterClass { + private BeginCameraSceneLookNotifyOuterClass() {} + 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 BeginCameraSceneLookNotifyOrBuilder extends + // @@protoc_insertion_point(interface_extends:BeginCameraSceneLookNotify) + com.google.protobuf.MessageOrBuilder { + + /** + * float screen_x = 13; + * @return The screenX. + */ + float getScreenX(); + + /** + * bool is_set_screen_xy = 9; + * @return The isSetScreenXy. + */ + boolean getIsSetScreenXy(); + + /** + * bool is_recover_keep_current = 14; + * @return The isRecoverKeepCurrent. + */ + boolean getIsRecoverKeepCurrent(); + + /** + * repeated string other_params = 5; + * @return A list containing the otherParams. + */ + java.util.List + getOtherParamsList(); + /** + * repeated string other_params = 5; + * @return The count of otherParams. + */ + int getOtherParamsCount(); + /** + * repeated string other_params = 5; + * @param index The index of the element to return. + * @return The otherParams at the given index. + */ + java.lang.String getOtherParams(int index); + /** + * repeated string other_params = 5; + * @param index The index of the value to return. + * @return The bytes of the otherParams at the given index. + */ + com.google.protobuf.ByteString + getOtherParamsBytes(int index); + + /** + * .Vector look_pos = 4; + * @return Whether the lookPos field is set. + */ + boolean hasLookPos(); + /** + * .Vector look_pos = 4; + * @return The lookPos. + */ + emu.grasscutter.net.proto.VectorOuterClass.Vector getLookPos(); + /** + * .Vector look_pos = 4; + */ + emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getLookPosOrBuilder(); + + /** + * bool is_abs_follow_pos = 1979; + * @return The isAbsFollowPos. + */ + boolean getIsAbsFollowPos(); + + /** + * bool is_change_play_mode = 7; + * @return The isChangePlayMode. + */ + boolean getIsChangePlayMode(); + + /** + * float screen_y = 12; + * @return The screenY. + */ + float getScreenY(); + + /** + * bool is_set_follow_pos = 8; + * @return The isSetFollowPos. + */ + boolean getIsSetFollowPos(); + + /** + * .Vector follow_pos = 15; + * @return Whether the followPos field is set. + */ + boolean hasFollowPos(); + /** + * .Vector follow_pos = 15; + * @return The followPos. + */ + emu.grasscutter.net.proto.VectorOuterClass.Vector getFollowPos(); + /** + * .Vector follow_pos = 15; + */ + emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getFollowPosOrBuilder(); + + /** + * float custom_radius = 6; + * @return The customRadius. + */ + float getCustomRadius(); + + /** + * uint32 blend_type = 1200; + * @return The blendType. + */ + int getBlendType(); + + /** + * bool is_force = 10; + * @return The isForce. + */ + boolean getIsForce(); + + /** + * float duration = 2; + * @return The duration. + */ + float getDuration(); + + /** + * float blend_duration = 377; + * @return The blendDuration. + */ + float getBlendDuration(); + + /** + * uint32 disable_protect = 1905; + * @return The disableProtect. + */ + int getDisableProtect(); + + /** + * .BeginCameraSceneLookNotify.KeepRotType keep_rot_type = 11; + * @return The enum numeric value on the wire for keepRotType. + */ + int getKeepRotTypeValue(); + /** + * .BeginCameraSceneLookNotify.KeepRotType keep_rot_type = 11; + * @return The keepRotType. + */ + emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.KeepRotType getKeepRotType(); + + /** + * uint32 entity_id = 434; + * @return The entityId. + */ + int getEntityId(); + + /** + * bool is_force_walk = 1; + * @return The isForceWalk. + */ + boolean getIsForceWalk(); + + /** + * bool is_allow_input = 3; + * @return The isAllowInput. + */ + boolean getIsAllowInput(); + } + /** + *
+   * Name: FJHMJKFEAIH
+   * CmdId: 260
+   * 
+ * + * Protobuf type {@code BeginCameraSceneLookNotify} + */ + public static final class BeginCameraSceneLookNotify extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:BeginCameraSceneLookNotify) + BeginCameraSceneLookNotifyOrBuilder { + private static final long serialVersionUID = 0L; + // Use BeginCameraSceneLookNotify.newBuilder() to construct. + private BeginCameraSceneLookNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BeginCameraSceneLookNotify() { + otherParams_ = com.google.protobuf.LazyStringArrayList.EMPTY; + keepRotType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BeginCameraSceneLookNotify(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BeginCameraSceneLookNotify( + 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: { + + isForceWalk_ = input.readBool(); + break; + } + case 21: { + + duration_ = input.readFloat(); + break; + } + case 24: { + + isAllowInput_ = input.readBool(); + break; + } + case 34: { + emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null; + if (lookPos_ != null) { + subBuilder = lookPos_.toBuilder(); + } + lookPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lookPos_); + lookPos_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + otherParams_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + otherParams_.add(s); + break; + } + case 53: { + + customRadius_ = input.readFloat(); + break; + } + case 56: { + + isChangePlayMode_ = input.readBool(); + break; + } + case 64: { + + isSetFollowPos_ = input.readBool(); + break; + } + case 72: { + + isSetScreenXy_ = input.readBool(); + break; + } + case 80: { + + isForce_ = input.readBool(); + break; + } + case 88: { + int rawValue = input.readEnum(); + + keepRotType_ = rawValue; + break; + } + case 101: { + + screenY_ = input.readFloat(); + break; + } + case 109: { + + screenX_ = input.readFloat(); + break; + } + case 112: { + + isRecoverKeepCurrent_ = input.readBool(); + break; + } + case 122: { + emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null; + if (followPos_ != null) { + subBuilder = followPos_.toBuilder(); + } + followPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(followPos_); + followPos_ = subBuilder.buildPartial(); + } + + break; + } + case 3021: { + + blendDuration_ = input.readFloat(); + break; + } + case 3472: { + + entityId_ = input.readUInt32(); + break; + } + case 9600: { + + blendType_ = input.readUInt32(); + break; + } + case 15240: { + + disableProtect_ = input.readUInt32(); + break; + } + case 15832: { + + isAbsFollowPos_ = 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)) { + otherParams_ = otherParams_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.internal_static_BeginCameraSceneLookNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.internal_static_BeginCameraSceneLookNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.class, emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.Builder.class); + } + + /** + *
+     * Name: MDIHEAIAGGM
+     * 
+ * + * Protobuf enum {@code BeginCameraSceneLookNotify.KeepRotType} + */ + public enum KeepRotType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * KEEP_ROT_TYPE_X = 0; + */ + KEEP_ROT_TYPE_X(0), + /** + * KEEP_ROT_TYPE_XY = 1; + */ + KEEP_ROT_TYPE_XY(1), + UNRECOGNIZED(-1), + ; + + /** + * KEEP_ROT_TYPE_X = 0; + */ + public static final int KEEP_ROT_TYPE_X_VALUE = 0; + /** + * KEEP_ROT_TYPE_XY = 1; + */ + public static final int KEEP_ROT_TYPE_XY_VALUE = 1; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static KeepRotType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static KeepRotType forNumber(int value) { + switch (value) { + case 0: return KEEP_ROT_TYPE_X; + case 1: return KEEP_ROT_TYPE_XY; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + KeepRotType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public KeepRotType findValueByNumber(int number) { + return KeepRotType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.getDescriptor().getEnumTypes().get(0); + } + + private static final KeepRotType[] VALUES = values(); + + public static KeepRotType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private KeepRotType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:BeginCameraSceneLookNotify.KeepRotType) + } + + public static final int SCREEN_X_FIELD_NUMBER = 13; + private float screenX_; + /** + * float screen_x = 13; + * @return The screenX. + */ + @java.lang.Override + public float getScreenX() { + return screenX_; + } + + public static final int IS_SET_SCREEN_XY_FIELD_NUMBER = 9; + private boolean isSetScreenXy_; + /** + * bool is_set_screen_xy = 9; + * @return The isSetScreenXy. + */ + @java.lang.Override + public boolean getIsSetScreenXy() { + return isSetScreenXy_; + } + + public static final int IS_RECOVER_KEEP_CURRENT_FIELD_NUMBER = 14; + private boolean isRecoverKeepCurrent_; + /** + * bool is_recover_keep_current = 14; + * @return The isRecoverKeepCurrent. + */ + @java.lang.Override + public boolean getIsRecoverKeepCurrent() { + return isRecoverKeepCurrent_; + } + + public static final int OTHER_PARAMS_FIELD_NUMBER = 5; + private com.google.protobuf.LazyStringList otherParams_; + /** + * repeated string other_params = 5; + * @return A list containing the otherParams. + */ + public com.google.protobuf.ProtocolStringList + getOtherParamsList() { + return otherParams_; + } + /** + * repeated string other_params = 5; + * @return The count of otherParams. + */ + public int getOtherParamsCount() { + return otherParams_.size(); + } + /** + * repeated string other_params = 5; + * @param index The index of the element to return. + * @return The otherParams at the given index. + */ + public java.lang.String getOtherParams(int index) { + return otherParams_.get(index); + } + /** + * repeated string other_params = 5; + * @param index The index of the value to return. + * @return The bytes of the otherParams at the given index. + */ + public com.google.protobuf.ByteString + getOtherParamsBytes(int index) { + return otherParams_.getByteString(index); + } + + public static final int LOOK_POS_FIELD_NUMBER = 4; + private emu.grasscutter.net.proto.VectorOuterClass.Vector lookPos_; + /** + * .Vector look_pos = 4; + * @return Whether the lookPos field is set. + */ + @java.lang.Override + public boolean hasLookPos() { + return lookPos_ != null; + } + /** + * .Vector look_pos = 4; + * @return The lookPos. + */ + @java.lang.Override + public emu.grasscutter.net.proto.VectorOuterClass.Vector getLookPos() { + return lookPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : lookPos_; + } + /** + * .Vector look_pos = 4; + */ + @java.lang.Override + public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getLookPosOrBuilder() { + return getLookPos(); + } + + public static final int IS_ABS_FOLLOW_POS_FIELD_NUMBER = 1979; + private boolean isAbsFollowPos_; + /** + * bool is_abs_follow_pos = 1979; + * @return The isAbsFollowPos. + */ + @java.lang.Override + public boolean getIsAbsFollowPos() { + return isAbsFollowPos_; + } + + public static final int IS_CHANGE_PLAY_MODE_FIELD_NUMBER = 7; + private boolean isChangePlayMode_; + /** + * bool is_change_play_mode = 7; + * @return The isChangePlayMode. + */ + @java.lang.Override + public boolean getIsChangePlayMode() { + return isChangePlayMode_; + } + + public static final int SCREEN_Y_FIELD_NUMBER = 12; + private float screenY_; + /** + * float screen_y = 12; + * @return The screenY. + */ + @java.lang.Override + public float getScreenY() { + return screenY_; + } + + public static final int IS_SET_FOLLOW_POS_FIELD_NUMBER = 8; + private boolean isSetFollowPos_; + /** + * bool is_set_follow_pos = 8; + * @return The isSetFollowPos. + */ + @java.lang.Override + public boolean getIsSetFollowPos() { + return isSetFollowPos_; + } + + public static final int FOLLOW_POS_FIELD_NUMBER = 15; + private emu.grasscutter.net.proto.VectorOuterClass.Vector followPos_; + /** + * .Vector follow_pos = 15; + * @return Whether the followPos field is set. + */ + @java.lang.Override + public boolean hasFollowPos() { + return followPos_ != null; + } + /** + * .Vector follow_pos = 15; + * @return The followPos. + */ + @java.lang.Override + public emu.grasscutter.net.proto.VectorOuterClass.Vector getFollowPos() { + return followPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : followPos_; + } + /** + * .Vector follow_pos = 15; + */ + @java.lang.Override + public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getFollowPosOrBuilder() { + return getFollowPos(); + } + + public static final int CUSTOM_RADIUS_FIELD_NUMBER = 6; + private float customRadius_; + /** + * float custom_radius = 6; + * @return The customRadius. + */ + @java.lang.Override + public float getCustomRadius() { + return customRadius_; + } + + public static final int BLEND_TYPE_FIELD_NUMBER = 1200; + private int blendType_; + /** + * uint32 blend_type = 1200; + * @return The blendType. + */ + @java.lang.Override + public int getBlendType() { + return blendType_; + } + + public static final int IS_FORCE_FIELD_NUMBER = 10; + private boolean isForce_; + /** + * bool is_force = 10; + * @return The isForce. + */ + @java.lang.Override + public boolean getIsForce() { + return isForce_; + } + + public static final int DURATION_FIELD_NUMBER = 2; + private float duration_; + /** + * float duration = 2; + * @return The duration. + */ + @java.lang.Override + public float getDuration() { + return duration_; + } + + public static final int BLEND_DURATION_FIELD_NUMBER = 377; + private float blendDuration_; + /** + * float blend_duration = 377; + * @return The blendDuration. + */ + @java.lang.Override + public float getBlendDuration() { + return blendDuration_; + } + + public static final int DISABLE_PROTECT_FIELD_NUMBER = 1905; + private int disableProtect_; + /** + * uint32 disable_protect = 1905; + * @return The disableProtect. + */ + @java.lang.Override + public int getDisableProtect() { + return disableProtect_; + } + + public static final int KEEP_ROT_TYPE_FIELD_NUMBER = 11; + private int keepRotType_; + /** + * .BeginCameraSceneLookNotify.KeepRotType keep_rot_type = 11; + * @return The enum numeric value on the wire for keepRotType. + */ + @java.lang.Override public int getKeepRotTypeValue() { + return keepRotType_; + } + /** + * .BeginCameraSceneLookNotify.KeepRotType keep_rot_type = 11; + * @return The keepRotType. + */ + @java.lang.Override public emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.KeepRotType getKeepRotType() { + @SuppressWarnings("deprecation") + emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.KeepRotType result = emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.KeepRotType.valueOf(keepRotType_); + return result == null ? emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.KeepRotType.UNRECOGNIZED : result; + } + + public static final int ENTITY_ID_FIELD_NUMBER = 434; + private int entityId_; + /** + * uint32 entity_id = 434; + * @return The entityId. + */ + @java.lang.Override + public int getEntityId() { + return entityId_; + } + + public static final int IS_FORCE_WALK_FIELD_NUMBER = 1; + private boolean isForceWalk_; + /** + * bool is_force_walk = 1; + * @return The isForceWalk. + */ + @java.lang.Override + public boolean getIsForceWalk() { + return isForceWalk_; + } + + public static final int IS_ALLOW_INPUT_FIELD_NUMBER = 3; + private boolean isAllowInput_; + /** + * bool is_allow_input = 3; + * @return The isAllowInput. + */ + @java.lang.Override + public boolean getIsAllowInput() { + return isAllowInput_; + } + + 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 { + if (isForceWalk_ != false) { + output.writeBool(1, isForceWalk_); + } + if (duration_ != 0F) { + output.writeFloat(2, duration_); + } + if (isAllowInput_ != false) { + output.writeBool(3, isAllowInput_); + } + if (lookPos_ != null) { + output.writeMessage(4, getLookPos()); + } + for (int i = 0; i < otherParams_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, otherParams_.getRaw(i)); + } + if (customRadius_ != 0F) { + output.writeFloat(6, customRadius_); + } + if (isChangePlayMode_ != false) { + output.writeBool(7, isChangePlayMode_); + } + if (isSetFollowPos_ != false) { + output.writeBool(8, isSetFollowPos_); + } + if (isSetScreenXy_ != false) { + output.writeBool(9, isSetScreenXy_); + } + if (isForce_ != false) { + output.writeBool(10, isForce_); + } + if (keepRotType_ != emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.KeepRotType.KEEP_ROT_TYPE_X.getNumber()) { + output.writeEnum(11, keepRotType_); + } + if (screenY_ != 0F) { + output.writeFloat(12, screenY_); + } + if (screenX_ != 0F) { + output.writeFloat(13, screenX_); + } + if (isRecoverKeepCurrent_ != false) { + output.writeBool(14, isRecoverKeepCurrent_); + } + if (followPos_ != null) { + output.writeMessage(15, getFollowPos()); + } + if (blendDuration_ != 0F) { + output.writeFloat(377, blendDuration_); + } + if (entityId_ != 0) { + output.writeUInt32(434, entityId_); + } + if (blendType_ != 0) { + output.writeUInt32(1200, blendType_); + } + if (disableProtect_ != 0) { + output.writeUInt32(1905, disableProtect_); + } + if (isAbsFollowPos_ != false) { + output.writeBool(1979, isAbsFollowPos_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (isForceWalk_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, isForceWalk_); + } + if (duration_ != 0F) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, duration_); + } + if (isAllowInput_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, isAllowInput_); + } + if (lookPos_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getLookPos()); + } + { + int dataSize = 0; + for (int i = 0; i < otherParams_.size(); i++) { + dataSize += computeStringSizeNoTag(otherParams_.getRaw(i)); + } + size += dataSize; + size += 1 * getOtherParamsList().size(); + } + if (customRadius_ != 0F) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(6, customRadius_); + } + if (isChangePlayMode_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, isChangePlayMode_); + } + if (isSetFollowPos_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, isSetFollowPos_); + } + if (isSetScreenXy_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, isSetScreenXy_); + } + if (isForce_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, isForce_); + } + if (keepRotType_ != emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.KeepRotType.KEEP_ROT_TYPE_X.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, keepRotType_); + } + if (screenY_ != 0F) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(12, screenY_); + } + if (screenX_ != 0F) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(13, screenX_); + } + if (isRecoverKeepCurrent_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(14, isRecoverKeepCurrent_); + } + if (followPos_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getFollowPos()); + } + if (blendDuration_ != 0F) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(377, blendDuration_); + } + if (entityId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(434, entityId_); + } + if (blendType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1200, blendType_); + } + if (disableProtect_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1905, disableProtect_); + } + if (isAbsFollowPos_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1979, isAbsFollowPos_); + } + 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.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify other = (emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify) obj; + + if (java.lang.Float.floatToIntBits(getScreenX()) + != java.lang.Float.floatToIntBits( + other.getScreenX())) return false; + if (getIsSetScreenXy() + != other.getIsSetScreenXy()) return false; + if (getIsRecoverKeepCurrent() + != other.getIsRecoverKeepCurrent()) return false; + if (!getOtherParamsList() + .equals(other.getOtherParamsList())) return false; + if (hasLookPos() != other.hasLookPos()) return false; + if (hasLookPos()) { + if (!getLookPos() + .equals(other.getLookPos())) return false; + } + if (getIsAbsFollowPos() + != other.getIsAbsFollowPos()) return false; + if (getIsChangePlayMode() + != other.getIsChangePlayMode()) return false; + if (java.lang.Float.floatToIntBits(getScreenY()) + != java.lang.Float.floatToIntBits( + other.getScreenY())) return false; + if (getIsSetFollowPos() + != other.getIsSetFollowPos()) return false; + if (hasFollowPos() != other.hasFollowPos()) return false; + if (hasFollowPos()) { + if (!getFollowPos() + .equals(other.getFollowPos())) return false; + } + if (java.lang.Float.floatToIntBits(getCustomRadius()) + != java.lang.Float.floatToIntBits( + other.getCustomRadius())) return false; + if (getBlendType() + != other.getBlendType()) return false; + if (getIsForce() + != other.getIsForce()) return false; + if (java.lang.Float.floatToIntBits(getDuration()) + != java.lang.Float.floatToIntBits( + other.getDuration())) return false; + if (java.lang.Float.floatToIntBits(getBlendDuration()) + != java.lang.Float.floatToIntBits( + other.getBlendDuration())) return false; + if (getDisableProtect() + != other.getDisableProtect()) return false; + if (keepRotType_ != other.keepRotType_) return false; + if (getEntityId() + != other.getEntityId()) return false; + if (getIsForceWalk() + != other.getIsForceWalk()) return false; + if (getIsAllowInput() + != other.getIsAllowInput()) 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) + SCREEN_X_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getScreenX()); + hash = (37 * hash) + IS_SET_SCREEN_XY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsSetScreenXy()); + hash = (37 * hash) + IS_RECOVER_KEEP_CURRENT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsRecoverKeepCurrent()); + if (getOtherParamsCount() > 0) { + hash = (37 * hash) + OTHER_PARAMS_FIELD_NUMBER; + hash = (53 * hash) + getOtherParamsList().hashCode(); + } + if (hasLookPos()) { + hash = (37 * hash) + LOOK_POS_FIELD_NUMBER; + hash = (53 * hash) + getLookPos().hashCode(); + } + hash = (37 * hash) + IS_ABS_FOLLOW_POS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsAbsFollowPos()); + hash = (37 * hash) + IS_CHANGE_PLAY_MODE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsChangePlayMode()); + hash = (37 * hash) + SCREEN_Y_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getScreenY()); + hash = (37 * hash) + IS_SET_FOLLOW_POS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsSetFollowPos()); + if (hasFollowPos()) { + hash = (37 * hash) + FOLLOW_POS_FIELD_NUMBER; + hash = (53 * hash) + getFollowPos().hashCode(); + } + hash = (37 * hash) + CUSTOM_RADIUS_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getCustomRadius()); + hash = (37 * hash) + BLEND_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getBlendType(); + hash = (37 * hash) + IS_FORCE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsForce()); + hash = (37 * hash) + DURATION_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getDuration()); + hash = (37 * hash) + BLEND_DURATION_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getBlendDuration()); + hash = (37 * hash) + DISABLE_PROTECT_FIELD_NUMBER; + hash = (53 * hash) + getDisableProtect(); + hash = (37 * hash) + KEEP_ROT_TYPE_FIELD_NUMBER; + hash = (53 * hash) + keepRotType_; + hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER; + hash = (53 * hash) + getEntityId(); + hash = (37 * hash) + IS_FORCE_WALK_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsForceWalk()); + hash = (37 * hash) + IS_ALLOW_INPUT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsAllowInput()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify 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.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify 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.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify 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.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify 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.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify 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.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify 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; + } + /** + *
+     * Name: FJHMJKFEAIH
+     * CmdId: 260
+     * 
+ * + * Protobuf type {@code BeginCameraSceneLookNotify} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:BeginCameraSceneLookNotify) + emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotifyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.internal_static_BeginCameraSceneLookNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.internal_static_BeginCameraSceneLookNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.class, emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + screenX_ = 0F; + + isSetScreenXy_ = false; + + isRecoverKeepCurrent_ = false; + + otherParams_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + if (lookPosBuilder_ == null) { + lookPos_ = null; + } else { + lookPos_ = null; + lookPosBuilder_ = null; + } + isAbsFollowPos_ = false; + + isChangePlayMode_ = false; + + screenY_ = 0F; + + isSetFollowPos_ = false; + + if (followPosBuilder_ == null) { + followPos_ = null; + } else { + followPos_ = null; + followPosBuilder_ = null; + } + customRadius_ = 0F; + + blendType_ = 0; + + isForce_ = false; + + duration_ = 0F; + + blendDuration_ = 0F; + + disableProtect_ = 0; + + keepRotType_ = 0; + + entityId_ = 0; + + isForceWalk_ = false; + + isAllowInput_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.internal_static_BeginCameraSceneLookNotify_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify getDefaultInstanceForType() { + return emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify build() { + emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify buildPartial() { + emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify result = new emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify(this); + int from_bitField0_ = bitField0_; + result.screenX_ = screenX_; + result.isSetScreenXy_ = isSetScreenXy_; + result.isRecoverKeepCurrent_ = isRecoverKeepCurrent_; + if (((bitField0_ & 0x00000001) != 0)) { + otherParams_ = otherParams_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.otherParams_ = otherParams_; + if (lookPosBuilder_ == null) { + result.lookPos_ = lookPos_; + } else { + result.lookPos_ = lookPosBuilder_.build(); + } + result.isAbsFollowPos_ = isAbsFollowPos_; + result.isChangePlayMode_ = isChangePlayMode_; + result.screenY_ = screenY_; + result.isSetFollowPos_ = isSetFollowPos_; + if (followPosBuilder_ == null) { + result.followPos_ = followPos_; + } else { + result.followPos_ = followPosBuilder_.build(); + } + result.customRadius_ = customRadius_; + result.blendType_ = blendType_; + result.isForce_ = isForce_; + result.duration_ = duration_; + result.blendDuration_ = blendDuration_; + result.disableProtect_ = disableProtect_; + result.keepRotType_ = keepRotType_; + result.entityId_ = entityId_; + result.isForceWalk_ = isForceWalk_; + result.isAllowInput_ = isAllowInput_; + 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.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify) { + return mergeFrom((emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify other) { + if (other == emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.getDefaultInstance()) return this; + if (other.getScreenX() != 0F) { + setScreenX(other.getScreenX()); + } + if (other.getIsSetScreenXy() != false) { + setIsSetScreenXy(other.getIsSetScreenXy()); + } + if (other.getIsRecoverKeepCurrent() != false) { + setIsRecoverKeepCurrent(other.getIsRecoverKeepCurrent()); + } + if (!other.otherParams_.isEmpty()) { + if (otherParams_.isEmpty()) { + otherParams_ = other.otherParams_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureOtherParamsIsMutable(); + otherParams_.addAll(other.otherParams_); + } + onChanged(); + } + if (other.hasLookPos()) { + mergeLookPos(other.getLookPos()); + } + if (other.getIsAbsFollowPos() != false) { + setIsAbsFollowPos(other.getIsAbsFollowPos()); + } + if (other.getIsChangePlayMode() != false) { + setIsChangePlayMode(other.getIsChangePlayMode()); + } + if (other.getScreenY() != 0F) { + setScreenY(other.getScreenY()); + } + if (other.getIsSetFollowPos() != false) { + setIsSetFollowPos(other.getIsSetFollowPos()); + } + if (other.hasFollowPos()) { + mergeFollowPos(other.getFollowPos()); + } + if (other.getCustomRadius() != 0F) { + setCustomRadius(other.getCustomRadius()); + } + if (other.getBlendType() != 0) { + setBlendType(other.getBlendType()); + } + if (other.getIsForce() != false) { + setIsForce(other.getIsForce()); + } + if (other.getDuration() != 0F) { + setDuration(other.getDuration()); + } + if (other.getBlendDuration() != 0F) { + setBlendDuration(other.getBlendDuration()); + } + if (other.getDisableProtect() != 0) { + setDisableProtect(other.getDisableProtect()); + } + if (other.keepRotType_ != 0) { + setKeepRotTypeValue(other.getKeepRotTypeValue()); + } + if (other.getEntityId() != 0) { + setEntityId(other.getEntityId()); + } + if (other.getIsForceWalk() != false) { + setIsForceWalk(other.getIsForceWalk()); + } + if (other.getIsAllowInput() != false) { + setIsAllowInput(other.getIsAllowInput()); + } + 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.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private float screenX_ ; + /** + * float screen_x = 13; + * @return The screenX. + */ + @java.lang.Override + public float getScreenX() { + return screenX_; + } + /** + * float screen_x = 13; + * @param value The screenX to set. + * @return This builder for chaining. + */ + public Builder setScreenX(float value) { + + screenX_ = value; + onChanged(); + return this; + } + /** + * float screen_x = 13; + * @return This builder for chaining. + */ + public Builder clearScreenX() { + + screenX_ = 0F; + onChanged(); + return this; + } + + private boolean isSetScreenXy_ ; + /** + * bool is_set_screen_xy = 9; + * @return The isSetScreenXy. + */ + @java.lang.Override + public boolean getIsSetScreenXy() { + return isSetScreenXy_; + } + /** + * bool is_set_screen_xy = 9; + * @param value The isSetScreenXy to set. + * @return This builder for chaining. + */ + public Builder setIsSetScreenXy(boolean value) { + + isSetScreenXy_ = value; + onChanged(); + return this; + } + /** + * bool is_set_screen_xy = 9; + * @return This builder for chaining. + */ + public Builder clearIsSetScreenXy() { + + isSetScreenXy_ = false; + onChanged(); + return this; + } + + private boolean isRecoverKeepCurrent_ ; + /** + * bool is_recover_keep_current = 14; + * @return The isRecoverKeepCurrent. + */ + @java.lang.Override + public boolean getIsRecoverKeepCurrent() { + return isRecoverKeepCurrent_; + } + /** + * bool is_recover_keep_current = 14; + * @param value The isRecoverKeepCurrent to set. + * @return This builder for chaining. + */ + public Builder setIsRecoverKeepCurrent(boolean value) { + + isRecoverKeepCurrent_ = value; + onChanged(); + return this; + } + /** + * bool is_recover_keep_current = 14; + * @return This builder for chaining. + */ + public Builder clearIsRecoverKeepCurrent() { + + isRecoverKeepCurrent_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList otherParams_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureOtherParamsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + otherParams_ = new com.google.protobuf.LazyStringArrayList(otherParams_); + bitField0_ |= 0x00000001; + } + } + /** + * repeated string other_params = 5; + * @return A list containing the otherParams. + */ + public com.google.protobuf.ProtocolStringList + getOtherParamsList() { + return otherParams_.getUnmodifiableView(); + } + /** + * repeated string other_params = 5; + * @return The count of otherParams. + */ + public int getOtherParamsCount() { + return otherParams_.size(); + } + /** + * repeated string other_params = 5; + * @param index The index of the element to return. + * @return The otherParams at the given index. + */ + public java.lang.String getOtherParams(int index) { + return otherParams_.get(index); + } + /** + * repeated string other_params = 5; + * @param index The index of the value to return. + * @return The bytes of the otherParams at the given index. + */ + public com.google.protobuf.ByteString + getOtherParamsBytes(int index) { + return otherParams_.getByteString(index); + } + /** + * repeated string other_params = 5; + * @param index The index to set the value at. + * @param value The otherParams to set. + * @return This builder for chaining. + */ + public Builder setOtherParams( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureOtherParamsIsMutable(); + otherParams_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string other_params = 5; + * @param value The otherParams to add. + * @return This builder for chaining. + */ + public Builder addOtherParams( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureOtherParamsIsMutable(); + otherParams_.add(value); + onChanged(); + return this; + } + /** + * repeated string other_params = 5; + * @param values The otherParams to add. + * @return This builder for chaining. + */ + public Builder addAllOtherParams( + java.lang.Iterable values) { + ensureOtherParamsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, otherParams_); + onChanged(); + return this; + } + /** + * repeated string other_params = 5; + * @return This builder for chaining. + */ + public Builder clearOtherParams() { + otherParams_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * repeated string other_params = 5; + * @param value The bytes of the otherParams to add. + * @return This builder for chaining. + */ + public Builder addOtherParamsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureOtherParamsIsMutable(); + otherParams_.add(value); + onChanged(); + return this; + } + + private emu.grasscutter.net.proto.VectorOuterClass.Vector lookPos_; + private com.google.protobuf.SingleFieldBuilderV3< + emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> lookPosBuilder_; + /** + * .Vector look_pos = 4; + * @return Whether the lookPos field is set. + */ + public boolean hasLookPos() { + return lookPosBuilder_ != null || lookPos_ != null; + } + /** + * .Vector look_pos = 4; + * @return The lookPos. + */ + public emu.grasscutter.net.proto.VectorOuterClass.Vector getLookPos() { + if (lookPosBuilder_ == null) { + return lookPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : lookPos_; + } else { + return lookPosBuilder_.getMessage(); + } + } + /** + * .Vector look_pos = 4; + */ + public Builder setLookPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { + if (lookPosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + lookPos_ = value; + onChanged(); + } else { + lookPosBuilder_.setMessage(value); + } + + return this; + } + /** + * .Vector look_pos = 4; + */ + public Builder setLookPos( + emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) { + if (lookPosBuilder_ == null) { + lookPos_ = builderForValue.build(); + onChanged(); + } else { + lookPosBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .Vector look_pos = 4; + */ + public Builder mergeLookPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { + if (lookPosBuilder_ == null) { + if (lookPos_ != null) { + lookPos_ = + emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(lookPos_).mergeFrom(value).buildPartial(); + } else { + lookPos_ = value; + } + onChanged(); + } else { + lookPosBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .Vector look_pos = 4; + */ + public Builder clearLookPos() { + if (lookPosBuilder_ == null) { + lookPos_ = null; + onChanged(); + } else { + lookPos_ = null; + lookPosBuilder_ = null; + } + + return this; + } + /** + * .Vector look_pos = 4; + */ + public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getLookPosBuilder() { + + onChanged(); + return getLookPosFieldBuilder().getBuilder(); + } + /** + * .Vector look_pos = 4; + */ + public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getLookPosOrBuilder() { + if (lookPosBuilder_ != null) { + return lookPosBuilder_.getMessageOrBuilder(); + } else { + return lookPos_ == null ? + emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : lookPos_; + } + } + /** + * .Vector look_pos = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> + getLookPosFieldBuilder() { + if (lookPosBuilder_ == null) { + lookPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>( + getLookPos(), + getParentForChildren(), + isClean()); + lookPos_ = null; + } + return lookPosBuilder_; + } + + private boolean isAbsFollowPos_ ; + /** + * bool is_abs_follow_pos = 1979; + * @return The isAbsFollowPos. + */ + @java.lang.Override + public boolean getIsAbsFollowPos() { + return isAbsFollowPos_; + } + /** + * bool is_abs_follow_pos = 1979; + * @param value The isAbsFollowPos to set. + * @return This builder for chaining. + */ + public Builder setIsAbsFollowPos(boolean value) { + + isAbsFollowPos_ = value; + onChanged(); + return this; + } + /** + * bool is_abs_follow_pos = 1979; + * @return This builder for chaining. + */ + public Builder clearIsAbsFollowPos() { + + isAbsFollowPos_ = false; + onChanged(); + return this; + } + + private boolean isChangePlayMode_ ; + /** + * bool is_change_play_mode = 7; + * @return The isChangePlayMode. + */ + @java.lang.Override + public boolean getIsChangePlayMode() { + return isChangePlayMode_; + } + /** + * bool is_change_play_mode = 7; + * @param value The isChangePlayMode to set. + * @return This builder for chaining. + */ + public Builder setIsChangePlayMode(boolean value) { + + isChangePlayMode_ = value; + onChanged(); + return this; + } + /** + * bool is_change_play_mode = 7; + * @return This builder for chaining. + */ + public Builder clearIsChangePlayMode() { + + isChangePlayMode_ = false; + onChanged(); + return this; + } + + private float screenY_ ; + /** + * float screen_y = 12; + * @return The screenY. + */ + @java.lang.Override + public float getScreenY() { + return screenY_; + } + /** + * float screen_y = 12; + * @param value The screenY to set. + * @return This builder for chaining. + */ + public Builder setScreenY(float value) { + + screenY_ = value; + onChanged(); + return this; + } + /** + * float screen_y = 12; + * @return This builder for chaining. + */ + public Builder clearScreenY() { + + screenY_ = 0F; + onChanged(); + return this; + } + + private boolean isSetFollowPos_ ; + /** + * bool is_set_follow_pos = 8; + * @return The isSetFollowPos. + */ + @java.lang.Override + public boolean getIsSetFollowPos() { + return isSetFollowPos_; + } + /** + * bool is_set_follow_pos = 8; + * @param value The isSetFollowPos to set. + * @return This builder for chaining. + */ + public Builder setIsSetFollowPos(boolean value) { + + isSetFollowPos_ = value; + onChanged(); + return this; + } + /** + * bool is_set_follow_pos = 8; + * @return This builder for chaining. + */ + public Builder clearIsSetFollowPos() { + + isSetFollowPos_ = false; + onChanged(); + return this; + } + + private emu.grasscutter.net.proto.VectorOuterClass.Vector followPos_; + private com.google.protobuf.SingleFieldBuilderV3< + emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> followPosBuilder_; + /** + * .Vector follow_pos = 15; + * @return Whether the followPos field is set. + */ + public boolean hasFollowPos() { + return followPosBuilder_ != null || followPos_ != null; + } + /** + * .Vector follow_pos = 15; + * @return The followPos. + */ + public emu.grasscutter.net.proto.VectorOuterClass.Vector getFollowPos() { + if (followPosBuilder_ == null) { + return followPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : followPos_; + } else { + return followPosBuilder_.getMessage(); + } + } + /** + * .Vector follow_pos = 15; + */ + public Builder setFollowPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { + if (followPosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + followPos_ = value; + onChanged(); + } else { + followPosBuilder_.setMessage(value); + } + + return this; + } + /** + * .Vector follow_pos = 15; + */ + public Builder setFollowPos( + emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) { + if (followPosBuilder_ == null) { + followPos_ = builderForValue.build(); + onChanged(); + } else { + followPosBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .Vector follow_pos = 15; + */ + public Builder mergeFollowPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { + if (followPosBuilder_ == null) { + if (followPos_ != null) { + followPos_ = + emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(followPos_).mergeFrom(value).buildPartial(); + } else { + followPos_ = value; + } + onChanged(); + } else { + followPosBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .Vector follow_pos = 15; + */ + public Builder clearFollowPos() { + if (followPosBuilder_ == null) { + followPos_ = null; + onChanged(); + } else { + followPos_ = null; + followPosBuilder_ = null; + } + + return this; + } + /** + * .Vector follow_pos = 15; + */ + public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getFollowPosBuilder() { + + onChanged(); + return getFollowPosFieldBuilder().getBuilder(); + } + /** + * .Vector follow_pos = 15; + */ + public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getFollowPosOrBuilder() { + if (followPosBuilder_ != null) { + return followPosBuilder_.getMessageOrBuilder(); + } else { + return followPos_ == null ? + emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : followPos_; + } + } + /** + * .Vector follow_pos = 15; + */ + private com.google.protobuf.SingleFieldBuilderV3< + emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> + getFollowPosFieldBuilder() { + if (followPosBuilder_ == null) { + followPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>( + getFollowPos(), + getParentForChildren(), + isClean()); + followPos_ = null; + } + return followPosBuilder_; + } + + private float customRadius_ ; + /** + * float custom_radius = 6; + * @return The customRadius. + */ + @java.lang.Override + public float getCustomRadius() { + return customRadius_; + } + /** + * float custom_radius = 6; + * @param value The customRadius to set. + * @return This builder for chaining. + */ + public Builder setCustomRadius(float value) { + + customRadius_ = value; + onChanged(); + return this; + } + /** + * float custom_radius = 6; + * @return This builder for chaining. + */ + public Builder clearCustomRadius() { + + customRadius_ = 0F; + onChanged(); + return this; + } + + private int blendType_ ; + /** + * uint32 blend_type = 1200; + * @return The blendType. + */ + @java.lang.Override + public int getBlendType() { + return blendType_; + } + /** + * uint32 blend_type = 1200; + * @param value The blendType to set. + * @return This builder for chaining. + */ + public Builder setBlendType(int value) { + + blendType_ = value; + onChanged(); + return this; + } + /** + * uint32 blend_type = 1200; + * @return This builder for chaining. + */ + public Builder clearBlendType() { + + blendType_ = 0; + onChanged(); + return this; + } + + private boolean isForce_ ; + /** + * bool is_force = 10; + * @return The isForce. + */ + @java.lang.Override + public boolean getIsForce() { + return isForce_; + } + /** + * bool is_force = 10; + * @param value The isForce to set. + * @return This builder for chaining. + */ + public Builder setIsForce(boolean value) { + + isForce_ = value; + onChanged(); + return this; + } + /** + * bool is_force = 10; + * @return This builder for chaining. + */ + public Builder clearIsForce() { + + isForce_ = false; + onChanged(); + return this; + } + + private float duration_ ; + /** + * float duration = 2; + * @return The duration. + */ + @java.lang.Override + public float getDuration() { + return duration_; + } + /** + * float duration = 2; + * @param value The duration to set. + * @return This builder for chaining. + */ + public Builder setDuration(float value) { + + duration_ = value; + onChanged(); + return this; + } + /** + * float duration = 2; + * @return This builder for chaining. + */ + public Builder clearDuration() { + + duration_ = 0F; + onChanged(); + return this; + } + + private float blendDuration_ ; + /** + * float blend_duration = 377; + * @return The blendDuration. + */ + @java.lang.Override + public float getBlendDuration() { + return blendDuration_; + } + /** + * float blend_duration = 377; + * @param value The blendDuration to set. + * @return This builder for chaining. + */ + public Builder setBlendDuration(float value) { + + blendDuration_ = value; + onChanged(); + return this; + } + /** + * float blend_duration = 377; + * @return This builder for chaining. + */ + public Builder clearBlendDuration() { + + blendDuration_ = 0F; + onChanged(); + return this; + } + + private int disableProtect_ ; + /** + * uint32 disable_protect = 1905; + * @return The disableProtect. + */ + @java.lang.Override + public int getDisableProtect() { + return disableProtect_; + } + /** + * uint32 disable_protect = 1905; + * @param value The disableProtect to set. + * @return This builder for chaining. + */ + public Builder setDisableProtect(int value) { + + disableProtect_ = value; + onChanged(); + return this; + } + /** + * uint32 disable_protect = 1905; + * @return This builder for chaining. + */ + public Builder clearDisableProtect() { + + disableProtect_ = 0; + onChanged(); + return this; + } + + private int keepRotType_ = 0; + /** + * .BeginCameraSceneLookNotify.KeepRotType keep_rot_type = 11; + * @return The enum numeric value on the wire for keepRotType. + */ + @java.lang.Override public int getKeepRotTypeValue() { + return keepRotType_; + } + /** + * .BeginCameraSceneLookNotify.KeepRotType keep_rot_type = 11; + * @param value The enum numeric value on the wire for keepRotType to set. + * @return This builder for chaining. + */ + public Builder setKeepRotTypeValue(int value) { + + keepRotType_ = value; + onChanged(); + return this; + } + /** + * .BeginCameraSceneLookNotify.KeepRotType keep_rot_type = 11; + * @return The keepRotType. + */ + @java.lang.Override + public emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.KeepRotType getKeepRotType() { + @SuppressWarnings("deprecation") + emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.KeepRotType result = emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.KeepRotType.valueOf(keepRotType_); + return result == null ? emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.KeepRotType.UNRECOGNIZED : result; + } + /** + * .BeginCameraSceneLookNotify.KeepRotType keep_rot_type = 11; + * @param value The keepRotType to set. + * @return This builder for chaining. + */ + public Builder setKeepRotType(emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify.KeepRotType value) { + if (value == null) { + throw new NullPointerException(); + } + + keepRotType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .BeginCameraSceneLookNotify.KeepRotType keep_rot_type = 11; + * @return This builder for chaining. + */ + public Builder clearKeepRotType() { + + keepRotType_ = 0; + onChanged(); + return this; + } + + private int entityId_ ; + /** + * uint32 entity_id = 434; + * @return The entityId. + */ + @java.lang.Override + public int getEntityId() { + return entityId_; + } + /** + * uint32 entity_id = 434; + * @param value The entityId to set. + * @return This builder for chaining. + */ + public Builder setEntityId(int value) { + + entityId_ = value; + onChanged(); + return this; + } + /** + * uint32 entity_id = 434; + * @return This builder for chaining. + */ + public Builder clearEntityId() { + + entityId_ = 0; + onChanged(); + return this; + } + + private boolean isForceWalk_ ; + /** + * bool is_force_walk = 1; + * @return The isForceWalk. + */ + @java.lang.Override + public boolean getIsForceWalk() { + return isForceWalk_; + } + /** + * bool is_force_walk = 1; + * @param value The isForceWalk to set. + * @return This builder for chaining. + */ + public Builder setIsForceWalk(boolean value) { + + isForceWalk_ = value; + onChanged(); + return this; + } + /** + * bool is_force_walk = 1; + * @return This builder for chaining. + */ + public Builder clearIsForceWalk() { + + isForceWalk_ = false; + onChanged(); + return this; + } + + private boolean isAllowInput_ ; + /** + * bool is_allow_input = 3; + * @return The isAllowInput. + */ + @java.lang.Override + public boolean getIsAllowInput() { + return isAllowInput_; + } + /** + * bool is_allow_input = 3; + * @param value The isAllowInput to set. + * @return This builder for chaining. + */ + public Builder setIsAllowInput(boolean value) { + + isAllowInput_ = value; + onChanged(); + return this; + } + /** + * bool is_allow_input = 3; + * @return This builder for chaining. + */ + public Builder clearIsAllowInput() { + + isAllowInput_ = 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:BeginCameraSceneLookNotify) + } + + // @@protoc_insertion_point(class_scope:BeginCameraSceneLookNotify) + private static final emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify(); + } + + public static emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BeginCameraSceneLookNotify parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BeginCameraSceneLookNotify(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.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_BeginCameraSceneLookNotify_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_BeginCameraSceneLookNotify_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 BeginCameraSceneLookNotify.proto\032\014Vect" + + "or.proto\"\335\004\n\032BeginCameraSceneLookNotify\022" + + "\020\n\010screen_x\030\r \001(\002\022\030\n\020is_set_screen_xy\030\t " + + "\001(\010\022\037\n\027is_recover_keep_current\030\016 \001(\010\022\024\n\014" + + "other_params\030\005 \003(\t\022\031\n\010look_pos\030\004 \001(\0132\007.V" + + "ector\022\032\n\021is_abs_follow_pos\030\273\017 \001(\010\022\033\n\023is_" + + "change_play_mode\030\007 \001(\010\022\020\n\010screen_y\030\014 \001(\002" + + "\022\031\n\021is_set_follow_pos\030\010 \001(\010\022\033\n\nfollow_po" + + "s\030\017 \001(\0132\007.Vector\022\025\n\rcustom_radius\030\006 \001(\002\022" + + "\023\n\nblend_type\030\260\t \001(\r\022\020\n\010is_force\030\n \001(\010\022\020" + + "\n\010duration\030\002 \001(\002\022\027\n\016blend_duration\030\371\002 \001(" + + "\002\022\030\n\017disable_protect\030\361\016 \001(\r\022>\n\rkeep_rot_" + + "type\030\013 \001(\0162\'.BeginCameraSceneLookNotify." + + "KeepRotType\022\022\n\tentity_id\030\262\003 \001(\r\022\025\n\ris_fo" + + "rce_walk\030\001 \001(\010\022\026\n\016is_allow_input\030\003 \001(\010\"8" + + "\n\013KeepRotType\022\023\n\017KEEP_ROT_TYPE_X\020\000\022\024\n\020KE" + + "EP_ROT_TYPE_XY\020\001B!\n\031emu.grasscutter.net." + + "protoZ\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(), + }); + internal_static_BeginCameraSceneLookNotify_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_BeginCameraSceneLookNotify_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_BeginCameraSceneLookNotify_descriptor, + new java.lang.String[] { "ScreenX", "IsSetScreenXy", "IsRecoverKeepCurrent", "OtherParams", "LookPos", "IsAbsFollowPos", "IsChangePlayMode", "ScreenY", "IsSetFollowPos", "FollowPos", "CustomRadius", "BlendType", "IsForce", "Duration", "BlendDuration", "DisableProtect", "KeepRotType", "EntityId", "IsForceWalk", "IsAllowInput", }); + emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/CoopCgOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/CoopCgOuterClass.java new file mode 100644 index 000000000..1d2535326 --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/CoopCgOuterClass.java @@ -0,0 +1,615 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: CoopCg.proto + +package emu.grasscutter.net.proto; + +public final class CoopCgOuterClass { + private CoopCgOuterClass() {} + 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 CoopCgOrBuilder extends + // @@protoc_insertion_point(interface_extends:CoopCg) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 id = 1; + * @return The id. + */ + int getId(); + + /** + * bool is_unlock = 7; + * @return The isUnlock. + */ + boolean getIsUnlock(); + } + /** + *
+   * Name: ELGBEHJIAIA
+   * 
+ * + * Protobuf type {@code CoopCg} + */ + public static final class CoopCg extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:CoopCg) + CoopCgOrBuilder { + private static final long serialVersionUID = 0L; + // Use CoopCg.newBuilder() to construct. + private CoopCg(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CoopCg() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CoopCg(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CoopCg( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + + id_ = input.readUInt32(); + break; + } + case 56: { + + isUnlock_ = 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.CoopCgOuterClass.internal_static_CoopCg_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.CoopCgOuterClass.internal_static_CoopCg_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.class, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder.class); + } + + public static final int ID_FIELD_NUMBER = 1; + private int id_; + /** + * uint32 id = 1; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + + public static final int IS_UNLOCK_FIELD_NUMBER = 7; + private boolean isUnlock_; + /** + * bool is_unlock = 7; + * @return The isUnlock. + */ + @java.lang.Override + public boolean getIsUnlock() { + return isUnlock_; + } + + 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 { + if (id_ != 0) { + output.writeUInt32(1, id_); + } + if (isUnlock_ != false) { + output.writeBool(7, isUnlock_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (id_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, id_); + } + if (isUnlock_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, isUnlock_); + } + 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.CoopCgOuterClass.CoopCg)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg other = (emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg) obj; + + if (getId() + != other.getId()) return false; + if (getIsUnlock() + != other.getIsUnlock()) 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) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId(); + hash = (37 * hash) + IS_UNLOCK_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsUnlock()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg 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.CoopCgOuterClass.CoopCg parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg 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.CoopCgOuterClass.CoopCg parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg 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.CoopCgOuterClass.CoopCg parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg 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.CoopCgOuterClass.CoopCg parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg 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.CoopCgOuterClass.CoopCg 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; + } + /** + *
+     * Name: ELGBEHJIAIA
+     * 
+ * + * Protobuf type {@code CoopCg} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:CoopCg) + emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.CoopCgOuterClass.internal_static_CoopCg_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.CoopCgOuterClass.internal_static_CoopCg_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.class, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + id_ = 0; + + isUnlock_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.CoopCgOuterClass.internal_static_CoopCg_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg getDefaultInstanceForType() { + return emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg build() { + emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg buildPartial() { + emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg result = new emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg(this); + result.id_ = id_; + result.isUnlock_ = isUnlock_; + 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.CoopCgOuterClass.CoopCg) { + return mergeFrom((emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg other) { + if (other == emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.getDefaultInstance()) return this; + if (other.getId() != 0) { + setId(other.getId()); + } + if (other.getIsUnlock() != false) { + setIsUnlock(other.getIsUnlock()); + } + 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.CoopCgOuterClass.CoopCg parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int id_ ; + /** + * uint32 id = 1; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + /** + * uint32 id = 1; + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(int value) { + + id_ = value; + onChanged(); + return this; + } + /** + * uint32 id = 1; + * @return This builder for chaining. + */ + public Builder clearId() { + + id_ = 0; + onChanged(); + return this; + } + + private boolean isUnlock_ ; + /** + * bool is_unlock = 7; + * @return The isUnlock. + */ + @java.lang.Override + public boolean getIsUnlock() { + return isUnlock_; + } + /** + * bool is_unlock = 7; + * @param value The isUnlock to set. + * @return This builder for chaining. + */ + public Builder setIsUnlock(boolean value) { + + isUnlock_ = value; + onChanged(); + return this; + } + /** + * bool is_unlock = 7; + * @return This builder for chaining. + */ + public Builder clearIsUnlock() { + + isUnlock_ = 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:CoopCg) + } + + // @@protoc_insertion_point(class_scope:CoopCg) + private static final emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg(); + } + + public static emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CoopCg parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CoopCg(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.CoopCgOuterClass.CoopCg getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_CoopCg_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_CoopCg_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\014CoopCg.proto\"\'\n\006CoopCg\022\n\n\002id\030\001 \001(\r\022\021\n\t" + + "is_unlock\030\007 \001(\010B!\n\031emu.grasscutter.net.p" + + "rotoZ\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_CoopCg_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_CoopCg_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_CoopCg_descriptor, + new java.lang.String[] { "Id", "IsUnlock", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/CoopChapterOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/CoopChapterOuterClass.java new file mode 100644 index 000000000..6f1fb8b95 --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/CoopChapterOuterClass.java @@ -0,0 +1,2773 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: CoopChapter.proto + +package emu.grasscutter.net.proto; + +public final class CoopChapterOuterClass { + private CoopChapterOuterClass() {} + 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 CoopChapterOrBuilder extends + // @@protoc_insertion_point(interface_extends:CoopChapter) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 finished_end_count = 4; + * @return The finishedEndCount. + */ + int getFinishedEndCount(); + + /** + * repeated uint32 KAKALNAGLGJ = 7; + * @return A list containing the kAKALNAGLGJ. + */ + java.util.List getKAKALNAGLGJList(); + /** + * repeated uint32 KAKALNAGLGJ = 7; + * @return The count of kAKALNAGLGJ. + */ + int getKAKALNAGLGJCount(); + /** + * repeated uint32 KAKALNAGLGJ = 7; + * @param index The index of the element to return. + * @return The kAKALNAGLGJ at the given index. + */ + int getKAKALNAGLGJ(int index); + + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + int getSeenEndingMapCount(); + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + boolean containsSeenEndingMap( + int key); + /** + * Use {@link #getSeenEndingMapMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getSeenEndingMap(); + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + java.util.Map + getSeenEndingMapMap(); + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + + int getSeenEndingMapOrDefault( + int key, + int defaultValue); + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + + int getSeenEndingMapOrThrow( + int key); + + /** + * repeated .CoopReward coop_reward_list = 5; + */ + java.util.List + getCoopRewardListList(); + /** + * repeated .CoopReward coop_reward_list = 5; + */ + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward getCoopRewardList(int index); + /** + * repeated .CoopReward coop_reward_list = 5; + */ + int getCoopRewardListCount(); + /** + * repeated .CoopReward coop_reward_list = 5; + */ + java.util.List + getCoopRewardListOrBuilderList(); + /** + * repeated .CoopReward coop_reward_list = 5; + */ + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder getCoopRewardListOrBuilder( + int index); + + /** + * repeated .CoopPoint coop_point_list = 8; + */ + java.util.List + getCoopPointListList(); + /** + * repeated .CoopPoint coop_point_list = 8; + */ + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint getCoopPointList(int index); + /** + * repeated .CoopPoint coop_point_list = 8; + */ + int getCoopPointListCount(); + /** + * repeated .CoopPoint coop_point_list = 8; + */ + java.util.List + getCoopPointListOrBuilderList(); + /** + * repeated .CoopPoint coop_point_list = 8; + */ + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder getCoopPointListOrBuilder( + int index); + + /** + * repeated uint32 LNOCPBNPHIE = 12; + * @return A list containing the lNOCPBNPHIE. + */ + java.util.List getLNOCPBNPHIEList(); + /** + * repeated uint32 LNOCPBNPHIE = 12; + * @return The count of lNOCPBNPHIE. + */ + int getLNOCPBNPHIECount(); + /** + * repeated uint32 LNOCPBNPHIE = 12; + * @param index The index of the element to return. + * @return The lNOCPBNPHIE at the given index. + */ + int getLNOCPBNPHIE(int index); + + /** + * uint32 id = 1; + * @return The id. + */ + int getId(); + + /** + * uint32 total_end_count = 6; + * @return The totalEndCount. + */ + int getTotalEndCount(); + + /** + * .CoopChapter.State state = 2; + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * .CoopChapter.State state = 2; + * @return The state. + */ + emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State getState(); + + /** + * repeated .CoopCg coop_cg_list = 10; + */ + java.util.List + getCoopCgListList(); + /** + * repeated .CoopCg coop_cg_list = 10; + */ + emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg getCoopCgList(int index); + /** + * repeated .CoopCg coop_cg_list = 10; + */ + int getCoopCgListCount(); + /** + * repeated .CoopCg coop_cg_list = 10; + */ + java.util.List + getCoopCgListOrBuilderList(); + /** + * repeated .CoopCg coop_cg_list = 10; + */ + emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder getCoopCgListOrBuilder( + int index); + } + /** + *
+   * Name: GODAKDKKBEM
+   * 
+ * + * Protobuf type {@code CoopChapter} + */ + public static final class CoopChapter extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:CoopChapter) + CoopChapterOrBuilder { + private static final long serialVersionUID = 0L; + // Use CoopChapter.newBuilder() to construct. + private CoopChapter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CoopChapter() { + kAKALNAGLGJ_ = emptyIntList(); + coopRewardList_ = java.util.Collections.emptyList(); + coopPointList_ = java.util.Collections.emptyList(); + lNOCPBNPHIE_ = emptyIntList(); + state_ = 0; + coopCgList_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CoopChapter(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CoopChapter( + 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: { + + id_ = input.readUInt32(); + break; + } + case 16: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 32: { + + finishedEndCount_ = input.readUInt32(); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + coopRewardList_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + coopRewardList_.add( + input.readMessage(emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.parser(), extensionRegistry)); + break; + } + case 48: { + + totalEndCount_ = input.readUInt32(); + break; + } + case 56: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + kAKALNAGLGJ_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + kAKALNAGLGJ_.addInt(input.readUInt32()); + break; + } + case 58: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + kAKALNAGLGJ_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + kAKALNAGLGJ_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + case 66: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + coopPointList_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + coopPointList_.add( + input.readMessage(emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.parser(), extensionRegistry)); + break; + } + case 82: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + coopCgList_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; + } + coopCgList_.add( + input.readMessage(emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.parser(), extensionRegistry)); + break; + } + case 96: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + lNOCPBNPHIE_ = newIntList(); + mutable_bitField0_ |= 0x00000010; + } + lNOCPBNPHIE_.addInt(input.readUInt32()); + break; + } + case 98: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000010) != 0) && input.getBytesUntilLimit() > 0) { + lNOCPBNPHIE_ = newIntList(); + mutable_bitField0_ |= 0x00000010; + } + while (input.getBytesUntilLimit() > 0) { + lNOCPBNPHIE_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + case 114: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + seenEndingMap_ = com.google.protobuf.MapField.newMapField( + SeenEndingMapDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry + seenEndingMap__ = input.readMessage( + SeenEndingMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + seenEndingMap_.getMutableMap().put( + seenEndingMap__.getKey(), seenEndingMap__.getValue()); + 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)) { + coopRewardList_ = java.util.Collections.unmodifiableList(coopRewardList_); + } + if (((mutable_bitField0_ & 0x00000001) != 0)) { + kAKALNAGLGJ_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000008) != 0)) { + coopPointList_ = java.util.Collections.unmodifiableList(coopPointList_); + } + if (((mutable_bitField0_ & 0x00000020) != 0)) { + coopCgList_ = java.util.Collections.unmodifiableList(coopCgList_); + } + if (((mutable_bitField0_ & 0x00000010) != 0)) { + lNOCPBNPHIE_.makeImmutable(); // C + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.CoopChapterOuterClass.internal_static_CoopChapter_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 14: + return internalGetSeenEndingMap(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.CoopChapterOuterClass.internal_static_CoopChapter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.class, emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.Builder.class); + } + + /** + *
+     * Name: PCFKFLMMDHE
+     * 
+ * + * Protobuf enum {@code CoopChapter.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + * STATE_CLOSE = 0; + */ + STATE_CLOSE(0), + /** + * STATE_COND_NOT_MEET = 1; + */ + STATE_COND_NOT_MEET(1), + /** + * STATE_COND_MEET = 2; + */ + STATE_COND_MEET(2), + /** + * STATE_ACCEPT = 3; + */ + STATE_ACCEPT(3), + UNRECOGNIZED(-1), + ; + + /** + * STATE_CLOSE = 0; + */ + public static final int STATE_CLOSE_VALUE = 0; + /** + * STATE_COND_NOT_MEET = 1; + */ + public static final int STATE_COND_NOT_MEET_VALUE = 1; + /** + * STATE_COND_MEET = 2; + */ + public static final int STATE_COND_MEET_VALUE = 2; + /** + * STATE_ACCEPT = 3; + */ + public static final int STATE_ACCEPT_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: return STATE_CLOSE; + case 1: return STATE_COND_NOT_MEET; + case 2: return STATE_COND_MEET; + case 3: return STATE_ACCEPT; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:CoopChapter.State) + } + + public static final int FINISHED_END_COUNT_FIELD_NUMBER = 4; + private int finishedEndCount_; + /** + * uint32 finished_end_count = 4; + * @return The finishedEndCount. + */ + @java.lang.Override + public int getFinishedEndCount() { + return finishedEndCount_; + } + + public static final int KAKALNAGLGJ_FIELD_NUMBER = 7; + private com.google.protobuf.Internal.IntList kAKALNAGLGJ_; + /** + * repeated uint32 KAKALNAGLGJ = 7; + * @return A list containing the kAKALNAGLGJ. + */ + @java.lang.Override + public java.util.List + getKAKALNAGLGJList() { + return kAKALNAGLGJ_; + } + /** + * repeated uint32 KAKALNAGLGJ = 7; + * @return The count of kAKALNAGLGJ. + */ + public int getKAKALNAGLGJCount() { + return kAKALNAGLGJ_.size(); + } + /** + * repeated uint32 KAKALNAGLGJ = 7; + * @param index The index of the element to return. + * @return The kAKALNAGLGJ at the given index. + */ + public int getKAKALNAGLGJ(int index) { + return kAKALNAGLGJ_.getInt(index); + } + private int kAKALNAGLGJMemoizedSerializedSize = -1; + + public static final int SEEN_ENDING_MAP_FIELD_NUMBER = 14; + private static final class SeenEndingMapDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.Integer, java.lang.Integer> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + emu.grasscutter.net.proto.CoopChapterOuterClass.internal_static_CoopChapter_SeenEndingMapEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.UINT32, + 0, + com.google.protobuf.WireFormat.FieldType.UINT32, + 0); + } + private com.google.protobuf.MapField< + java.lang.Integer, java.lang.Integer> seenEndingMap_; + private com.google.protobuf.MapField + internalGetSeenEndingMap() { + if (seenEndingMap_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SeenEndingMapDefaultEntryHolder.defaultEntry); + } + return seenEndingMap_; + } + + public int getSeenEndingMapCount() { + return internalGetSeenEndingMap().getMap().size(); + } + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + + @java.lang.Override + public boolean containsSeenEndingMap( + int key) { + + return internalGetSeenEndingMap().getMap().containsKey(key); + } + /** + * Use {@link #getSeenEndingMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSeenEndingMap() { + return getSeenEndingMapMap(); + } + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + @java.lang.Override + + public java.util.Map getSeenEndingMapMap() { + return internalGetSeenEndingMap().getMap(); + } + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + @java.lang.Override + + public int getSeenEndingMapOrDefault( + int key, + int defaultValue) { + + java.util.Map map = + internalGetSeenEndingMap().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + @java.lang.Override + + public int getSeenEndingMapOrThrow( + int key) { + + java.util.Map map = + internalGetSeenEndingMap().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int COOP_REWARD_LIST_FIELD_NUMBER = 5; + private java.util.List coopRewardList_; + /** + * repeated .CoopReward coop_reward_list = 5; + */ + @java.lang.Override + public java.util.List getCoopRewardListList() { + return coopRewardList_; + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + @java.lang.Override + public java.util.List + getCoopRewardListOrBuilderList() { + return coopRewardList_; + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + @java.lang.Override + public int getCoopRewardListCount() { + return coopRewardList_.size(); + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + @java.lang.Override + public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward getCoopRewardList(int index) { + return coopRewardList_.get(index); + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + @java.lang.Override + public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder getCoopRewardListOrBuilder( + int index) { + return coopRewardList_.get(index); + } + + public static final int COOP_POINT_LIST_FIELD_NUMBER = 8; + private java.util.List coopPointList_; + /** + * repeated .CoopPoint coop_point_list = 8; + */ + @java.lang.Override + public java.util.List getCoopPointListList() { + return coopPointList_; + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + @java.lang.Override + public java.util.List + getCoopPointListOrBuilderList() { + return coopPointList_; + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + @java.lang.Override + public int getCoopPointListCount() { + return coopPointList_.size(); + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + @java.lang.Override + public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint getCoopPointList(int index) { + return coopPointList_.get(index); + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + @java.lang.Override + public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder getCoopPointListOrBuilder( + int index) { + return coopPointList_.get(index); + } + + public static final int LNOCPBNPHIE_FIELD_NUMBER = 12; + private com.google.protobuf.Internal.IntList lNOCPBNPHIE_; + /** + * repeated uint32 LNOCPBNPHIE = 12; + * @return A list containing the lNOCPBNPHIE. + */ + @java.lang.Override + public java.util.List + getLNOCPBNPHIEList() { + return lNOCPBNPHIE_; + } + /** + * repeated uint32 LNOCPBNPHIE = 12; + * @return The count of lNOCPBNPHIE. + */ + public int getLNOCPBNPHIECount() { + return lNOCPBNPHIE_.size(); + } + /** + * repeated uint32 LNOCPBNPHIE = 12; + * @param index The index of the element to return. + * @return The lNOCPBNPHIE at the given index. + */ + public int getLNOCPBNPHIE(int index) { + return lNOCPBNPHIE_.getInt(index); + } + private int lNOCPBNPHIEMemoizedSerializedSize = -1; + + public static final int ID_FIELD_NUMBER = 1; + private int id_; + /** + * uint32 id = 1; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + + public static final int TOTAL_END_COUNT_FIELD_NUMBER = 6; + private int totalEndCount_; + /** + * uint32 total_end_count = 6; + * @return The totalEndCount. + */ + @java.lang.Override + public int getTotalEndCount() { + return totalEndCount_; + } + + public static final int STATE_FIELD_NUMBER = 2; + private int state_; + /** + * .CoopChapter.State state = 2; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + * .CoopChapter.State state = 2; + * @return The state. + */ + @java.lang.Override public emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State getState() { + @SuppressWarnings("deprecation") + emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State result = emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State.valueOf(state_); + return result == null ? emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State.UNRECOGNIZED : result; + } + + public static final int COOP_CG_LIST_FIELD_NUMBER = 10; + private java.util.List coopCgList_; + /** + * repeated .CoopCg coop_cg_list = 10; + */ + @java.lang.Override + public java.util.List getCoopCgListList() { + return coopCgList_; + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + @java.lang.Override + public java.util.List + getCoopCgListOrBuilderList() { + return coopCgList_; + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + @java.lang.Override + public int getCoopCgListCount() { + return coopCgList_.size(); + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + @java.lang.Override + public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg getCoopCgList(int index) { + return coopCgList_.get(index); + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + @java.lang.Override + public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder getCoopCgListOrBuilder( + int index) { + return coopCgList_.get(index); + } + + 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 (id_ != 0) { + output.writeUInt32(1, id_); + } + if (state_ != emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State.STATE_CLOSE.getNumber()) { + output.writeEnum(2, state_); + } + if (finishedEndCount_ != 0) { + output.writeUInt32(4, finishedEndCount_); + } + for (int i = 0; i < coopRewardList_.size(); i++) { + output.writeMessage(5, coopRewardList_.get(i)); + } + if (totalEndCount_ != 0) { + output.writeUInt32(6, totalEndCount_); + } + if (getKAKALNAGLGJList().size() > 0) { + output.writeUInt32NoTag(58); + output.writeUInt32NoTag(kAKALNAGLGJMemoizedSerializedSize); + } + for (int i = 0; i < kAKALNAGLGJ_.size(); i++) { + output.writeUInt32NoTag(kAKALNAGLGJ_.getInt(i)); + } + for (int i = 0; i < coopPointList_.size(); i++) { + output.writeMessage(8, coopPointList_.get(i)); + } + for (int i = 0; i < coopCgList_.size(); i++) { + output.writeMessage(10, coopCgList_.get(i)); + } + if (getLNOCPBNPHIEList().size() > 0) { + output.writeUInt32NoTag(98); + output.writeUInt32NoTag(lNOCPBNPHIEMemoizedSerializedSize); + } + for (int i = 0; i < lNOCPBNPHIE_.size(); i++) { + output.writeUInt32NoTag(lNOCPBNPHIE_.getInt(i)); + } + com.google.protobuf.GeneratedMessageV3 + .serializeIntegerMapTo( + output, + internalGetSeenEndingMap(), + SeenEndingMapDefaultEntryHolder.defaultEntry, + 14); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (id_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, id_); + } + if (state_ != emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State.STATE_CLOSE.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, state_); + } + if (finishedEndCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, finishedEndCount_); + } + for (int i = 0; i < coopRewardList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, coopRewardList_.get(i)); + } + if (totalEndCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(6, totalEndCount_); + } + { + int dataSize = 0; + for (int i = 0; i < kAKALNAGLGJ_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(kAKALNAGLGJ_.getInt(i)); + } + size += dataSize; + if (!getKAKALNAGLGJList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + kAKALNAGLGJMemoizedSerializedSize = dataSize; + } + for (int i = 0; i < coopPointList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, coopPointList_.get(i)); + } + for (int i = 0; i < coopCgList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, coopCgList_.get(i)); + } + { + int dataSize = 0; + for (int i = 0; i < lNOCPBNPHIE_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(lNOCPBNPHIE_.getInt(i)); + } + size += dataSize; + if (!getLNOCPBNPHIEList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + lNOCPBNPHIEMemoizedSerializedSize = dataSize; + } + for (java.util.Map.Entry entry + : internalGetSeenEndingMap().getMap().entrySet()) { + com.google.protobuf.MapEntry + seenEndingMap__ = SeenEndingMapDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, seenEndingMap__); + } + 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.CoopChapterOuterClass.CoopChapter)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter other = (emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter) obj; + + if (getFinishedEndCount() + != other.getFinishedEndCount()) return false; + if (!getKAKALNAGLGJList() + .equals(other.getKAKALNAGLGJList())) return false; + if (!internalGetSeenEndingMap().equals( + other.internalGetSeenEndingMap())) return false; + if (!getCoopRewardListList() + .equals(other.getCoopRewardListList())) return false; + if (!getCoopPointListList() + .equals(other.getCoopPointListList())) return false; + if (!getLNOCPBNPHIEList() + .equals(other.getLNOCPBNPHIEList())) return false; + if (getId() + != other.getId()) return false; + if (getTotalEndCount() + != other.getTotalEndCount()) return false; + if (state_ != other.state_) return false; + if (!getCoopCgListList() + .equals(other.getCoopCgListList())) 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) + FINISHED_END_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getFinishedEndCount(); + if (getKAKALNAGLGJCount() > 0) { + hash = (37 * hash) + KAKALNAGLGJ_FIELD_NUMBER; + hash = (53 * hash) + getKAKALNAGLGJList().hashCode(); + } + if (!internalGetSeenEndingMap().getMap().isEmpty()) { + hash = (37 * hash) + SEEN_ENDING_MAP_FIELD_NUMBER; + hash = (53 * hash) + internalGetSeenEndingMap().hashCode(); + } + if (getCoopRewardListCount() > 0) { + hash = (37 * hash) + COOP_REWARD_LIST_FIELD_NUMBER; + hash = (53 * hash) + getCoopRewardListList().hashCode(); + } + if (getCoopPointListCount() > 0) { + hash = (37 * hash) + COOP_POINT_LIST_FIELD_NUMBER; + hash = (53 * hash) + getCoopPointListList().hashCode(); + } + if (getLNOCPBNPHIECount() > 0) { + hash = (37 * hash) + LNOCPBNPHIE_FIELD_NUMBER; + hash = (53 * hash) + getLNOCPBNPHIEList().hashCode(); + } + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId(); + hash = (37 * hash) + TOTAL_END_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getTotalEndCount(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + if (getCoopCgListCount() > 0) { + hash = (37 * hash) + COOP_CG_LIST_FIELD_NUMBER; + hash = (53 * hash) + getCoopCgListList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter 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.CoopChapterOuterClass.CoopChapter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter 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.CoopChapterOuterClass.CoopChapter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter 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.CoopChapterOuterClass.CoopChapter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter 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.CoopChapterOuterClass.CoopChapter parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter 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.CoopChapterOuterClass.CoopChapter 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; + } + /** + *
+     * Name: GODAKDKKBEM
+     * 
+ * + * Protobuf type {@code CoopChapter} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:CoopChapter) + emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapterOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.CoopChapterOuterClass.internal_static_CoopChapter_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 14: + return internalGetSeenEndingMap(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 14: + return internalGetMutableSeenEndingMap(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.CoopChapterOuterClass.internal_static_CoopChapter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.class, emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getCoopRewardListFieldBuilder(); + getCoopPointListFieldBuilder(); + getCoopCgListFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + finishedEndCount_ = 0; + + kAKALNAGLGJ_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableSeenEndingMap().clear(); + if (coopRewardListBuilder_ == null) { + coopRewardList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + coopRewardListBuilder_.clear(); + } + if (coopPointListBuilder_ == null) { + coopPointList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + } else { + coopPointListBuilder_.clear(); + } + lNOCPBNPHIE_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000010); + id_ = 0; + + totalEndCount_ = 0; + + state_ = 0; + + if (coopCgListBuilder_ == null) { + coopCgList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + } else { + coopCgListBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.CoopChapterOuterClass.internal_static_CoopChapter_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter getDefaultInstanceForType() { + return emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter build() { + emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter buildPartial() { + emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter result = new emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter(this); + int from_bitField0_ = bitField0_; + result.finishedEndCount_ = finishedEndCount_; + if (((bitField0_ & 0x00000001) != 0)) { + kAKALNAGLGJ_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.kAKALNAGLGJ_ = kAKALNAGLGJ_; + result.seenEndingMap_ = internalGetSeenEndingMap(); + result.seenEndingMap_.makeImmutable(); + if (coopRewardListBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + coopRewardList_ = java.util.Collections.unmodifiableList(coopRewardList_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.coopRewardList_ = coopRewardList_; + } else { + result.coopRewardList_ = coopRewardListBuilder_.build(); + } + if (coopPointListBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + coopPointList_ = java.util.Collections.unmodifiableList(coopPointList_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.coopPointList_ = coopPointList_; + } else { + result.coopPointList_ = coopPointListBuilder_.build(); + } + if (((bitField0_ & 0x00000010) != 0)) { + lNOCPBNPHIE_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.lNOCPBNPHIE_ = lNOCPBNPHIE_; + result.id_ = id_; + result.totalEndCount_ = totalEndCount_; + result.state_ = state_; + if (coopCgListBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + coopCgList_ = java.util.Collections.unmodifiableList(coopCgList_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.coopCgList_ = coopCgList_; + } else { + result.coopCgList_ = coopCgListBuilder_.build(); + } + 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.CoopChapterOuterClass.CoopChapter) { + return mergeFrom((emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter other) { + if (other == emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.getDefaultInstance()) return this; + if (other.getFinishedEndCount() != 0) { + setFinishedEndCount(other.getFinishedEndCount()); + } + if (!other.kAKALNAGLGJ_.isEmpty()) { + if (kAKALNAGLGJ_.isEmpty()) { + kAKALNAGLGJ_ = other.kAKALNAGLGJ_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureKAKALNAGLGJIsMutable(); + kAKALNAGLGJ_.addAll(other.kAKALNAGLGJ_); + } + onChanged(); + } + internalGetMutableSeenEndingMap().mergeFrom( + other.internalGetSeenEndingMap()); + if (coopRewardListBuilder_ == null) { + if (!other.coopRewardList_.isEmpty()) { + if (coopRewardList_.isEmpty()) { + coopRewardList_ = other.coopRewardList_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureCoopRewardListIsMutable(); + coopRewardList_.addAll(other.coopRewardList_); + } + onChanged(); + } + } else { + if (!other.coopRewardList_.isEmpty()) { + if (coopRewardListBuilder_.isEmpty()) { + coopRewardListBuilder_.dispose(); + coopRewardListBuilder_ = null; + coopRewardList_ = other.coopRewardList_; + bitField0_ = (bitField0_ & ~0x00000004); + coopRewardListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCoopRewardListFieldBuilder() : null; + } else { + coopRewardListBuilder_.addAllMessages(other.coopRewardList_); + } + } + } + if (coopPointListBuilder_ == null) { + if (!other.coopPointList_.isEmpty()) { + if (coopPointList_.isEmpty()) { + coopPointList_ = other.coopPointList_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureCoopPointListIsMutable(); + coopPointList_.addAll(other.coopPointList_); + } + onChanged(); + } + } else { + if (!other.coopPointList_.isEmpty()) { + if (coopPointListBuilder_.isEmpty()) { + coopPointListBuilder_.dispose(); + coopPointListBuilder_ = null; + coopPointList_ = other.coopPointList_; + bitField0_ = (bitField0_ & ~0x00000008); + coopPointListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCoopPointListFieldBuilder() : null; + } else { + coopPointListBuilder_.addAllMessages(other.coopPointList_); + } + } + } + if (!other.lNOCPBNPHIE_.isEmpty()) { + if (lNOCPBNPHIE_.isEmpty()) { + lNOCPBNPHIE_ = other.lNOCPBNPHIE_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureLNOCPBNPHIEIsMutable(); + lNOCPBNPHIE_.addAll(other.lNOCPBNPHIE_); + } + onChanged(); + } + if (other.getId() != 0) { + setId(other.getId()); + } + if (other.getTotalEndCount() != 0) { + setTotalEndCount(other.getTotalEndCount()); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (coopCgListBuilder_ == null) { + if (!other.coopCgList_.isEmpty()) { + if (coopCgList_.isEmpty()) { + coopCgList_ = other.coopCgList_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureCoopCgListIsMutable(); + coopCgList_.addAll(other.coopCgList_); + } + onChanged(); + } + } else { + if (!other.coopCgList_.isEmpty()) { + if (coopCgListBuilder_.isEmpty()) { + coopCgListBuilder_.dispose(); + coopCgListBuilder_ = null; + coopCgList_ = other.coopCgList_; + bitField0_ = (bitField0_ & ~0x00000020); + coopCgListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCoopCgListFieldBuilder() : null; + } else { + coopCgListBuilder_.addAllMessages(other.coopCgList_); + } + } + } + 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.CoopChapterOuterClass.CoopChapter parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private int finishedEndCount_ ; + /** + * uint32 finished_end_count = 4; + * @return The finishedEndCount. + */ + @java.lang.Override + public int getFinishedEndCount() { + return finishedEndCount_; + } + /** + * uint32 finished_end_count = 4; + * @param value The finishedEndCount to set. + * @return This builder for chaining. + */ + public Builder setFinishedEndCount(int value) { + + finishedEndCount_ = value; + onChanged(); + return this; + } + /** + * uint32 finished_end_count = 4; + * @return This builder for chaining. + */ + public Builder clearFinishedEndCount() { + + finishedEndCount_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList kAKALNAGLGJ_ = emptyIntList(); + private void ensureKAKALNAGLGJIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + kAKALNAGLGJ_ = mutableCopy(kAKALNAGLGJ_); + bitField0_ |= 0x00000001; + } + } + /** + * repeated uint32 KAKALNAGLGJ = 7; + * @return A list containing the kAKALNAGLGJ. + */ + public java.util.List + getKAKALNAGLGJList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(kAKALNAGLGJ_) : kAKALNAGLGJ_; + } + /** + * repeated uint32 KAKALNAGLGJ = 7; + * @return The count of kAKALNAGLGJ. + */ + public int getKAKALNAGLGJCount() { + return kAKALNAGLGJ_.size(); + } + /** + * repeated uint32 KAKALNAGLGJ = 7; + * @param index The index of the element to return. + * @return The kAKALNAGLGJ at the given index. + */ + public int getKAKALNAGLGJ(int index) { + return kAKALNAGLGJ_.getInt(index); + } + /** + * repeated uint32 KAKALNAGLGJ = 7; + * @param index The index to set the value at. + * @param value The kAKALNAGLGJ to set. + * @return This builder for chaining. + */ + public Builder setKAKALNAGLGJ( + int index, int value) { + ensureKAKALNAGLGJIsMutable(); + kAKALNAGLGJ_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated uint32 KAKALNAGLGJ = 7; + * @param value The kAKALNAGLGJ to add. + * @return This builder for chaining. + */ + public Builder addKAKALNAGLGJ(int value) { + ensureKAKALNAGLGJIsMutable(); + kAKALNAGLGJ_.addInt(value); + onChanged(); + return this; + } + /** + * repeated uint32 KAKALNAGLGJ = 7; + * @param values The kAKALNAGLGJ to add. + * @return This builder for chaining. + */ + public Builder addAllKAKALNAGLGJ( + java.lang.Iterable values) { + ensureKAKALNAGLGJIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kAKALNAGLGJ_); + onChanged(); + return this; + } + /** + * repeated uint32 KAKALNAGLGJ = 7; + * @return This builder for chaining. + */ + public Builder clearKAKALNAGLGJ() { + kAKALNAGLGJ_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.Integer, java.lang.Integer> seenEndingMap_; + private com.google.protobuf.MapField + internalGetSeenEndingMap() { + if (seenEndingMap_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SeenEndingMapDefaultEntryHolder.defaultEntry); + } + return seenEndingMap_; + } + private com.google.protobuf.MapField + internalGetMutableSeenEndingMap() { + onChanged();; + if (seenEndingMap_ == null) { + seenEndingMap_ = com.google.protobuf.MapField.newMapField( + SeenEndingMapDefaultEntryHolder.defaultEntry); + } + if (!seenEndingMap_.isMutable()) { + seenEndingMap_ = seenEndingMap_.copy(); + } + return seenEndingMap_; + } + + public int getSeenEndingMapCount() { + return internalGetSeenEndingMap().getMap().size(); + } + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + + @java.lang.Override + public boolean containsSeenEndingMap( + int key) { + + return internalGetSeenEndingMap().getMap().containsKey(key); + } + /** + * Use {@link #getSeenEndingMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSeenEndingMap() { + return getSeenEndingMapMap(); + } + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + @java.lang.Override + + public java.util.Map getSeenEndingMapMap() { + return internalGetSeenEndingMap().getMap(); + } + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + @java.lang.Override + + public int getSeenEndingMapOrDefault( + int key, + int defaultValue) { + + java.util.Map map = + internalGetSeenEndingMap().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + @java.lang.Override + + public int getSeenEndingMapOrThrow( + int key) { + + java.util.Map map = + internalGetSeenEndingMap().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearSeenEndingMap() { + internalGetMutableSeenEndingMap().getMutableMap() + .clear(); + return this; + } + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + + public Builder removeSeenEndingMap( + int key) { + + internalGetMutableSeenEndingMap().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableSeenEndingMap() { + return internalGetMutableSeenEndingMap().getMutableMap(); + } + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + public Builder putSeenEndingMap( + int key, + int value) { + + + internalGetMutableSeenEndingMap().getMutableMap() + .put(key, value); + return this; + } + /** + * map<uint32, uint32> seen_ending_map = 14; + */ + + public Builder putAllSeenEndingMap( + java.util.Map values) { + internalGetMutableSeenEndingMap().getMutableMap() + .putAll(values); + return this; + } + + private java.util.List coopRewardList_ = + java.util.Collections.emptyList(); + private void ensureCoopRewardListIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + coopRewardList_ = new java.util.ArrayList(coopRewardList_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder> coopRewardListBuilder_; + + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public java.util.List getCoopRewardListList() { + if (coopRewardListBuilder_ == null) { + return java.util.Collections.unmodifiableList(coopRewardList_); + } else { + return coopRewardListBuilder_.getMessageList(); + } + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public int getCoopRewardListCount() { + if (coopRewardListBuilder_ == null) { + return coopRewardList_.size(); + } else { + return coopRewardListBuilder_.getCount(); + } + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward getCoopRewardList(int index) { + if (coopRewardListBuilder_ == null) { + return coopRewardList_.get(index); + } else { + return coopRewardListBuilder_.getMessage(index); + } + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public Builder setCoopRewardList( + int index, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward value) { + if (coopRewardListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCoopRewardListIsMutable(); + coopRewardList_.set(index, value); + onChanged(); + } else { + coopRewardListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public Builder setCoopRewardList( + int index, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder builderForValue) { + if (coopRewardListBuilder_ == null) { + ensureCoopRewardListIsMutable(); + coopRewardList_.set(index, builderForValue.build()); + onChanged(); + } else { + coopRewardListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public Builder addCoopRewardList(emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward value) { + if (coopRewardListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCoopRewardListIsMutable(); + coopRewardList_.add(value); + onChanged(); + } else { + coopRewardListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public Builder addCoopRewardList( + int index, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward value) { + if (coopRewardListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCoopRewardListIsMutable(); + coopRewardList_.add(index, value); + onChanged(); + } else { + coopRewardListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public Builder addCoopRewardList( + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder builderForValue) { + if (coopRewardListBuilder_ == null) { + ensureCoopRewardListIsMutable(); + coopRewardList_.add(builderForValue.build()); + onChanged(); + } else { + coopRewardListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public Builder addCoopRewardList( + int index, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder builderForValue) { + if (coopRewardListBuilder_ == null) { + ensureCoopRewardListIsMutable(); + coopRewardList_.add(index, builderForValue.build()); + onChanged(); + } else { + coopRewardListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public Builder addAllCoopRewardList( + java.lang.Iterable values) { + if (coopRewardListBuilder_ == null) { + ensureCoopRewardListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, coopRewardList_); + onChanged(); + } else { + coopRewardListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public Builder clearCoopRewardList() { + if (coopRewardListBuilder_ == null) { + coopRewardList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + coopRewardListBuilder_.clear(); + } + return this; + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public Builder removeCoopRewardList(int index) { + if (coopRewardListBuilder_ == null) { + ensureCoopRewardListIsMutable(); + coopRewardList_.remove(index); + onChanged(); + } else { + coopRewardListBuilder_.remove(index); + } + return this; + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder getCoopRewardListBuilder( + int index) { + return getCoopRewardListFieldBuilder().getBuilder(index); + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder getCoopRewardListOrBuilder( + int index) { + if (coopRewardListBuilder_ == null) { + return coopRewardList_.get(index); } else { + return coopRewardListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public java.util.List + getCoopRewardListOrBuilderList() { + if (coopRewardListBuilder_ != null) { + return coopRewardListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(coopRewardList_); + } + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder addCoopRewardListBuilder() { + return getCoopRewardListFieldBuilder().addBuilder( + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.getDefaultInstance()); + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder addCoopRewardListBuilder( + int index) { + return getCoopRewardListFieldBuilder().addBuilder( + index, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.getDefaultInstance()); + } + /** + * repeated .CoopReward coop_reward_list = 5; + */ + public java.util.List + getCoopRewardListBuilderList() { + return getCoopRewardListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder> + getCoopRewardListFieldBuilder() { + if (coopRewardListBuilder_ == null) { + coopRewardListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder>( + coopRewardList_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + coopRewardList_ = null; + } + return coopRewardListBuilder_; + } + + private java.util.List coopPointList_ = + java.util.Collections.emptyList(); + private void ensureCoopPointListIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + coopPointList_ = new java.util.ArrayList(coopPointList_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder> coopPointListBuilder_; + + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public java.util.List getCoopPointListList() { + if (coopPointListBuilder_ == null) { + return java.util.Collections.unmodifiableList(coopPointList_); + } else { + return coopPointListBuilder_.getMessageList(); + } + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public int getCoopPointListCount() { + if (coopPointListBuilder_ == null) { + return coopPointList_.size(); + } else { + return coopPointListBuilder_.getCount(); + } + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint getCoopPointList(int index) { + if (coopPointListBuilder_ == null) { + return coopPointList_.get(index); + } else { + return coopPointListBuilder_.getMessage(index); + } + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public Builder setCoopPointList( + int index, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint value) { + if (coopPointListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCoopPointListIsMutable(); + coopPointList_.set(index, value); + onChanged(); + } else { + coopPointListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public Builder setCoopPointList( + int index, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder builderForValue) { + if (coopPointListBuilder_ == null) { + ensureCoopPointListIsMutable(); + coopPointList_.set(index, builderForValue.build()); + onChanged(); + } else { + coopPointListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public Builder addCoopPointList(emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint value) { + if (coopPointListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCoopPointListIsMutable(); + coopPointList_.add(value); + onChanged(); + } else { + coopPointListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public Builder addCoopPointList( + int index, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint value) { + if (coopPointListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCoopPointListIsMutable(); + coopPointList_.add(index, value); + onChanged(); + } else { + coopPointListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public Builder addCoopPointList( + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder builderForValue) { + if (coopPointListBuilder_ == null) { + ensureCoopPointListIsMutable(); + coopPointList_.add(builderForValue.build()); + onChanged(); + } else { + coopPointListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public Builder addCoopPointList( + int index, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder builderForValue) { + if (coopPointListBuilder_ == null) { + ensureCoopPointListIsMutable(); + coopPointList_.add(index, builderForValue.build()); + onChanged(); + } else { + coopPointListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public Builder addAllCoopPointList( + java.lang.Iterable values) { + if (coopPointListBuilder_ == null) { + ensureCoopPointListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, coopPointList_); + onChanged(); + } else { + coopPointListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public Builder clearCoopPointList() { + if (coopPointListBuilder_ == null) { + coopPointList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + coopPointListBuilder_.clear(); + } + return this; + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public Builder removeCoopPointList(int index) { + if (coopPointListBuilder_ == null) { + ensureCoopPointListIsMutable(); + coopPointList_.remove(index); + onChanged(); + } else { + coopPointListBuilder_.remove(index); + } + return this; + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder getCoopPointListBuilder( + int index) { + return getCoopPointListFieldBuilder().getBuilder(index); + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder getCoopPointListOrBuilder( + int index) { + if (coopPointListBuilder_ == null) { + return coopPointList_.get(index); } else { + return coopPointListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public java.util.List + getCoopPointListOrBuilderList() { + if (coopPointListBuilder_ != null) { + return coopPointListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(coopPointList_); + } + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder addCoopPointListBuilder() { + return getCoopPointListFieldBuilder().addBuilder( + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.getDefaultInstance()); + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder addCoopPointListBuilder( + int index) { + return getCoopPointListFieldBuilder().addBuilder( + index, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.getDefaultInstance()); + } + /** + * repeated .CoopPoint coop_point_list = 8; + */ + public java.util.List + getCoopPointListBuilderList() { + return getCoopPointListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder> + getCoopPointListFieldBuilder() { + if (coopPointListBuilder_ == null) { + coopPointListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder>( + coopPointList_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + coopPointList_ = null; + } + return coopPointListBuilder_; + } + + private com.google.protobuf.Internal.IntList lNOCPBNPHIE_ = emptyIntList(); + private void ensureLNOCPBNPHIEIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + lNOCPBNPHIE_ = mutableCopy(lNOCPBNPHIE_); + bitField0_ |= 0x00000010; + } + } + /** + * repeated uint32 LNOCPBNPHIE = 12; + * @return A list containing the lNOCPBNPHIE. + */ + public java.util.List + getLNOCPBNPHIEList() { + return ((bitField0_ & 0x00000010) != 0) ? + java.util.Collections.unmodifiableList(lNOCPBNPHIE_) : lNOCPBNPHIE_; + } + /** + * repeated uint32 LNOCPBNPHIE = 12; + * @return The count of lNOCPBNPHIE. + */ + public int getLNOCPBNPHIECount() { + return lNOCPBNPHIE_.size(); + } + /** + * repeated uint32 LNOCPBNPHIE = 12; + * @param index The index of the element to return. + * @return The lNOCPBNPHIE at the given index. + */ + public int getLNOCPBNPHIE(int index) { + return lNOCPBNPHIE_.getInt(index); + } + /** + * repeated uint32 LNOCPBNPHIE = 12; + * @param index The index to set the value at. + * @param value The lNOCPBNPHIE to set. + * @return This builder for chaining. + */ + public Builder setLNOCPBNPHIE( + int index, int value) { + ensureLNOCPBNPHIEIsMutable(); + lNOCPBNPHIE_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated uint32 LNOCPBNPHIE = 12; + * @param value The lNOCPBNPHIE to add. + * @return This builder for chaining. + */ + public Builder addLNOCPBNPHIE(int value) { + ensureLNOCPBNPHIEIsMutable(); + lNOCPBNPHIE_.addInt(value); + onChanged(); + return this; + } + /** + * repeated uint32 LNOCPBNPHIE = 12; + * @param values The lNOCPBNPHIE to add. + * @return This builder for chaining. + */ + public Builder addAllLNOCPBNPHIE( + java.lang.Iterable values) { + ensureLNOCPBNPHIEIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, lNOCPBNPHIE_); + onChanged(); + return this; + } + /** + * repeated uint32 LNOCPBNPHIE = 12; + * @return This builder for chaining. + */ + public Builder clearLNOCPBNPHIE() { + lNOCPBNPHIE_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + private int id_ ; + /** + * uint32 id = 1; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + /** + * uint32 id = 1; + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(int value) { + + id_ = value; + onChanged(); + return this; + } + /** + * uint32 id = 1; + * @return This builder for chaining. + */ + public Builder clearId() { + + id_ = 0; + onChanged(); + return this; + } + + private int totalEndCount_ ; + /** + * uint32 total_end_count = 6; + * @return The totalEndCount. + */ + @java.lang.Override + public int getTotalEndCount() { + return totalEndCount_; + } + /** + * uint32 total_end_count = 6; + * @param value The totalEndCount to set. + * @return This builder for chaining. + */ + public Builder setTotalEndCount(int value) { + + totalEndCount_ = value; + onChanged(); + return this; + } + /** + * uint32 total_end_count = 6; + * @return This builder for chaining. + */ + public Builder clearTotalEndCount() { + + totalEndCount_ = 0; + onChanged(); + return this; + } + + private int state_ = 0; + /** + * .CoopChapter.State state = 2; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + * .CoopChapter.State state = 2; + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + + state_ = value; + onChanged(); + return this; + } + /** + * .CoopChapter.State state = 2; + * @return The state. + */ + @java.lang.Override + public emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State getState() { + @SuppressWarnings("deprecation") + emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State result = emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State.valueOf(state_); + return result == null ? emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State.UNRECOGNIZED : result; + } + /** + * .CoopChapter.State state = 2; + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .CoopChapter.State state = 2; + * @return This builder for chaining. + */ + public Builder clearState() { + + state_ = 0; + onChanged(); + return this; + } + + private java.util.List coopCgList_ = + java.util.Collections.emptyList(); + private void ensureCoopCgListIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + coopCgList_ = new java.util.ArrayList(coopCgList_); + bitField0_ |= 0x00000020; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder> coopCgListBuilder_; + + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public java.util.List getCoopCgListList() { + if (coopCgListBuilder_ == null) { + return java.util.Collections.unmodifiableList(coopCgList_); + } else { + return coopCgListBuilder_.getMessageList(); + } + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public int getCoopCgListCount() { + if (coopCgListBuilder_ == null) { + return coopCgList_.size(); + } else { + return coopCgListBuilder_.getCount(); + } + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg getCoopCgList(int index) { + if (coopCgListBuilder_ == null) { + return coopCgList_.get(index); + } else { + return coopCgListBuilder_.getMessage(index); + } + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public Builder setCoopCgList( + int index, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg value) { + if (coopCgListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCoopCgListIsMutable(); + coopCgList_.set(index, value); + onChanged(); + } else { + coopCgListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public Builder setCoopCgList( + int index, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder builderForValue) { + if (coopCgListBuilder_ == null) { + ensureCoopCgListIsMutable(); + coopCgList_.set(index, builderForValue.build()); + onChanged(); + } else { + coopCgListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public Builder addCoopCgList(emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg value) { + if (coopCgListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCoopCgListIsMutable(); + coopCgList_.add(value); + onChanged(); + } else { + coopCgListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public Builder addCoopCgList( + int index, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg value) { + if (coopCgListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCoopCgListIsMutable(); + coopCgList_.add(index, value); + onChanged(); + } else { + coopCgListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public Builder addCoopCgList( + emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder builderForValue) { + if (coopCgListBuilder_ == null) { + ensureCoopCgListIsMutable(); + coopCgList_.add(builderForValue.build()); + onChanged(); + } else { + coopCgListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public Builder addCoopCgList( + int index, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder builderForValue) { + if (coopCgListBuilder_ == null) { + ensureCoopCgListIsMutable(); + coopCgList_.add(index, builderForValue.build()); + onChanged(); + } else { + coopCgListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public Builder addAllCoopCgList( + java.lang.Iterable values) { + if (coopCgListBuilder_ == null) { + ensureCoopCgListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, coopCgList_); + onChanged(); + } else { + coopCgListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public Builder clearCoopCgList() { + if (coopCgListBuilder_ == null) { + coopCgList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + } else { + coopCgListBuilder_.clear(); + } + return this; + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public Builder removeCoopCgList(int index) { + if (coopCgListBuilder_ == null) { + ensureCoopCgListIsMutable(); + coopCgList_.remove(index); + onChanged(); + } else { + coopCgListBuilder_.remove(index); + } + return this; + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder getCoopCgListBuilder( + int index) { + return getCoopCgListFieldBuilder().getBuilder(index); + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder getCoopCgListOrBuilder( + int index) { + if (coopCgListBuilder_ == null) { + return coopCgList_.get(index); } else { + return coopCgListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public java.util.List + getCoopCgListOrBuilderList() { + if (coopCgListBuilder_ != null) { + return coopCgListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(coopCgList_); + } + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder addCoopCgListBuilder() { + return getCoopCgListFieldBuilder().addBuilder( + emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.getDefaultInstance()); + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder addCoopCgListBuilder( + int index) { + return getCoopCgListFieldBuilder().addBuilder( + index, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.getDefaultInstance()); + } + /** + * repeated .CoopCg coop_cg_list = 10; + */ + public java.util.List + getCoopCgListBuilderList() { + return getCoopCgListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder> + getCoopCgListFieldBuilder() { + if (coopCgListBuilder_ == null) { + coopCgListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder>( + coopCgList_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); + coopCgList_ = null; + } + return coopCgListBuilder_; + } + @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:CoopChapter) + } + + // @@protoc_insertion_point(class_scope:CoopChapter) + private static final emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter(); + } + + public static emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CoopChapter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CoopChapter(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.CoopChapterOuterClass.CoopChapter getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_CoopChapter_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_CoopChapter_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_CoopChapter_SeenEndingMapEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_CoopChapter_SeenEndingMapEntry_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\021CoopChapter.proto\032\014CoopCg.proto\032\017CoopP" + + "oint.proto\032\020CoopReward.proto\"\320\003\n\013CoopCha" + + "pter\022\032\n\022finished_end_count\030\004 \001(\r\022\023\n\013KAKA" + + "LNAGLGJ\030\007 \003(\r\0228\n\017seen_ending_map\030\016 \003(\0132\037" + + ".CoopChapter.SeenEndingMapEntry\022%\n\020coop_" + + "reward_list\030\005 \003(\0132\013.CoopReward\022#\n\017coop_p" + + "oint_list\030\010 \003(\0132\n.CoopPoint\022\023\n\013LNOCPBNPH" + + "IE\030\014 \003(\r\022\n\n\002id\030\001 \001(\r\022\027\n\017total_end_count\030" + + "\006 \001(\r\022!\n\005state\030\002 \001(\0162\022.CoopChapter.State" + + "\022\035\n\014coop_cg_list\030\n \003(\0132\007.CoopCg\0324\n\022SeenE" + + "ndingMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(" + + "\r:\0028\001\"X\n\005State\022\017\n\013STATE_CLOSE\020\000\022\027\n\023STATE" + + "_COND_NOT_MEET\020\001\022\023\n\017STATE_COND_MEET\020\002\022\020\n" + + "\014STATE_ACCEPT\020\003B!\n\031emu.grasscutter.net.p" + + "rotoZ\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + emu.grasscutter.net.proto.CoopCgOuterClass.getDescriptor(), + emu.grasscutter.net.proto.CoopPointOuterClass.getDescriptor(), + emu.grasscutter.net.proto.CoopRewardOuterClass.getDescriptor(), + }); + internal_static_CoopChapter_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_CoopChapter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_CoopChapter_descriptor, + new java.lang.String[] { "FinishedEndCount", "KAKALNAGLGJ", "SeenEndingMap", "CoopRewardList", "CoopPointList", "LNOCPBNPHIE", "Id", "TotalEndCount", "State", "CoopCgList", }); + internal_static_CoopChapter_SeenEndingMapEntry_descriptor = + internal_static_CoopChapter_descriptor.getNestedTypes().get(0); + internal_static_CoopChapter_SeenEndingMapEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_CoopChapter_SeenEndingMapEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + emu.grasscutter.net.proto.CoopCgOuterClass.getDescriptor(); + emu.grasscutter.net.proto.CoopPointOuterClass.getDescriptor(); + emu.grasscutter.net.proto.CoopRewardOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/CoopPointOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/CoopPointOuterClass.java new file mode 100644 index 000000000..f3195c501 --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/CoopPointOuterClass.java @@ -0,0 +1,845 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: CoopPoint.proto + +package emu.grasscutter.net.proto; + +public final class CoopPointOuterClass { + private CoopPointOuterClass() {} + 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 CoopPointOrBuilder extends + // @@protoc_insertion_point(interface_extends:CoopPoint) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 id = 15; + * @return The id. + */ + int getId(); + + /** + * .CoopPoint.State state = 4; + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * .CoopPoint.State state = 4; + * @return The state. + */ + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.State getState(); + + /** + * uint32 self_confidence = 8; + * @return The selfConfidence. + */ + int getSelfConfidence(); + } + /** + *
+   * Name: GINFLDADAOO
+   * 
+ * + * Protobuf type {@code CoopPoint} + */ + public static final class CoopPoint extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:CoopPoint) + CoopPointOrBuilder { + private static final long serialVersionUID = 0L; + // Use CoopPoint.newBuilder() to construct. + private CoopPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CoopPoint() { + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CoopPoint(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CoopPoint( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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 32: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 64: { + + selfConfidence_ = input.readUInt32(); + break; + } + case 120: { + + id_ = input.readUInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.CoopPointOuterClass.internal_static_CoopPoint_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.CoopPointOuterClass.internal_static_CoopPoint_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.class, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder.class); + } + + /** + *
+     * Name: CLMHLFCKFLK
+     * 
+ * + * Protobuf enum {@code CoopPoint.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + * STATE_UNSTARTED = 0; + */ + STATE_UNSTARTED(0), + /** + * STATE_STARTED = 1; + */ + STATE_STARTED(1), + /** + * STATE_FINISHED = 2; + */ + STATE_FINISHED(2), + UNRECOGNIZED(-1), + ; + + /** + * STATE_UNSTARTED = 0; + */ + public static final int STATE_UNSTARTED_VALUE = 0; + /** + * STATE_STARTED = 1; + */ + public static final int STATE_STARTED_VALUE = 1; + /** + * STATE_FINISHED = 2; + */ + public static final int STATE_FINISHED_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: return STATE_UNSTARTED; + case 1: return STATE_STARTED; + case 2: return STATE_FINISHED; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:CoopPoint.State) + } + + public static final int ID_FIELD_NUMBER = 15; + private int id_; + /** + * uint32 id = 15; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + + public static final int STATE_FIELD_NUMBER = 4; + private int state_; + /** + * .CoopPoint.State state = 4; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + * .CoopPoint.State state = 4; + * @return The state. + */ + @java.lang.Override public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.State getState() { + @SuppressWarnings("deprecation") + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.State result = emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.State.valueOf(state_); + return result == null ? emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.State.UNRECOGNIZED : result; + } + + public static final int SELF_CONFIDENCE_FIELD_NUMBER = 8; + private int selfConfidence_; + /** + * uint32 self_confidence = 8; + * @return The selfConfidence. + */ + @java.lang.Override + public int getSelfConfidence() { + return selfConfidence_; + } + + 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 { + if (state_ != emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.State.STATE_UNSTARTED.getNumber()) { + output.writeEnum(4, state_); + } + if (selfConfidence_ != 0) { + output.writeUInt32(8, selfConfidence_); + } + if (id_ != 0) { + output.writeUInt32(15, id_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (state_ != emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.State.STATE_UNSTARTED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); + } + if (selfConfidence_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(8, selfConfidence_); + } + if (id_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(15, id_); + } + 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.CoopPointOuterClass.CoopPoint)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint other = (emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint) obj; + + if (getId() + != other.getId()) return false; + if (state_ != other.state_) return false; + if (getSelfConfidence() + != other.getSelfConfidence()) 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) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + hash = (37 * hash) + SELF_CONFIDENCE_FIELD_NUMBER; + hash = (53 * hash) + getSelfConfidence(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint 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.CoopPointOuterClass.CoopPoint parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint 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.CoopPointOuterClass.CoopPoint parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint 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.CoopPointOuterClass.CoopPoint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint 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.CoopPointOuterClass.CoopPoint parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint 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.CoopPointOuterClass.CoopPoint 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; + } + /** + *
+     * Name: GINFLDADAOO
+     * 
+ * + * Protobuf type {@code CoopPoint} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:CoopPoint) + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.CoopPointOuterClass.internal_static_CoopPoint_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.CoopPointOuterClass.internal_static_CoopPoint_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.class, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + id_ = 0; + + state_ = 0; + + selfConfidence_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.CoopPointOuterClass.internal_static_CoopPoint_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint getDefaultInstanceForType() { + return emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint build() { + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint buildPartial() { + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint result = new emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint(this); + result.id_ = id_; + result.state_ = state_; + result.selfConfidence_ = selfConfidence_; + 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.CoopPointOuterClass.CoopPoint) { + return mergeFrom((emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint other) { + if (other == emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.getDefaultInstance()) return this; + if (other.getId() != 0) { + setId(other.getId()); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.getSelfConfidence() != 0) { + setSelfConfidence(other.getSelfConfidence()); + } + 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.CoopPointOuterClass.CoopPoint parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int id_ ; + /** + * uint32 id = 15; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + /** + * uint32 id = 15; + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(int value) { + + id_ = value; + onChanged(); + return this; + } + /** + * uint32 id = 15; + * @return This builder for chaining. + */ + public Builder clearId() { + + id_ = 0; + onChanged(); + return this; + } + + private int state_ = 0; + /** + * .CoopPoint.State state = 4; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + * .CoopPoint.State state = 4; + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + + state_ = value; + onChanged(); + return this; + } + /** + * .CoopPoint.State state = 4; + * @return The state. + */ + @java.lang.Override + public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.State getState() { + @SuppressWarnings("deprecation") + emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.State result = emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.State.valueOf(state_); + return result == null ? emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.State.UNRECOGNIZED : result; + } + /** + * .CoopPoint.State state = 4; + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.State value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .CoopPoint.State state = 4; + * @return This builder for chaining. + */ + public Builder clearState() { + + state_ = 0; + onChanged(); + return this; + } + + private int selfConfidence_ ; + /** + * uint32 self_confidence = 8; + * @return The selfConfidence. + */ + @java.lang.Override + public int getSelfConfidence() { + return selfConfidence_; + } + /** + * uint32 self_confidence = 8; + * @param value The selfConfidence to set. + * @return This builder for chaining. + */ + public Builder setSelfConfidence(int value) { + + selfConfidence_ = value; + onChanged(); + return this; + } + /** + * uint32 self_confidence = 8; + * @return This builder for chaining. + */ + public Builder clearSelfConfidence() { + + selfConfidence_ = 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:CoopPoint) + } + + // @@protoc_insertion_point(class_scope:CoopPoint) + private static final emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint(); + } + + public static emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CoopPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CoopPoint(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.CoopPointOuterClass.CoopPoint getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_CoopPoint_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_CoopPoint_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\017CoopPoint.proto\"\226\001\n\tCoopPoint\022\n\n\002id\030\017 " + + "\001(\r\022\037\n\005state\030\004 \001(\0162\020.CoopPoint.State\022\027\n\017" + + "self_confidence\030\010 \001(\r\"C\n\005State\022\023\n\017STATE_" + + "UNSTARTED\020\000\022\021\n\rSTATE_STARTED\020\001\022\022\n\016STATE_" + + "FINISHED\020\002B!\n\031emu.grasscutter.net.protoZ" + + "\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_CoopPoint_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_CoopPoint_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_CoopPoint_descriptor, + new java.lang.String[] { "Id", "State", "SelfConfidence", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/CoopRewardOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/CoopRewardOuterClass.java new file mode 100644 index 000000000..f9a316f7d --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/CoopRewardOuterClass.java @@ -0,0 +1,774 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: CoopReward.proto + +package emu.grasscutter.net.proto; + +public final class CoopRewardOuterClass { + private CoopRewardOuterClass() {} + 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 CoopRewardOrBuilder extends + // @@protoc_insertion_point(interface_extends:CoopReward) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 id = 9; + * @return The id. + */ + int getId(); + + /** + * .CoopReward.State state = 14; + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * .CoopReward.State state = 14; + * @return The state. + */ + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.State getState(); + } + /** + *
+   * Name: AGGLMJABOKH
+   * 
+ * + * Protobuf type {@code CoopReward} + */ + public static final class CoopReward extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:CoopReward) + CoopRewardOrBuilder { + private static final long serialVersionUID = 0L; + // Use CoopReward.newBuilder() to construct. + private CoopReward(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CoopReward() { + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CoopReward(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CoopReward( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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 72: { + + id_ = input.readUInt32(); + break; + } + case 112: { + int rawValue = input.readEnum(); + + state_ = rawValue; + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.CoopRewardOuterClass.internal_static_CoopReward_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.CoopRewardOuterClass.internal_static_CoopReward_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.class, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder.class); + } + + /** + *
+     * Name: BCDLKPCNHJH
+     * 
+ * + * Protobuf enum {@code CoopReward.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + * STATE_UNLOCK = 0; + */ + STATE_UNLOCK(0), + /** + * STATE_LOCK = 1; + */ + STATE_LOCK(1), + /** + * STATE_TAKEN = 2; + */ + STATE_TAKEN(2), + UNRECOGNIZED(-1), + ; + + /** + * STATE_UNLOCK = 0; + */ + public static final int STATE_UNLOCK_VALUE = 0; + /** + * STATE_LOCK = 1; + */ + public static final int STATE_LOCK_VALUE = 1; + /** + * STATE_TAKEN = 2; + */ + public static final int STATE_TAKEN_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: return STATE_UNLOCK; + case 1: return STATE_LOCK; + case 2: return STATE_TAKEN; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:CoopReward.State) + } + + public static final int ID_FIELD_NUMBER = 9; + private int id_; + /** + * uint32 id = 9; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + + public static final int STATE_FIELD_NUMBER = 14; + private int state_; + /** + * .CoopReward.State state = 14; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + * .CoopReward.State state = 14; + * @return The state. + */ + @java.lang.Override public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.State getState() { + @SuppressWarnings("deprecation") + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.State result = emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.State.valueOf(state_); + return result == null ? emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.State.UNRECOGNIZED : result; + } + + 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 { + if (id_ != 0) { + output.writeUInt32(9, id_); + } + if (state_ != emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.State.STATE_UNLOCK.getNumber()) { + output.writeEnum(14, state_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (id_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(9, id_); + } + if (state_ != emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.State.STATE_UNLOCK.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(14, state_); + } + 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.CoopRewardOuterClass.CoopReward)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward other = (emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward) obj; + + if (getId() + != other.getId()) return false; + if (state_ != other.state_) 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) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward 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.CoopRewardOuterClass.CoopReward parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward 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.CoopRewardOuterClass.CoopReward parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward 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.CoopRewardOuterClass.CoopReward parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward 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.CoopRewardOuterClass.CoopReward parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward 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.CoopRewardOuterClass.CoopReward 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; + } + /** + *
+     * Name: AGGLMJABOKH
+     * 
+ * + * Protobuf type {@code CoopReward} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:CoopReward) + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.CoopRewardOuterClass.internal_static_CoopReward_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.CoopRewardOuterClass.internal_static_CoopReward_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.class, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + id_ = 0; + + state_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.CoopRewardOuterClass.internal_static_CoopReward_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward getDefaultInstanceForType() { + return emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward build() { + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward buildPartial() { + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward result = new emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward(this); + result.id_ = id_; + result.state_ = state_; + 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.CoopRewardOuterClass.CoopReward) { + return mergeFrom((emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward other) { + if (other == emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.getDefaultInstance()) return this; + if (other.getId() != 0) { + setId(other.getId()); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + 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.CoopRewardOuterClass.CoopReward parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int id_ ; + /** + * uint32 id = 9; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + /** + * uint32 id = 9; + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(int value) { + + id_ = value; + onChanged(); + return this; + } + /** + * uint32 id = 9; + * @return This builder for chaining. + */ + public Builder clearId() { + + id_ = 0; + onChanged(); + return this; + } + + private int state_ = 0; + /** + * .CoopReward.State state = 14; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + * .CoopReward.State state = 14; + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + + state_ = value; + onChanged(); + return this; + } + /** + * .CoopReward.State state = 14; + * @return The state. + */ + @java.lang.Override + public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.State getState() { + @SuppressWarnings("deprecation") + emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.State result = emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.State.valueOf(state_); + return result == null ? emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.State.UNRECOGNIZED : result; + } + /** + * .CoopReward.State state = 14; + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.State value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .CoopReward.State state = 14; + * @return This builder for chaining. + */ + public Builder clearState() { + + state_ = 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:CoopReward) + } + + // @@protoc_insertion_point(class_scope:CoopReward) + private static final emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward(); + } + + public static emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CoopReward parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CoopReward(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.CoopRewardOuterClass.CoopReward getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_CoopReward_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_CoopReward_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\020CoopReward.proto\"v\n\nCoopReward\022\n\n\002id\030\t" + + " \001(\r\022 \n\005state\030\016 \001(\0162\021.CoopReward.State\":" + + "\n\005State\022\020\n\014STATE_UNLOCK\020\000\022\016\n\nSTATE_LOCK\020" + + "\001\022\017\n\013STATE_TAKEN\020\002B!\n\031emu.grasscutter.ne" + + "t.protoZ\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_CoopReward_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_CoopReward_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_CoopReward_descriptor, + new java.lang.String[] { "Id", "State", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/DataResVersionNotifyOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/DataResVersionNotifyOuterClass.java new file mode 100644 index 000000000..9c4056b22 --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/DataResVersionNotifyOuterClass.java @@ -0,0 +1,1731 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DataResVersionNotify.proto + +package emu.grasscutter.net.proto; + +public final class DataResVersionNotifyOuterClass { + private DataResVersionNotifyOuterClass() {} + 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 DataResVersionNotifyOrBuilder extends + // @@protoc_insertion_point(interface_extends:DataResVersionNotify) + com.google.protobuf.MessageOrBuilder { + + /** + * string next_res_version_config = 8; + * @return The nextResVersionConfig. + */ + java.lang.String getNextResVersionConfig(); + /** + * string next_res_version_config = 8; + * @return The bytes for nextResVersionConfig. + */ + com.google.protobuf.ByteString + getNextResVersionConfigBytes(); + + /** + * uint32 client_silence_data_version = 6; + * @return The clientSilenceDataVersion. + */ + int getClientSilenceDataVersion(); + + /** + * string client_silence_version_suffix = 9; + * @return The clientSilenceVersionSuffix. + */ + java.lang.String getClientSilenceVersionSuffix(); + /** + * string client_silence_version_suffix = 9; + * @return The bytes for clientSilenceVersionSuffix. + */ + com.google.protobuf.ByteString + getClientSilenceVersionSuffixBytes(); + + /** + * .ResVersionConfig res_version_config = 7; + * @return Whether the resVersionConfig field is set. + */ + boolean hasResVersionConfig(); + /** + * .ResVersionConfig res_version_config = 7; + * @return The resVersionConfig. + */ + emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig getResVersionConfig(); + /** + * .ResVersionConfig res_version_config = 7; + */ + emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder getResVersionConfigOrBuilder(); + + /** + * bool is_data_need_relogin = 3; + * @return The isDataNeedRelogin. + */ + boolean getIsDataNeedRelogin(); + + /** + * string client_md5 = 5; + * @return The clientMd5. + */ + java.lang.String getClientMd5(); + /** + * string client_md5 = 5; + * @return The bytes for clientMd5. + */ + com.google.protobuf.ByteString + getClientMd5Bytes(); + + /** + * .DataResVersionNotify.DataResVersionOpType op_type = 1; + * @return The enum numeric value on the wire for opType. + */ + int getOpTypeValue(); + /** + * .DataResVersionNotify.DataResVersionOpType op_type = 1; + * @return The opType. + */ + emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType getOpType(); + + /** + * uint32 client_data_version = 2; + * @return The clientDataVersion. + */ + int getClientDataVersion(); + + /** + * string client_version_suffix = 14; + * @return The clientVersionSuffix. + */ + java.lang.String getClientVersionSuffix(); + /** + * string client_version_suffix = 14; + * @return The bytes for clientVersionSuffix. + */ + com.google.protobuf.ByteString + getClientVersionSuffixBytes(); + } + /** + *
+   * CmdId: 118
+   * Name: AKGLNBEFBAE
+   * 
+ * + * Protobuf type {@code DataResVersionNotify} + */ + public static final class DataResVersionNotify extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:DataResVersionNotify) + DataResVersionNotifyOrBuilder { + private static final long serialVersionUID = 0L; + // Use DataResVersionNotify.newBuilder() to construct. + private DataResVersionNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DataResVersionNotify() { + nextResVersionConfig_ = ""; + clientSilenceVersionSuffix_ = ""; + clientMd5_ = ""; + opType_ = 0; + clientVersionSuffix_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DataResVersionNotify(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DataResVersionNotify( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + int rawValue = input.readEnum(); + + opType_ = rawValue; + break; + } + case 16: { + + clientDataVersion_ = input.readUInt32(); + break; + } + case 24: { + + isDataNeedRelogin_ = input.readBool(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + clientMd5_ = s; + break; + } + case 48: { + + clientSilenceDataVersion_ = input.readUInt32(); + break; + } + case 58: { + emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder subBuilder = null; + if (resVersionConfig_ != null) { + subBuilder = resVersionConfig_.toBuilder(); + } + resVersionConfig_ = input.readMessage(emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resVersionConfig_); + resVersionConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + nextResVersionConfig_ = s; + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + clientSilenceVersionSuffix_ = s; + break; + } + case 114: { + java.lang.String s = input.readStringRequireUtf8(); + + clientVersionSuffix_ = s; + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.internal_static_DataResVersionNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.internal_static_DataResVersionNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.class, emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.Builder.class); + } + + /** + *
+     * Name: NIAIEPJFONE
+     * 
+ * + * Protobuf enum {@code DataResVersionNotify.DataResVersionOpType} + */ + public enum DataResVersionOpType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * OP_TYPE_NONE = 0; + */ + OP_TYPE_NONE(0), + /** + * OP_TYPE_RELOGIN = 1; + */ + OP_TYPE_RELOGIN(1), + /** + * OP_TYPE_MP_RELOGIN = 2; + */ + OP_TYPE_MP_RELOGIN(2), + UNRECOGNIZED(-1), + ; + + /** + * OP_TYPE_NONE = 0; + */ + public static final int OP_TYPE_NONE_VALUE = 0; + /** + * OP_TYPE_RELOGIN = 1; + */ + public static final int OP_TYPE_RELOGIN_VALUE = 1; + /** + * OP_TYPE_MP_RELOGIN = 2; + */ + public static final int OP_TYPE_MP_RELOGIN_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DataResVersionOpType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static DataResVersionOpType forNumber(int value) { + switch (value) { + case 0: return OP_TYPE_NONE; + case 1: return OP_TYPE_RELOGIN; + case 2: return OP_TYPE_MP_RELOGIN; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + DataResVersionOpType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DataResVersionOpType findValueByNumber(int number) { + return DataResVersionOpType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.getDescriptor().getEnumTypes().get(0); + } + + private static final DataResVersionOpType[] VALUES = values(); + + public static DataResVersionOpType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private DataResVersionOpType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:DataResVersionNotify.DataResVersionOpType) + } + + public static final int NEXT_RES_VERSION_CONFIG_FIELD_NUMBER = 8; + private volatile java.lang.Object nextResVersionConfig_; + /** + * string next_res_version_config = 8; + * @return The nextResVersionConfig. + */ + @java.lang.Override + public java.lang.String getNextResVersionConfig() { + java.lang.Object ref = nextResVersionConfig_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextResVersionConfig_ = s; + return s; + } + } + /** + * string next_res_version_config = 8; + * @return The bytes for nextResVersionConfig. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNextResVersionConfigBytes() { + java.lang.Object ref = nextResVersionConfig_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextResVersionConfig_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_SILENCE_DATA_VERSION_FIELD_NUMBER = 6; + private int clientSilenceDataVersion_; + /** + * uint32 client_silence_data_version = 6; + * @return The clientSilenceDataVersion. + */ + @java.lang.Override + public int getClientSilenceDataVersion() { + return clientSilenceDataVersion_; + } + + public static final int CLIENT_SILENCE_VERSION_SUFFIX_FIELD_NUMBER = 9; + private volatile java.lang.Object clientSilenceVersionSuffix_; + /** + * string client_silence_version_suffix = 9; + * @return The clientSilenceVersionSuffix. + */ + @java.lang.Override + public java.lang.String getClientSilenceVersionSuffix() { + java.lang.Object ref = clientSilenceVersionSuffix_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientSilenceVersionSuffix_ = s; + return s; + } + } + /** + * string client_silence_version_suffix = 9; + * @return The bytes for clientSilenceVersionSuffix. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClientSilenceVersionSuffixBytes() { + java.lang.Object ref = clientSilenceVersionSuffix_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clientSilenceVersionSuffix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RES_VERSION_CONFIG_FIELD_NUMBER = 7; + private emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig resVersionConfig_; + /** + * .ResVersionConfig res_version_config = 7; + * @return Whether the resVersionConfig field is set. + */ + @java.lang.Override + public boolean hasResVersionConfig() { + return resVersionConfig_ != null; + } + /** + * .ResVersionConfig res_version_config = 7; + * @return The resVersionConfig. + */ + @java.lang.Override + public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig getResVersionConfig() { + return resVersionConfig_ == null ? emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.getDefaultInstance() : resVersionConfig_; + } + /** + * .ResVersionConfig res_version_config = 7; + */ + @java.lang.Override + public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder getResVersionConfigOrBuilder() { + return getResVersionConfig(); + } + + public static final int IS_DATA_NEED_RELOGIN_FIELD_NUMBER = 3; + private boolean isDataNeedRelogin_; + /** + * bool is_data_need_relogin = 3; + * @return The isDataNeedRelogin. + */ + @java.lang.Override + public boolean getIsDataNeedRelogin() { + return isDataNeedRelogin_; + } + + public static final int CLIENT_MD5_FIELD_NUMBER = 5; + private volatile java.lang.Object clientMd5_; + /** + * string client_md5 = 5; + * @return The clientMd5. + */ + @java.lang.Override + public java.lang.String getClientMd5() { + java.lang.Object ref = clientMd5_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientMd5_ = s; + return s; + } + } + /** + * string client_md5 = 5; + * @return The bytes for clientMd5. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClientMd5Bytes() { + java.lang.Object ref = clientMd5_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clientMd5_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OP_TYPE_FIELD_NUMBER = 1; + private int opType_; + /** + * .DataResVersionNotify.DataResVersionOpType op_type = 1; + * @return The enum numeric value on the wire for opType. + */ + @java.lang.Override public int getOpTypeValue() { + return opType_; + } + /** + * .DataResVersionNotify.DataResVersionOpType op_type = 1; + * @return The opType. + */ + @java.lang.Override public emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType getOpType() { + @SuppressWarnings("deprecation") + emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType result = emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType.valueOf(opType_); + return result == null ? emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType.UNRECOGNIZED : result; + } + + public static final int CLIENT_DATA_VERSION_FIELD_NUMBER = 2; + private int clientDataVersion_; + /** + * uint32 client_data_version = 2; + * @return The clientDataVersion. + */ + @java.lang.Override + public int getClientDataVersion() { + return clientDataVersion_; + } + + public static final int CLIENT_VERSION_SUFFIX_FIELD_NUMBER = 14; + private volatile java.lang.Object clientVersionSuffix_; + /** + * string client_version_suffix = 14; + * @return The clientVersionSuffix. + */ + @java.lang.Override + public java.lang.String getClientVersionSuffix() { + java.lang.Object ref = clientVersionSuffix_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientVersionSuffix_ = s; + return s; + } + } + /** + * string client_version_suffix = 14; + * @return The bytes for clientVersionSuffix. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClientVersionSuffixBytes() { + java.lang.Object ref = clientVersionSuffix_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clientVersionSuffix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + 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 { + if (opType_ != emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType.OP_TYPE_NONE.getNumber()) { + output.writeEnum(1, opType_); + } + if (clientDataVersion_ != 0) { + output.writeUInt32(2, clientDataVersion_); + } + if (isDataNeedRelogin_ != false) { + output.writeBool(3, isDataNeedRelogin_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientMd5_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, clientMd5_); + } + if (clientSilenceDataVersion_ != 0) { + output.writeUInt32(6, clientSilenceDataVersion_); + } + if (resVersionConfig_ != null) { + output.writeMessage(7, getResVersionConfig()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextResVersionConfig_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, nextResVersionConfig_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientSilenceVersionSuffix_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, clientSilenceVersionSuffix_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientVersionSuffix_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 14, clientVersionSuffix_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (opType_ != emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType.OP_TYPE_NONE.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, opType_); + } + if (clientDataVersion_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, clientDataVersion_); + } + if (isDataNeedRelogin_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, isDataNeedRelogin_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientMd5_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, clientMd5_); + } + if (clientSilenceDataVersion_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(6, clientSilenceDataVersion_); + } + if (resVersionConfig_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getResVersionConfig()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextResVersionConfig_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, nextResVersionConfig_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientSilenceVersionSuffix_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clientSilenceVersionSuffix_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientVersionSuffix_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, clientVersionSuffix_); + } + 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.DataResVersionNotifyOuterClass.DataResVersionNotify)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify other = (emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify) obj; + + if (!getNextResVersionConfig() + .equals(other.getNextResVersionConfig())) return false; + if (getClientSilenceDataVersion() + != other.getClientSilenceDataVersion()) return false; + if (!getClientSilenceVersionSuffix() + .equals(other.getClientSilenceVersionSuffix())) return false; + if (hasResVersionConfig() != other.hasResVersionConfig()) return false; + if (hasResVersionConfig()) { + if (!getResVersionConfig() + .equals(other.getResVersionConfig())) return false; + } + if (getIsDataNeedRelogin() + != other.getIsDataNeedRelogin()) return false; + if (!getClientMd5() + .equals(other.getClientMd5())) return false; + if (opType_ != other.opType_) return false; + if (getClientDataVersion() + != other.getClientDataVersion()) return false; + if (!getClientVersionSuffix() + .equals(other.getClientVersionSuffix())) 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) + NEXT_RES_VERSION_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getNextResVersionConfig().hashCode(); + hash = (37 * hash) + CLIENT_SILENCE_DATA_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getClientSilenceDataVersion(); + hash = (37 * hash) + CLIENT_SILENCE_VERSION_SUFFIX_FIELD_NUMBER; + hash = (53 * hash) + getClientSilenceVersionSuffix().hashCode(); + if (hasResVersionConfig()) { + hash = (37 * hash) + RES_VERSION_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getResVersionConfig().hashCode(); + } + hash = (37 * hash) + IS_DATA_NEED_RELOGIN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsDataNeedRelogin()); + hash = (37 * hash) + CLIENT_MD5_FIELD_NUMBER; + hash = (53 * hash) + getClientMd5().hashCode(); + hash = (37 * hash) + OP_TYPE_FIELD_NUMBER; + hash = (53 * hash) + opType_; + hash = (37 * hash) + CLIENT_DATA_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getClientDataVersion(); + hash = (37 * hash) + CLIENT_VERSION_SUFFIX_FIELD_NUMBER; + hash = (53 * hash) + getClientVersionSuffix().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify 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.DataResVersionNotifyOuterClass.DataResVersionNotify parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify 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.DataResVersionNotifyOuterClass.DataResVersionNotify parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify 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.DataResVersionNotifyOuterClass.DataResVersionNotify parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify 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.DataResVersionNotifyOuterClass.DataResVersionNotify parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify 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.DataResVersionNotifyOuterClass.DataResVersionNotify 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: 118
+     * Name: AKGLNBEFBAE
+     * 
+ * + * Protobuf type {@code DataResVersionNotify} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:DataResVersionNotify) + emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotifyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.internal_static_DataResVersionNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.internal_static_DataResVersionNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.class, emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + nextResVersionConfig_ = ""; + + clientSilenceDataVersion_ = 0; + + clientSilenceVersionSuffix_ = ""; + + if (resVersionConfigBuilder_ == null) { + resVersionConfig_ = null; + } else { + resVersionConfig_ = null; + resVersionConfigBuilder_ = null; + } + isDataNeedRelogin_ = false; + + clientMd5_ = ""; + + opType_ = 0; + + clientDataVersion_ = 0; + + clientVersionSuffix_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.internal_static_DataResVersionNotify_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify getDefaultInstanceForType() { + return emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify build() { + emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify buildPartial() { + emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify result = new emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify(this); + result.nextResVersionConfig_ = nextResVersionConfig_; + result.clientSilenceDataVersion_ = clientSilenceDataVersion_; + result.clientSilenceVersionSuffix_ = clientSilenceVersionSuffix_; + if (resVersionConfigBuilder_ == null) { + result.resVersionConfig_ = resVersionConfig_; + } else { + result.resVersionConfig_ = resVersionConfigBuilder_.build(); + } + result.isDataNeedRelogin_ = isDataNeedRelogin_; + result.clientMd5_ = clientMd5_; + result.opType_ = opType_; + result.clientDataVersion_ = clientDataVersion_; + result.clientVersionSuffix_ = clientVersionSuffix_; + 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.DataResVersionNotifyOuterClass.DataResVersionNotify) { + return mergeFrom((emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify other) { + if (other == emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.getDefaultInstance()) return this; + if (!other.getNextResVersionConfig().isEmpty()) { + nextResVersionConfig_ = other.nextResVersionConfig_; + onChanged(); + } + if (other.getClientSilenceDataVersion() != 0) { + setClientSilenceDataVersion(other.getClientSilenceDataVersion()); + } + if (!other.getClientSilenceVersionSuffix().isEmpty()) { + clientSilenceVersionSuffix_ = other.clientSilenceVersionSuffix_; + onChanged(); + } + if (other.hasResVersionConfig()) { + mergeResVersionConfig(other.getResVersionConfig()); + } + if (other.getIsDataNeedRelogin() != false) { + setIsDataNeedRelogin(other.getIsDataNeedRelogin()); + } + if (!other.getClientMd5().isEmpty()) { + clientMd5_ = other.clientMd5_; + onChanged(); + } + if (other.opType_ != 0) { + setOpTypeValue(other.getOpTypeValue()); + } + if (other.getClientDataVersion() != 0) { + setClientDataVersion(other.getClientDataVersion()); + } + if (!other.getClientVersionSuffix().isEmpty()) { + clientVersionSuffix_ = other.clientVersionSuffix_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object nextResVersionConfig_ = ""; + /** + * string next_res_version_config = 8; + * @return The nextResVersionConfig. + */ + public java.lang.String getNextResVersionConfig() { + java.lang.Object ref = nextResVersionConfig_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextResVersionConfig_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string next_res_version_config = 8; + * @return The bytes for nextResVersionConfig. + */ + public com.google.protobuf.ByteString + getNextResVersionConfigBytes() { + java.lang.Object ref = nextResVersionConfig_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextResVersionConfig_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string next_res_version_config = 8; + * @param value The nextResVersionConfig to set. + * @return This builder for chaining. + */ + public Builder setNextResVersionConfig( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextResVersionConfig_ = value; + onChanged(); + return this; + } + /** + * string next_res_version_config = 8; + * @return This builder for chaining. + */ + public Builder clearNextResVersionConfig() { + + nextResVersionConfig_ = getDefaultInstance().getNextResVersionConfig(); + onChanged(); + return this; + } + /** + * string next_res_version_config = 8; + * @param value The bytes for nextResVersionConfig to set. + * @return This builder for chaining. + */ + public Builder setNextResVersionConfigBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextResVersionConfig_ = value; + onChanged(); + return this; + } + + private int clientSilenceDataVersion_ ; + /** + * uint32 client_silence_data_version = 6; + * @return The clientSilenceDataVersion. + */ + @java.lang.Override + public int getClientSilenceDataVersion() { + return clientSilenceDataVersion_; + } + /** + * uint32 client_silence_data_version = 6; + * @param value The clientSilenceDataVersion to set. + * @return This builder for chaining. + */ + public Builder setClientSilenceDataVersion(int value) { + + clientSilenceDataVersion_ = value; + onChanged(); + return this; + } + /** + * uint32 client_silence_data_version = 6; + * @return This builder for chaining. + */ + public Builder clearClientSilenceDataVersion() { + + clientSilenceDataVersion_ = 0; + onChanged(); + return this; + } + + private java.lang.Object clientSilenceVersionSuffix_ = ""; + /** + * string client_silence_version_suffix = 9; + * @return The clientSilenceVersionSuffix. + */ + public java.lang.String getClientSilenceVersionSuffix() { + java.lang.Object ref = clientSilenceVersionSuffix_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientSilenceVersionSuffix_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string client_silence_version_suffix = 9; + * @return The bytes for clientSilenceVersionSuffix. + */ + public com.google.protobuf.ByteString + getClientSilenceVersionSuffixBytes() { + java.lang.Object ref = clientSilenceVersionSuffix_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clientSilenceVersionSuffix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string client_silence_version_suffix = 9; + * @param value The clientSilenceVersionSuffix to set. + * @return This builder for chaining. + */ + public Builder setClientSilenceVersionSuffix( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + clientSilenceVersionSuffix_ = value; + onChanged(); + return this; + } + /** + * string client_silence_version_suffix = 9; + * @return This builder for chaining. + */ + public Builder clearClientSilenceVersionSuffix() { + + clientSilenceVersionSuffix_ = getDefaultInstance().getClientSilenceVersionSuffix(); + onChanged(); + return this; + } + /** + * string client_silence_version_suffix = 9; + * @param value The bytes for clientSilenceVersionSuffix to set. + * @return This builder for chaining. + */ + public Builder setClientSilenceVersionSuffixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + clientSilenceVersionSuffix_ = value; + onChanged(); + return this; + } + + private emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig resVersionConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder> resVersionConfigBuilder_; + /** + * .ResVersionConfig res_version_config = 7; + * @return Whether the resVersionConfig field is set. + */ + public boolean hasResVersionConfig() { + return resVersionConfigBuilder_ != null || resVersionConfig_ != null; + } + /** + * .ResVersionConfig res_version_config = 7; + * @return The resVersionConfig. + */ + public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig getResVersionConfig() { + if (resVersionConfigBuilder_ == null) { + return resVersionConfig_ == null ? emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.getDefaultInstance() : resVersionConfig_; + } else { + return resVersionConfigBuilder_.getMessage(); + } + } + /** + * .ResVersionConfig res_version_config = 7; + */ + public Builder setResVersionConfig(emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig value) { + if (resVersionConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resVersionConfig_ = value; + onChanged(); + } else { + resVersionConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * .ResVersionConfig res_version_config = 7; + */ + public Builder setResVersionConfig( + emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder builderForValue) { + if (resVersionConfigBuilder_ == null) { + resVersionConfig_ = builderForValue.build(); + onChanged(); + } else { + resVersionConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .ResVersionConfig res_version_config = 7; + */ + public Builder mergeResVersionConfig(emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig value) { + if (resVersionConfigBuilder_ == null) { + if (resVersionConfig_ != null) { + resVersionConfig_ = + emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.newBuilder(resVersionConfig_).mergeFrom(value).buildPartial(); + } else { + resVersionConfig_ = value; + } + onChanged(); + } else { + resVersionConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .ResVersionConfig res_version_config = 7; + */ + public Builder clearResVersionConfig() { + if (resVersionConfigBuilder_ == null) { + resVersionConfig_ = null; + onChanged(); + } else { + resVersionConfig_ = null; + resVersionConfigBuilder_ = null; + } + + return this; + } + /** + * .ResVersionConfig res_version_config = 7; + */ + public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder getResVersionConfigBuilder() { + + onChanged(); + return getResVersionConfigFieldBuilder().getBuilder(); + } + /** + * .ResVersionConfig res_version_config = 7; + */ + public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder getResVersionConfigOrBuilder() { + if (resVersionConfigBuilder_ != null) { + return resVersionConfigBuilder_.getMessageOrBuilder(); + } else { + return resVersionConfig_ == null ? + emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.getDefaultInstance() : resVersionConfig_; + } + } + /** + * .ResVersionConfig res_version_config = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder> + getResVersionConfigFieldBuilder() { + if (resVersionConfigBuilder_ == null) { + resVersionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder>( + getResVersionConfig(), + getParentForChildren(), + isClean()); + resVersionConfig_ = null; + } + return resVersionConfigBuilder_; + } + + private boolean isDataNeedRelogin_ ; + /** + * bool is_data_need_relogin = 3; + * @return The isDataNeedRelogin. + */ + @java.lang.Override + public boolean getIsDataNeedRelogin() { + return isDataNeedRelogin_; + } + /** + * bool is_data_need_relogin = 3; + * @param value The isDataNeedRelogin to set. + * @return This builder for chaining. + */ + public Builder setIsDataNeedRelogin(boolean value) { + + isDataNeedRelogin_ = value; + onChanged(); + return this; + } + /** + * bool is_data_need_relogin = 3; + * @return This builder for chaining. + */ + public Builder clearIsDataNeedRelogin() { + + isDataNeedRelogin_ = false; + onChanged(); + return this; + } + + private java.lang.Object clientMd5_ = ""; + /** + * string client_md5 = 5; + * @return The clientMd5. + */ + public java.lang.String getClientMd5() { + java.lang.Object ref = clientMd5_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientMd5_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string client_md5 = 5; + * @return The bytes for clientMd5. + */ + public com.google.protobuf.ByteString + getClientMd5Bytes() { + java.lang.Object ref = clientMd5_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clientMd5_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string client_md5 = 5; + * @param value The clientMd5 to set. + * @return This builder for chaining. + */ + public Builder setClientMd5( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + clientMd5_ = value; + onChanged(); + return this; + } + /** + * string client_md5 = 5; + * @return This builder for chaining. + */ + public Builder clearClientMd5() { + + clientMd5_ = getDefaultInstance().getClientMd5(); + onChanged(); + return this; + } + /** + * string client_md5 = 5; + * @param value The bytes for clientMd5 to set. + * @return This builder for chaining. + */ + public Builder setClientMd5Bytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + clientMd5_ = value; + onChanged(); + return this; + } + + private int opType_ = 0; + /** + * .DataResVersionNotify.DataResVersionOpType op_type = 1; + * @return The enum numeric value on the wire for opType. + */ + @java.lang.Override public int getOpTypeValue() { + return opType_; + } + /** + * .DataResVersionNotify.DataResVersionOpType op_type = 1; + * @param value The enum numeric value on the wire for opType to set. + * @return This builder for chaining. + */ + public Builder setOpTypeValue(int value) { + + opType_ = value; + onChanged(); + return this; + } + /** + * .DataResVersionNotify.DataResVersionOpType op_type = 1; + * @return The opType. + */ + @java.lang.Override + public emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType getOpType() { + @SuppressWarnings("deprecation") + emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType result = emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType.valueOf(opType_); + return result == null ? emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType.UNRECOGNIZED : result; + } + /** + * .DataResVersionNotify.DataResVersionOpType op_type = 1; + * @param value The opType to set. + * @return This builder for chaining. + */ + public Builder setOpType(emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType value) { + if (value == null) { + throw new NullPointerException(); + } + + opType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .DataResVersionNotify.DataResVersionOpType op_type = 1; + * @return This builder for chaining. + */ + public Builder clearOpType() { + + opType_ = 0; + onChanged(); + return this; + } + + private int clientDataVersion_ ; + /** + * uint32 client_data_version = 2; + * @return The clientDataVersion. + */ + @java.lang.Override + public int getClientDataVersion() { + return clientDataVersion_; + } + /** + * uint32 client_data_version = 2; + * @param value The clientDataVersion to set. + * @return This builder for chaining. + */ + public Builder setClientDataVersion(int value) { + + clientDataVersion_ = value; + onChanged(); + return this; + } + /** + * uint32 client_data_version = 2; + * @return This builder for chaining. + */ + public Builder clearClientDataVersion() { + + clientDataVersion_ = 0; + onChanged(); + return this; + } + + private java.lang.Object clientVersionSuffix_ = ""; + /** + * string client_version_suffix = 14; + * @return The clientVersionSuffix. + */ + public java.lang.String getClientVersionSuffix() { + java.lang.Object ref = clientVersionSuffix_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientVersionSuffix_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string client_version_suffix = 14; + * @return The bytes for clientVersionSuffix. + */ + public com.google.protobuf.ByteString + getClientVersionSuffixBytes() { + java.lang.Object ref = clientVersionSuffix_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clientVersionSuffix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string client_version_suffix = 14; + * @param value The clientVersionSuffix to set. + * @return This builder for chaining. + */ + public Builder setClientVersionSuffix( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + clientVersionSuffix_ = value; + onChanged(); + return this; + } + /** + * string client_version_suffix = 14; + * @return This builder for chaining. + */ + public Builder clearClientVersionSuffix() { + + clientVersionSuffix_ = getDefaultInstance().getClientVersionSuffix(); + onChanged(); + return this; + } + /** + * string client_version_suffix = 14; + * @param value The bytes for clientVersionSuffix to set. + * @return This builder for chaining. + */ + public Builder setClientVersionSuffixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + clientVersionSuffix_ = value; + 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:DataResVersionNotify) + } + + // @@protoc_insertion_point(class_scope:DataResVersionNotify) + private static final emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify(); + } + + public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataResVersionNotify parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataResVersionNotify(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.DataResVersionNotifyOuterClass.DataResVersionNotify getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_DataResVersionNotify_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_DataResVersionNotify_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\032DataResVersionNotify.proto\032\026ResVersion" + + "Config.proto\"\264\003\n\024DataResVersionNotify\022\037\n" + + "\027next_res_version_config\030\010 \001(\t\022#\n\033client" + + "_silence_data_version\030\006 \001(\r\022%\n\035client_si" + + "lence_version_suffix\030\t \001(\t\022-\n\022res_versio" + + "n_config\030\007 \001(\0132\021.ResVersionConfig\022\034\n\024is_" + + "data_need_relogin\030\003 \001(\010\022\022\n\nclient_md5\030\005 " + + "\001(\t\022;\n\007op_type\030\001 \001(\0162*.DataResVersionNot" + + "ify.DataResVersionOpType\022\033\n\023client_data_" + + "version\030\002 \001(\r\022\035\n\025client_version_suffix\030\016" + + " \001(\t\"U\n\024DataResVersionOpType\022\020\n\014OP_TYPE_" + + "NONE\020\000\022\023\n\017OP_TYPE_RELOGIN\020\001\022\026\n\022OP_TYPE_M" + + "P_RELOGIN\020\002B!\n\031emu.grasscutter.net.proto" + + "Z\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + emu.grasscutter.net.proto.ResVersionConfigOuterClass.getDescriptor(), + }); + internal_static_DataResVersionNotify_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_DataResVersionNotify_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_DataResVersionNotify_descriptor, + new java.lang.String[] { "NextResVersionConfig", "ClientSilenceDataVersion", "ClientSilenceVersionSuffix", "ResVersionConfig", "IsDataNeedRelogin", "ClientMd5", "OpType", "ClientDataVersion", "ClientVersionSuffix", }); + emu.grasscutter.net.proto.ResVersionConfigOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/GachaOpenWishNotifyOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/GachaOpenWishNotifyOuterClass.java new file mode 100644 index 000000000..84ad02656 --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/GachaOpenWishNotifyOuterClass.java @@ -0,0 +1,617 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: GachaOpenWishNotify.proto + +package emu.grasscutter.net.proto; + +public final class GachaOpenWishNotifyOuterClass { + private GachaOpenWishNotifyOuterClass() {} + 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 GachaOpenWishNotifyOrBuilder extends + // @@protoc_insertion_point(interface_extends:GachaOpenWishNotify) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 gachaScheduleId = 14; + * @return The gachaScheduleId. + */ + int getGachaScheduleId(); + + /** + * uint32 gachaType = 2; + * @return The gachaType. + */ + int getGachaType(); + } + /** + *
+   * CmdId: 1541
+   * Name: EHEPDPEIEHP
+   * 
+ * + * Protobuf type {@code GachaOpenWishNotify} + */ + public static final class GachaOpenWishNotify extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GachaOpenWishNotify) + GachaOpenWishNotifyOrBuilder { + private static final long serialVersionUID = 0L; + // Use GachaOpenWishNotify.newBuilder() to construct. + private GachaOpenWishNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GachaOpenWishNotify() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GachaOpenWishNotify(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GachaOpenWishNotify( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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 16: { + + gachaType_ = input.readUInt32(); + break; + } + case 112: { + + gachaScheduleId_ = input.readUInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.internal_static_GachaOpenWishNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.internal_static_GachaOpenWishNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify.class, emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify.Builder.class); + } + + public static final int GACHASCHEDULEID_FIELD_NUMBER = 14; + private int gachaScheduleId_; + /** + * uint32 gachaScheduleId = 14; + * @return The gachaScheduleId. + */ + @java.lang.Override + public int getGachaScheduleId() { + return gachaScheduleId_; + } + + public static final int GACHATYPE_FIELD_NUMBER = 2; + private int gachaType_; + /** + * uint32 gachaType = 2; + * @return The gachaType. + */ + @java.lang.Override + public int getGachaType() { + return gachaType_; + } + + 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 { + if (gachaType_ != 0) { + output.writeUInt32(2, gachaType_); + } + if (gachaScheduleId_ != 0) { + output.writeUInt32(14, gachaScheduleId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (gachaType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, gachaType_); + } + if (gachaScheduleId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(14, gachaScheduleId_); + } + 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.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify other = (emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify) obj; + + if (getGachaScheduleId() + != other.getGachaScheduleId()) return false; + if (getGachaType() + != other.getGachaType()) 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) + GACHASCHEDULEID_FIELD_NUMBER; + hash = (53 * hash) + getGachaScheduleId(); + hash = (37 * hash) + GACHATYPE_FIELD_NUMBER; + hash = (53 * hash) + getGachaType(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify 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.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify 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.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify 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.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify 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.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify 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.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify 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: 1541
+     * Name: EHEPDPEIEHP
+     * 
+ * + * Protobuf type {@code GachaOpenWishNotify} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GachaOpenWishNotify) + emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotifyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.internal_static_GachaOpenWishNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.internal_static_GachaOpenWishNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify.class, emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + gachaScheduleId_ = 0; + + gachaType_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.internal_static_GachaOpenWishNotify_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify getDefaultInstanceForType() { + return emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify build() { + emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify buildPartial() { + emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify result = new emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify(this); + result.gachaScheduleId_ = gachaScheduleId_; + result.gachaType_ = gachaType_; + 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.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify) { + return mergeFrom((emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify other) { + if (other == emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify.getDefaultInstance()) return this; + if (other.getGachaScheduleId() != 0) { + setGachaScheduleId(other.getGachaScheduleId()); + } + if (other.getGachaType() != 0) { + setGachaType(other.getGachaType()); + } + 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.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int gachaScheduleId_ ; + /** + * uint32 gachaScheduleId = 14; + * @return The gachaScheduleId. + */ + @java.lang.Override + public int getGachaScheduleId() { + return gachaScheduleId_; + } + /** + * uint32 gachaScheduleId = 14; + * @param value The gachaScheduleId to set. + * @return This builder for chaining. + */ + public Builder setGachaScheduleId(int value) { + + gachaScheduleId_ = value; + onChanged(); + return this; + } + /** + * uint32 gachaScheduleId = 14; + * @return This builder for chaining. + */ + public Builder clearGachaScheduleId() { + + gachaScheduleId_ = 0; + onChanged(); + return this; + } + + private int gachaType_ ; + /** + * uint32 gachaType = 2; + * @return The gachaType. + */ + @java.lang.Override + public int getGachaType() { + return gachaType_; + } + /** + * uint32 gachaType = 2; + * @param value The gachaType to set. + * @return This builder for chaining. + */ + public Builder setGachaType(int value) { + + gachaType_ = value; + onChanged(); + return this; + } + /** + * uint32 gachaType = 2; + * @return This builder for chaining. + */ + public Builder clearGachaType() { + + gachaType_ = 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:GachaOpenWishNotify) + } + + // @@protoc_insertion_point(class_scope:GachaOpenWishNotify) + private static final emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify(); + } + + public static emu.grasscutter.net.proto.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GachaOpenWishNotify parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GachaOpenWishNotify(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.GachaOpenWishNotifyOuterClass.GachaOpenWishNotify getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GachaOpenWishNotify_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GachaOpenWishNotify_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\031GachaOpenWishNotify.proto\"A\n\023GachaOpen" + + "WishNotify\022\027\n\017gachaScheduleId\030\016 \001(\r\022\021\n\tg" + + "achaType\030\002 \001(\rB!\n\031emu.grasscutter.net.pr" + + "otoZ\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_GachaOpenWishNotify_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_GachaOpenWishNotify_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GachaOpenWishNotify_descriptor, + new java.lang.String[] { "GachaScheduleId", "GachaType", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/GetHomeExchangeWoodInfoRspOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/GetHomeExchangeWoodInfoRspOuterClass.java new file mode 100644 index 000000000..1ec4e260c --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/GetHomeExchangeWoodInfoRspOuterClass.java @@ -0,0 +1,1643 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: GetHomeExchangeWoodInfoRsp.proto + +package emu.grasscutter.net.proto; + +public final class GetHomeExchangeWoodInfoRspOuterClass { + private GetHomeExchangeWoodInfoRspOuterClass() {} + 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 GetHomeExchangeWoodInfoRspOrBuilder extends + // @@protoc_insertion_point(interface_extends:GetHomeExchangeWoodInfoRsp) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 retcode = 4; + * @return The retcode. + */ + int getRetcode(); + + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + java.util.List + getWoodInfoListList(); + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo getWoodInfoList(int index); + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + int getWoodInfoListCount(); + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + java.util.List + getWoodInfoListOrBuilderList(); + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder getWoodInfoListOrBuilder( + int index); + } + /** + *
+   * CmdId: 4480
+   * Name: HGKMIEPCCCJ
+   * 
+ * + * Protobuf type {@code GetHomeExchangeWoodInfoRsp} + */ + public static final class GetHomeExchangeWoodInfoRsp extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GetHomeExchangeWoodInfoRsp) + GetHomeExchangeWoodInfoRspOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetHomeExchangeWoodInfoRsp.newBuilder() to construct. + private GetHomeExchangeWoodInfoRsp(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetHomeExchangeWoodInfoRsp() { + woodInfoList_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetHomeExchangeWoodInfoRsp(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetHomeExchangeWoodInfoRsp( + 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 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + woodInfoList_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + woodInfoList_.add( + input.readMessage(emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.parser(), extensionRegistry)); + break; + } + case 32: { + + retcode_ = input.readInt32(); + 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)) { + woodInfoList_ = java.util.Collections.unmodifiableList(woodInfoList_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.class, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.Builder.class); + } + + public interface HomeExchangeWoodInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 exchangedCount = 14; + * @return The exchangedCount. + */ + int getExchangedCount(); + + /** + * uint32 wood_id = 8; + * @return The woodId. + */ + int getWoodId(); + + /** + * uint32 exchangeLimit = 9; + * @return The exchangeLimit. + */ + int getExchangeLimit(); + + /** + * fixed32 next_refresh_time = 1; + * @return The nextRefreshTime. + */ + int getNextRefreshTime(); + } + /** + *
+     * Name: FOLINBPAHGO
+     * 
+ * + * Protobuf type {@code GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo} + */ + public static final class HomeExchangeWoodInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo) + HomeExchangeWoodInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use HomeExchangeWoodInfo.newBuilder() to construct. + private HomeExchangeWoodInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private HomeExchangeWoodInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new HomeExchangeWoodInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private HomeExchangeWoodInfo( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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 13: { + + nextRefreshTime_ = input.readFixed32(); + break; + } + case 64: { + + woodId_ = input.readUInt32(); + break; + } + case 72: { + + exchangeLimit_ = input.readUInt32(); + break; + } + case 112: { + + exchangedCount_ = input.readUInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.class, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder.class); + } + + public static final int EXCHANGEDCOUNT_FIELD_NUMBER = 14; + private int exchangedCount_; + /** + * uint32 exchangedCount = 14; + * @return The exchangedCount. + */ + @java.lang.Override + public int getExchangedCount() { + return exchangedCount_; + } + + public static final int WOOD_ID_FIELD_NUMBER = 8; + private int woodId_; + /** + * uint32 wood_id = 8; + * @return The woodId. + */ + @java.lang.Override + public int getWoodId() { + return woodId_; + } + + public static final int EXCHANGELIMIT_FIELD_NUMBER = 9; + private int exchangeLimit_; + /** + * uint32 exchangeLimit = 9; + * @return The exchangeLimit. + */ + @java.lang.Override + public int getExchangeLimit() { + return exchangeLimit_; + } + + public static final int NEXT_REFRESH_TIME_FIELD_NUMBER = 1; + private int nextRefreshTime_; + /** + * fixed32 next_refresh_time = 1; + * @return The nextRefreshTime. + */ + @java.lang.Override + public int getNextRefreshTime() { + return nextRefreshTime_; + } + + 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 { + if (nextRefreshTime_ != 0) { + output.writeFixed32(1, nextRefreshTime_); + } + if (woodId_ != 0) { + output.writeUInt32(8, woodId_); + } + if (exchangeLimit_ != 0) { + output.writeUInt32(9, exchangeLimit_); + } + if (exchangedCount_ != 0) { + output.writeUInt32(14, exchangedCount_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (nextRefreshTime_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFixed32Size(1, nextRefreshTime_); + } + if (woodId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(8, woodId_); + } + if (exchangeLimit_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(9, exchangeLimit_); + } + if (exchangedCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(14, exchangedCount_); + } + 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo other = (emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo) obj; + + if (getExchangedCount() + != other.getExchangedCount()) return false; + if (getWoodId() + != other.getWoodId()) return false; + if (getExchangeLimit() + != other.getExchangeLimit()) return false; + if (getNextRefreshTime() + != other.getNextRefreshTime()) 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) + EXCHANGEDCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getExchangedCount(); + hash = (37 * hash) + WOOD_ID_FIELD_NUMBER; + hash = (53 * hash) + getWoodId(); + hash = (37 * hash) + EXCHANGELIMIT_FIELD_NUMBER; + hash = (53 * hash) + getExchangeLimit(); + hash = (37 * hash) + NEXT_REFRESH_TIME_FIELD_NUMBER; + hash = (53 * hash) + getNextRefreshTime(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo 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; + } + /** + *
+       * Name: FOLINBPAHGO
+       * 
+ * + * Protobuf type {@code GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo) + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.class, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + exchangedCount_ = 0; + + woodId_ = 0; + + exchangeLimit_ = 0; + + nextRefreshTime_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo getDefaultInstanceForType() { + return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo build() { + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo buildPartial() { + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo result = new emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo(this); + result.exchangedCount_ = exchangedCount_; + result.woodId_ = woodId_; + result.exchangeLimit_ = exchangeLimit_; + result.nextRefreshTime_ = nextRefreshTime_; + 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo) { + return mergeFrom((emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo other) { + if (other == emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.getDefaultInstance()) return this; + if (other.getExchangedCount() != 0) { + setExchangedCount(other.getExchangedCount()); + } + if (other.getWoodId() != 0) { + setWoodId(other.getWoodId()); + } + if (other.getExchangeLimit() != 0) { + setExchangeLimit(other.getExchangeLimit()); + } + if (other.getNextRefreshTime() != 0) { + setNextRefreshTime(other.getNextRefreshTime()); + } + 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int exchangedCount_ ; + /** + * uint32 exchangedCount = 14; + * @return The exchangedCount. + */ + @java.lang.Override + public int getExchangedCount() { + return exchangedCount_; + } + /** + * uint32 exchangedCount = 14; + * @param value The exchangedCount to set. + * @return This builder for chaining. + */ + public Builder setExchangedCount(int value) { + + exchangedCount_ = value; + onChanged(); + return this; + } + /** + * uint32 exchangedCount = 14; + * @return This builder for chaining. + */ + public Builder clearExchangedCount() { + + exchangedCount_ = 0; + onChanged(); + return this; + } + + private int woodId_ ; + /** + * uint32 wood_id = 8; + * @return The woodId. + */ + @java.lang.Override + public int getWoodId() { + return woodId_; + } + /** + * uint32 wood_id = 8; + * @param value The woodId to set. + * @return This builder for chaining. + */ + public Builder setWoodId(int value) { + + woodId_ = value; + onChanged(); + return this; + } + /** + * uint32 wood_id = 8; + * @return This builder for chaining. + */ + public Builder clearWoodId() { + + woodId_ = 0; + onChanged(); + return this; + } + + private int exchangeLimit_ ; + /** + * uint32 exchangeLimit = 9; + * @return The exchangeLimit. + */ + @java.lang.Override + public int getExchangeLimit() { + return exchangeLimit_; + } + /** + * uint32 exchangeLimit = 9; + * @param value The exchangeLimit to set. + * @return This builder for chaining. + */ + public Builder setExchangeLimit(int value) { + + exchangeLimit_ = value; + onChanged(); + return this; + } + /** + * uint32 exchangeLimit = 9; + * @return This builder for chaining. + */ + public Builder clearExchangeLimit() { + + exchangeLimit_ = 0; + onChanged(); + return this; + } + + private int nextRefreshTime_ ; + /** + * fixed32 next_refresh_time = 1; + * @return The nextRefreshTime. + */ + @java.lang.Override + public int getNextRefreshTime() { + return nextRefreshTime_; + } + /** + * fixed32 next_refresh_time = 1; + * @param value The nextRefreshTime to set. + * @return This builder for chaining. + */ + public Builder setNextRefreshTime(int value) { + + nextRefreshTime_ = value; + onChanged(); + return this; + } + /** + * fixed32 next_refresh_time = 1; + * @return This builder for chaining. + */ + public Builder clearNextRefreshTime() { + + nextRefreshTime_ = 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:GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo) + } + + // @@protoc_insertion_point(class_scope:GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo) + private static final emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo(); + } + + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HomeExchangeWoodInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HomeExchangeWoodInfo(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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int RETCODE_FIELD_NUMBER = 4; + private int retcode_; + /** + * int32 retcode = 4; + * @return The retcode. + */ + @java.lang.Override + public int getRetcode() { + return retcode_; + } + + public static final int WOOD_INFO_LIST_FIELD_NUMBER = 3; + private java.util.List woodInfoList_; + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + @java.lang.Override + public java.util.List getWoodInfoListList() { + return woodInfoList_; + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + @java.lang.Override + public java.util.List + getWoodInfoListOrBuilderList() { + return woodInfoList_; + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + @java.lang.Override + public int getWoodInfoListCount() { + return woodInfoList_.size(); + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + @java.lang.Override + public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo getWoodInfoList(int index) { + return woodInfoList_.get(index); + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + @java.lang.Override + public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder getWoodInfoListOrBuilder( + int index) { + return woodInfoList_.get(index); + } + + 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 < woodInfoList_.size(); i++) { + output.writeMessage(3, woodInfoList_.get(i)); + } + if (retcode_ != 0) { + output.writeInt32(4, retcode_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < woodInfoList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, woodInfoList_.get(i)); + } + if (retcode_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, retcode_); + } + 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp other = (emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp) obj; + + if (getRetcode() + != other.getRetcode()) return false; + if (!getWoodInfoListList() + .equals(other.getWoodInfoListList())) 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) + RETCODE_FIELD_NUMBER; + hash = (53 * hash) + getRetcode(); + if (getWoodInfoListCount() > 0) { + hash = (37 * hash) + WOOD_INFO_LIST_FIELD_NUMBER; + hash = (53 * hash) + getWoodInfoListList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp 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: 4480
+     * Name: HGKMIEPCCCJ
+     * 
+ * + * Protobuf type {@code GetHomeExchangeWoodInfoRsp} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GetHomeExchangeWoodInfoRsp) + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRspOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.class, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getWoodInfoListFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + retcode_ = 0; + + if (woodInfoListBuilder_ == null) { + woodInfoList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + woodInfoListBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp getDefaultInstanceForType() { + return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp build() { + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp buildPartial() { + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp result = new emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp(this); + int from_bitField0_ = bitField0_; + result.retcode_ = retcode_; + if (woodInfoListBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + woodInfoList_ = java.util.Collections.unmodifiableList(woodInfoList_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.woodInfoList_ = woodInfoList_; + } else { + result.woodInfoList_ = woodInfoListBuilder_.build(); + } + 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp) { + return mergeFrom((emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp other) { + if (other == emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.getDefaultInstance()) return this; + if (other.getRetcode() != 0) { + setRetcode(other.getRetcode()); + } + if (woodInfoListBuilder_ == null) { + if (!other.woodInfoList_.isEmpty()) { + if (woodInfoList_.isEmpty()) { + woodInfoList_ = other.woodInfoList_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureWoodInfoListIsMutable(); + woodInfoList_.addAll(other.woodInfoList_); + } + onChanged(); + } + } else { + if (!other.woodInfoList_.isEmpty()) { + if (woodInfoListBuilder_.isEmpty()) { + woodInfoListBuilder_.dispose(); + woodInfoListBuilder_ = null; + woodInfoList_ = other.woodInfoList_; + bitField0_ = (bitField0_ & ~0x00000001); + woodInfoListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWoodInfoListFieldBuilder() : null; + } else { + woodInfoListBuilder_.addAllMessages(other.woodInfoList_); + } + } + } + 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private int retcode_ ; + /** + * int32 retcode = 4; + * @return The retcode. + */ + @java.lang.Override + public int getRetcode() { + return retcode_; + } + /** + * int32 retcode = 4; + * @param value The retcode to set. + * @return This builder for chaining. + */ + public Builder setRetcode(int value) { + + retcode_ = value; + onChanged(); + return this; + } + /** + * int32 retcode = 4; + * @return This builder for chaining. + */ + public Builder clearRetcode() { + + retcode_ = 0; + onChanged(); + return this; + } + + private java.util.List woodInfoList_ = + java.util.Collections.emptyList(); + private void ensureWoodInfoListIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + woodInfoList_ = new java.util.ArrayList(woodInfoList_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder> woodInfoListBuilder_; + + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public java.util.List getWoodInfoListList() { + if (woodInfoListBuilder_ == null) { + return java.util.Collections.unmodifiableList(woodInfoList_); + } else { + return woodInfoListBuilder_.getMessageList(); + } + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public int getWoodInfoListCount() { + if (woodInfoListBuilder_ == null) { + return woodInfoList_.size(); + } else { + return woodInfoListBuilder_.getCount(); + } + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo getWoodInfoList(int index) { + if (woodInfoListBuilder_ == null) { + return woodInfoList_.get(index); + } else { + return woodInfoListBuilder_.getMessage(index); + } + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public Builder setWoodInfoList( + int index, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo value) { + if (woodInfoListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWoodInfoListIsMutable(); + woodInfoList_.set(index, value); + onChanged(); + } else { + woodInfoListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public Builder setWoodInfoList( + int index, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder builderForValue) { + if (woodInfoListBuilder_ == null) { + ensureWoodInfoListIsMutable(); + woodInfoList_.set(index, builderForValue.build()); + onChanged(); + } else { + woodInfoListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public Builder addWoodInfoList(emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo value) { + if (woodInfoListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWoodInfoListIsMutable(); + woodInfoList_.add(value); + onChanged(); + } else { + woodInfoListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public Builder addWoodInfoList( + int index, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo value) { + if (woodInfoListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWoodInfoListIsMutable(); + woodInfoList_.add(index, value); + onChanged(); + } else { + woodInfoListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public Builder addWoodInfoList( + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder builderForValue) { + if (woodInfoListBuilder_ == null) { + ensureWoodInfoListIsMutable(); + woodInfoList_.add(builderForValue.build()); + onChanged(); + } else { + woodInfoListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public Builder addWoodInfoList( + int index, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder builderForValue) { + if (woodInfoListBuilder_ == null) { + ensureWoodInfoListIsMutable(); + woodInfoList_.add(index, builderForValue.build()); + onChanged(); + } else { + woodInfoListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public Builder addAllWoodInfoList( + java.lang.Iterable values) { + if (woodInfoListBuilder_ == null) { + ensureWoodInfoListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, woodInfoList_); + onChanged(); + } else { + woodInfoListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public Builder clearWoodInfoList() { + if (woodInfoListBuilder_ == null) { + woodInfoList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + woodInfoListBuilder_.clear(); + } + return this; + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public Builder removeWoodInfoList(int index) { + if (woodInfoListBuilder_ == null) { + ensureWoodInfoListIsMutable(); + woodInfoList_.remove(index); + onChanged(); + } else { + woodInfoListBuilder_.remove(index); + } + return this; + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder getWoodInfoListBuilder( + int index) { + return getWoodInfoListFieldBuilder().getBuilder(index); + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder getWoodInfoListOrBuilder( + int index) { + if (woodInfoListBuilder_ == null) { + return woodInfoList_.get(index); } else { + return woodInfoListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public java.util.List + getWoodInfoListOrBuilderList() { + if (woodInfoListBuilder_ != null) { + return woodInfoListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(woodInfoList_); + } + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder addWoodInfoListBuilder() { + return getWoodInfoListFieldBuilder().addBuilder( + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.getDefaultInstance()); + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder addWoodInfoListBuilder( + int index) { + return getWoodInfoListFieldBuilder().addBuilder( + index, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.getDefaultInstance()); + } + /** + * repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3; + */ + public java.util.List + getWoodInfoListBuilderList() { + return getWoodInfoListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder> + getWoodInfoListFieldBuilder() { + if (woodInfoListBuilder_ == null) { + woodInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder>( + woodInfoList_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + woodInfoList_ = null; + } + return woodInfoListBuilder_; + } + @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:GetHomeExchangeWoodInfoRsp) + } + + // @@protoc_insertion_point(class_scope:GetHomeExchangeWoodInfoRsp) + private static final emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp(); + } + + public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetHomeExchangeWoodInfoRsp parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetHomeExchangeWoodInfoRsp(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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GetHomeExchangeWoodInfoRsp_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GetHomeExchangeWoodInfoRsp_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_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 GetHomeExchangeWoodInfoRsp.proto\"\352\001\n\032G" + + "etHomeExchangeWoodInfoRsp\022\017\n\007retcode\030\004 \001" + + "(\005\022H\n\016wood_info_list\030\003 \003(\01320.GetHomeExch" + + "angeWoodInfoRsp.HomeExchangeWoodInfo\032q\n\024" + + "HomeExchangeWoodInfo\022\026\n\016exchangedCount\030\016" + + " \001(\r\022\017\n\007wood_id\030\010 \001(\r\022\025\n\rexchangeLimit\030\t" + + " \001(\r\022\031\n\021next_refresh_time\030\001 \001(\007B!\n\031emu.g" + + "rasscutter.net.protoZ\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_GetHomeExchangeWoodInfoRsp_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_GetHomeExchangeWoodInfoRsp_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GetHomeExchangeWoodInfoRsp_descriptor, + new java.lang.String[] { "Retcode", "WoodInfoList", }); + internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_descriptor = + internal_static_GetHomeExchangeWoodInfoRsp_descriptor.getNestedTypes().get(0); + internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_descriptor, + new java.lang.String[] { "ExchangedCount", "WoodId", "ExchangeLimit", "NextRefreshTime", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/InvestigationOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/InvestigationOuterClass.java new file mode 100644 index 000000000..e89b4322a --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/InvestigationOuterClass.java @@ -0,0 +1,925 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Investigation.proto + +package emu.grasscutter.net.proto; + +public final class InvestigationOuterClass { + private InvestigationOuterClass() {} + 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 InvestigationOrBuilder extends + // @@protoc_insertion_point(interface_extends:Investigation) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 total_progress = 11; + * @return The totalProgress. + */ + int getTotalProgress(); + + /** + * .Investigation.State state = 8; + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * .Investigation.State state = 8; + * @return The state. + */ + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.State getState(); + + /** + * uint32 id = 3; + * @return The id. + */ + int getId(); + + /** + * uint32 progress = 15; + * @return The progress. + */ + int getProgress(); + } + /** + *
+   * Name: JIDKKFKPDIH
+   * 
+ * + * Protobuf type {@code Investigation} + */ + public static final class Investigation extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Investigation) + InvestigationOrBuilder { + private static final long serialVersionUID = 0L; + // Use Investigation.newBuilder() to construct. + private Investigation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Investigation() { + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Investigation(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Investigation( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 24: { + + id_ = input.readUInt32(); + break; + } + case 64: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 88: { + + totalProgress_ = input.readUInt32(); + break; + } + case 120: { + + progress_ = input.readUInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.InvestigationOuterClass.internal_static_Investigation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.InvestigationOuterClass.internal_static_Investigation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.class, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder.class); + } + + /** + *
+     * Name: PMHIABIOPBE
+     * 
+ * + * Protobuf enum {@code Investigation.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + * INVALID = 0; + */ + INVALID(0), + /** + * IN_PROGRESS = 1; + */ + IN_PROGRESS(1), + /** + * COMPLETE = 2; + */ + COMPLETE(2), + /** + * REWARD_TAKEN = 3; + */ + REWARD_TAKEN(3), + UNRECOGNIZED(-1), + ; + + /** + * INVALID = 0; + */ + public static final int INVALID_VALUE = 0; + /** + * IN_PROGRESS = 1; + */ + public static final int IN_PROGRESS_VALUE = 1; + /** + * COMPLETE = 2; + */ + public static final int COMPLETE_VALUE = 2; + /** + * REWARD_TAKEN = 3; + */ + public static final int REWARD_TAKEN_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: return INVALID; + case 1: return IN_PROGRESS; + case 2: return COMPLETE; + case 3: return REWARD_TAKEN; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:Investigation.State) + } + + public static final int TOTAL_PROGRESS_FIELD_NUMBER = 11; + private int totalProgress_; + /** + * uint32 total_progress = 11; + * @return The totalProgress. + */ + @java.lang.Override + public int getTotalProgress() { + return totalProgress_; + } + + public static final int STATE_FIELD_NUMBER = 8; + private int state_; + /** + * .Investigation.State state = 8; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + * .Investigation.State state = 8; + * @return The state. + */ + @java.lang.Override public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.State getState() { + @SuppressWarnings("deprecation") + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.State result = emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.State.valueOf(state_); + return result == null ? emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.State.UNRECOGNIZED : result; + } + + public static final int ID_FIELD_NUMBER = 3; + private int id_; + /** + * uint32 id = 3; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + + public static final int PROGRESS_FIELD_NUMBER = 15; + private int progress_; + /** + * uint32 progress = 15; + * @return The progress. + */ + @java.lang.Override + public int getProgress() { + return progress_; + } + + 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 { + if (id_ != 0) { + output.writeUInt32(3, id_); + } + if (state_ != emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.State.INVALID.getNumber()) { + output.writeEnum(8, state_); + } + if (totalProgress_ != 0) { + output.writeUInt32(11, totalProgress_); + } + if (progress_ != 0) { + output.writeUInt32(15, progress_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (id_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, id_); + } + if (state_ != emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.State.INVALID.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); + } + if (totalProgress_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(11, totalProgress_); + } + if (progress_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(15, progress_); + } + 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.InvestigationOuterClass.Investigation)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation other = (emu.grasscutter.net.proto.InvestigationOuterClass.Investigation) obj; + + if (getTotalProgress() + != other.getTotalProgress()) return false; + if (state_ != other.state_) return false; + if (getId() + != other.getId()) return false; + if (getProgress() + != other.getProgress()) 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) + TOTAL_PROGRESS_FIELD_NUMBER; + hash = (53 * hash) + getTotalProgress(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId(); + hash = (37 * hash) + PROGRESS_FIELD_NUMBER; + hash = (53 * hash) + getProgress(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.InvestigationOuterClass.Investigation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.InvestigationOuterClass.Investigation 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.InvestigationOuterClass.Investigation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.InvestigationOuterClass.Investigation 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.InvestigationOuterClass.Investigation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.InvestigationOuterClass.Investigation parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.InvestigationOuterClass.Investigation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.InvestigationOuterClass.Investigation 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.InvestigationOuterClass.Investigation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.InvestigationOuterClass.Investigation 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.InvestigationOuterClass.Investigation parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.InvestigationOuterClass.Investigation 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.InvestigationOuterClass.Investigation 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; + } + /** + *
+     * Name: JIDKKFKPDIH
+     * 
+ * + * Protobuf type {@code Investigation} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:Investigation) + emu.grasscutter.net.proto.InvestigationOuterClass.InvestigationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.InvestigationOuterClass.internal_static_Investigation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.InvestigationOuterClass.internal_static_Investigation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.class, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + totalProgress_ = 0; + + state_ = 0; + + id_ = 0; + + progress_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.InvestigationOuterClass.internal_static_Investigation_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation getDefaultInstanceForType() { + return emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation build() { + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation buildPartial() { + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation result = new emu.grasscutter.net.proto.InvestigationOuterClass.Investigation(this); + result.totalProgress_ = totalProgress_; + result.state_ = state_; + result.id_ = id_; + result.progress_ = progress_; + 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.InvestigationOuterClass.Investigation) { + return mergeFrom((emu.grasscutter.net.proto.InvestigationOuterClass.Investigation)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.InvestigationOuterClass.Investigation other) { + if (other == emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.getDefaultInstance()) return this; + if (other.getTotalProgress() != 0) { + setTotalProgress(other.getTotalProgress()); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.getId() != 0) { + setId(other.getId()); + } + if (other.getProgress() != 0) { + setProgress(other.getProgress()); + } + 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.InvestigationOuterClass.Investigation parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.InvestigationOuterClass.Investigation) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int totalProgress_ ; + /** + * uint32 total_progress = 11; + * @return The totalProgress. + */ + @java.lang.Override + public int getTotalProgress() { + return totalProgress_; + } + /** + * uint32 total_progress = 11; + * @param value The totalProgress to set. + * @return This builder for chaining. + */ + public Builder setTotalProgress(int value) { + + totalProgress_ = value; + onChanged(); + return this; + } + /** + * uint32 total_progress = 11; + * @return This builder for chaining. + */ + public Builder clearTotalProgress() { + + totalProgress_ = 0; + onChanged(); + return this; + } + + private int state_ = 0; + /** + * .Investigation.State state = 8; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + * .Investigation.State state = 8; + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + + state_ = value; + onChanged(); + return this; + } + /** + * .Investigation.State state = 8; + * @return The state. + */ + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.State getState() { + @SuppressWarnings("deprecation") + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.State result = emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.State.valueOf(state_); + return result == null ? emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.State.UNRECOGNIZED : result; + } + /** + * .Investigation.State state = 8; + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.State value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .Investigation.State state = 8; + * @return This builder for chaining. + */ + public Builder clearState() { + + state_ = 0; + onChanged(); + return this; + } + + private int id_ ; + /** + * uint32 id = 3; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + /** + * uint32 id = 3; + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(int value) { + + id_ = value; + onChanged(); + return this; + } + /** + * uint32 id = 3; + * @return This builder for chaining. + */ + public Builder clearId() { + + id_ = 0; + onChanged(); + return this; + } + + private int progress_ ; + /** + * uint32 progress = 15; + * @return The progress. + */ + @java.lang.Override + public int getProgress() { + return progress_; + } + /** + * uint32 progress = 15; + * @param value The progress to set. + * @return This builder for chaining. + */ + public Builder setProgress(int value) { + + progress_ = value; + onChanged(); + return this; + } + /** + * uint32 progress = 15; + * @return This builder for chaining. + */ + public Builder clearProgress() { + + progress_ = 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:Investigation) + } + + // @@protoc_insertion_point(class_scope:Investigation) + private static final emu.grasscutter.net.proto.InvestigationOuterClass.Investigation DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.InvestigationOuterClass.Investigation(); + } + + public static emu.grasscutter.net.proto.InvestigationOuterClass.Investigation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Investigation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Investigation(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.InvestigationOuterClass.Investigation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Investigation_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Investigation_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\023Investigation.proto\"\261\001\n\rInvestigation\022" + + "\026\n\016total_progress\030\013 \001(\r\022#\n\005state\030\010 \001(\0162\024" + + ".Investigation.State\022\n\n\002id\030\003 \001(\r\022\020\n\010prog" + + "ress\030\017 \001(\r\"E\n\005State\022\013\n\007INVALID\020\000\022\017\n\013IN_P" + + "ROGRESS\020\001\022\014\n\010COMPLETE\020\002\022\020\n\014REWARD_TAKEN\020" + + "\003B!\n\031emu.grasscutter.net.protoZ\004/genb\006pr" + + "oto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_Investigation_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Investigation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Investigation_descriptor, + new java.lang.String[] { "TotalProgress", "State", "Id", "Progress", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/InvestigationTargetOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/InvestigationTargetOuterClass.java new file mode 100644 index 000000000..9704bc26e --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/InvestigationTargetOuterClass.java @@ -0,0 +1,996 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: InvestigationTarget.proto + +package emu.grasscutter.net.proto; + +public final class InvestigationTargetOuterClass { + private InvestigationTargetOuterClass() {} + 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 InvestigationTargetOrBuilder extends + // @@protoc_insertion_point(interface_extends:InvestigationTarget) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 investigation_id = 3; + * @return The investigationId. + */ + int getInvestigationId(); + + /** + * uint32 total_progress = 5; + * @return The totalProgress. + */ + int getTotalProgress(); + + /** + * uint32 progress = 15; + * @return The progress. + */ + int getProgress(); + + /** + * uint32 quest_id = 4; + * @return The questId. + */ + int getQuestId(); + + /** + * .InvestigationTarget.State state = 9; + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * .InvestigationTarget.State state = 9; + * @return The state. + */ + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.State getState(); + } + /** + *
+   * Name: PANKLPDCNBE
+   * 
+ * + * Protobuf type {@code InvestigationTarget} + */ + public static final class InvestigationTarget extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:InvestigationTarget) + InvestigationTargetOrBuilder { + private static final long serialVersionUID = 0L; + // Use InvestigationTarget.newBuilder() to construct. + private InvestigationTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private InvestigationTarget() { + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InvestigationTarget(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private InvestigationTarget( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 24: { + + investigationId_ = input.readUInt32(); + break; + } + case 32: { + + questId_ = input.readUInt32(); + break; + } + case 40: { + + totalProgress_ = input.readUInt32(); + break; + } + case 72: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 120: { + + progress_ = input.readUInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.InvestigationTargetOuterClass.internal_static_InvestigationTarget_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.InvestigationTargetOuterClass.internal_static_InvestigationTarget_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.class, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder.class); + } + + /** + *
+     * Name: OJMGAAEJHAD
+     * 
+ * + * Protobuf enum {@code InvestigationTarget.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + * INVALID = 0; + */ + INVALID(0), + /** + * IN_PROGRESS = 1; + */ + IN_PROGRESS(1), + /** + * COMPLETE = 2; + */ + COMPLETE(2), + /** + * REWARD_TAKEN = 3; + */ + REWARD_TAKEN(3), + UNRECOGNIZED(-1), + ; + + /** + * INVALID = 0; + */ + public static final int INVALID_VALUE = 0; + /** + * IN_PROGRESS = 1; + */ + public static final int IN_PROGRESS_VALUE = 1; + /** + * COMPLETE = 2; + */ + public static final int COMPLETE_VALUE = 2; + /** + * REWARD_TAKEN = 3; + */ + public static final int REWARD_TAKEN_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: return INVALID; + case 1: return IN_PROGRESS; + case 2: return COMPLETE; + case 3: return REWARD_TAKEN; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:InvestigationTarget.State) + } + + public static final int INVESTIGATION_ID_FIELD_NUMBER = 3; + private int investigationId_; + /** + * uint32 investigation_id = 3; + * @return The investigationId. + */ + @java.lang.Override + public int getInvestigationId() { + return investigationId_; + } + + public static final int TOTAL_PROGRESS_FIELD_NUMBER = 5; + private int totalProgress_; + /** + * uint32 total_progress = 5; + * @return The totalProgress. + */ + @java.lang.Override + public int getTotalProgress() { + return totalProgress_; + } + + public static final int PROGRESS_FIELD_NUMBER = 15; + private int progress_; + /** + * uint32 progress = 15; + * @return The progress. + */ + @java.lang.Override + public int getProgress() { + return progress_; + } + + public static final int QUEST_ID_FIELD_NUMBER = 4; + private int questId_; + /** + * uint32 quest_id = 4; + * @return The questId. + */ + @java.lang.Override + public int getQuestId() { + return questId_; + } + + public static final int STATE_FIELD_NUMBER = 9; + private int state_; + /** + * .InvestigationTarget.State state = 9; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + * .InvestigationTarget.State state = 9; + * @return The state. + */ + @java.lang.Override public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.State getState() { + @SuppressWarnings("deprecation") + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.State result = emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.State.valueOf(state_); + return result == null ? emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.State.UNRECOGNIZED : result; + } + + 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 { + if (investigationId_ != 0) { + output.writeUInt32(3, investigationId_); + } + if (questId_ != 0) { + output.writeUInt32(4, questId_); + } + if (totalProgress_ != 0) { + output.writeUInt32(5, totalProgress_); + } + if (state_ != emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.State.INVALID.getNumber()) { + output.writeEnum(9, state_); + } + if (progress_ != 0) { + output.writeUInt32(15, progress_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (investigationId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, investigationId_); + } + if (questId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, questId_); + } + if (totalProgress_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, totalProgress_); + } + if (state_ != emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.State.INVALID.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, state_); + } + if (progress_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(15, progress_); + } + 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.InvestigationTargetOuterClass.InvestigationTarget)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget other = (emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget) obj; + + if (getInvestigationId() + != other.getInvestigationId()) return false; + if (getTotalProgress() + != other.getTotalProgress()) return false; + if (getProgress() + != other.getProgress()) return false; + if (getQuestId() + != other.getQuestId()) return false; + if (state_ != other.state_) 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) + INVESTIGATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getInvestigationId(); + hash = (37 * hash) + TOTAL_PROGRESS_FIELD_NUMBER; + hash = (53 * hash) + getTotalProgress(); + hash = (37 * hash) + PROGRESS_FIELD_NUMBER; + hash = (53 * hash) + getProgress(); + hash = (37 * hash) + QUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getQuestId(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget 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.InvestigationTargetOuterClass.InvestigationTarget parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget 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.InvestigationTargetOuterClass.InvestigationTarget parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget 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.InvestigationTargetOuterClass.InvestigationTarget parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget 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.InvestigationTargetOuterClass.InvestigationTarget parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget 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.InvestigationTargetOuterClass.InvestigationTarget 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; + } + /** + *
+     * Name: PANKLPDCNBE
+     * 
+ * + * Protobuf type {@code InvestigationTarget} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:InvestigationTarget) + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTargetOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.InvestigationTargetOuterClass.internal_static_InvestigationTarget_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.InvestigationTargetOuterClass.internal_static_InvestigationTarget_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.class, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + investigationId_ = 0; + + totalProgress_ = 0; + + progress_ = 0; + + questId_ = 0; + + state_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.InvestigationTargetOuterClass.internal_static_InvestigationTarget_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget getDefaultInstanceForType() { + return emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget build() { + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget buildPartial() { + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget result = new emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget(this); + result.investigationId_ = investigationId_; + result.totalProgress_ = totalProgress_; + result.progress_ = progress_; + result.questId_ = questId_; + result.state_ = state_; + 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.InvestigationTargetOuterClass.InvestigationTarget) { + return mergeFrom((emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget other) { + if (other == emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.getDefaultInstance()) return this; + if (other.getInvestigationId() != 0) { + setInvestigationId(other.getInvestigationId()); + } + if (other.getTotalProgress() != 0) { + setTotalProgress(other.getTotalProgress()); + } + if (other.getProgress() != 0) { + setProgress(other.getProgress()); + } + if (other.getQuestId() != 0) { + setQuestId(other.getQuestId()); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + 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.InvestigationTargetOuterClass.InvestigationTarget parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int investigationId_ ; + /** + * uint32 investigation_id = 3; + * @return The investigationId. + */ + @java.lang.Override + public int getInvestigationId() { + return investigationId_; + } + /** + * uint32 investigation_id = 3; + * @param value The investigationId to set. + * @return This builder for chaining. + */ + public Builder setInvestigationId(int value) { + + investigationId_ = value; + onChanged(); + return this; + } + /** + * uint32 investigation_id = 3; + * @return This builder for chaining. + */ + public Builder clearInvestigationId() { + + investigationId_ = 0; + onChanged(); + return this; + } + + private int totalProgress_ ; + /** + * uint32 total_progress = 5; + * @return The totalProgress. + */ + @java.lang.Override + public int getTotalProgress() { + return totalProgress_; + } + /** + * uint32 total_progress = 5; + * @param value The totalProgress to set. + * @return This builder for chaining. + */ + public Builder setTotalProgress(int value) { + + totalProgress_ = value; + onChanged(); + return this; + } + /** + * uint32 total_progress = 5; + * @return This builder for chaining. + */ + public Builder clearTotalProgress() { + + totalProgress_ = 0; + onChanged(); + return this; + } + + private int progress_ ; + /** + * uint32 progress = 15; + * @return The progress. + */ + @java.lang.Override + public int getProgress() { + return progress_; + } + /** + * uint32 progress = 15; + * @param value The progress to set. + * @return This builder for chaining. + */ + public Builder setProgress(int value) { + + progress_ = value; + onChanged(); + return this; + } + /** + * uint32 progress = 15; + * @return This builder for chaining. + */ + public Builder clearProgress() { + + progress_ = 0; + onChanged(); + return this; + } + + private int questId_ ; + /** + * uint32 quest_id = 4; + * @return The questId. + */ + @java.lang.Override + public int getQuestId() { + return questId_; + } + /** + * uint32 quest_id = 4; + * @param value The questId to set. + * @return This builder for chaining. + */ + public Builder setQuestId(int value) { + + questId_ = value; + onChanged(); + return this; + } + /** + * uint32 quest_id = 4; + * @return This builder for chaining. + */ + public Builder clearQuestId() { + + questId_ = 0; + onChanged(); + return this; + } + + private int state_ = 0; + /** + * .InvestigationTarget.State state = 9; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + * .InvestigationTarget.State state = 9; + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + + state_ = value; + onChanged(); + return this; + } + /** + * .InvestigationTarget.State state = 9; + * @return The state. + */ + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.State getState() { + @SuppressWarnings("deprecation") + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.State result = emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.State.valueOf(state_); + return result == null ? emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.State.UNRECOGNIZED : result; + } + /** + * .InvestigationTarget.State state = 9; + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.State value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .InvestigationTarget.State state = 9; + * @return This builder for chaining. + */ + public Builder clearState() { + + state_ = 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:InvestigationTarget) + } + + // @@protoc_insertion_point(class_scope:InvestigationTarget) + private static final emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget(); + } + + public static emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvestigationTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InvestigationTarget(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.InvestigationTargetOuterClass.InvestigationTarget getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_InvestigationTarget_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_InvestigationTarget_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\031InvestigationTarget.proto\"\335\001\n\023Investig" + + "ationTarget\022\030\n\020investigation_id\030\003 \001(\r\022\026\n" + + "\016total_progress\030\005 \001(\r\022\020\n\010progress\030\017 \001(\r\022" + + "\020\n\010quest_id\030\004 \001(\r\022)\n\005state\030\t \001(\0162\032.Inves" + + "tigationTarget.State\"E\n\005State\022\013\n\007INVALID" + + "\020\000\022\017\n\013IN_PROGRESS\020\001\022\014\n\010COMPLETE\020\002\022\020\n\014REW" + + "ARD_TAKEN\020\003B!\n\031emu.grasscutter.net.proto" + + "Z\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_InvestigationTarget_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_InvestigationTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_InvestigationTarget_descriptor, + new java.lang.String[] { "InvestigationId", "TotalProgress", "Progress", "QuestId", "State", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/PlayerInvestigationAllInfoNotifyOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/PlayerInvestigationAllInfoNotifyOuterClass.java new file mode 100644 index 000000000..fd1a319f3 --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/PlayerInvestigationAllInfoNotifyOuterClass.java @@ -0,0 +1,1231 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: PlayerInvestigationAllInfoNotify.proto + +package emu.grasscutter.net.proto; + +public final class PlayerInvestigationAllInfoNotifyOuterClass { + private PlayerInvestigationAllInfoNotifyOuterClass() {} + 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 PlayerInvestigationAllInfoNotifyOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayerInvestigationAllInfoNotify) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .Investigation investigation_list = 4; + */ + java.util.List + getInvestigationListList(); + /** + * repeated .Investigation investigation_list = 4; + */ + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation getInvestigationList(int index); + /** + * repeated .Investigation investigation_list = 4; + */ + int getInvestigationListCount(); + /** + * repeated .Investigation investigation_list = 4; + */ + java.util.List + getInvestigationListOrBuilderList(); + /** + * repeated .Investigation investigation_list = 4; + */ + emu.grasscutter.net.proto.InvestigationOuterClass.InvestigationOrBuilder getInvestigationListOrBuilder( + int index); + + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + java.util.List + getInvestigationTargetListList(); + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget getInvestigationTargetList(int index); + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + int getInvestigationTargetListCount(); + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + java.util.List + getInvestigationTargetListOrBuilderList(); + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTargetOrBuilder getInvestigationTargetListOrBuilder( + int index); + } + /** + *
+   * CmdId: 1917
+   * Name: AAGKEHNFPPN
+   * 
+ * + * Protobuf type {@code PlayerInvestigationAllInfoNotify} + */ + public static final class PlayerInvestigationAllInfoNotify extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PlayerInvestigationAllInfoNotify) + PlayerInvestigationAllInfoNotifyOrBuilder { + private static final long serialVersionUID = 0L; + // Use PlayerInvestigationAllInfoNotify.newBuilder() to construct. + private PlayerInvestigationAllInfoNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PlayerInvestigationAllInfoNotify() { + investigationList_ = java.util.Collections.emptyList(); + investigationTargetList_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PlayerInvestigationAllInfoNotify(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PlayerInvestigationAllInfoNotify( + 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 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + investigationList_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + investigationList_.add( + input.readMessage(emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.parser(), extensionRegistry)); + break; + } + case 98: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + investigationTargetList_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + investigationTargetList_.add( + input.readMessage(emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.parser(), extensionRegistry)); + 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)) { + investigationList_ = java.util.Collections.unmodifiableList(investigationList_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + investigationTargetList_ = java.util.Collections.unmodifiableList(investigationTargetList_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.internal_static_PlayerInvestigationAllInfoNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.internal_static_PlayerInvestigationAllInfoNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify.class, emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify.Builder.class); + } + + public static final int INVESTIGATION_LIST_FIELD_NUMBER = 4; + private java.util.List investigationList_; + /** + * repeated .Investigation investigation_list = 4; + */ + @java.lang.Override + public java.util.List getInvestigationListList() { + return investigationList_; + } + /** + * repeated .Investigation investigation_list = 4; + */ + @java.lang.Override + public java.util.List + getInvestigationListOrBuilderList() { + return investigationList_; + } + /** + * repeated .Investigation investigation_list = 4; + */ + @java.lang.Override + public int getInvestigationListCount() { + return investigationList_.size(); + } + /** + * repeated .Investigation investigation_list = 4; + */ + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation getInvestigationList(int index) { + return investigationList_.get(index); + } + /** + * repeated .Investigation investigation_list = 4; + */ + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationOuterClass.InvestigationOrBuilder getInvestigationListOrBuilder( + int index) { + return investigationList_.get(index); + } + + public static final int INVESTIGATION_TARGET_LIST_FIELD_NUMBER = 12; + private java.util.List investigationTargetList_; + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + @java.lang.Override + public java.util.List getInvestigationTargetListList() { + return investigationTargetList_; + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + @java.lang.Override + public java.util.List + getInvestigationTargetListOrBuilderList() { + return investigationTargetList_; + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + @java.lang.Override + public int getInvestigationTargetListCount() { + return investigationTargetList_.size(); + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget getInvestigationTargetList(int index) { + return investigationTargetList_.get(index); + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTargetOrBuilder getInvestigationTargetListOrBuilder( + int index) { + return investigationTargetList_.get(index); + } + + 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 < investigationList_.size(); i++) { + output.writeMessage(4, investigationList_.get(i)); + } + for (int i = 0; i < investigationTargetList_.size(); i++) { + output.writeMessage(12, investigationTargetList_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < investigationList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, investigationList_.get(i)); + } + for (int i = 0; i < investigationTargetList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, investigationTargetList_.get(i)); + } + 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.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify other = (emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify) obj; + + if (!getInvestigationListList() + .equals(other.getInvestigationListList())) return false; + if (!getInvestigationTargetListList() + .equals(other.getInvestigationTargetListList())) 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(); + if (getInvestigationListCount() > 0) { + hash = (37 * hash) + INVESTIGATION_LIST_FIELD_NUMBER; + hash = (53 * hash) + getInvestigationListList().hashCode(); + } + if (getInvestigationTargetListCount() > 0) { + hash = (37 * hash) + INVESTIGATION_TARGET_LIST_FIELD_NUMBER; + hash = (53 * hash) + getInvestigationTargetListList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify 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.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify 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.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify 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.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify 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.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify 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.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify 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: 1917
+     * Name: AAGKEHNFPPN
+     * 
+ * + * Protobuf type {@code PlayerInvestigationAllInfoNotify} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PlayerInvestigationAllInfoNotify) + emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotifyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.internal_static_PlayerInvestigationAllInfoNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.internal_static_PlayerInvestigationAllInfoNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify.class, emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getInvestigationListFieldBuilder(); + getInvestigationTargetListFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (investigationListBuilder_ == null) { + investigationList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + investigationListBuilder_.clear(); + } + if (investigationTargetListBuilder_ == null) { + investigationTargetList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + investigationTargetListBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.internal_static_PlayerInvestigationAllInfoNotify_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify getDefaultInstanceForType() { + return emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify build() { + emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify buildPartial() { + emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify result = new emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify(this); + int from_bitField0_ = bitField0_; + if (investigationListBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + investigationList_ = java.util.Collections.unmodifiableList(investigationList_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.investigationList_ = investigationList_; + } else { + result.investigationList_ = investigationListBuilder_.build(); + } + if (investigationTargetListBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + investigationTargetList_ = java.util.Collections.unmodifiableList(investigationTargetList_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.investigationTargetList_ = investigationTargetList_; + } else { + result.investigationTargetList_ = investigationTargetListBuilder_.build(); + } + 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.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify) { + return mergeFrom((emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify other) { + if (other == emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify.getDefaultInstance()) return this; + if (investigationListBuilder_ == null) { + if (!other.investigationList_.isEmpty()) { + if (investigationList_.isEmpty()) { + investigationList_ = other.investigationList_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureInvestigationListIsMutable(); + investigationList_.addAll(other.investigationList_); + } + onChanged(); + } + } else { + if (!other.investigationList_.isEmpty()) { + if (investigationListBuilder_.isEmpty()) { + investigationListBuilder_.dispose(); + investigationListBuilder_ = null; + investigationList_ = other.investigationList_; + bitField0_ = (bitField0_ & ~0x00000001); + investigationListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInvestigationListFieldBuilder() : null; + } else { + investigationListBuilder_.addAllMessages(other.investigationList_); + } + } + } + if (investigationTargetListBuilder_ == null) { + if (!other.investigationTargetList_.isEmpty()) { + if (investigationTargetList_.isEmpty()) { + investigationTargetList_ = other.investigationTargetList_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.addAll(other.investigationTargetList_); + } + onChanged(); + } + } else { + if (!other.investigationTargetList_.isEmpty()) { + if (investigationTargetListBuilder_.isEmpty()) { + investigationTargetListBuilder_.dispose(); + investigationTargetListBuilder_ = null; + investigationTargetList_ = other.investigationTargetList_; + bitField0_ = (bitField0_ & ~0x00000002); + investigationTargetListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInvestigationTargetListFieldBuilder() : null; + } else { + investigationTargetListBuilder_.addAllMessages(other.investigationTargetList_); + } + } + } + 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.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List investigationList_ = + java.util.Collections.emptyList(); + private void ensureInvestigationListIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + investigationList_ = new java.util.ArrayList(investigationList_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder, emu.grasscutter.net.proto.InvestigationOuterClass.InvestigationOrBuilder> investigationListBuilder_; + + /** + * repeated .Investigation investigation_list = 4; + */ + public java.util.List getInvestigationListList() { + if (investigationListBuilder_ == null) { + return java.util.Collections.unmodifiableList(investigationList_); + } else { + return investigationListBuilder_.getMessageList(); + } + } + /** + * repeated .Investigation investigation_list = 4; + */ + public int getInvestigationListCount() { + if (investigationListBuilder_ == null) { + return investigationList_.size(); + } else { + return investigationListBuilder_.getCount(); + } + } + /** + * repeated .Investigation investigation_list = 4; + */ + public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation getInvestigationList(int index) { + if (investigationListBuilder_ == null) { + return investigationList_.get(index); + } else { + return investigationListBuilder_.getMessage(index); + } + } + /** + * repeated .Investigation investigation_list = 4; + */ + public Builder setInvestigationList( + int index, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation value) { + if (investigationListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInvestigationListIsMutable(); + investigationList_.set(index, value); + onChanged(); + } else { + investigationListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .Investigation investigation_list = 4; + */ + public Builder setInvestigationList( + int index, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder builderForValue) { + if (investigationListBuilder_ == null) { + ensureInvestigationListIsMutable(); + investigationList_.set(index, builderForValue.build()); + onChanged(); + } else { + investigationListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Investigation investigation_list = 4; + */ + public Builder addInvestigationList(emu.grasscutter.net.proto.InvestigationOuterClass.Investigation value) { + if (investigationListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInvestigationListIsMutable(); + investigationList_.add(value); + onChanged(); + } else { + investigationListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .Investigation investigation_list = 4; + */ + public Builder addInvestigationList( + int index, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation value) { + if (investigationListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInvestigationListIsMutable(); + investigationList_.add(index, value); + onChanged(); + } else { + investigationListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .Investigation investigation_list = 4; + */ + public Builder addInvestigationList( + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder builderForValue) { + if (investigationListBuilder_ == null) { + ensureInvestigationListIsMutable(); + investigationList_.add(builderForValue.build()); + onChanged(); + } else { + investigationListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .Investigation investigation_list = 4; + */ + public Builder addInvestigationList( + int index, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder builderForValue) { + if (investigationListBuilder_ == null) { + ensureInvestigationListIsMutable(); + investigationList_.add(index, builderForValue.build()); + onChanged(); + } else { + investigationListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Investigation investigation_list = 4; + */ + public Builder addAllInvestigationList( + java.lang.Iterable values) { + if (investigationListBuilder_ == null) { + ensureInvestigationListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, investigationList_); + onChanged(); + } else { + investigationListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .Investigation investigation_list = 4; + */ + public Builder clearInvestigationList() { + if (investigationListBuilder_ == null) { + investigationList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + investigationListBuilder_.clear(); + } + return this; + } + /** + * repeated .Investigation investigation_list = 4; + */ + public Builder removeInvestigationList(int index) { + if (investigationListBuilder_ == null) { + ensureInvestigationListIsMutable(); + investigationList_.remove(index); + onChanged(); + } else { + investigationListBuilder_.remove(index); + } + return this; + } + /** + * repeated .Investigation investigation_list = 4; + */ + public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder getInvestigationListBuilder( + int index) { + return getInvestigationListFieldBuilder().getBuilder(index); + } + /** + * repeated .Investigation investigation_list = 4; + */ + public emu.grasscutter.net.proto.InvestigationOuterClass.InvestigationOrBuilder getInvestigationListOrBuilder( + int index) { + if (investigationListBuilder_ == null) { + return investigationList_.get(index); } else { + return investigationListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .Investigation investigation_list = 4; + */ + public java.util.List + getInvestigationListOrBuilderList() { + if (investigationListBuilder_ != null) { + return investigationListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(investigationList_); + } + } + /** + * repeated .Investigation investigation_list = 4; + */ + public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder addInvestigationListBuilder() { + return getInvestigationListFieldBuilder().addBuilder( + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.getDefaultInstance()); + } + /** + * repeated .Investigation investigation_list = 4; + */ + public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder addInvestigationListBuilder( + int index) { + return getInvestigationListFieldBuilder().addBuilder( + index, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.getDefaultInstance()); + } + /** + * repeated .Investigation investigation_list = 4; + */ + public java.util.List + getInvestigationListBuilderList() { + return getInvestigationListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder, emu.grasscutter.net.proto.InvestigationOuterClass.InvestigationOrBuilder> + getInvestigationListFieldBuilder() { + if (investigationListBuilder_ == null) { + investigationListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder, emu.grasscutter.net.proto.InvestigationOuterClass.InvestigationOrBuilder>( + investigationList_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + investigationList_ = null; + } + return investigationListBuilder_; + } + + private java.util.List investigationTargetList_ = + java.util.Collections.emptyList(); + private void ensureInvestigationTargetListIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + investigationTargetList_ = new java.util.ArrayList(investigationTargetList_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTargetOrBuilder> investigationTargetListBuilder_; + + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public java.util.List getInvestigationTargetListList() { + if (investigationTargetListBuilder_ == null) { + return java.util.Collections.unmodifiableList(investigationTargetList_); + } else { + return investigationTargetListBuilder_.getMessageList(); + } + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public int getInvestigationTargetListCount() { + if (investigationTargetListBuilder_ == null) { + return investigationTargetList_.size(); + } else { + return investigationTargetListBuilder_.getCount(); + } + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget getInvestigationTargetList(int index) { + if (investigationTargetListBuilder_ == null) { + return investigationTargetList_.get(index); + } else { + return investigationTargetListBuilder_.getMessage(index); + } + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public Builder setInvestigationTargetList( + int index, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget value) { + if (investigationTargetListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.set(index, value); + onChanged(); + } else { + investigationTargetListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public Builder setInvestigationTargetList( + int index, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder builderForValue) { + if (investigationTargetListBuilder_ == null) { + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.set(index, builderForValue.build()); + onChanged(); + } else { + investigationTargetListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public Builder addInvestigationTargetList(emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget value) { + if (investigationTargetListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.add(value); + onChanged(); + } else { + investigationTargetListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public Builder addInvestigationTargetList( + int index, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget value) { + if (investigationTargetListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.add(index, value); + onChanged(); + } else { + investigationTargetListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public Builder addInvestigationTargetList( + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder builderForValue) { + if (investigationTargetListBuilder_ == null) { + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.add(builderForValue.build()); + onChanged(); + } else { + investigationTargetListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public Builder addInvestigationTargetList( + int index, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder builderForValue) { + if (investigationTargetListBuilder_ == null) { + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.add(index, builderForValue.build()); + onChanged(); + } else { + investigationTargetListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public Builder addAllInvestigationTargetList( + java.lang.Iterable values) { + if (investigationTargetListBuilder_ == null) { + ensureInvestigationTargetListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, investigationTargetList_); + onChanged(); + } else { + investigationTargetListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public Builder clearInvestigationTargetList() { + if (investigationTargetListBuilder_ == null) { + investigationTargetList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + investigationTargetListBuilder_.clear(); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public Builder removeInvestigationTargetList(int index) { + if (investigationTargetListBuilder_ == null) { + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.remove(index); + onChanged(); + } else { + investigationTargetListBuilder_.remove(index); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder getInvestigationTargetListBuilder( + int index) { + return getInvestigationTargetListFieldBuilder().getBuilder(index); + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTargetOrBuilder getInvestigationTargetListOrBuilder( + int index) { + if (investigationTargetListBuilder_ == null) { + return investigationTargetList_.get(index); } else { + return investigationTargetListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public java.util.List + getInvestigationTargetListOrBuilderList() { + if (investigationTargetListBuilder_ != null) { + return investigationTargetListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(investigationTargetList_); + } + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder addInvestigationTargetListBuilder() { + return getInvestigationTargetListFieldBuilder().addBuilder( + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.getDefaultInstance()); + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder addInvestigationTargetListBuilder( + int index) { + return getInvestigationTargetListFieldBuilder().addBuilder( + index, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.getDefaultInstance()); + } + /** + * repeated .InvestigationTarget investigation_target_list = 12; + */ + public java.util.List + getInvestigationTargetListBuilderList() { + return getInvestigationTargetListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTargetOrBuilder> + getInvestigationTargetListFieldBuilder() { + if (investigationTargetListBuilder_ == null) { + investigationTargetListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTargetOrBuilder>( + investigationTargetList_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + investigationTargetList_ = null; + } + return investigationTargetListBuilder_; + } + @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:PlayerInvestigationAllInfoNotify) + } + + // @@protoc_insertion_point(class_scope:PlayerInvestigationAllInfoNotify) + private static final emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify(); + } + + public static emu.grasscutter.net.proto.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlayerInvestigationAllInfoNotify parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerInvestigationAllInfoNotify(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.PlayerInvestigationAllInfoNotifyOuterClass.PlayerInvestigationAllInfoNotify getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_PlayerInvestigationAllInfoNotify_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PlayerInvestigationAllInfoNotify_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&PlayerInvestigationAllInfoNotify.proto" + + "\032\023Investigation.proto\032\031InvestigationTarg" + + "et.proto\"\207\001\n PlayerInvestigationAllInfoN" + + "otify\022*\n\022investigation_list\030\004 \003(\0132\016.Inve" + + "stigation\0227\n\031investigation_target_list\030\014" + + " \003(\0132\024.InvestigationTargetB!\n\031emu.grassc" + + "utter.net.protoZ\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + emu.grasscutter.net.proto.InvestigationOuterClass.getDescriptor(), + emu.grasscutter.net.proto.InvestigationTargetOuterClass.getDescriptor(), + }); + internal_static_PlayerInvestigationAllInfoNotify_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_PlayerInvestigationAllInfoNotify_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PlayerInvestigationAllInfoNotify_descriptor, + new java.lang.String[] { "InvestigationList", "InvestigationTargetList", }); + emu.grasscutter.net.proto.InvestigationOuterClass.getDescriptor(); + emu.grasscutter.net.proto.InvestigationTargetOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/PlayerInvestigationNotifyOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/PlayerInvestigationNotifyOuterClass.java new file mode 100644 index 000000000..1bca1efd3 --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/PlayerInvestigationNotifyOuterClass.java @@ -0,0 +1,855 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: PlayerInvestigationNotify.proto + +package emu.grasscutter.net.proto; + +public final class PlayerInvestigationNotifyOuterClass { + private PlayerInvestigationNotifyOuterClass() {} + 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 PlayerInvestigationNotifyOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayerInvestigationNotify) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .Investigation investigation_list = 9; + */ + java.util.List + getInvestigationListList(); + /** + * repeated .Investigation investigation_list = 9; + */ + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation getInvestigationList(int index); + /** + * repeated .Investigation investigation_list = 9; + */ + int getInvestigationListCount(); + /** + * repeated .Investigation investigation_list = 9; + */ + java.util.List + getInvestigationListOrBuilderList(); + /** + * repeated .Investigation investigation_list = 9; + */ + emu.grasscutter.net.proto.InvestigationOuterClass.InvestigationOrBuilder getInvestigationListOrBuilder( + int index); + } + /** + *
+   * CmdId: 1910
+   * Name: HGGBKEKBGJG
+   * 
+ * + * Protobuf type {@code PlayerInvestigationNotify} + */ + public static final class PlayerInvestigationNotify extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PlayerInvestigationNotify) + PlayerInvestigationNotifyOrBuilder { + private static final long serialVersionUID = 0L; + // Use PlayerInvestigationNotify.newBuilder() to construct. + private PlayerInvestigationNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PlayerInvestigationNotify() { + investigationList_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PlayerInvestigationNotify(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PlayerInvestigationNotify( + 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 74: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + investigationList_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + investigationList_.add( + input.readMessage(emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.parser(), extensionRegistry)); + 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)) { + investigationList_ = java.util.Collections.unmodifiableList(investigationList_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.internal_static_PlayerInvestigationNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.internal_static_PlayerInvestigationNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify.class, emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify.Builder.class); + } + + public static final int INVESTIGATION_LIST_FIELD_NUMBER = 9; + private java.util.List investigationList_; + /** + * repeated .Investigation investigation_list = 9; + */ + @java.lang.Override + public java.util.List getInvestigationListList() { + return investigationList_; + } + /** + * repeated .Investigation investigation_list = 9; + */ + @java.lang.Override + public java.util.List + getInvestigationListOrBuilderList() { + return investigationList_; + } + /** + * repeated .Investigation investigation_list = 9; + */ + @java.lang.Override + public int getInvestigationListCount() { + return investigationList_.size(); + } + /** + * repeated .Investigation investigation_list = 9; + */ + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation getInvestigationList(int index) { + return investigationList_.get(index); + } + /** + * repeated .Investigation investigation_list = 9; + */ + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationOuterClass.InvestigationOrBuilder getInvestigationListOrBuilder( + int index) { + return investigationList_.get(index); + } + + 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 < investigationList_.size(); i++) { + output.writeMessage(9, investigationList_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < investigationList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, investigationList_.get(i)); + } + 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.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify other = (emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify) obj; + + if (!getInvestigationListList() + .equals(other.getInvestigationListList())) 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(); + if (getInvestigationListCount() > 0) { + hash = (37 * hash) + INVESTIGATION_LIST_FIELD_NUMBER; + hash = (53 * hash) + getInvestigationListList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify 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.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify 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.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify 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.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify 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.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify 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.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify 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: 1910
+     * Name: HGGBKEKBGJG
+     * 
+ * + * Protobuf type {@code PlayerInvestigationNotify} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PlayerInvestigationNotify) + emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotifyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.internal_static_PlayerInvestigationNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.internal_static_PlayerInvestigationNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify.class, emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getInvestigationListFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (investigationListBuilder_ == null) { + investigationList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + investigationListBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.internal_static_PlayerInvestigationNotify_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify getDefaultInstanceForType() { + return emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify build() { + emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify buildPartial() { + emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify result = new emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify(this); + int from_bitField0_ = bitField0_; + if (investigationListBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + investigationList_ = java.util.Collections.unmodifiableList(investigationList_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.investigationList_ = investigationList_; + } else { + result.investigationList_ = investigationListBuilder_.build(); + } + 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.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify) { + return mergeFrom((emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify other) { + if (other == emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify.getDefaultInstance()) return this; + if (investigationListBuilder_ == null) { + if (!other.investigationList_.isEmpty()) { + if (investigationList_.isEmpty()) { + investigationList_ = other.investigationList_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureInvestigationListIsMutable(); + investigationList_.addAll(other.investigationList_); + } + onChanged(); + } + } else { + if (!other.investigationList_.isEmpty()) { + if (investigationListBuilder_.isEmpty()) { + investigationListBuilder_.dispose(); + investigationListBuilder_ = null; + investigationList_ = other.investigationList_; + bitField0_ = (bitField0_ & ~0x00000001); + investigationListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInvestigationListFieldBuilder() : null; + } else { + investigationListBuilder_.addAllMessages(other.investigationList_); + } + } + } + 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.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List investigationList_ = + java.util.Collections.emptyList(); + private void ensureInvestigationListIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + investigationList_ = new java.util.ArrayList(investigationList_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder, emu.grasscutter.net.proto.InvestigationOuterClass.InvestigationOrBuilder> investigationListBuilder_; + + /** + * repeated .Investigation investigation_list = 9; + */ + public java.util.List getInvestigationListList() { + if (investigationListBuilder_ == null) { + return java.util.Collections.unmodifiableList(investigationList_); + } else { + return investigationListBuilder_.getMessageList(); + } + } + /** + * repeated .Investigation investigation_list = 9; + */ + public int getInvestigationListCount() { + if (investigationListBuilder_ == null) { + return investigationList_.size(); + } else { + return investigationListBuilder_.getCount(); + } + } + /** + * repeated .Investigation investigation_list = 9; + */ + public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation getInvestigationList(int index) { + if (investigationListBuilder_ == null) { + return investigationList_.get(index); + } else { + return investigationListBuilder_.getMessage(index); + } + } + /** + * repeated .Investigation investigation_list = 9; + */ + public Builder setInvestigationList( + int index, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation value) { + if (investigationListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInvestigationListIsMutable(); + investigationList_.set(index, value); + onChanged(); + } else { + investigationListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .Investigation investigation_list = 9; + */ + public Builder setInvestigationList( + int index, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder builderForValue) { + if (investigationListBuilder_ == null) { + ensureInvestigationListIsMutable(); + investigationList_.set(index, builderForValue.build()); + onChanged(); + } else { + investigationListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Investigation investigation_list = 9; + */ + public Builder addInvestigationList(emu.grasscutter.net.proto.InvestigationOuterClass.Investigation value) { + if (investigationListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInvestigationListIsMutable(); + investigationList_.add(value); + onChanged(); + } else { + investigationListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .Investigation investigation_list = 9; + */ + public Builder addInvestigationList( + int index, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation value) { + if (investigationListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInvestigationListIsMutable(); + investigationList_.add(index, value); + onChanged(); + } else { + investigationListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .Investigation investigation_list = 9; + */ + public Builder addInvestigationList( + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder builderForValue) { + if (investigationListBuilder_ == null) { + ensureInvestigationListIsMutable(); + investigationList_.add(builderForValue.build()); + onChanged(); + } else { + investigationListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .Investigation investigation_list = 9; + */ + public Builder addInvestigationList( + int index, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder builderForValue) { + if (investigationListBuilder_ == null) { + ensureInvestigationListIsMutable(); + investigationList_.add(index, builderForValue.build()); + onChanged(); + } else { + investigationListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Investigation investigation_list = 9; + */ + public Builder addAllInvestigationList( + java.lang.Iterable values) { + if (investigationListBuilder_ == null) { + ensureInvestigationListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, investigationList_); + onChanged(); + } else { + investigationListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .Investigation investigation_list = 9; + */ + public Builder clearInvestigationList() { + if (investigationListBuilder_ == null) { + investigationList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + investigationListBuilder_.clear(); + } + return this; + } + /** + * repeated .Investigation investigation_list = 9; + */ + public Builder removeInvestigationList(int index) { + if (investigationListBuilder_ == null) { + ensureInvestigationListIsMutable(); + investigationList_.remove(index); + onChanged(); + } else { + investigationListBuilder_.remove(index); + } + return this; + } + /** + * repeated .Investigation investigation_list = 9; + */ + public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder getInvestigationListBuilder( + int index) { + return getInvestigationListFieldBuilder().getBuilder(index); + } + /** + * repeated .Investigation investigation_list = 9; + */ + public emu.grasscutter.net.proto.InvestigationOuterClass.InvestigationOrBuilder getInvestigationListOrBuilder( + int index) { + if (investigationListBuilder_ == null) { + return investigationList_.get(index); } else { + return investigationListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .Investigation investigation_list = 9; + */ + public java.util.List + getInvestigationListOrBuilderList() { + if (investigationListBuilder_ != null) { + return investigationListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(investigationList_); + } + } + /** + * repeated .Investigation investigation_list = 9; + */ + public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder addInvestigationListBuilder() { + return getInvestigationListFieldBuilder().addBuilder( + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.getDefaultInstance()); + } + /** + * repeated .Investigation investigation_list = 9; + */ + public emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder addInvestigationListBuilder( + int index) { + return getInvestigationListFieldBuilder().addBuilder( + index, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.getDefaultInstance()); + } + /** + * repeated .Investigation investigation_list = 9; + */ + public java.util.List + getInvestigationListBuilderList() { + return getInvestigationListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder, emu.grasscutter.net.proto.InvestigationOuterClass.InvestigationOrBuilder> + getInvestigationListFieldBuilder() { + if (investigationListBuilder_ == null) { + investigationListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.InvestigationOuterClass.Investigation, emu.grasscutter.net.proto.InvestigationOuterClass.Investigation.Builder, emu.grasscutter.net.proto.InvestigationOuterClass.InvestigationOrBuilder>( + investigationList_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + investigationList_ = null; + } + return investigationListBuilder_; + } + @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:PlayerInvestigationNotify) + } + + // @@protoc_insertion_point(class_scope:PlayerInvestigationNotify) + private static final emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify(); + } + + public static emu.grasscutter.net.proto.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlayerInvestigationNotify parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerInvestigationNotify(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.PlayerInvestigationNotifyOuterClass.PlayerInvestigationNotify getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_PlayerInvestigationNotify_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PlayerInvestigationNotify_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\037PlayerInvestigationNotify.proto\032\023Inves" + + "tigation.proto\"G\n\031PlayerInvestigationNot" + + "ify\022*\n\022investigation_list\030\t \003(\0132\016.Invest" + + "igationB!\n\031emu.grasscutter.net.protoZ\004/g" + + "enb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + emu.grasscutter.net.proto.InvestigationOuterClass.getDescriptor(), + }); + internal_static_PlayerInvestigationNotify_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_PlayerInvestigationNotify_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PlayerInvestigationNotify_descriptor, + new java.lang.String[] { "InvestigationList", }); + emu.grasscutter.net.proto.InvestigationOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/PlayerInvestigationTargetNotifyOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/PlayerInvestigationTargetNotifyOuterClass.java new file mode 100644 index 000000000..026eff006 --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/PlayerInvestigationTargetNotifyOuterClass.java @@ -0,0 +1,856 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: PlayerInvestigationTargetNotify.proto + +package emu.grasscutter.net.proto; + +public final class PlayerInvestigationTargetNotifyOuterClass { + private PlayerInvestigationTargetNotifyOuterClass() {} + 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 PlayerInvestigationTargetNotifyOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayerInvestigationTargetNotify) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + java.util.List + getInvestigationTargetListList(); + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget getInvestigationTargetList(int index); + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + int getInvestigationTargetListCount(); + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + java.util.List + getInvestigationTargetListOrBuilderList(); + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTargetOrBuilder getInvestigationTargetListOrBuilder( + int index); + } + /** + *
+   * CmdId: 1927
+   * Name: LKMFLLAFCCF
+   * 
+ * + * Protobuf type {@code PlayerInvestigationTargetNotify} + */ + public static final class PlayerInvestigationTargetNotify extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PlayerInvestigationTargetNotify) + PlayerInvestigationTargetNotifyOrBuilder { + private static final long serialVersionUID = 0L; + // Use PlayerInvestigationTargetNotify.newBuilder() to construct. + private PlayerInvestigationTargetNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PlayerInvestigationTargetNotify() { + investigationTargetList_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PlayerInvestigationTargetNotify(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PlayerInvestigationTargetNotify( + 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 50: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + investigationTargetList_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + investigationTargetList_.add( + input.readMessage(emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.parser(), extensionRegistry)); + 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)) { + investigationTargetList_ = java.util.Collections.unmodifiableList(investigationTargetList_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.internal_static_PlayerInvestigationTargetNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.internal_static_PlayerInvestigationTargetNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify.class, emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify.Builder.class); + } + + public static final int INVESTIGATION_TARGET_LIST_FIELD_NUMBER = 6; + private java.util.List investigationTargetList_; + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + @java.lang.Override + public java.util.List getInvestigationTargetListList() { + return investigationTargetList_; + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + @java.lang.Override + public java.util.List + getInvestigationTargetListOrBuilderList() { + return investigationTargetList_; + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + @java.lang.Override + public int getInvestigationTargetListCount() { + return investigationTargetList_.size(); + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget getInvestigationTargetList(int index) { + return investigationTargetList_.get(index); + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + @java.lang.Override + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTargetOrBuilder getInvestigationTargetListOrBuilder( + int index) { + return investigationTargetList_.get(index); + } + + 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 < investigationTargetList_.size(); i++) { + output.writeMessage(6, investigationTargetList_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < investigationTargetList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, investigationTargetList_.get(i)); + } + 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.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify other = (emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify) obj; + + if (!getInvestigationTargetListList() + .equals(other.getInvestigationTargetListList())) 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(); + if (getInvestigationTargetListCount() > 0) { + hash = (37 * hash) + INVESTIGATION_TARGET_LIST_FIELD_NUMBER; + hash = (53 * hash) + getInvestigationTargetListList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify 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.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify 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.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify 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.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify 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.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify 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.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify 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: 1927
+     * Name: LKMFLLAFCCF
+     * 
+ * + * Protobuf type {@code PlayerInvestigationTargetNotify} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PlayerInvestigationTargetNotify) + emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotifyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.internal_static_PlayerInvestigationTargetNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.internal_static_PlayerInvestigationTargetNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify.class, emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getInvestigationTargetListFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (investigationTargetListBuilder_ == null) { + investigationTargetList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + investigationTargetListBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.internal_static_PlayerInvestigationTargetNotify_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify getDefaultInstanceForType() { + return emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify build() { + emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify buildPartial() { + emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify result = new emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify(this); + int from_bitField0_ = bitField0_; + if (investigationTargetListBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + investigationTargetList_ = java.util.Collections.unmodifiableList(investigationTargetList_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.investigationTargetList_ = investigationTargetList_; + } else { + result.investigationTargetList_ = investigationTargetListBuilder_.build(); + } + 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.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify) { + return mergeFrom((emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify other) { + if (other == emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify.getDefaultInstance()) return this; + if (investigationTargetListBuilder_ == null) { + if (!other.investigationTargetList_.isEmpty()) { + if (investigationTargetList_.isEmpty()) { + investigationTargetList_ = other.investigationTargetList_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.addAll(other.investigationTargetList_); + } + onChanged(); + } + } else { + if (!other.investigationTargetList_.isEmpty()) { + if (investigationTargetListBuilder_.isEmpty()) { + investigationTargetListBuilder_.dispose(); + investigationTargetListBuilder_ = null; + investigationTargetList_ = other.investigationTargetList_; + bitField0_ = (bitField0_ & ~0x00000001); + investigationTargetListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInvestigationTargetListFieldBuilder() : null; + } else { + investigationTargetListBuilder_.addAllMessages(other.investigationTargetList_); + } + } + } + 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.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List investigationTargetList_ = + java.util.Collections.emptyList(); + private void ensureInvestigationTargetListIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + investigationTargetList_ = new java.util.ArrayList(investigationTargetList_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTargetOrBuilder> investigationTargetListBuilder_; + + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public java.util.List getInvestigationTargetListList() { + if (investigationTargetListBuilder_ == null) { + return java.util.Collections.unmodifiableList(investigationTargetList_); + } else { + return investigationTargetListBuilder_.getMessageList(); + } + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public int getInvestigationTargetListCount() { + if (investigationTargetListBuilder_ == null) { + return investigationTargetList_.size(); + } else { + return investigationTargetListBuilder_.getCount(); + } + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget getInvestigationTargetList(int index) { + if (investigationTargetListBuilder_ == null) { + return investigationTargetList_.get(index); + } else { + return investigationTargetListBuilder_.getMessage(index); + } + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public Builder setInvestigationTargetList( + int index, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget value) { + if (investigationTargetListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.set(index, value); + onChanged(); + } else { + investigationTargetListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public Builder setInvestigationTargetList( + int index, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder builderForValue) { + if (investigationTargetListBuilder_ == null) { + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.set(index, builderForValue.build()); + onChanged(); + } else { + investigationTargetListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public Builder addInvestigationTargetList(emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget value) { + if (investigationTargetListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.add(value); + onChanged(); + } else { + investigationTargetListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public Builder addInvestigationTargetList( + int index, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget value) { + if (investigationTargetListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.add(index, value); + onChanged(); + } else { + investigationTargetListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public Builder addInvestigationTargetList( + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder builderForValue) { + if (investigationTargetListBuilder_ == null) { + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.add(builderForValue.build()); + onChanged(); + } else { + investigationTargetListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public Builder addInvestigationTargetList( + int index, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder builderForValue) { + if (investigationTargetListBuilder_ == null) { + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.add(index, builderForValue.build()); + onChanged(); + } else { + investigationTargetListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public Builder addAllInvestigationTargetList( + java.lang.Iterable values) { + if (investigationTargetListBuilder_ == null) { + ensureInvestigationTargetListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, investigationTargetList_); + onChanged(); + } else { + investigationTargetListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public Builder clearInvestigationTargetList() { + if (investigationTargetListBuilder_ == null) { + investigationTargetList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + investigationTargetListBuilder_.clear(); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public Builder removeInvestigationTargetList(int index) { + if (investigationTargetListBuilder_ == null) { + ensureInvestigationTargetListIsMutable(); + investigationTargetList_.remove(index); + onChanged(); + } else { + investigationTargetListBuilder_.remove(index); + } + return this; + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder getInvestigationTargetListBuilder( + int index) { + return getInvestigationTargetListFieldBuilder().getBuilder(index); + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTargetOrBuilder getInvestigationTargetListOrBuilder( + int index) { + if (investigationTargetListBuilder_ == null) { + return investigationTargetList_.get(index); } else { + return investigationTargetListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public java.util.List + getInvestigationTargetListOrBuilderList() { + if (investigationTargetListBuilder_ != null) { + return investigationTargetListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(investigationTargetList_); + } + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder addInvestigationTargetListBuilder() { + return getInvestigationTargetListFieldBuilder().addBuilder( + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.getDefaultInstance()); + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder addInvestigationTargetListBuilder( + int index) { + return getInvestigationTargetListFieldBuilder().addBuilder( + index, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.getDefaultInstance()); + } + /** + * repeated .InvestigationTarget investigation_target_list = 6; + */ + public java.util.List + getInvestigationTargetListBuilderList() { + return getInvestigationTargetListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTargetOrBuilder> + getInvestigationTargetListFieldBuilder() { + if (investigationTargetListBuilder_ == null) { + investigationTargetListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTarget.Builder, emu.grasscutter.net.proto.InvestigationTargetOuterClass.InvestigationTargetOrBuilder>( + investigationTargetList_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + investigationTargetList_ = null; + } + return investigationTargetListBuilder_; + } + @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:PlayerInvestigationTargetNotify) + } + + // @@protoc_insertion_point(class_scope:PlayerInvestigationTargetNotify) + private static final emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify(); + } + + public static emu.grasscutter.net.proto.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlayerInvestigationTargetNotify parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerInvestigationTargetNotify(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.PlayerInvestigationTargetNotifyOuterClass.PlayerInvestigationTargetNotify getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_PlayerInvestigationTargetNotify_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PlayerInvestigationTargetNotify_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%PlayerInvestigationTargetNotify.proto\032" + + "\031InvestigationTarget.proto\"Z\n\037PlayerInve" + + "stigationTargetNotify\0227\n\031investigation_t" + + "arget_list\030\006 \003(\0132\024.InvestigationTargetB!" + + "\n\031emu.grasscutter.net.protoZ\004/genb\006proto" + + "3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + emu.grasscutter.net.proto.InvestigationTargetOuterClass.getDescriptor(), + }); + internal_static_PlayerInvestigationTargetNotify_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_PlayerInvestigationTargetNotify_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PlayerInvestigationTargetNotify_descriptor, + new java.lang.String[] { "InvestigationTargetList", }); + emu.grasscutter.net.proto.InvestigationTargetOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/TakeInvestigationRewardReqOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/TakeInvestigationRewardReqOuterClass.java new file mode 100644 index 000000000..5cd2edf58 --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/TakeInvestigationRewardReqOuterClass.java @@ -0,0 +1,546 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: TakeInvestigationRewardReq.proto + +package emu.grasscutter.net.proto; + +public final class TakeInvestigationRewardReqOuterClass { + private TakeInvestigationRewardReqOuterClass() {} + 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 TakeInvestigationRewardReqOrBuilder extends + // @@protoc_insertion_point(interface_extends:TakeInvestigationRewardReq) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 id = 6; + * @return The id. + */ + int getId(); + } + /** + *
+   * CmdId: 1907
+   * Name: LHPFEHGIOIP
+   * 
+ * + * Protobuf type {@code TakeInvestigationRewardReq} + */ + public static final class TakeInvestigationRewardReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:TakeInvestigationRewardReq) + TakeInvestigationRewardReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use TakeInvestigationRewardReq.newBuilder() to construct. + private TakeInvestigationRewardReq(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TakeInvestigationRewardReq() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TakeInvestigationRewardReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TakeInvestigationRewardReq( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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 48: { + + id_ = input.readUInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.internal_static_TakeInvestigationRewardReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.internal_static_TakeInvestigationRewardReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq.class, emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq.Builder.class); + } + + public static final int ID_FIELD_NUMBER = 6; + private int id_; + /** + * uint32 id = 6; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + + 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 { + if (id_ != 0) { + output.writeUInt32(6, id_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (id_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(6, id_); + } + 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.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq other = (emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq) obj; + + if (getId() + != other.getId()) 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) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq 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.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq 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.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq 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.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq 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.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq 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.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq 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: 1907
+     * Name: LHPFEHGIOIP
+     * 
+ * + * Protobuf type {@code TakeInvestigationRewardReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:TakeInvestigationRewardReq) + emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReqOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.internal_static_TakeInvestigationRewardReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.internal_static_TakeInvestigationRewardReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq.class, emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + id_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.internal_static_TakeInvestigationRewardReq_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq getDefaultInstanceForType() { + return emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq build() { + emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq buildPartial() { + emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq result = new emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq(this); + result.id_ = id_; + 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.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq) { + return mergeFrom((emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq other) { + if (other == emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq.getDefaultInstance()) return this; + if (other.getId() != 0) { + setId(other.getId()); + } + 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.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int id_ ; + /** + * uint32 id = 6; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + /** + * uint32 id = 6; + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(int value) { + + id_ = value; + onChanged(); + return this; + } + /** + * uint32 id = 6; + * @return This builder for chaining. + */ + public Builder clearId() { + + id_ = 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:TakeInvestigationRewardReq) + } + + // @@protoc_insertion_point(class_scope:TakeInvestigationRewardReq) + private static final emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq(); + } + + public static emu.grasscutter.net.proto.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TakeInvestigationRewardReq parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TakeInvestigationRewardReq(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.TakeInvestigationRewardReqOuterClass.TakeInvestigationRewardReq getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_TakeInvestigationRewardReq_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_TakeInvestigationRewardReq_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 TakeInvestigationRewardReq.proto\"(\n\032Ta" + + "keInvestigationRewardReq\022\n\n\002id\030\006 \001(\rB!\n\031" + + "emu.grasscutter.net.protoZ\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_TakeInvestigationRewardReq_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_TakeInvestigationRewardReq_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_TakeInvestigationRewardReq_descriptor, + new java.lang.String[] { "Id", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/TakeInvestigationRewardRspOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/TakeInvestigationRewardRspOuterClass.java new file mode 100644 index 000000000..0c508b07f --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/TakeInvestigationRewardRspOuterClass.java @@ -0,0 +1,617 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: TakeInvestigationRewardRsp.proto + +package emu.grasscutter.net.proto; + +public final class TakeInvestigationRewardRspOuterClass { + private TakeInvestigationRewardRspOuterClass() {} + 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 TakeInvestigationRewardRspOrBuilder extends + // @@protoc_insertion_point(interface_extends:TakeInvestigationRewardRsp) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 id = 6; + * @return The id. + */ + int getId(); + + /** + * int32 retcode = 11; + * @return The retcode. + */ + int getRetcode(); + } + /** + *
+   * CmdId: 1915
+   * Name: BHNOHDDKCNG
+   * 
+ * + * Protobuf type {@code TakeInvestigationRewardRsp} + */ + public static final class TakeInvestigationRewardRsp extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:TakeInvestigationRewardRsp) + TakeInvestigationRewardRspOrBuilder { + private static final long serialVersionUID = 0L; + // Use TakeInvestigationRewardRsp.newBuilder() to construct. + private TakeInvestigationRewardRsp(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TakeInvestigationRewardRsp() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TakeInvestigationRewardRsp(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TakeInvestigationRewardRsp( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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 48: { + + id_ = input.readUInt32(); + break; + } + case 88: { + + retcode_ = input.readInt32(); + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.internal_static_TakeInvestigationRewardRsp_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.internal_static_TakeInvestigationRewardRsp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp.class, emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp.Builder.class); + } + + public static final int ID_FIELD_NUMBER = 6; + private int id_; + /** + * uint32 id = 6; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + + public static final int RETCODE_FIELD_NUMBER = 11; + private int retcode_; + /** + * int32 retcode = 11; + * @return The retcode. + */ + @java.lang.Override + public int getRetcode() { + return retcode_; + } + + 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 { + if (id_ != 0) { + output.writeUInt32(6, id_); + } + if (retcode_ != 0) { + output.writeInt32(11, retcode_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (id_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(6, id_); + } + if (retcode_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(11, retcode_); + } + 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.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp other = (emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp) obj; + + if (getId() + != other.getId()) return false; + if (getRetcode() + != other.getRetcode()) 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) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId(); + hash = (37 * hash) + RETCODE_FIELD_NUMBER; + hash = (53 * hash) + getRetcode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp 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.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp 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.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp 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.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp 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.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp 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.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp 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: 1915
+     * Name: BHNOHDDKCNG
+     * 
+ * + * Protobuf type {@code TakeInvestigationRewardRsp} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:TakeInvestigationRewardRsp) + emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRspOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.internal_static_TakeInvestigationRewardRsp_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.internal_static_TakeInvestigationRewardRsp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp.class, emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + id_ = 0; + + retcode_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.internal_static_TakeInvestigationRewardRsp_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp getDefaultInstanceForType() { + return emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp build() { + emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp buildPartial() { + emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp result = new emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp(this); + result.id_ = id_; + result.retcode_ = retcode_; + 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.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp) { + return mergeFrom((emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp other) { + if (other == emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp.getDefaultInstance()) return this; + if (other.getId() != 0) { + setId(other.getId()); + } + if (other.getRetcode() != 0) { + setRetcode(other.getRetcode()); + } + 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.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int id_ ; + /** + * uint32 id = 6; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + /** + * uint32 id = 6; + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(int value) { + + id_ = value; + onChanged(); + return this; + } + /** + * uint32 id = 6; + * @return This builder for chaining. + */ + public Builder clearId() { + + id_ = 0; + onChanged(); + return this; + } + + private int retcode_ ; + /** + * int32 retcode = 11; + * @return The retcode. + */ + @java.lang.Override + public int getRetcode() { + return retcode_; + } + /** + * int32 retcode = 11; + * @param value The retcode to set. + * @return This builder for chaining. + */ + public Builder setRetcode(int value) { + + retcode_ = value; + onChanged(); + return this; + } + /** + * int32 retcode = 11; + * @return This builder for chaining. + */ + public Builder clearRetcode() { + + retcode_ = 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:TakeInvestigationRewardRsp) + } + + // @@protoc_insertion_point(class_scope:TakeInvestigationRewardRsp) + private static final emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp(); + } + + public static emu.grasscutter.net.proto.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TakeInvestigationRewardRsp parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TakeInvestigationRewardRsp(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.TakeInvestigationRewardRspOuterClass.TakeInvestigationRewardRsp getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_TakeInvestigationRewardRsp_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_TakeInvestigationRewardRsp_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 TakeInvestigationRewardRsp.proto\"9\n\032Ta" + + "keInvestigationRewardRsp\022\n\n\002id\030\006 \001(\r\022\017\n\007" + + "retcode\030\013 \001(\005B!\n\031emu.grasscutter.net.pro" + + "toZ\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_TakeInvestigationRewardRsp_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_TakeInvestigationRewardRsp_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_TakeInvestigationRewardRsp_descriptor, + new java.lang.String[] { "Id", "Retcode", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/TakeInvestigationTargetRewardReqOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/TakeInvestigationTargetRewardReqOuterClass.java new file mode 100644 index 000000000..c00dcff15 --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/TakeInvestigationTargetRewardReqOuterClass.java @@ -0,0 +1,547 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: TakeInvestigationTargetRewardReq.proto + +package emu.grasscutter.net.proto; + +public final class TakeInvestigationTargetRewardReqOuterClass { + private TakeInvestigationTargetRewardReqOuterClass() {} + 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 TakeInvestigationTargetRewardReqOrBuilder extends + // @@protoc_insertion_point(interface_extends:TakeInvestigationTargetRewardReq) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 quest_id = 11; + * @return The questId. + */ + int getQuestId(); + } + /** + *
+   * CmdId: 1911
+   * Name: ALBAFICCGIB
+   * 
+ * + * Protobuf type {@code TakeInvestigationTargetRewardReq} + */ + public static final class TakeInvestigationTargetRewardReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:TakeInvestigationTargetRewardReq) + TakeInvestigationTargetRewardReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use TakeInvestigationTargetRewardReq.newBuilder() to construct. + private TakeInvestigationTargetRewardReq(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TakeInvestigationTargetRewardReq() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TakeInvestigationTargetRewardReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TakeInvestigationTargetRewardReq( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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 88: { + + questId_ = input.readUInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.internal_static_TakeInvestigationTargetRewardReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.internal_static_TakeInvestigationTargetRewardReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq.class, emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq.Builder.class); + } + + public static final int QUEST_ID_FIELD_NUMBER = 11; + private int questId_; + /** + * uint32 quest_id = 11; + * @return The questId. + */ + @java.lang.Override + public int getQuestId() { + return questId_; + } + + 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 { + if (questId_ != 0) { + output.writeUInt32(11, questId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (questId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(11, questId_); + } + 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.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq other = (emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq) obj; + + if (getQuestId() + != other.getQuestId()) 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) + QUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getQuestId(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq 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.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq 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.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq 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.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq 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.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq 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.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq 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: 1911
+     * Name: ALBAFICCGIB
+     * 
+ * + * Protobuf type {@code TakeInvestigationTargetRewardReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:TakeInvestigationTargetRewardReq) + emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReqOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.internal_static_TakeInvestigationTargetRewardReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.internal_static_TakeInvestigationTargetRewardReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq.class, emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + questId_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.internal_static_TakeInvestigationTargetRewardReq_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq getDefaultInstanceForType() { + return emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq build() { + emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq buildPartial() { + emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq result = new emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq(this); + result.questId_ = questId_; + 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.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq) { + return mergeFrom((emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq other) { + if (other == emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq.getDefaultInstance()) return this; + if (other.getQuestId() != 0) { + setQuestId(other.getQuestId()); + } + 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.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int questId_ ; + /** + * uint32 quest_id = 11; + * @return The questId. + */ + @java.lang.Override + public int getQuestId() { + return questId_; + } + /** + * uint32 quest_id = 11; + * @param value The questId to set. + * @return This builder for chaining. + */ + public Builder setQuestId(int value) { + + questId_ = value; + onChanged(); + return this; + } + /** + * uint32 quest_id = 11; + * @return This builder for chaining. + */ + public Builder clearQuestId() { + + questId_ = 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:TakeInvestigationTargetRewardReq) + } + + // @@protoc_insertion_point(class_scope:TakeInvestigationTargetRewardReq) + private static final emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq(); + } + + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TakeInvestigationTargetRewardReq parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TakeInvestigationTargetRewardReq(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.TakeInvestigationTargetRewardReqOuterClass.TakeInvestigationTargetRewardReq getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_TakeInvestigationTargetRewardReq_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_TakeInvestigationTargetRewardReq_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&TakeInvestigationTargetRewardReq.proto" + + "\"4\n TakeInvestigationTargetRewardReq\022\020\n\010" + + "quest_id\030\013 \001(\rB!\n\031emu.grasscutter.net.pr" + + "otoZ\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_TakeInvestigationTargetRewardReq_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_TakeInvestigationTargetRewardReq_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_TakeInvestigationTargetRewardReq_descriptor, + new java.lang.String[] { "QuestId", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/TakeInvestigationTargetRewardRspOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/TakeInvestigationTargetRewardRspOuterClass.java new file mode 100644 index 000000000..08c0d94f4 --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/TakeInvestigationTargetRewardRspOuterClass.java @@ -0,0 +1,617 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: TakeInvestigationTargetRewardRsp.proto + +package emu.grasscutter.net.proto; + +public final class TakeInvestigationTargetRewardRspOuterClass { + private TakeInvestigationTargetRewardRspOuterClass() {} + 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 TakeInvestigationTargetRewardRspOrBuilder extends + // @@protoc_insertion_point(interface_extends:TakeInvestigationTargetRewardRsp) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 quest_id = 9; + * @return The questId. + */ + int getQuestId(); + + /** + * int32 retcode = 15; + * @return The retcode. + */ + int getRetcode(); + } + /** + *
+   * CmdId: 1930
+   * Name: IHKDFEAHNJI
+   * 
+ * + * Protobuf type {@code TakeInvestigationTargetRewardRsp} + */ + public static final class TakeInvestigationTargetRewardRsp extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:TakeInvestigationTargetRewardRsp) + TakeInvestigationTargetRewardRspOrBuilder { + private static final long serialVersionUID = 0L; + // Use TakeInvestigationTargetRewardRsp.newBuilder() to construct. + private TakeInvestigationTargetRewardRsp(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TakeInvestigationTargetRewardRsp() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TakeInvestigationTargetRewardRsp(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TakeInvestigationTargetRewardRsp( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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 72: { + + questId_ = input.readUInt32(); + break; + } + case 120: { + + retcode_ = input.readInt32(); + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.internal_static_TakeInvestigationTargetRewardRsp_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.internal_static_TakeInvestigationTargetRewardRsp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp.class, emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp.Builder.class); + } + + public static final int QUEST_ID_FIELD_NUMBER = 9; + private int questId_; + /** + * uint32 quest_id = 9; + * @return The questId. + */ + @java.lang.Override + public int getQuestId() { + return questId_; + } + + public static final int RETCODE_FIELD_NUMBER = 15; + private int retcode_; + /** + * int32 retcode = 15; + * @return The retcode. + */ + @java.lang.Override + public int getRetcode() { + return retcode_; + } + + 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 { + if (questId_ != 0) { + output.writeUInt32(9, questId_); + } + if (retcode_ != 0) { + output.writeInt32(15, retcode_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (questId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(9, questId_); + } + if (retcode_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(15, retcode_); + } + 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.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp other = (emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp) obj; + + if (getQuestId() + != other.getQuestId()) return false; + if (getRetcode() + != other.getRetcode()) 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) + QUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getQuestId(); + hash = (37 * hash) + RETCODE_FIELD_NUMBER; + hash = (53 * hash) + getRetcode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp 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.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp 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.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp 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.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp 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.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp 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.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp 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: 1930
+     * Name: IHKDFEAHNJI
+     * 
+ * + * Protobuf type {@code TakeInvestigationTargetRewardRsp} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:TakeInvestigationTargetRewardRsp) + emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRspOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.internal_static_TakeInvestigationTargetRewardRsp_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.internal_static_TakeInvestigationTargetRewardRsp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp.class, emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + questId_ = 0; + + retcode_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.internal_static_TakeInvestigationTargetRewardRsp_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp getDefaultInstanceForType() { + return emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp build() { + emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp buildPartial() { + emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp result = new emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp(this); + result.questId_ = questId_; + result.retcode_ = retcode_; + 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.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp) { + return mergeFrom((emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp other) { + if (other == emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp.getDefaultInstance()) return this; + if (other.getQuestId() != 0) { + setQuestId(other.getQuestId()); + } + if (other.getRetcode() != 0) { + setRetcode(other.getRetcode()); + } + 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.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int questId_ ; + /** + * uint32 quest_id = 9; + * @return The questId. + */ + @java.lang.Override + public int getQuestId() { + return questId_; + } + /** + * uint32 quest_id = 9; + * @param value The questId to set. + * @return This builder for chaining. + */ + public Builder setQuestId(int value) { + + questId_ = value; + onChanged(); + return this; + } + /** + * uint32 quest_id = 9; + * @return This builder for chaining. + */ + public Builder clearQuestId() { + + questId_ = 0; + onChanged(); + return this; + } + + private int retcode_ ; + /** + * int32 retcode = 15; + * @return The retcode. + */ + @java.lang.Override + public int getRetcode() { + return retcode_; + } + /** + * int32 retcode = 15; + * @param value The retcode to set. + * @return This builder for chaining. + */ + public Builder setRetcode(int value) { + + retcode_ = value; + onChanged(); + return this; + } + /** + * int32 retcode = 15; + * @return This builder for chaining. + */ + public Builder clearRetcode() { + + retcode_ = 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:TakeInvestigationTargetRewardRsp) + } + + // @@protoc_insertion_point(class_scope:TakeInvestigationTargetRewardRsp) + private static final emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp(); + } + + public static emu.grasscutter.net.proto.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TakeInvestigationTargetRewardRsp parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TakeInvestigationTargetRewardRsp(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.TakeInvestigationTargetRewardRspOuterClass.TakeInvestigationTargetRewardRsp getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_TakeInvestigationTargetRewardRsp_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_TakeInvestigationTargetRewardRsp_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&TakeInvestigationTargetRewardRsp.proto" + + "\"E\n TakeInvestigationTargetRewardRsp\022\020\n\010" + + "quest_id\030\t \001(\r\022\017\n\007retcode\030\017 \001(\005B!\n\031emu.g" + + "rasscutter.net.protoZ\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_TakeInvestigationTargetRewardRsp_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_TakeInvestigationTargetRewardRsp_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_TakeInvestigationTargetRewardRsp_descriptor, + new java.lang.String[] { "QuestId", "Retcode", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/TowerBriefDataNotifyOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/TowerBriefDataNotifyOuterClass.java new file mode 100644 index 000000000..7d4ff77d5 --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/TowerBriefDataNotifyOuterClass.java @@ -0,0 +1,972 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: TowerBriefDataNotify.proto + +package emu.grasscutter.net.proto; + +public final class TowerBriefDataNotifyOuterClass { + private TowerBriefDataNotifyOuterClass() {} + 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 TowerBriefDataNotifyOrBuilder extends + // @@protoc_insertion_point(interface_extends:TowerBriefDataNotify) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 schedule_start_time = 4; + * @return The scheduleStartTime. + */ + int getScheduleStartTime(); + + /** + * uint32 total_star_num = 14; + * @return The totalStarNum. + */ + int getTotalStarNum(); + + /** + * uint32 tower_schedule_id = 1; + * @return The towerScheduleId. + */ + int getTowerScheduleId(); + + /** + * uint32 next_schedule_change_time = 8; + * @return The nextScheduleChangeTime. + */ + int getNextScheduleChangeTime(); + + /** + * bool is_finished_entrance_floor = 11; + * @return The isFinishedEntranceFloor. + */ + boolean getIsFinishedEntranceFloor(); + + /** + * uint32 last_floor_index = 6; + * @return The lastFloorIndex. + */ + int getLastFloorIndex(); + + /** + * uint32 last_level_index = 5; + * @return The lastLevelIndex. + */ + int getLastLevelIndex(); + } + /** + *
+   * CmdId: 2490
+   * Name: DOOOMKLOHOB
+   * 
+ * + * Protobuf type {@code TowerBriefDataNotify} + */ + public static final class TowerBriefDataNotify extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:TowerBriefDataNotify) + TowerBriefDataNotifyOrBuilder { + private static final long serialVersionUID = 0L; + // Use TowerBriefDataNotify.newBuilder() to construct. + private TowerBriefDataNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TowerBriefDataNotify() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TowerBriefDataNotify(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TowerBriefDataNotify( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + + towerScheduleId_ = input.readUInt32(); + break; + } + case 32: { + + scheduleStartTime_ = input.readUInt32(); + break; + } + case 40: { + + lastLevelIndex_ = input.readUInt32(); + break; + } + case 48: { + + lastFloorIndex_ = input.readUInt32(); + break; + } + case 64: { + + nextScheduleChangeTime_ = input.readUInt32(); + break; + } + case 88: { + + isFinishedEntranceFloor_ = input.readBool(); + break; + } + case 112: { + + totalStarNum_ = input.readUInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.internal_static_TowerBriefDataNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.internal_static_TowerBriefDataNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify.class, emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify.Builder.class); + } + + public static final int SCHEDULE_START_TIME_FIELD_NUMBER = 4; + private int scheduleStartTime_; + /** + * uint32 schedule_start_time = 4; + * @return The scheduleStartTime. + */ + @java.lang.Override + public int getScheduleStartTime() { + return scheduleStartTime_; + } + + public static final int TOTAL_STAR_NUM_FIELD_NUMBER = 14; + private int totalStarNum_; + /** + * uint32 total_star_num = 14; + * @return The totalStarNum. + */ + @java.lang.Override + public int getTotalStarNum() { + return totalStarNum_; + } + + public static final int TOWER_SCHEDULE_ID_FIELD_NUMBER = 1; + private int towerScheduleId_; + /** + * uint32 tower_schedule_id = 1; + * @return The towerScheduleId. + */ + @java.lang.Override + public int getTowerScheduleId() { + return towerScheduleId_; + } + + public static final int NEXT_SCHEDULE_CHANGE_TIME_FIELD_NUMBER = 8; + private int nextScheduleChangeTime_; + /** + * uint32 next_schedule_change_time = 8; + * @return The nextScheduleChangeTime. + */ + @java.lang.Override + public int getNextScheduleChangeTime() { + return nextScheduleChangeTime_; + } + + public static final int IS_FINISHED_ENTRANCE_FLOOR_FIELD_NUMBER = 11; + private boolean isFinishedEntranceFloor_; + /** + * bool is_finished_entrance_floor = 11; + * @return The isFinishedEntranceFloor. + */ + @java.lang.Override + public boolean getIsFinishedEntranceFloor() { + return isFinishedEntranceFloor_; + } + + public static final int LAST_FLOOR_INDEX_FIELD_NUMBER = 6; + private int lastFloorIndex_; + /** + * uint32 last_floor_index = 6; + * @return The lastFloorIndex. + */ + @java.lang.Override + public int getLastFloorIndex() { + return lastFloorIndex_; + } + + public static final int LAST_LEVEL_INDEX_FIELD_NUMBER = 5; + private int lastLevelIndex_; + /** + * uint32 last_level_index = 5; + * @return The lastLevelIndex. + */ + @java.lang.Override + public int getLastLevelIndex() { + return lastLevelIndex_; + } + + 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 { + if (towerScheduleId_ != 0) { + output.writeUInt32(1, towerScheduleId_); + } + if (scheduleStartTime_ != 0) { + output.writeUInt32(4, scheduleStartTime_); + } + if (lastLevelIndex_ != 0) { + output.writeUInt32(5, lastLevelIndex_); + } + if (lastFloorIndex_ != 0) { + output.writeUInt32(6, lastFloorIndex_); + } + if (nextScheduleChangeTime_ != 0) { + output.writeUInt32(8, nextScheduleChangeTime_); + } + if (isFinishedEntranceFloor_ != false) { + output.writeBool(11, isFinishedEntranceFloor_); + } + if (totalStarNum_ != 0) { + output.writeUInt32(14, totalStarNum_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (towerScheduleId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, towerScheduleId_); + } + if (scheduleStartTime_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, scheduleStartTime_); + } + if (lastLevelIndex_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, lastLevelIndex_); + } + if (lastFloorIndex_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(6, lastFloorIndex_); + } + if (nextScheduleChangeTime_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(8, nextScheduleChangeTime_); + } + if (isFinishedEntranceFloor_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, isFinishedEntranceFloor_); + } + if (totalStarNum_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(14, totalStarNum_); + } + 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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify other = (emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify) obj; + + if (getScheduleStartTime() + != other.getScheduleStartTime()) return false; + if (getTotalStarNum() + != other.getTotalStarNum()) return false; + if (getTowerScheduleId() + != other.getTowerScheduleId()) return false; + if (getNextScheduleChangeTime() + != other.getNextScheduleChangeTime()) return false; + if (getIsFinishedEntranceFloor() + != other.getIsFinishedEntranceFloor()) return false; + if (getLastFloorIndex() + != other.getLastFloorIndex()) return false; + if (getLastLevelIndex() + != other.getLastLevelIndex()) 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) + SCHEDULE_START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getScheduleStartTime(); + hash = (37 * hash) + TOTAL_STAR_NUM_FIELD_NUMBER; + hash = (53 * hash) + getTotalStarNum(); + hash = (37 * hash) + TOWER_SCHEDULE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTowerScheduleId(); + hash = (37 * hash) + NEXT_SCHEDULE_CHANGE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getNextScheduleChangeTime(); + hash = (37 * hash) + IS_FINISHED_ENTRANCE_FLOOR_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsFinishedEntranceFloor()); + hash = (37 * hash) + LAST_FLOOR_INDEX_FIELD_NUMBER; + hash = (53 * hash) + getLastFloorIndex(); + hash = (37 * hash) + LAST_LEVEL_INDEX_FIELD_NUMBER; + hash = (53 * hash) + getLastLevelIndex(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify 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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify 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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify 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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify 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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify 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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify 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: 2490
+     * Name: DOOOMKLOHOB
+     * 
+ * + * Protobuf type {@code TowerBriefDataNotify} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:TowerBriefDataNotify) + emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotifyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.internal_static_TowerBriefDataNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.internal_static_TowerBriefDataNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify.class, emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + scheduleStartTime_ = 0; + + totalStarNum_ = 0; + + towerScheduleId_ = 0; + + nextScheduleChangeTime_ = 0; + + isFinishedEntranceFloor_ = false; + + lastFloorIndex_ = 0; + + lastLevelIndex_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.internal_static_TowerBriefDataNotify_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify getDefaultInstanceForType() { + return emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify build() { + emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify buildPartial() { + emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify result = new emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify(this); + result.scheduleStartTime_ = scheduleStartTime_; + result.totalStarNum_ = totalStarNum_; + result.towerScheduleId_ = towerScheduleId_; + result.nextScheduleChangeTime_ = nextScheduleChangeTime_; + result.isFinishedEntranceFloor_ = isFinishedEntranceFloor_; + result.lastFloorIndex_ = lastFloorIndex_; + result.lastLevelIndex_ = lastLevelIndex_; + 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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify) { + return mergeFrom((emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify other) { + if (other == emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify.getDefaultInstance()) return this; + if (other.getScheduleStartTime() != 0) { + setScheduleStartTime(other.getScheduleStartTime()); + } + if (other.getTotalStarNum() != 0) { + setTotalStarNum(other.getTotalStarNum()); + } + if (other.getTowerScheduleId() != 0) { + setTowerScheduleId(other.getTowerScheduleId()); + } + if (other.getNextScheduleChangeTime() != 0) { + setNextScheduleChangeTime(other.getNextScheduleChangeTime()); + } + if (other.getIsFinishedEntranceFloor() != false) { + setIsFinishedEntranceFloor(other.getIsFinishedEntranceFloor()); + } + if (other.getLastFloorIndex() != 0) { + setLastFloorIndex(other.getLastFloorIndex()); + } + if (other.getLastLevelIndex() != 0) { + setLastLevelIndex(other.getLastLevelIndex()); + } + 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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int scheduleStartTime_ ; + /** + * uint32 schedule_start_time = 4; + * @return The scheduleStartTime. + */ + @java.lang.Override + public int getScheduleStartTime() { + return scheduleStartTime_; + } + /** + * uint32 schedule_start_time = 4; + * @param value The scheduleStartTime to set. + * @return This builder for chaining. + */ + public Builder setScheduleStartTime(int value) { + + scheduleStartTime_ = value; + onChanged(); + return this; + } + /** + * uint32 schedule_start_time = 4; + * @return This builder for chaining. + */ + public Builder clearScheduleStartTime() { + + scheduleStartTime_ = 0; + onChanged(); + return this; + } + + private int totalStarNum_ ; + /** + * uint32 total_star_num = 14; + * @return The totalStarNum. + */ + @java.lang.Override + public int getTotalStarNum() { + return totalStarNum_; + } + /** + * uint32 total_star_num = 14; + * @param value The totalStarNum to set. + * @return This builder for chaining. + */ + public Builder setTotalStarNum(int value) { + + totalStarNum_ = value; + onChanged(); + return this; + } + /** + * uint32 total_star_num = 14; + * @return This builder for chaining. + */ + public Builder clearTotalStarNum() { + + totalStarNum_ = 0; + onChanged(); + return this; + } + + private int towerScheduleId_ ; + /** + * uint32 tower_schedule_id = 1; + * @return The towerScheduleId. + */ + @java.lang.Override + public int getTowerScheduleId() { + return towerScheduleId_; + } + /** + * uint32 tower_schedule_id = 1; + * @param value The towerScheduleId to set. + * @return This builder for chaining. + */ + public Builder setTowerScheduleId(int value) { + + towerScheduleId_ = value; + onChanged(); + return this; + } + /** + * uint32 tower_schedule_id = 1; + * @return This builder for chaining. + */ + public Builder clearTowerScheduleId() { + + towerScheduleId_ = 0; + onChanged(); + return this; + } + + private int nextScheduleChangeTime_ ; + /** + * uint32 next_schedule_change_time = 8; + * @return The nextScheduleChangeTime. + */ + @java.lang.Override + public int getNextScheduleChangeTime() { + return nextScheduleChangeTime_; + } + /** + * uint32 next_schedule_change_time = 8; + * @param value The nextScheduleChangeTime to set. + * @return This builder for chaining. + */ + public Builder setNextScheduleChangeTime(int value) { + + nextScheduleChangeTime_ = value; + onChanged(); + return this; + } + /** + * uint32 next_schedule_change_time = 8; + * @return This builder for chaining. + */ + public Builder clearNextScheduleChangeTime() { + + nextScheduleChangeTime_ = 0; + onChanged(); + return this; + } + + private boolean isFinishedEntranceFloor_ ; + /** + * bool is_finished_entrance_floor = 11; + * @return The isFinishedEntranceFloor. + */ + @java.lang.Override + public boolean getIsFinishedEntranceFloor() { + return isFinishedEntranceFloor_; + } + /** + * bool is_finished_entrance_floor = 11; + * @param value The isFinishedEntranceFloor to set. + * @return This builder for chaining. + */ + public Builder setIsFinishedEntranceFloor(boolean value) { + + isFinishedEntranceFloor_ = value; + onChanged(); + return this; + } + /** + * bool is_finished_entrance_floor = 11; + * @return This builder for chaining. + */ + public Builder clearIsFinishedEntranceFloor() { + + isFinishedEntranceFloor_ = false; + onChanged(); + return this; + } + + private int lastFloorIndex_ ; + /** + * uint32 last_floor_index = 6; + * @return The lastFloorIndex. + */ + @java.lang.Override + public int getLastFloorIndex() { + return lastFloorIndex_; + } + /** + * uint32 last_floor_index = 6; + * @param value The lastFloorIndex to set. + * @return This builder for chaining. + */ + public Builder setLastFloorIndex(int value) { + + lastFloorIndex_ = value; + onChanged(); + return this; + } + /** + * uint32 last_floor_index = 6; + * @return This builder for chaining. + */ + public Builder clearLastFloorIndex() { + + lastFloorIndex_ = 0; + onChanged(); + return this; + } + + private int lastLevelIndex_ ; + /** + * uint32 last_level_index = 5; + * @return The lastLevelIndex. + */ + @java.lang.Override + public int getLastLevelIndex() { + return lastLevelIndex_; + } + /** + * uint32 last_level_index = 5; + * @param value The lastLevelIndex to set. + * @return This builder for chaining. + */ + public Builder setLastLevelIndex(int value) { + + lastLevelIndex_ = value; + onChanged(); + return this; + } + /** + * uint32 last_level_index = 5; + * @return This builder for chaining. + */ + public Builder clearLastLevelIndex() { + + lastLevelIndex_ = 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:TowerBriefDataNotify) + } + + // @@protoc_insertion_point(class_scope:TowerBriefDataNotify) + private static final emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify(); + } + + public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TowerBriefDataNotify parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TowerBriefDataNotify(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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_TowerBriefDataNotify_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_TowerBriefDataNotify_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\032TowerBriefDataNotify.proto\"\341\001\n\024TowerBr" + + "iefDataNotify\022\033\n\023schedule_start_time\030\004 \001" + + "(\r\022\026\n\016total_star_num\030\016 \001(\r\022\031\n\021tower_sche" + + "dule_id\030\001 \001(\r\022!\n\031next_schedule_change_ti" + + "me\030\010 \001(\r\022\"\n\032is_finished_entrance_floor\030\013" + + " \001(\010\022\030\n\020last_floor_index\030\006 \001(\r\022\030\n\020last_l" + + "evel_index\030\005 \001(\rB!\n\031emu.grasscutter.net." + + "protoZ\004/genb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_TowerBriefDataNotify_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_TowerBriefDataNotify_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_TowerBriefDataNotify_descriptor, + new java.lang.String[] { "ScheduleStartTime", "TotalStarNum", "TowerScheduleId", "NextScheduleChangeTime", "IsFinishedEntranceFloor", "LastFloorIndex", "LastLevelIndex", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/generated/main/java/emu/grasscutter/net/proto/WindSeedType1NotifyOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/WindSeedType1NotifyOuterClass.java new file mode 100644 index 000000000..beb690180 --- /dev/null +++ b/src/generated/main/java/emu/grasscutter/net/proto/WindSeedType1NotifyOuterClass.java @@ -0,0 +1,621 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: WindSeedType1Notify.proto + +package emu.grasscutter.net.proto; + +public final class WindSeedType1NotifyOuterClass { + private WindSeedType1NotifyOuterClass() {} + 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 WindSeedType1NotifyOrBuilder extends + // @@protoc_insertion_point(interface_extends:WindSeedType1Notify) + com.google.protobuf.MessageOrBuilder { + + /** + * bytes payload = 12; + * @return The payload. + */ + com.google.protobuf.ByteString getPayload(); + + /** + * uint32 config_id = 7; + * @return The configId. + */ + int getConfigId(); + } + /** + *
+   * CmdId: 23435
+   * Name: DKKHNGCHJHL
+   * 
+ * + * Protobuf type {@code WindSeedType1Notify} + */ + public static final class WindSeedType1Notify extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:WindSeedType1Notify) + WindSeedType1NotifyOrBuilder { + private static final long serialVersionUID = 0L; + // Use WindSeedType1Notify.newBuilder() to construct. + private WindSeedType1Notify(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WindSeedType1Notify() { + payload_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new WindSeedType1Notify(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private WindSeedType1Notify( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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 56: { + + configId_ = input.readUInt32(); + break; + } + case 98: { + + payload_ = input.readBytes(); + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.internal_static_WindSeedType1Notify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.internal_static_WindSeedType1Notify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify.class, emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify.Builder.class); + } + + public static final int PAYLOAD_FIELD_NUMBER = 12; + private com.google.protobuf.ByteString payload_; + /** + * bytes payload = 12; + * @return The payload. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPayload() { + return payload_; + } + + public static final int CONFIG_ID_FIELD_NUMBER = 7; + private int configId_; + /** + * uint32 config_id = 7; + * @return The configId. + */ + @java.lang.Override + public int getConfigId() { + return configId_; + } + + 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 { + if (configId_ != 0) { + output.writeUInt32(7, configId_); + } + if (!payload_.isEmpty()) { + output.writeBytes(12, payload_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (configId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(7, configId_); + } + if (!payload_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(12, payload_); + } + 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.WindSeedType1NotifyOuterClass.WindSeedType1Notify)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify other = (emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify) obj; + + if (!getPayload() + .equals(other.getPayload())) return false; + if (getConfigId() + != other.getConfigId()) 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) + PAYLOAD_FIELD_NUMBER; + hash = (53 * hash) + getPayload().hashCode(); + hash = (37 * hash) + CONFIG_ID_FIELD_NUMBER; + hash = (53 * hash) + getConfigId(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify 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.WindSeedType1NotifyOuterClass.WindSeedType1Notify parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify 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.WindSeedType1NotifyOuterClass.WindSeedType1Notify parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify 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.WindSeedType1NotifyOuterClass.WindSeedType1Notify parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify 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.WindSeedType1NotifyOuterClass.WindSeedType1Notify parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify 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.WindSeedType1NotifyOuterClass.WindSeedType1Notify 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: 23435
+     * Name: DKKHNGCHJHL
+     * 
+ * + * Protobuf type {@code WindSeedType1Notify} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:WindSeedType1Notify) + emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1NotifyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.internal_static_WindSeedType1Notify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.internal_static_WindSeedType1Notify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify.class, emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + payload_ = com.google.protobuf.ByteString.EMPTY; + + configId_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.internal_static_WindSeedType1Notify_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify getDefaultInstanceForType() { + return emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify build() { + emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify buildPartial() { + emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify result = new emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify(this); + result.payload_ = payload_; + result.configId_ = configId_; + 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.WindSeedType1NotifyOuterClass.WindSeedType1Notify) { + return mergeFrom((emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify other) { + if (other == emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify.getDefaultInstance()) return this; + if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) { + setPayload(other.getPayload()); + } + if (other.getConfigId() != 0) { + setConfigId(other.getConfigId()); + } + 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.WindSeedType1NotifyOuterClass.WindSeedType1Notify parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY; + /** + * bytes payload = 12; + * @return The payload. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPayload() { + return payload_; + } + /** + * bytes payload = 12; + * @param value The payload to set. + * @return This builder for chaining. + */ + public Builder setPayload(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + payload_ = value; + onChanged(); + return this; + } + /** + * bytes payload = 12; + * @return This builder for chaining. + */ + public Builder clearPayload() { + + payload_ = getDefaultInstance().getPayload(); + onChanged(); + return this; + } + + private int configId_ ; + /** + * uint32 config_id = 7; + * @return The configId. + */ + @java.lang.Override + public int getConfigId() { + return configId_; + } + /** + * uint32 config_id = 7; + * @param value The configId to set. + * @return This builder for chaining. + */ + public Builder setConfigId(int value) { + + configId_ = value; + onChanged(); + return this; + } + /** + * uint32 config_id = 7; + * @return This builder for chaining. + */ + public Builder clearConfigId() { + + configId_ = 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:WindSeedType1Notify) + } + + // @@protoc_insertion_point(class_scope:WindSeedType1Notify) + private static final emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify(); + } + + public static emu.grasscutter.net.proto.WindSeedType1NotifyOuterClass.WindSeedType1Notify getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindSeedType1Notify parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindSeedType1Notify(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.WindSeedType1NotifyOuterClass.WindSeedType1Notify getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_WindSeedType1Notify_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_WindSeedType1Notify_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\031WindSeedType1Notify.proto\"9\n\023WindSeedT" + + "ype1Notify\022\017\n\007payload\030\014 \001(\014\022\021\n\tconfig_id" + + "\030\007 \001(\rB!\n\031emu.grasscutter.net.protoZ\004/ge" + + "nb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_WindSeedType1Notify_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_WindSeedType1Notify_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_WindSeedType1Notify_descriptor, + new java.lang.String[] { "Payload", "ConfigId", }); + } + + // @@protoc_insertion_point(outer_class_scope) +}