mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-08 21:15:54 +08:00
1693 lines
60 KiB
Java
1693 lines
60 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GCGMsgAddDice.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class GCGMsgAddDiceOuterClass {
|
|
private GCGMsgAddDiceOuterClass() {}
|
|
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 GCGMsgAddDiceOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:GCGMsgAddDice)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>int32 change_count = 6;</code>
|
|
* @return The changeCount.
|
|
*/
|
|
int getChangeCount();
|
|
|
|
/**
|
|
* <code>.GCGReason reason = 5;</code>
|
|
* @return The enum numeric value on the wire for reason.
|
|
*/
|
|
int getReasonValue();
|
|
/**
|
|
* <code>.GCGReason reason = 5;</code>
|
|
* @return The reason.
|
|
*/
|
|
emu.grasscutter.net.proto.GCGReasonOuterClass.GCGReason getReason();
|
|
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
int getACBEOEAMOEFCount();
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
boolean containsACBEOEAMOEF(
|
|
int key);
|
|
/**
|
|
* Use {@link #getACBEOEAMOEFMap()} instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
getACBEOEAMOEF();
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
getACBEOEAMOEFMap();
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType getACBEOEAMOEFOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType defaultValue);
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType getACBEOEAMOEFOrThrow(
|
|
int key);
|
|
/**
|
|
* Use {@link #getACBEOEAMOEFValueMap()} instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getACBEOEAMOEFValue();
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getACBEOEAMOEFValueMap();
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
|
|
int getACBEOEAMOEFValueOrDefault(
|
|
int key,
|
|
int defaultValue);
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
|
|
int getACBEOEAMOEFValueOrThrow(
|
|
int key);
|
|
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
int getHLOGPOGEMKECount();
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
boolean containsHLOGPOGEMKE(
|
|
int key);
|
|
/**
|
|
* Use {@link #getHLOGPOGEMKEMap()} instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
getHLOGPOGEMKE();
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
getHLOGPOGEMKEMap();
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType getHLOGPOGEMKEOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType defaultValue);
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType getHLOGPOGEMKEOrThrow(
|
|
int key);
|
|
/**
|
|
* Use {@link #getHLOGPOGEMKEValueMap()} instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getHLOGPOGEMKEValue();
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getHLOGPOGEMKEValueMap();
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
|
|
int getHLOGPOGEMKEValueOrDefault(
|
|
int key,
|
|
int defaultValue);
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
|
|
int getHLOGPOGEMKEValueOrThrow(
|
|
int key);
|
|
|
|
/**
|
|
* <code>uint32 controller_id = 7;</code>
|
|
* @return The controllerId.
|
|
*/
|
|
int getControllerId();
|
|
}
|
|
/**
|
|
* <pre>
|
|
* Obf: DIHCMOBJACH
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code GCGMsgAddDice}
|
|
*/
|
|
public static final class GCGMsgAddDice extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:GCGMsgAddDice)
|
|
GCGMsgAddDiceOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use GCGMsgAddDice.newBuilder() to construct.
|
|
private GCGMsgAddDice(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private GCGMsgAddDice() {
|
|
reason_ = 0;
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new GCGMsgAddDice();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private GCGMsgAddDice(
|
|
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)) {
|
|
aCBEOEAMOEF_ = com.google.protobuf.MapField.newMapField(
|
|
ACBEOEAMOEFDefaultEntryHolder.defaultEntry);
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
|
|
aCBEOEAMOEF__ = input.readMessage(
|
|
ACBEOEAMOEFDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
|
|
aCBEOEAMOEF_.getMutableMap().put(
|
|
aCBEOEAMOEF__.getKey(), aCBEOEAMOEF__.getValue());
|
|
break;
|
|
}
|
|
case 40: {
|
|
int rawValue = input.readEnum();
|
|
|
|
reason_ = rawValue;
|
|
break;
|
|
}
|
|
case 48: {
|
|
|
|
changeCount_ = input.readInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
|
|
controllerId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
hLOGPOGEMKE_ = com.google.protobuf.MapField.newMapField(
|
|
HLOGPOGEMKEDefaultEntryHolder.defaultEntry);
|
|
mutable_bitField0_ |= 0x00000002;
|
|
}
|
|
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
|
|
hLOGPOGEMKE__ = input.readMessage(
|
|
HLOGPOGEMKEDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
|
|
hLOGPOGEMKE_.getMutableMap().put(
|
|
hLOGPOGEMKE__.getKey(), hLOGPOGEMKE__.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 {
|
|
this.unknownFields = unknownFields.build();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.internal_static_GCGMsgAddDice_descriptor;
|
|
}
|
|
|
|
@SuppressWarnings({"rawtypes"})
|
|
@java.lang.Override
|
|
protected com.google.protobuf.MapField internalGetMapField(
|
|
int number) {
|
|
switch (number) {
|
|
case 3:
|
|
return internalGetACBEOEAMOEF();
|
|
case 10:
|
|
return internalGetHLOGPOGEMKE();
|
|
default:
|
|
throw new RuntimeException(
|
|
"Invalid map field number: " + number);
|
|
}
|
|
}
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.internal_static_GCGMsgAddDice_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice.class, emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice.Builder.class);
|
|
}
|
|
|
|
public static final int CHANGE_COUNT_FIELD_NUMBER = 6;
|
|
private int changeCount_;
|
|
/**
|
|
* <code>int32 change_count = 6;</code>
|
|
* @return The changeCount.
|
|
*/
|
|
@java.lang.Override
|
|
public int getChangeCount() {
|
|
return changeCount_;
|
|
}
|
|
|
|
public static final int REASON_FIELD_NUMBER = 5;
|
|
private int reason_;
|
|
/**
|
|
* <code>.GCGReason reason = 5;</code>
|
|
* @return The enum numeric value on the wire for reason.
|
|
*/
|
|
@java.lang.Override public int getReasonValue() {
|
|
return reason_;
|
|
}
|
|
/**
|
|
* <code>.GCGReason reason = 5;</code>
|
|
* @return The reason.
|
|
*/
|
|
@java.lang.Override public emu.grasscutter.net.proto.GCGReasonOuterClass.GCGReason getReason() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.GCGReasonOuterClass.GCGReason result = emu.grasscutter.net.proto.GCGReasonOuterClass.GCGReason.valueOf(reason_);
|
|
return result == null ? emu.grasscutter.net.proto.GCGReasonOuterClass.GCGReason.UNRECOGNIZED : result;
|
|
}
|
|
|
|
public static final int ACBEOEAMOEF_FIELD_NUMBER = 3;
|
|
private static final class ACBEOEAMOEFDefaultEntryHolder {
|
|
static final com.google.protobuf.MapEntry<
|
|
java.lang.Integer, java.lang.Integer> defaultEntry =
|
|
com.google.protobuf.MapEntry
|
|
.<java.lang.Integer, java.lang.Integer>newDefaultInstance(
|
|
emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.internal_static_GCGMsgAddDice_ACBEOEAMOEFEntry_descriptor,
|
|
com.google.protobuf.WireFormat.FieldType.UINT32,
|
|
0,
|
|
com.google.protobuf.WireFormat.FieldType.ENUM,
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType.GCG_DICE_SIDE_INVALID.getNumber());
|
|
}
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer, java.lang.Integer> aCBEOEAMOEF_;
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
internalGetACBEOEAMOEF() {
|
|
if (aCBEOEAMOEF_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
ACBEOEAMOEFDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return aCBEOEAMOEF_;
|
|
}
|
|
private static final
|
|
com.google.protobuf.Internal.MapAdapter.Converter<
|
|
java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType> aCBEOEAMOEFValueConverter =
|
|
com.google.protobuf.Internal.MapAdapter.newEnumConverter(
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType.internalGetValueMap(),
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType.UNRECOGNIZED);
|
|
private static final java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
internalGetAdaptedACBEOEAMOEFMap(
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map) {
|
|
return new com.google.protobuf.Internal.MapAdapter<
|
|
java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType, java.lang.Integer>(
|
|
map, aCBEOEAMOEFValueConverter);
|
|
}
|
|
|
|
public int getACBEOEAMOEFCount() {
|
|
return internalGetACBEOEAMOEF().getMap().size();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
|
|
@java.lang.Override
|
|
public boolean containsACBEOEAMOEF(
|
|
int key) {
|
|
|
|
return internalGetACBEOEAMOEF().getMap().containsKey(key);
|
|
}
|
|
/**
|
|
* Use {@link #getACBEOEAMOEFMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
getACBEOEAMOEF() {
|
|
return getACBEOEAMOEFMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
getACBEOEAMOEFMap() {
|
|
return internalGetAdaptedACBEOEAMOEFMap(
|
|
internalGetACBEOEAMOEF().getMap());}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType getACBEOEAMOEFOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetACBEOEAMOEF().getMap();
|
|
return map.containsKey(key)
|
|
? aCBEOEAMOEFValueConverter.doForward(map.get(key))
|
|
: defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType getACBEOEAMOEFOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetACBEOEAMOEF().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return aCBEOEAMOEFValueConverter.doForward(map.get(key));
|
|
}
|
|
/**
|
|
* Use {@link #getACBEOEAMOEFValueMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getACBEOEAMOEFValue() {
|
|
return getACBEOEAMOEFValueMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getACBEOEAMOEFValueMap() {
|
|
return internalGetACBEOEAMOEF().getMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getACBEOEAMOEFValueOrDefault(
|
|
int key,
|
|
int defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetACBEOEAMOEF().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getACBEOEAMOEFValueOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetACBEOEAMOEF().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public static final int HLOGPOGEMKE_FIELD_NUMBER = 10;
|
|
private static final class HLOGPOGEMKEDefaultEntryHolder {
|
|
static final com.google.protobuf.MapEntry<
|
|
java.lang.Integer, java.lang.Integer> defaultEntry =
|
|
com.google.protobuf.MapEntry
|
|
.<java.lang.Integer, java.lang.Integer>newDefaultInstance(
|
|
emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.internal_static_GCGMsgAddDice_HLOGPOGEMKEEntry_descriptor,
|
|
com.google.protobuf.WireFormat.FieldType.UINT32,
|
|
0,
|
|
com.google.protobuf.WireFormat.FieldType.ENUM,
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType.GCG_DICE_SIDE_INVALID.getNumber());
|
|
}
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer, java.lang.Integer> hLOGPOGEMKE_;
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
internalGetHLOGPOGEMKE() {
|
|
if (hLOGPOGEMKE_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
HLOGPOGEMKEDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return hLOGPOGEMKE_;
|
|
}
|
|
private static final
|
|
com.google.protobuf.Internal.MapAdapter.Converter<
|
|
java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType> hLOGPOGEMKEValueConverter =
|
|
com.google.protobuf.Internal.MapAdapter.newEnumConverter(
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType.internalGetValueMap(),
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType.UNRECOGNIZED);
|
|
private static final java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
internalGetAdaptedHLOGPOGEMKEMap(
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map) {
|
|
return new com.google.protobuf.Internal.MapAdapter<
|
|
java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType, java.lang.Integer>(
|
|
map, hLOGPOGEMKEValueConverter);
|
|
}
|
|
|
|
public int getHLOGPOGEMKECount() {
|
|
return internalGetHLOGPOGEMKE().getMap().size();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
|
|
@java.lang.Override
|
|
public boolean containsHLOGPOGEMKE(
|
|
int key) {
|
|
|
|
return internalGetHLOGPOGEMKE().getMap().containsKey(key);
|
|
}
|
|
/**
|
|
* Use {@link #getHLOGPOGEMKEMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
getHLOGPOGEMKE() {
|
|
return getHLOGPOGEMKEMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
getHLOGPOGEMKEMap() {
|
|
return internalGetAdaptedHLOGPOGEMKEMap(
|
|
internalGetHLOGPOGEMKE().getMap());}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType getHLOGPOGEMKEOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetHLOGPOGEMKE().getMap();
|
|
return map.containsKey(key)
|
|
? hLOGPOGEMKEValueConverter.doForward(map.get(key))
|
|
: defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType getHLOGPOGEMKEOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetHLOGPOGEMKE().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return hLOGPOGEMKEValueConverter.doForward(map.get(key));
|
|
}
|
|
/**
|
|
* Use {@link #getHLOGPOGEMKEValueMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getHLOGPOGEMKEValue() {
|
|
return getHLOGPOGEMKEValueMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getHLOGPOGEMKEValueMap() {
|
|
return internalGetHLOGPOGEMKE().getMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getHLOGPOGEMKEValueOrDefault(
|
|
int key,
|
|
int defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetHLOGPOGEMKE().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getHLOGPOGEMKEValueOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetHLOGPOGEMKE().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public static final int CONTROLLER_ID_FIELD_NUMBER = 7;
|
|
private int controllerId_;
|
|
/**
|
|
* <code>uint32 controller_id = 7;</code>
|
|
* @return The controllerId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getControllerId() {
|
|
return controllerId_;
|
|
}
|
|
|
|
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 {
|
|
com.google.protobuf.GeneratedMessageV3
|
|
.serializeIntegerMapTo(
|
|
output,
|
|
internalGetACBEOEAMOEF(),
|
|
ACBEOEAMOEFDefaultEntryHolder.defaultEntry,
|
|
3);
|
|
if (reason_ != emu.grasscutter.net.proto.GCGReasonOuterClass.GCGReason.MNDCMMKBIBP_Default.getNumber()) {
|
|
output.writeEnum(5, reason_);
|
|
}
|
|
if (changeCount_ != 0) {
|
|
output.writeInt32(6, changeCount_);
|
|
}
|
|
if (controllerId_ != 0) {
|
|
output.writeUInt32(7, controllerId_);
|
|
}
|
|
com.google.protobuf.GeneratedMessageV3
|
|
.serializeIntegerMapTo(
|
|
output,
|
|
internalGetHLOGPOGEMKE(),
|
|
HLOGPOGEMKEDefaultEntryHolder.defaultEntry,
|
|
10);
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
|
|
: internalGetACBEOEAMOEF().getMap().entrySet()) {
|
|
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
|
|
aCBEOEAMOEF__ = ACBEOEAMOEFDefaultEntryHolder.defaultEntry.newBuilderForType()
|
|
.setKey(entry.getKey())
|
|
.setValue(entry.getValue())
|
|
.build();
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(3, aCBEOEAMOEF__);
|
|
}
|
|
if (reason_ != emu.grasscutter.net.proto.GCGReasonOuterClass.GCGReason.MNDCMMKBIBP_Default.getNumber()) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeEnumSize(5, reason_);
|
|
}
|
|
if (changeCount_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32Size(6, changeCount_);
|
|
}
|
|
if (controllerId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(7, controllerId_);
|
|
}
|
|
for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
|
|
: internalGetHLOGPOGEMKE().getMap().entrySet()) {
|
|
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
|
|
hLOGPOGEMKE__ = HLOGPOGEMKEDefaultEntryHolder.defaultEntry.newBuilderForType()
|
|
.setKey(entry.getKey())
|
|
.setValue(entry.getValue())
|
|
.build();
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(10, hLOGPOGEMKE__);
|
|
}
|
|
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.GCGMsgAddDiceOuterClass.GCGMsgAddDice)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice other = (emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice) obj;
|
|
|
|
if (getChangeCount()
|
|
!= other.getChangeCount()) return false;
|
|
if (reason_ != other.reason_) return false;
|
|
if (!internalGetACBEOEAMOEF().equals(
|
|
other.internalGetACBEOEAMOEF())) return false;
|
|
if (!internalGetHLOGPOGEMKE().equals(
|
|
other.internalGetHLOGPOGEMKE())) return false;
|
|
if (getControllerId()
|
|
!= other.getControllerId()) 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) + CHANGE_COUNT_FIELD_NUMBER;
|
|
hash = (53 * hash) + getChangeCount();
|
|
hash = (37 * hash) + REASON_FIELD_NUMBER;
|
|
hash = (53 * hash) + reason_;
|
|
if (!internalGetACBEOEAMOEF().getMap().isEmpty()) {
|
|
hash = (37 * hash) + ACBEOEAMOEF_FIELD_NUMBER;
|
|
hash = (53 * hash) + internalGetACBEOEAMOEF().hashCode();
|
|
}
|
|
if (!internalGetHLOGPOGEMKE().getMap().isEmpty()) {
|
|
hash = (37 * hash) + HLOGPOGEMKE_FIELD_NUMBER;
|
|
hash = (53 * hash) + internalGetHLOGPOGEMKE().hashCode();
|
|
}
|
|
hash = (37 * hash) + CONTROLLER_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getControllerId();
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice 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.GCGMsgAddDiceOuterClass.GCGMsgAddDice parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice 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.GCGMsgAddDiceOuterClass.GCGMsgAddDice parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice 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.GCGMsgAddDiceOuterClass.GCGMsgAddDice parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice 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.GCGMsgAddDiceOuterClass.GCGMsgAddDice parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice 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.GCGMsgAddDiceOuterClass.GCGMsgAddDice prototype) {
|
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
}
|
|
@java.lang.Override
|
|
public Builder toBuilder() {
|
|
return this == DEFAULT_INSTANCE
|
|
? new Builder() : new Builder().mergeFrom(this);
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected Builder newBuilderForType(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
Builder builder = new Builder(parent);
|
|
return builder;
|
|
}
|
|
/**
|
|
* <pre>
|
|
* Obf: DIHCMOBJACH
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code GCGMsgAddDice}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:GCGMsgAddDice)
|
|
emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDiceOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.internal_static_GCGMsgAddDice_descriptor;
|
|
}
|
|
|
|
@SuppressWarnings({"rawtypes"})
|
|
protected com.google.protobuf.MapField internalGetMapField(
|
|
int number) {
|
|
switch (number) {
|
|
case 3:
|
|
return internalGetACBEOEAMOEF();
|
|
case 10:
|
|
return internalGetHLOGPOGEMKE();
|
|
default:
|
|
throw new RuntimeException(
|
|
"Invalid map field number: " + number);
|
|
}
|
|
}
|
|
@SuppressWarnings({"rawtypes"})
|
|
protected com.google.protobuf.MapField internalGetMutableMapField(
|
|
int number) {
|
|
switch (number) {
|
|
case 3:
|
|
return internalGetMutableACBEOEAMOEF();
|
|
case 10:
|
|
return internalGetMutableHLOGPOGEMKE();
|
|
default:
|
|
throw new RuntimeException(
|
|
"Invalid map field number: " + number);
|
|
}
|
|
}
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.internal_static_GCGMsgAddDice_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice.class, emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice.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();
|
|
changeCount_ = 0;
|
|
|
|
reason_ = 0;
|
|
|
|
internalGetMutableACBEOEAMOEF().clear();
|
|
internalGetMutableHLOGPOGEMKE().clear();
|
|
controllerId_ = 0;
|
|
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.internal_static_GCGMsgAddDice_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice build() {
|
|
emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice buildPartial() {
|
|
emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice result = new emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice(this);
|
|
int from_bitField0_ = bitField0_;
|
|
result.changeCount_ = changeCount_;
|
|
result.reason_ = reason_;
|
|
result.aCBEOEAMOEF_ = internalGetACBEOEAMOEF();
|
|
result.aCBEOEAMOEF_.makeImmutable();
|
|
result.hLOGPOGEMKE_ = internalGetHLOGPOGEMKE();
|
|
result.hLOGPOGEMKE_.makeImmutable();
|
|
result.controllerId_ = controllerId_;
|
|
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.GCGMsgAddDiceOuterClass.GCGMsgAddDice) {
|
|
return mergeFrom((emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice other) {
|
|
if (other == emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice.getDefaultInstance()) return this;
|
|
if (other.getChangeCount() != 0) {
|
|
setChangeCount(other.getChangeCount());
|
|
}
|
|
if (other.reason_ != 0) {
|
|
setReasonValue(other.getReasonValue());
|
|
}
|
|
internalGetMutableACBEOEAMOEF().mergeFrom(
|
|
other.internalGetACBEOEAMOEF());
|
|
internalGetMutableHLOGPOGEMKE().mergeFrom(
|
|
other.internalGetHLOGPOGEMKE());
|
|
if (other.getControllerId() != 0) {
|
|
setControllerId(other.getControllerId());
|
|
}
|
|
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.GCGMsgAddDiceOuterClass.GCGMsgAddDice parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
private int bitField0_;
|
|
|
|
private int changeCount_ ;
|
|
/**
|
|
* <code>int32 change_count = 6;</code>
|
|
* @return The changeCount.
|
|
*/
|
|
@java.lang.Override
|
|
public int getChangeCount() {
|
|
return changeCount_;
|
|
}
|
|
/**
|
|
* <code>int32 change_count = 6;</code>
|
|
* @param value The changeCount to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setChangeCount(int value) {
|
|
|
|
changeCount_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>int32 change_count = 6;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearChangeCount() {
|
|
|
|
changeCount_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int reason_ = 0;
|
|
/**
|
|
* <code>.GCGReason reason = 5;</code>
|
|
* @return The enum numeric value on the wire for reason.
|
|
*/
|
|
@java.lang.Override public int getReasonValue() {
|
|
return reason_;
|
|
}
|
|
/**
|
|
* <code>.GCGReason reason = 5;</code>
|
|
* @param value The enum numeric value on the wire for reason to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setReasonValue(int value) {
|
|
|
|
reason_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.GCGReason reason = 5;</code>
|
|
* @return The reason.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.GCGReasonOuterClass.GCGReason getReason() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.GCGReasonOuterClass.GCGReason result = emu.grasscutter.net.proto.GCGReasonOuterClass.GCGReason.valueOf(reason_);
|
|
return result == null ? emu.grasscutter.net.proto.GCGReasonOuterClass.GCGReason.UNRECOGNIZED : result;
|
|
}
|
|
/**
|
|
* <code>.GCGReason reason = 5;</code>
|
|
* @param value The reason to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setReason(emu.grasscutter.net.proto.GCGReasonOuterClass.GCGReason value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
reason_ = value.getNumber();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.GCGReason reason = 5;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearReason() {
|
|
|
|
reason_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer, java.lang.Integer> aCBEOEAMOEF_;
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
internalGetACBEOEAMOEF() {
|
|
if (aCBEOEAMOEF_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
ACBEOEAMOEFDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return aCBEOEAMOEF_;
|
|
}
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
internalGetMutableACBEOEAMOEF() {
|
|
onChanged();;
|
|
if (aCBEOEAMOEF_ == null) {
|
|
aCBEOEAMOEF_ = com.google.protobuf.MapField.newMapField(
|
|
ACBEOEAMOEFDefaultEntryHolder.defaultEntry);
|
|
}
|
|
if (!aCBEOEAMOEF_.isMutable()) {
|
|
aCBEOEAMOEF_ = aCBEOEAMOEF_.copy();
|
|
}
|
|
return aCBEOEAMOEF_;
|
|
}
|
|
|
|
public int getACBEOEAMOEFCount() {
|
|
return internalGetACBEOEAMOEF().getMap().size();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
|
|
@java.lang.Override
|
|
public boolean containsACBEOEAMOEF(
|
|
int key) {
|
|
|
|
return internalGetACBEOEAMOEF().getMap().containsKey(key);
|
|
}
|
|
/**
|
|
* Use {@link #getACBEOEAMOEFMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
getACBEOEAMOEF() {
|
|
return getACBEOEAMOEFMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
getACBEOEAMOEFMap() {
|
|
return internalGetAdaptedACBEOEAMOEFMap(
|
|
internalGetACBEOEAMOEF().getMap());}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType getACBEOEAMOEFOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetACBEOEAMOEF().getMap();
|
|
return map.containsKey(key)
|
|
? aCBEOEAMOEFValueConverter.doForward(map.get(key))
|
|
: defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType getACBEOEAMOEFOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetACBEOEAMOEF().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return aCBEOEAMOEFValueConverter.doForward(map.get(key));
|
|
}
|
|
/**
|
|
* Use {@link #getACBEOEAMOEFValueMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getACBEOEAMOEFValue() {
|
|
return getACBEOEAMOEFValueMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getACBEOEAMOEFValueMap() {
|
|
return internalGetACBEOEAMOEF().getMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getACBEOEAMOEFValueOrDefault(
|
|
int key,
|
|
int defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetACBEOEAMOEF().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getACBEOEAMOEFValueOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetACBEOEAMOEF().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public Builder clearACBEOEAMOEF() {
|
|
internalGetMutableACBEOEAMOEF().getMutableMap()
|
|
.clear();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
|
|
public Builder removeACBEOEAMOEF(
|
|
int key) {
|
|
|
|
internalGetMutableACBEOEAMOEF().getMutableMap()
|
|
.remove(key);
|
|
return this;
|
|
}
|
|
/**
|
|
* Use alternate mutation accessors instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
getMutableACBEOEAMOEF() {
|
|
return internalGetAdaptedACBEOEAMOEFMap(
|
|
internalGetMutableACBEOEAMOEF().getMutableMap());
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
public Builder putACBEOEAMOEF(
|
|
int key,
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType value) {
|
|
|
|
if (value == null) { throw new java.lang.NullPointerException(); }
|
|
internalGetMutableACBEOEAMOEF().getMutableMap()
|
|
.put(key, aCBEOEAMOEFValueConverter.doBackward(value));
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
public Builder putAllACBEOEAMOEF(
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType> values) {
|
|
internalGetAdaptedACBEOEAMOEFMap(
|
|
internalGetMutableACBEOEAMOEF().getMutableMap())
|
|
.putAll(values);
|
|
return this;
|
|
}
|
|
/**
|
|
* Use alternate mutation accessors instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getMutableACBEOEAMOEFValue() {
|
|
return internalGetMutableACBEOEAMOEF().getMutableMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
public Builder putACBEOEAMOEFValue(
|
|
int key,
|
|
int value) {
|
|
|
|
internalGetMutableACBEOEAMOEF().getMutableMap()
|
|
.put(key, value);
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> ACBEOEAMOEF = 3;</code>
|
|
*/
|
|
public Builder putAllACBEOEAMOEFValue(
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> values) {
|
|
internalGetMutableACBEOEAMOEF().getMutableMap()
|
|
.putAll(values);
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer, java.lang.Integer> hLOGPOGEMKE_;
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
internalGetHLOGPOGEMKE() {
|
|
if (hLOGPOGEMKE_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
HLOGPOGEMKEDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return hLOGPOGEMKE_;
|
|
}
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
internalGetMutableHLOGPOGEMKE() {
|
|
onChanged();;
|
|
if (hLOGPOGEMKE_ == null) {
|
|
hLOGPOGEMKE_ = com.google.protobuf.MapField.newMapField(
|
|
HLOGPOGEMKEDefaultEntryHolder.defaultEntry);
|
|
}
|
|
if (!hLOGPOGEMKE_.isMutable()) {
|
|
hLOGPOGEMKE_ = hLOGPOGEMKE_.copy();
|
|
}
|
|
return hLOGPOGEMKE_;
|
|
}
|
|
|
|
public int getHLOGPOGEMKECount() {
|
|
return internalGetHLOGPOGEMKE().getMap().size();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
|
|
@java.lang.Override
|
|
public boolean containsHLOGPOGEMKE(
|
|
int key) {
|
|
|
|
return internalGetHLOGPOGEMKE().getMap().containsKey(key);
|
|
}
|
|
/**
|
|
* Use {@link #getHLOGPOGEMKEMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
getHLOGPOGEMKE() {
|
|
return getHLOGPOGEMKEMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
getHLOGPOGEMKEMap() {
|
|
return internalGetAdaptedHLOGPOGEMKEMap(
|
|
internalGetHLOGPOGEMKE().getMap());}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType getHLOGPOGEMKEOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetHLOGPOGEMKE().getMap();
|
|
return map.containsKey(key)
|
|
? hLOGPOGEMKEValueConverter.doForward(map.get(key))
|
|
: defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType getHLOGPOGEMKEOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetHLOGPOGEMKE().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return hLOGPOGEMKEValueConverter.doForward(map.get(key));
|
|
}
|
|
/**
|
|
* Use {@link #getHLOGPOGEMKEValueMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getHLOGPOGEMKEValue() {
|
|
return getHLOGPOGEMKEValueMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getHLOGPOGEMKEValueMap() {
|
|
return internalGetHLOGPOGEMKE().getMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getHLOGPOGEMKEValueOrDefault(
|
|
int key,
|
|
int defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetHLOGPOGEMKE().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getHLOGPOGEMKEValueOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetHLOGPOGEMKE().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public Builder clearHLOGPOGEMKE() {
|
|
internalGetMutableHLOGPOGEMKE().getMutableMap()
|
|
.clear();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
|
|
public Builder removeHLOGPOGEMKE(
|
|
int key) {
|
|
|
|
internalGetMutableHLOGPOGEMKE().getMutableMap()
|
|
.remove(key);
|
|
return this;
|
|
}
|
|
/**
|
|
* Use alternate mutation accessors instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType>
|
|
getMutableHLOGPOGEMKE() {
|
|
return internalGetAdaptedHLOGPOGEMKEMap(
|
|
internalGetMutableHLOGPOGEMKE().getMutableMap());
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
public Builder putHLOGPOGEMKE(
|
|
int key,
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType value) {
|
|
|
|
if (value == null) { throw new java.lang.NullPointerException(); }
|
|
internalGetMutableHLOGPOGEMKE().getMutableMap()
|
|
.put(key, hLOGPOGEMKEValueConverter.doBackward(value));
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
public Builder putAllHLOGPOGEMKE(
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType> values) {
|
|
internalGetAdaptedHLOGPOGEMKEMap(
|
|
internalGetMutableHLOGPOGEMKE().getMutableMap())
|
|
.putAll(values);
|
|
return this;
|
|
}
|
|
/**
|
|
* Use alternate mutation accessors instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getMutableHLOGPOGEMKEValue() {
|
|
return internalGetMutableHLOGPOGEMKE().getMutableMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
public Builder putHLOGPOGEMKEValue(
|
|
int key,
|
|
int value) {
|
|
|
|
internalGetMutableHLOGPOGEMKE().getMutableMap()
|
|
.put(key, value);
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .GCGDiceSideType> HLOGPOGEMKE = 10;</code>
|
|
*/
|
|
public Builder putAllHLOGPOGEMKEValue(
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> values) {
|
|
internalGetMutableHLOGPOGEMKE().getMutableMap()
|
|
.putAll(values);
|
|
return this;
|
|
}
|
|
|
|
private int controllerId_ ;
|
|
/**
|
|
* <code>uint32 controller_id = 7;</code>
|
|
* @return The controllerId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getControllerId() {
|
|
return controllerId_;
|
|
}
|
|
/**
|
|
* <code>uint32 controller_id = 7;</code>
|
|
* @param value The controllerId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setControllerId(int value) {
|
|
|
|
controllerId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 controller_id = 7;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearControllerId() {
|
|
|
|
controllerId_ = 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:GCGMsgAddDice)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:GCGMsgAddDice)
|
|
private static final emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<GCGMsgAddDice>
|
|
PARSER = new com.google.protobuf.AbstractParser<GCGMsgAddDice>() {
|
|
@java.lang.Override
|
|
public GCGMsgAddDice parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new GCGMsgAddDice(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<GCGMsgAddDice> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<GCGMsgAddDice> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.GCGMsgAddDiceOuterClass.GCGMsgAddDice getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_GCGMsgAddDice_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_GCGMsgAddDice_fieldAccessorTable;
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_GCGMsgAddDice_ACBEOEAMOEFEntry_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_GCGMsgAddDice_ACBEOEAMOEFEntry_fieldAccessorTable;
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_GCGMsgAddDice_HLOGPOGEMKEEntry_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_GCGMsgAddDice_HLOGPOGEMKEEntry_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\023GCGMsgAddDice.proto\032\017GCGReason.proto\032\025" +
|
|
"GCGDiceSideType.proto\"\320\002\n\rGCGMsgAddDice\022" +
|
|
"\024\n\014change_count\030\006 \001(\005\022\032\n\006reason\030\005 \001(\0162\n." +
|
|
"GCGReason\0224\n\013ACBEOEAMOEF\030\003 \003(\0132\037.GCGMsgA" +
|
|
"ddDice.ACBEOEAMOEFEntry\0224\n\013HLOGPOGEMKE\030\n" +
|
|
" \003(\0132\037.GCGMsgAddDice.HLOGPOGEMKEEntry\022\025\n" +
|
|
"\rcontroller_id\030\007 \001(\r\032D\n\020ACBEOEAMOEFEntry" +
|
|
"\022\013\n\003key\030\001 \001(\r\022\037\n\005value\030\002 \001(\0162\020.GCGDiceSi" +
|
|
"deType:\0028\001\032D\n\020HLOGPOGEMKEEntry\022\013\n\003key\030\001 " +
|
|
"\001(\r\022\037\n\005value\030\002 \001(\0162\020.GCGDiceSideType:\0028\001" +
|
|
"B\033\n\031emu.grasscutter.net.protob\006proto3"
|
|
};
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.GCGReasonOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.getDescriptor(),
|
|
});
|
|
internal_static_GCGMsgAddDice_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_GCGMsgAddDice_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_GCGMsgAddDice_descriptor,
|
|
new java.lang.String[] { "ChangeCount", "Reason", "ACBEOEAMOEF", "HLOGPOGEMKE", "ControllerId", });
|
|
internal_static_GCGMsgAddDice_ACBEOEAMOEFEntry_descriptor =
|
|
internal_static_GCGMsgAddDice_descriptor.getNestedTypes().get(0);
|
|
internal_static_GCGMsgAddDice_ACBEOEAMOEFEntry_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_GCGMsgAddDice_ACBEOEAMOEFEntry_descriptor,
|
|
new java.lang.String[] { "Key", "Value", });
|
|
internal_static_GCGMsgAddDice_HLOGPOGEMKEEntry_descriptor =
|
|
internal_static_GCGMsgAddDice_descriptor.getNestedTypes().get(1);
|
|
internal_static_GCGMsgAddDice_HLOGPOGEMKEEntry_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_GCGMsgAddDice_HLOGPOGEMKEEntry_descriptor,
|
|
new java.lang.String[] { "Key", "Value", });
|
|
emu.grasscutter.net.proto.GCGReasonOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|