Run Spotless on src/generated

This commit is contained in:
KingRainbow44 2023-03-31 22:32:25 -04:00
parent fc05602128
commit 6d9a81ba1c
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
1068 changed files with 1042025 additions and 974900 deletions

View File

@ -1,199 +1,175 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AbilityScalarType.proto // source: AbilityScalarType.proto
package emu.grasscutter.net.proto; package emu.grasscutter.net.proto;
public final class AbilityScalarTypeOuterClass { public final class AbilityScalarTypeOuterClass {
private AbilityScalarTypeOuterClass() {} private AbilityScalarTypeOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) { public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
public static void registerAllExtensions( registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
com.google.protobuf.ExtensionRegistry registry) { }
registerAllExtensions( /**
(com.google.protobuf.ExtensionRegistryLite) registry); *
} *
/** * <pre>
* <pre> * Name: MLNEEGJPBCO
* Name: MLNEEGJPBCO * </pre>
* </pre> *
* * Protobuf enum {@code AbilityScalarType}
* Protobuf enum {@code AbilityScalarType} */
*/ public enum AbilityScalarType implements com.google.protobuf.ProtocolMessageEnum {
public enum AbilityScalarType /** <code>ABILITY_SCALAR_TYPE_UNKNOW = 0;</code> */
implements com.google.protobuf.ProtocolMessageEnum { ABILITY_SCALAR_TYPE_UNKNOW(0),
/** /** <code>ABILITY_SCALAR_TYPE_FLOAT = 1;</code> */
* <code>ABILITY_SCALAR_TYPE_UNKNOW = 0;</code> ABILITY_SCALAR_TYPE_FLOAT(1),
*/ /** <code>ABILITY_SCALAR_TYPE_INT = 2;</code> */
ABILITY_SCALAR_TYPE_UNKNOW(0), ABILITY_SCALAR_TYPE_INT(2),
/** /** <code>ABILITY_SCALAR_TYPE_BOOL = 3;</code> */
* <code>ABILITY_SCALAR_TYPE_FLOAT = 1;</code> ABILITY_SCALAR_TYPE_BOOL(3),
*/ /** <code>ABILITY_SCALAR_TYPE_TRIGGER = 4;</code> */
ABILITY_SCALAR_TYPE_FLOAT(1), ABILITY_SCALAR_TYPE_TRIGGER(4),
/** /** <code>ABILITY_SCALAR_TYPE_STRING = 5;</code> */
* <code>ABILITY_SCALAR_TYPE_INT = 2;</code> ABILITY_SCALAR_TYPE_STRING(5),
*/ /** <code>ABILITY_SCALAR_TYPE_UINT = 6;</code> */
ABILITY_SCALAR_TYPE_INT(2), ABILITY_SCALAR_TYPE_UINT(6),
/** UNRECOGNIZED(-1),
* <code>ABILITY_SCALAR_TYPE_BOOL = 3;</code> ;
*/
ABILITY_SCALAR_TYPE_BOOL(3), /** <code>ABILITY_SCALAR_TYPE_UNKNOW = 0;</code> */
/** public static final int ABILITY_SCALAR_TYPE_UNKNOW_VALUE = 0;
* <code>ABILITY_SCALAR_TYPE_TRIGGER = 4;</code> /** <code>ABILITY_SCALAR_TYPE_FLOAT = 1;</code> */
*/ public static final int ABILITY_SCALAR_TYPE_FLOAT_VALUE = 1;
ABILITY_SCALAR_TYPE_TRIGGER(4), /** <code>ABILITY_SCALAR_TYPE_INT = 2;</code> */
/** public static final int ABILITY_SCALAR_TYPE_INT_VALUE = 2;
* <code>ABILITY_SCALAR_TYPE_STRING = 5;</code> /** <code>ABILITY_SCALAR_TYPE_BOOL = 3;</code> */
*/ public static final int ABILITY_SCALAR_TYPE_BOOL_VALUE = 3;
ABILITY_SCALAR_TYPE_STRING(5), /** <code>ABILITY_SCALAR_TYPE_TRIGGER = 4;</code> */
/** public static final int ABILITY_SCALAR_TYPE_TRIGGER_VALUE = 4;
* <code>ABILITY_SCALAR_TYPE_UINT = 6;</code> /** <code>ABILITY_SCALAR_TYPE_STRING = 5;</code> */
*/ public static final int ABILITY_SCALAR_TYPE_STRING_VALUE = 5;
ABILITY_SCALAR_TYPE_UINT(6), /** <code>ABILITY_SCALAR_TYPE_UINT = 6;</code> */
UNRECOGNIZED(-1), public static final int ABILITY_SCALAR_TYPE_UINT_VALUE = 6;
;
public final int getNumber() {
/** if (this == UNRECOGNIZED) {
* <code>ABILITY_SCALAR_TYPE_UNKNOW = 0;</code> throw new java.lang.IllegalArgumentException(
*/ "Can't get the number of an unknown enum value.");
public static final int ABILITY_SCALAR_TYPE_UNKNOW_VALUE = 0; }
/** return value;
* <code>ABILITY_SCALAR_TYPE_FLOAT = 1;</code> }
*/
public static final int ABILITY_SCALAR_TYPE_FLOAT_VALUE = 1; /**
/** * @param value The numeric wire value of the corresponding enum entry.
* <code>ABILITY_SCALAR_TYPE_INT = 2;</code> * @return The enum associated with the given numeric wire value.
*/ * @deprecated Use {@link #forNumber(int)} instead.
public static final int ABILITY_SCALAR_TYPE_INT_VALUE = 2; */
/** @java.lang.Deprecated
* <code>ABILITY_SCALAR_TYPE_BOOL = 3;</code> public static AbilityScalarType valueOf(int value) {
*/ return forNumber(value);
public static final int ABILITY_SCALAR_TYPE_BOOL_VALUE = 3; }
/**
* <code>ABILITY_SCALAR_TYPE_TRIGGER = 4;</code> /**
*/ * @param value The numeric wire value of the corresponding enum entry.
public static final int ABILITY_SCALAR_TYPE_TRIGGER_VALUE = 4; * @return The enum associated with the given numeric wire value.
/** */
* <code>ABILITY_SCALAR_TYPE_STRING = 5;</code> public static AbilityScalarType forNumber(int value) {
*/ switch (value) {
public static final int ABILITY_SCALAR_TYPE_STRING_VALUE = 5; case 0:
/** return ABILITY_SCALAR_TYPE_UNKNOW;
* <code>ABILITY_SCALAR_TYPE_UINT = 6;</code> case 1:
*/ return ABILITY_SCALAR_TYPE_FLOAT;
public static final int ABILITY_SCALAR_TYPE_UINT_VALUE = 6; case 2:
return ABILITY_SCALAR_TYPE_INT;
case 3:
public final int getNumber() { return ABILITY_SCALAR_TYPE_BOOL;
if (this == UNRECOGNIZED) { case 4:
throw new java.lang.IllegalArgumentException( return ABILITY_SCALAR_TYPE_TRIGGER;
"Can't get the number of an unknown enum value."); case 5:
} return ABILITY_SCALAR_TYPE_STRING;
return value; case 6:
} return ABILITY_SCALAR_TYPE_UINT;
default:
/** return null;
* @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.
*/ public static com.google.protobuf.Internal.EnumLiteMap<AbilityScalarType>
@java.lang.Deprecated internalGetValueMap() {
public static AbilityScalarType valueOf(int value) { return internalValueMap;
return forNumber(value); }
}
private static final com.google.protobuf.Internal.EnumLiteMap<AbilityScalarType>
/** internalValueMap =
* @param value The numeric wire value of the corresponding enum entry. new com.google.protobuf.Internal.EnumLiteMap<AbilityScalarType>() {
* @return The enum associated with the given numeric wire value. public AbilityScalarType findValueByNumber(int number) {
*/ return AbilityScalarType.forNumber(number);
public static AbilityScalarType forNumber(int value) { }
switch (value) { };
case 0: return ABILITY_SCALAR_TYPE_UNKNOW;
case 1: return ABILITY_SCALAR_TYPE_FLOAT; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
case 2: return ABILITY_SCALAR_TYPE_INT; if (this == UNRECOGNIZED) {
case 3: return ABILITY_SCALAR_TYPE_BOOL; throw new java.lang.IllegalStateException(
case 4: return ABILITY_SCALAR_TYPE_TRIGGER; "Can't get the descriptor of an unrecognized enum value.");
case 5: return ABILITY_SCALAR_TYPE_STRING; }
case 6: return ABILITY_SCALAR_TYPE_UINT; return getDescriptor().getValues().get(ordinal());
default: return null; }
}
} public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
public static com.google.protobuf.Internal.EnumLiteMap<AbilityScalarType> }
internalGetValueMap() {
return internalValueMap; public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
} return emu.grasscutter.net.proto.AbilityScalarTypeOuterClass.getDescriptor()
private static final com.google.protobuf.Internal.EnumLiteMap< .getEnumTypes()
AbilityScalarType> internalValueMap = .get(0);
new com.google.protobuf.Internal.EnumLiteMap<AbilityScalarType>() { }
public AbilityScalarType findValueByNumber(int number) {
return AbilityScalarType.forNumber(number); private static final AbilityScalarType[] VALUES = values();
}
}; public static AbilityScalarType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
public final com.google.protobuf.Descriptors.EnumValueDescriptor if (desc.getType() != getDescriptor()) {
getValueDescriptor() { throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
if (this == UNRECOGNIZED) { }
throw new java.lang.IllegalStateException( if (desc.getIndex() == -1) {
"Can't get the descriptor of an unrecognized enum value."); return UNRECOGNIZED;
} }
return getDescriptor().getValues().get(ordinal()); return VALUES[desc.getIndex()];
} }
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() { private final int value;
return getDescriptor();
} private AbilityScalarType(int value) {
public static final com.google.protobuf.Descriptors.EnumDescriptor this.value = value;
getDescriptor() { }
return emu.grasscutter.net.proto.AbilityScalarTypeOuterClass.getDescriptor().getEnumTypes().get(0);
} // @@protoc_insertion_point(enum_scope:AbilityScalarType)
}
private static final AbilityScalarType[] VALUES = values();
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
public static AbilityScalarType valueOf( return descriptor;
com.google.protobuf.Descriptors.EnumValueDescriptor desc) { }
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException( private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
"EnumValueDescriptor is not for this type.");
} static {
if (desc.getIndex() == -1) { java.lang.String[] descriptorData = {
return UNRECOGNIZED; "\n\027AbilityScalarType.proto*\354\001\n\021AbilitySca"
} + "larType\022\036\n\032ABILITY_SCALAR_TYPE_UNKNOW\020\000\022"
return VALUES[desc.getIndex()]; + "\035\n\031ABILITY_SCALAR_TYPE_FLOAT\020\001\022\033\n\027ABILIT"
} + "Y_SCALAR_TYPE_INT\020\002\022\034\n\030ABILITY_SCALAR_TY"
+ "PE_BOOL\020\003\022\037\n\033ABILITY_SCALAR_TYPE_TRIGGER"
private final int value; + "\020\004\022\036\n\032ABILITY_SCALAR_TYPE_STRING\020\005\022\034\n\030AB"
+ "ILITY_SCALAR_TYPE_UINT\020\006B\033\n\031emu.grasscut"
private AbilityScalarType(int value) { + "ter.net.protob\006proto3"
this.value = value; };
} descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
// @@protoc_insertion_point(enum_scope:AbilityScalarType) descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
} }
// @@protoc_insertion_point(outer_class_scope)
public static com.google.protobuf.Descriptors.FileDescriptor }
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\027AbilityScalarType.proto*\354\001\n\021AbilitySca" +
"larType\022\036\n\032ABILITY_SCALAR_TYPE_UNKNOW\020\000\022" +
"\035\n\031ABILITY_SCALAR_TYPE_FLOAT\020\001\022\033\n\027ABILIT" +
"Y_SCALAR_TYPE_INT\020\002\022\034\n\030ABILITY_SCALAR_TY" +
"PE_BOOL\020\003\022\037\n\033ABILITY_SCALAR_TYPE_TRIGGER" +
"\020\004\022\036\n\032ABILITY_SCALAR_TYPE_STRING\020\005\022\034\n\030AB" +
"ILITY_SCALAR_TYPE_UINT\020\006B\033\n\031emu.grasscut" +
"ter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -1,160 +1,148 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ActivityPushTipsState.proto // source: ActivityPushTipsState.proto
package emu.grasscutter.net.proto; package emu.grasscutter.net.proto;
public final class ActivityPushTipsStateOuterClass { public final class ActivityPushTipsStateOuterClass {
private ActivityPushTipsStateOuterClass() {} private ActivityPushTipsStateOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) { public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
public static void registerAllExtensions( registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
com.google.protobuf.ExtensionRegistry registry) { }
registerAllExtensions( /**
(com.google.protobuf.ExtensionRegistryLite) registry); *
} *
/** * <pre>
* <pre> * Name: POKOFBAJMFO
* Name: POKOFBAJMFO * </pre>
* </pre> *
* * Protobuf enum {@code ActivityPushTipsState}
* Protobuf enum {@code ActivityPushTipsState} */
*/ public enum ActivityPushTipsState implements com.google.protobuf.ProtocolMessageEnum {
public enum ActivityPushTipsState /** <code>ACTIVITY_PUSH_TIPS_STATE_NONE = 0;</code> */
implements com.google.protobuf.ProtocolMessageEnum { ACTIVITY_PUSH_TIPS_STATE_NONE(0),
/** /** <code>ACTIVITY_PUSH_TIPS_STATE_START = 1;</code> */
* <code>ACTIVITY_PUSH_TIPS_STATE_NONE = 0;</code> ACTIVITY_PUSH_TIPS_STATE_START(1),
*/ /** <code>ACTIVITY_PUSH_TIPS_STATE_READ = 2;</code> */
ACTIVITY_PUSH_TIPS_STATE_NONE(0), ACTIVITY_PUSH_TIPS_STATE_READ(2),
/** UNRECOGNIZED(-1),
* <code>ACTIVITY_PUSH_TIPS_STATE_START = 1;</code> ;
*/
ACTIVITY_PUSH_TIPS_STATE_START(1), /** <code>ACTIVITY_PUSH_TIPS_STATE_NONE = 0;</code> */
/** public static final int ACTIVITY_PUSH_TIPS_STATE_NONE_VALUE = 0;
* <code>ACTIVITY_PUSH_TIPS_STATE_READ = 2;</code> /** <code>ACTIVITY_PUSH_TIPS_STATE_START = 1;</code> */
*/ public static final int ACTIVITY_PUSH_TIPS_STATE_START_VALUE = 1;
ACTIVITY_PUSH_TIPS_STATE_READ(2), /** <code>ACTIVITY_PUSH_TIPS_STATE_READ = 2;</code> */
UNRECOGNIZED(-1), public static final int ACTIVITY_PUSH_TIPS_STATE_READ_VALUE = 2;
;
public final int getNumber() {
/** if (this == UNRECOGNIZED) {
* <code>ACTIVITY_PUSH_TIPS_STATE_NONE = 0;</code> throw new java.lang.IllegalArgumentException(
*/ "Can't get the number of an unknown enum value.");
public static final int ACTIVITY_PUSH_TIPS_STATE_NONE_VALUE = 0; }
/** return value;
* <code>ACTIVITY_PUSH_TIPS_STATE_START = 1;</code> }
*/
public static final int ACTIVITY_PUSH_TIPS_STATE_START_VALUE = 1; /**
/** * @param value The numeric wire value of the corresponding enum entry.
* <code>ACTIVITY_PUSH_TIPS_STATE_READ = 2;</code> * @return The enum associated with the given numeric wire value.
*/ * @deprecated Use {@link #forNumber(int)} instead.
public static final int ACTIVITY_PUSH_TIPS_STATE_READ_VALUE = 2; */
@java.lang.Deprecated
public static ActivityPushTipsState valueOf(int value) {
public final int getNumber() { return forNumber(value);
if (this == UNRECOGNIZED) { }
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value."); /**
} * @param value The numeric wire value of the corresponding enum entry.
return value; * @return The enum associated with the given numeric wire value.
} */
public static ActivityPushTipsState forNumber(int value) {
/** switch (value) {
* @param value The numeric wire value of the corresponding enum entry. case 0:
* @return The enum associated with the given numeric wire value. return ACTIVITY_PUSH_TIPS_STATE_NONE;
* @deprecated Use {@link #forNumber(int)} instead. case 1:
*/ return ACTIVITY_PUSH_TIPS_STATE_START;
@java.lang.Deprecated case 2:
public static ActivityPushTipsState valueOf(int value) { return ACTIVITY_PUSH_TIPS_STATE_READ;
return forNumber(value); default:
} return null;
}
/** }
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value. public static com.google.protobuf.Internal.EnumLiteMap<ActivityPushTipsState>
*/ internalGetValueMap() {
public static ActivityPushTipsState forNumber(int value) { return internalValueMap;
switch (value) { }
case 0: return ACTIVITY_PUSH_TIPS_STATE_NONE;
case 1: return ACTIVITY_PUSH_TIPS_STATE_START; private static final com.google.protobuf.Internal.EnumLiteMap<ActivityPushTipsState>
case 2: return ACTIVITY_PUSH_TIPS_STATE_READ; internalValueMap =
default: return null; new com.google.protobuf.Internal.EnumLiteMap<ActivityPushTipsState>() {
} public ActivityPushTipsState findValueByNumber(int number) {
} return ActivityPushTipsState.forNumber(number);
}
public static com.google.protobuf.Internal.EnumLiteMap<ActivityPushTipsState> };
internalGetValueMap() {
return internalValueMap; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
} if (this == UNRECOGNIZED) {
private static final com.google.protobuf.Internal.EnumLiteMap< throw new java.lang.IllegalStateException(
ActivityPushTipsState> internalValueMap = "Can't get the descriptor of an unrecognized enum value.");
new com.google.protobuf.Internal.EnumLiteMap<ActivityPushTipsState>() { }
public ActivityPushTipsState findValueByNumber(int number) { return getDescriptor().getValues().get(ordinal());
return ActivityPushTipsState.forNumber(number); }
}
}; public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
public final com.google.protobuf.Descriptors.EnumValueDescriptor }
getValueDescriptor() {
if (this == UNRECOGNIZED) { public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
throw new java.lang.IllegalStateException( return emu.grasscutter.net.proto.ActivityPushTipsStateOuterClass.getDescriptor()
"Can't get the descriptor of an unrecognized enum value."); .getEnumTypes()
} .get(0);
return getDescriptor().getValues().get(ordinal()); }
}
public final com.google.protobuf.Descriptors.EnumDescriptor private static final ActivityPushTipsState[] VALUES = values();
getDescriptorForType() {
return getDescriptor(); public static ActivityPushTipsState valueOf(
} com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
public static final com.google.protobuf.Descriptors.EnumDescriptor if (desc.getType() != getDescriptor()) {
getDescriptor() { throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
return emu.grasscutter.net.proto.ActivityPushTipsStateOuterClass.getDescriptor().getEnumTypes().get(0); }
} if (desc.getIndex() == -1) {
return UNRECOGNIZED;
private static final ActivityPushTipsState[] VALUES = values(); }
return VALUES[desc.getIndex()];
public static ActivityPushTipsState valueOf( }
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) { private final int value;
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type."); private ActivityPushTipsState(int value) {
} this.value = value;
if (desc.getIndex() == -1) { }
return UNRECOGNIZED;
} // @@protoc_insertion_point(enum_scope:ActivityPushTipsState)
return VALUES[desc.getIndex()]; }
}
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
private final int value; return descriptor;
}
private ActivityPushTipsState(int value) {
this.value = value; private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
}
static {
// @@protoc_insertion_point(enum_scope:ActivityPushTipsState) java.lang.String[] descriptorData = {
} "\n\033ActivityPushTipsState.proto*\201\001\n\025Activi"
+ "tyPushTipsState\022!\n\035ACTIVITY_PUSH_TIPS_ST"
+ "ATE_NONE\020\000\022\"\n\036ACTIVITY_PUSH_TIPS_STATE_S"
public static com.google.protobuf.Descriptors.FileDescriptor + "TART\020\001\022!\n\035ACTIVITY_PUSH_TIPS_STATE_READ\020"
getDescriptor() { + "\002B\033\n\031emu.grasscutter.net.protob\006proto3"
return descriptor; };
} descriptor =
private static com.google.protobuf.Descriptors.FileDescriptor com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptor; descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
static { }
java.lang.String[] descriptorData = {
"\n\033ActivityPushTipsState.proto*\201\001\n\025Activi" + // @@protoc_insertion_point(outer_class_scope)
"tyPushTipsState\022!\n\035ACTIVITY_PUSH_TIPS_ST" + }
"ATE_NONE\020\000\022\"\n\036ACTIVITY_PUSH_TIPS_STATE_S" +
"TART\020\001\022!\n\035ACTIVITY_PUSH_TIPS_STATE_READ\020" +
"\002B\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -1,180 +1,162 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AvatarExpeditionState.proto // source: AvatarExpeditionState.proto
package emu.grasscutter.net.proto; package emu.grasscutter.net.proto;
public final class AvatarExpeditionStateOuterClass { public final class AvatarExpeditionStateOuterClass {
private AvatarExpeditionStateOuterClass() {} private AvatarExpeditionStateOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) { public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
public static void registerAllExtensions( registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
com.google.protobuf.ExtensionRegistry registry) { }
registerAllExtensions( /**
(com.google.protobuf.ExtensionRegistryLite) registry); *
} *
/** * <pre>
* <pre> * Name: ALJEMELPDLN
* Name: ALJEMELPDLN * </pre>
* </pre> *
* * Protobuf enum {@code AvatarExpeditionState}
* Protobuf enum {@code AvatarExpeditionState} */
*/ public enum AvatarExpeditionState implements com.google.protobuf.ProtocolMessageEnum {
public enum AvatarExpeditionState /** <code>AVATAR_EXPEDITION_NONE = 0;</code> */
implements com.google.protobuf.ProtocolMessageEnum { AVATAR_EXPEDITION_NONE(0),
/** /** <code>AVATAR_EXPEDITION_DOING = 1;</code> */
* <code>AVATAR_EXPEDITION_NONE = 0;</code> AVATAR_EXPEDITION_DOING(1),
*/ /** <code>AVATAR_EXPEDITION_FINISH_WAIT_REWARD = 2;</code> */
AVATAR_EXPEDITION_NONE(0), AVATAR_EXPEDITION_FINISH_WAIT_REWARD(2),
/** /** <code>AVATAR_EXPEDITION_CALLBACK_WAIT_REWARD = 3;</code> */
* <code>AVATAR_EXPEDITION_DOING = 1;</code> AVATAR_EXPEDITION_CALLBACK_WAIT_REWARD(3),
*/ /** <code>AVATAR_EXPEDITION_LOCKED = 4;</code> */
AVATAR_EXPEDITION_DOING(1), AVATAR_EXPEDITION_LOCKED(4),
/** UNRECOGNIZED(-1),
* <code>AVATAR_EXPEDITION_FINISH_WAIT_REWARD = 2;</code> ;
*/
AVATAR_EXPEDITION_FINISH_WAIT_REWARD(2), /** <code>AVATAR_EXPEDITION_NONE = 0;</code> */
/** public static final int AVATAR_EXPEDITION_NONE_VALUE = 0;
* <code>AVATAR_EXPEDITION_CALLBACK_WAIT_REWARD = 3;</code> /** <code>AVATAR_EXPEDITION_DOING = 1;</code> */
*/ public static final int AVATAR_EXPEDITION_DOING_VALUE = 1;
AVATAR_EXPEDITION_CALLBACK_WAIT_REWARD(3), /** <code>AVATAR_EXPEDITION_FINISH_WAIT_REWARD = 2;</code> */
/** public static final int AVATAR_EXPEDITION_FINISH_WAIT_REWARD_VALUE = 2;
* <code>AVATAR_EXPEDITION_LOCKED = 4;</code> /** <code>AVATAR_EXPEDITION_CALLBACK_WAIT_REWARD = 3;</code> */
*/ public static final int AVATAR_EXPEDITION_CALLBACK_WAIT_REWARD_VALUE = 3;
AVATAR_EXPEDITION_LOCKED(4), /** <code>AVATAR_EXPEDITION_LOCKED = 4;</code> */
UNRECOGNIZED(-1), public static final int AVATAR_EXPEDITION_LOCKED_VALUE = 4;
;
public final int getNumber() {
/** if (this == UNRECOGNIZED) {
* <code>AVATAR_EXPEDITION_NONE = 0;</code> throw new java.lang.IllegalArgumentException(
*/ "Can't get the number of an unknown enum value.");
public static final int AVATAR_EXPEDITION_NONE_VALUE = 0; }
/** return value;
* <code>AVATAR_EXPEDITION_DOING = 1;</code> }
*/
public static final int AVATAR_EXPEDITION_DOING_VALUE = 1; /**
/** * @param value The numeric wire value of the corresponding enum entry.
* <code>AVATAR_EXPEDITION_FINISH_WAIT_REWARD = 2;</code> * @return The enum associated with the given numeric wire value.
*/ * @deprecated Use {@link #forNumber(int)} instead.
public static final int AVATAR_EXPEDITION_FINISH_WAIT_REWARD_VALUE = 2; */
/** @java.lang.Deprecated
* <code>AVATAR_EXPEDITION_CALLBACK_WAIT_REWARD = 3;</code> public static AvatarExpeditionState valueOf(int value) {
*/ return forNumber(value);
public static final int AVATAR_EXPEDITION_CALLBACK_WAIT_REWARD_VALUE = 3; }
/**
* <code>AVATAR_EXPEDITION_LOCKED = 4;</code> /**
*/ * @param value The numeric wire value of the corresponding enum entry.
public static final int AVATAR_EXPEDITION_LOCKED_VALUE = 4; * @return The enum associated with the given numeric wire value.
*/
public static AvatarExpeditionState forNumber(int value) {
public final int getNumber() { switch (value) {
if (this == UNRECOGNIZED) { case 0:
throw new java.lang.IllegalArgumentException( return AVATAR_EXPEDITION_NONE;
"Can't get the number of an unknown enum value."); case 1:
} return AVATAR_EXPEDITION_DOING;
return value; case 2:
} return AVATAR_EXPEDITION_FINISH_WAIT_REWARD;
case 3:
/** return AVATAR_EXPEDITION_CALLBACK_WAIT_REWARD;
* @param value The numeric wire value of the corresponding enum entry. case 4:
* @return The enum associated with the given numeric wire value. return AVATAR_EXPEDITION_LOCKED;
* @deprecated Use {@link #forNumber(int)} instead. default:
*/ return null;
@java.lang.Deprecated }
public static AvatarExpeditionState valueOf(int value) { }
return forNumber(value);
} public static com.google.protobuf.Internal.EnumLiteMap<AvatarExpeditionState>
internalGetValueMap() {
/** return internalValueMap;
* @param value The numeric wire value of the corresponding enum entry. }
* @return The enum associated with the given numeric wire value.
*/ private static final com.google.protobuf.Internal.EnumLiteMap<AvatarExpeditionState>
public static AvatarExpeditionState forNumber(int value) { internalValueMap =
switch (value) { new com.google.protobuf.Internal.EnumLiteMap<AvatarExpeditionState>() {
case 0: return AVATAR_EXPEDITION_NONE; public AvatarExpeditionState findValueByNumber(int number) {
case 1: return AVATAR_EXPEDITION_DOING; return AvatarExpeditionState.forNumber(number);
case 2: return AVATAR_EXPEDITION_FINISH_WAIT_REWARD; }
case 3: return AVATAR_EXPEDITION_CALLBACK_WAIT_REWARD; };
case 4: return AVATAR_EXPEDITION_LOCKED;
default: return null; 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.");
public static com.google.protobuf.Internal.EnumLiteMap<AvatarExpeditionState> }
internalGetValueMap() { return getDescriptor().getValues().get(ordinal());
return internalValueMap; }
}
private static final com.google.protobuf.Internal.EnumLiteMap< public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
AvatarExpeditionState> internalValueMap = return getDescriptor();
new com.google.protobuf.Internal.EnumLiteMap<AvatarExpeditionState>() { }
public AvatarExpeditionState findValueByNumber(int number) {
return AvatarExpeditionState.forNumber(number); public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
} return emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.getDescriptor()
}; .getEnumTypes()
.get(0);
public final com.google.protobuf.Descriptors.EnumValueDescriptor }
getValueDescriptor() {
if (this == UNRECOGNIZED) { private static final AvatarExpeditionState[] VALUES = values();
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value."); public static AvatarExpeditionState valueOf(
} com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
return getDescriptor().getValues().get(ordinal()); if (desc.getType() != getDescriptor()) {
} throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
public final com.google.protobuf.Descriptors.EnumDescriptor }
getDescriptorForType() { if (desc.getIndex() == -1) {
return getDescriptor(); return UNRECOGNIZED;
} }
public static final com.google.protobuf.Descriptors.EnumDescriptor return VALUES[desc.getIndex()];
getDescriptor() { }
return emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.getDescriptor().getEnumTypes().get(0);
} private final int value;
private static final AvatarExpeditionState[] VALUES = values(); private AvatarExpeditionState(int value) {
this.value = value;
public static AvatarExpeditionState valueOf( }
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) { // @@protoc_insertion_point(enum_scope:AvatarExpeditionState)
throw new java.lang.IllegalArgumentException( }
"EnumValueDescriptor is not for this type.");
} public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
if (desc.getIndex() == -1) { return descriptor;
return UNRECOGNIZED; }
}
return VALUES[desc.getIndex()]; private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
}
static {
private final int value; java.lang.String[] descriptorData = {
"\n\033AvatarExpeditionState.proto*\304\001\n\025Avatar"
private AvatarExpeditionState(int value) { + "ExpeditionState\022\032\n\026AVATAR_EXPEDITION_NON"
this.value = value; + "E\020\000\022\033\n\027AVATAR_EXPEDITION_DOING\020\001\022(\n$AVAT"
} + "AR_EXPEDITION_FINISH_WAIT_REWARD\020\002\022*\n&AV"
+ "ATAR_EXPEDITION_CALLBACK_WAIT_REWARD\020\003\022\034"
// @@protoc_insertion_point(enum_scope:AvatarExpeditionState) + "\n\030AVATAR_EXPEDITION_LOCKED\020\004B\033\n\031emu.gras"
} + "scutter.net.protob\006proto3"
};
descriptor =
public static com.google.protobuf.Descriptors.FileDescriptor com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
return descriptor; }
}
private static com.google.protobuf.Descriptors.FileDescriptor // @@protoc_insertion_point(outer_class_scope)
descriptor; }
static {
java.lang.String[] descriptorData = {
"\n\033AvatarExpeditionState.proto*\304\001\n\025Avatar" +
"ExpeditionState\022\032\n\026AVATAR_EXPEDITION_NON" +
"E\020\000\022\033\n\027AVATAR_EXPEDITION_DOING\020\001\022(\n$AVAT" +
"AR_EXPEDITION_FINISH_WAIT_REWARD\020\002\022*\n&AV" +
"ATAR_EXPEDITION_CALLBACK_WAIT_REWARD\020\003\022\034" +
"\n\030AVATAR_EXPEDITION_LOCKED\020\004B\033\n\031emu.gras" +
"scutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
}
// @@protoc_insertion_point(outer_class_scope)
}

Some files were not shown because too many files have changed in this diff Show More