emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grasscutter Show documentation
Show all versions of grasscutter Show documentation
A server software reimplementation for an anime game.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: FleurFairGallerySettleInfo.proto
package emu.grasscutter.net.proto;
public final class FleurFairGallerySettleInfoOuterClass {
private FleurFairGallerySettleInfoOuterClass() {}
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 FleurFairGallerySettleInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:FleurFairGallerySettleInfo)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 MLBGMECACGJ = 8;
* @return The mLBGMECACGJ.
*/
int getMLBGMECACGJ();
/**
* uint32 JJGNMPAAGEM = 3;
* @return The jJGNMPAAGEM.
*/
int getJJGNMPAAGEM();
/**
* bool is_success = 13;
* @return The isSuccess.
*/
boolean getIsSuccess();
/**
* uint32 energy = 6;
* @return The energy.
*/
int getEnergy();
/**
* map<uint32, int32> energy_stat_map = 10;
*/
int getEnergyStatMapCount();
/**
* map<uint32, int32> energy_stat_map = 10;
*/
boolean containsEnergyStatMap(
int key);
/**
* Use {@link #getEnergyStatMapMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getEnergyStatMap();
/**
* map<uint32, int32> energy_stat_map = 10;
*/
java.util.Map
getEnergyStatMapMap();
/**
* map<uint32, int32> energy_stat_map = 10;
*/
int getEnergyStatMapOrDefault(
int key,
int defaultValue);
/**
* map<uint32, int32> energy_stat_map = 10;
*/
int getEnergyStatMapOrThrow(
int key);
}
/**
*
* Obf: GKJMHDPMKHB
*
*
* Protobuf type {@code FleurFairGallerySettleInfo}
*/
public static final class FleurFairGallerySettleInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:FleurFairGallerySettleInfo)
FleurFairGallerySettleInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use FleurFairGallerySettleInfo.newBuilder() to construct.
private FleurFairGallerySettleInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FleurFairGallerySettleInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FleurFairGallerySettleInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FleurFairGallerySettleInfo(
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 24: {
jJGNMPAAGEM_ = input.readUInt32();
break;
}
case 48: {
energy_ = input.readUInt32();
break;
}
case 64: {
mLBGMECACGJ_ = input.readUInt32();
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
energyStatMap_ = com.google.protobuf.MapField.newMapField(
EnergyStatMapDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry
energyStatMap__ = input.readMessage(
EnergyStatMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
energyStatMap_.getMutableMap().put(
energyStatMap__.getKey(), energyStatMap__.getValue());
break;
}
case 104: {
isSuccess_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.internal_static_FleurFairGallerySettleInfo_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 10:
return internalGetEnergyStatMap();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.internal_static_FleurFairGallerySettleInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.class, emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.Builder.class);
}
public static final int MLBGMECACGJ_FIELD_NUMBER = 8;
private int mLBGMECACGJ_;
/**
* uint32 MLBGMECACGJ = 8;
* @return The mLBGMECACGJ.
*/
@java.lang.Override
public int getMLBGMECACGJ() {
return mLBGMECACGJ_;
}
public static final int JJGNMPAAGEM_FIELD_NUMBER = 3;
private int jJGNMPAAGEM_;
/**
* uint32 JJGNMPAAGEM = 3;
* @return The jJGNMPAAGEM.
*/
@java.lang.Override
public int getJJGNMPAAGEM() {
return jJGNMPAAGEM_;
}
public static final int IS_SUCCESS_FIELD_NUMBER = 13;
private boolean isSuccess_;
/**
* bool is_success = 13;
* @return The isSuccess.
*/
@java.lang.Override
public boolean getIsSuccess() {
return isSuccess_;
}
public static final int ENERGY_FIELD_NUMBER = 6;
private int energy_;
/**
* uint32 energy = 6;
* @return The energy.
*/
@java.lang.Override
public int getEnergy() {
return energy_;
}
public static final int ENERGY_STAT_MAP_FIELD_NUMBER = 10;
private static final class EnergyStatMapDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.Integer, java.lang.Integer> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.internal_static_FleurFairGallerySettleInfo_EnergyStatMapEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.UINT32,
0,
com.google.protobuf.WireFormat.FieldType.INT32,
0);
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> energyStatMap_;
private com.google.protobuf.MapField
internalGetEnergyStatMap() {
if (energyStatMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
EnergyStatMapDefaultEntryHolder.defaultEntry);
}
return energyStatMap_;
}
public int getEnergyStatMapCount() {
return internalGetEnergyStatMap().getMap().size();
}
/**
* map<uint32, int32> energy_stat_map = 10;
*/
@java.lang.Override
public boolean containsEnergyStatMap(
int key) {
return internalGetEnergyStatMap().getMap().containsKey(key);
}
/**
* Use {@link #getEnergyStatMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getEnergyStatMap() {
return getEnergyStatMapMap();
}
/**
* map<uint32, int32> energy_stat_map = 10;
*/
@java.lang.Override
public java.util.Map getEnergyStatMapMap() {
return internalGetEnergyStatMap().getMap();
}
/**
* map<uint32, int32> energy_stat_map = 10;
*/
@java.lang.Override
public int getEnergyStatMapOrDefault(
int key,
int defaultValue) {
java.util.Map map =
internalGetEnergyStatMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, int32> energy_stat_map = 10;
*/
@java.lang.Override
public int getEnergyStatMapOrThrow(
int key) {
java.util.Map map =
internalGetEnergyStatMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
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 (jJGNMPAAGEM_ != 0) {
output.writeUInt32(3, jJGNMPAAGEM_);
}
if (energy_ != 0) {
output.writeUInt32(6, energy_);
}
if (mLBGMECACGJ_ != 0) {
output.writeUInt32(8, mLBGMECACGJ_);
}
com.google.protobuf.GeneratedMessageV3
.serializeIntegerMapTo(
output,
internalGetEnergyStatMap(),
EnergyStatMapDefaultEntryHolder.defaultEntry,
10);
if (isSuccess_ != false) {
output.writeBool(13, isSuccess_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (jJGNMPAAGEM_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, jJGNMPAAGEM_);
}
if (energy_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, energy_);
}
if (mLBGMECACGJ_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, mLBGMECACGJ_);
}
for (java.util.Map.Entry entry
: internalGetEnergyStatMap().getMap().entrySet()) {
com.google.protobuf.MapEntry
energyStatMap__ = EnergyStatMapDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, energyStatMap__);
}
if (isSuccess_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(13, isSuccess_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo other = (emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo) obj;
if (getMLBGMECACGJ()
!= other.getMLBGMECACGJ()) return false;
if (getJJGNMPAAGEM()
!= other.getJJGNMPAAGEM()) return false;
if (getIsSuccess()
!= other.getIsSuccess()) return false;
if (getEnergy()
!= other.getEnergy()) return false;
if (!internalGetEnergyStatMap().equals(
other.internalGetEnergyStatMap())) 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) + MLBGMECACGJ_FIELD_NUMBER;
hash = (53 * hash) + getMLBGMECACGJ();
hash = (37 * hash) + JJGNMPAAGEM_FIELD_NUMBER;
hash = (53 * hash) + getJJGNMPAAGEM();
hash = (37 * hash) + IS_SUCCESS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsSuccess());
hash = (37 * hash) + ENERGY_FIELD_NUMBER;
hash = (53 * hash) + getEnergy();
if (!internalGetEnergyStatMap().getMap().isEmpty()) {
hash = (37 * hash) + ENERGY_STAT_MAP_FIELD_NUMBER;
hash = (53 * hash) + internalGetEnergyStatMap().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo 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.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo 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.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo 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.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo 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.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo 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.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo 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;
}
/**
*
* Obf: GKJMHDPMKHB
*
*
* Protobuf type {@code FleurFairGallerySettleInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:FleurFairGallerySettleInfo)
emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.internal_static_FleurFairGallerySettleInfo_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 10:
return internalGetEnergyStatMap();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 10:
return internalGetMutableEnergyStatMap();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.internal_static_FleurFairGallerySettleInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.class, emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.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();
mLBGMECACGJ_ = 0;
jJGNMPAAGEM_ = 0;
isSuccess_ = false;
energy_ = 0;
internalGetMutableEnergyStatMap().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.internal_static_FleurFairGallerySettleInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo build() {
emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo buildPartial() {
emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo result = new emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo(this);
int from_bitField0_ = bitField0_;
result.mLBGMECACGJ_ = mLBGMECACGJ_;
result.jJGNMPAAGEM_ = jJGNMPAAGEM_;
result.isSuccess_ = isSuccess_;
result.energy_ = energy_;
result.energyStatMap_ = internalGetEnergyStatMap();
result.energyStatMap_.makeImmutable();
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.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo) {
return mergeFrom((emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo other) {
if (other == emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.getDefaultInstance()) return this;
if (other.getMLBGMECACGJ() != 0) {
setMLBGMECACGJ(other.getMLBGMECACGJ());
}
if (other.getJJGNMPAAGEM() != 0) {
setJJGNMPAAGEM(other.getJJGNMPAAGEM());
}
if (other.getIsSuccess() != false) {
setIsSuccess(other.getIsSuccess());
}
if (other.getEnergy() != 0) {
setEnergy(other.getEnergy());
}
internalGetMutableEnergyStatMap().mergeFrom(
other.internalGetEnergyStatMap());
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.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int mLBGMECACGJ_ ;
/**
* uint32 MLBGMECACGJ = 8;
* @return The mLBGMECACGJ.
*/
@java.lang.Override
public int getMLBGMECACGJ() {
return mLBGMECACGJ_;
}
/**
* uint32 MLBGMECACGJ = 8;
* @param value The mLBGMECACGJ to set.
* @return This builder for chaining.
*/
public Builder setMLBGMECACGJ(int value) {
mLBGMECACGJ_ = value;
onChanged();
return this;
}
/**
* uint32 MLBGMECACGJ = 8;
* @return This builder for chaining.
*/
public Builder clearMLBGMECACGJ() {
mLBGMECACGJ_ = 0;
onChanged();
return this;
}
private int jJGNMPAAGEM_ ;
/**
* uint32 JJGNMPAAGEM = 3;
* @return The jJGNMPAAGEM.
*/
@java.lang.Override
public int getJJGNMPAAGEM() {
return jJGNMPAAGEM_;
}
/**
* uint32 JJGNMPAAGEM = 3;
* @param value The jJGNMPAAGEM to set.
* @return This builder for chaining.
*/
public Builder setJJGNMPAAGEM(int value) {
jJGNMPAAGEM_ = value;
onChanged();
return this;
}
/**
* uint32 JJGNMPAAGEM = 3;
* @return This builder for chaining.
*/
public Builder clearJJGNMPAAGEM() {
jJGNMPAAGEM_ = 0;
onChanged();
return this;
}
private boolean isSuccess_ ;
/**
* bool is_success = 13;
* @return The isSuccess.
*/
@java.lang.Override
public boolean getIsSuccess() {
return isSuccess_;
}
/**
* bool is_success = 13;
* @param value The isSuccess to set.
* @return This builder for chaining.
*/
public Builder setIsSuccess(boolean value) {
isSuccess_ = value;
onChanged();
return this;
}
/**
* bool is_success = 13;
* @return This builder for chaining.
*/
public Builder clearIsSuccess() {
isSuccess_ = false;
onChanged();
return this;
}
private int energy_ ;
/**
* uint32 energy = 6;
* @return The energy.
*/
@java.lang.Override
public int getEnergy() {
return energy_;
}
/**
* uint32 energy = 6;
* @param value The energy to set.
* @return This builder for chaining.
*/
public Builder setEnergy(int value) {
energy_ = value;
onChanged();
return this;
}
/**
* uint32 energy = 6;
* @return This builder for chaining.
*/
public Builder clearEnergy() {
energy_ = 0;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> energyStatMap_;
private com.google.protobuf.MapField
internalGetEnergyStatMap() {
if (energyStatMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
EnergyStatMapDefaultEntryHolder.defaultEntry);
}
return energyStatMap_;
}
private com.google.protobuf.MapField
internalGetMutableEnergyStatMap() {
onChanged();;
if (energyStatMap_ == null) {
energyStatMap_ = com.google.protobuf.MapField.newMapField(
EnergyStatMapDefaultEntryHolder.defaultEntry);
}
if (!energyStatMap_.isMutable()) {
energyStatMap_ = energyStatMap_.copy();
}
return energyStatMap_;
}
public int getEnergyStatMapCount() {
return internalGetEnergyStatMap().getMap().size();
}
/**
* map<uint32, int32> energy_stat_map = 10;
*/
@java.lang.Override
public boolean containsEnergyStatMap(
int key) {
return internalGetEnergyStatMap().getMap().containsKey(key);
}
/**
* Use {@link #getEnergyStatMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getEnergyStatMap() {
return getEnergyStatMapMap();
}
/**
* map<uint32, int32> energy_stat_map = 10;
*/
@java.lang.Override
public java.util.Map getEnergyStatMapMap() {
return internalGetEnergyStatMap().getMap();
}
/**
* map<uint32, int32> energy_stat_map = 10;
*/
@java.lang.Override
public int getEnergyStatMapOrDefault(
int key,
int defaultValue) {
java.util.Map map =
internalGetEnergyStatMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, int32> energy_stat_map = 10;
*/
@java.lang.Override
public int getEnergyStatMapOrThrow(
int key) {
java.util.Map map =
internalGetEnergyStatMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearEnergyStatMap() {
internalGetMutableEnergyStatMap().getMutableMap()
.clear();
return this;
}
/**
* map<uint32, int32> energy_stat_map = 10;
*/
public Builder removeEnergyStatMap(
int key) {
internalGetMutableEnergyStatMap().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableEnergyStatMap() {
return internalGetMutableEnergyStatMap().getMutableMap();
}
/**
* map<uint32, int32> energy_stat_map = 10;
*/
public Builder putEnergyStatMap(
int key,
int value) {
internalGetMutableEnergyStatMap().getMutableMap()
.put(key, value);
return this;
}
/**
* map<uint32, int32> energy_stat_map = 10;
*/
public Builder putAllEnergyStatMap(
java.util.Map values) {
internalGetMutableEnergyStatMap().getMutableMap()
.putAll(values);
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:FleurFairGallerySettleInfo)
}
// @@protoc_insertion_point(class_scope:FleurFairGallerySettleInfo)
private static final emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo();
}
public static emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FleurFairGallerySettleInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FleurFairGallerySettleInfo(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.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_FleurFairGallerySettleInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_FleurFairGallerySettleInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_FleurFairGallerySettleInfo_EnergyStatMapEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_FleurFairGallerySettleInfo_EnergyStatMapEntry_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 FleurFairGallerySettleInfo.proto\"\351\001\n\032F" +
"leurFairGallerySettleInfo\022\023\n\013MLBGMECACGJ" +
"\030\010 \001(\r\022\023\n\013JJGNMPAAGEM\030\003 \001(\r\022\022\n\nis_succes" +
"s\030\r \001(\010\022\016\n\006energy\030\006 \001(\r\022G\n\017energy_stat_m" +
"ap\030\n \003(\0132..FleurFairGallerySettleInfo.En" +
"ergyStatMapEntry\0324\n\022EnergyStatMapEntry\022\013" +
"\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\005:\0028\001B\033\n\031emu.gr" +
"asscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_FleurFairGallerySettleInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_FleurFairGallerySettleInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_FleurFairGallerySettleInfo_descriptor,
new java.lang.String[] { "MLBGMECACGJ", "JJGNMPAAGEM", "IsSuccess", "Energy", "EnergyStatMap", });
internal_static_FleurFairGallerySettleInfo_EnergyStatMapEntry_descriptor =
internal_static_FleurFairGallerySettleInfo_descriptor.getNestedTypes().get(0);
internal_static_FleurFairGallerySettleInfo_EnergyStatMapEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_FleurFairGallerySettleInfo_EnergyStatMapEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
}
// @@protoc_insertion_point(outer_class_scope)
}