getBallCatchCountMapMap();
/**
* map<uint32, uint32> ball_catch_count_map = 7;
*/
int getBallCatchCountMapOrDefault(
int key,
int defaultValue);
/**
* map<uint32, uint32> ball_catch_count_map = 7;
*/
int getBallCatchCountMapOrThrow(
int key);
/**
* uint32 add_score = 1;
* @return The addScore.
*/
int getAddScore();
}
/**
*
* CmdId: 25177
* Obf: IGFPHNOGKDB
*
*
* Protobuf type {@code GalleryFallCatchNotify}
*/
public static final class GalleryFallCatchNotify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GalleryFallCatchNotify)
GalleryFallCatchNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use GalleryFallCatchNotify.newBuilder() to construct.
private GalleryFallCatchNotify(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GalleryFallCatchNotify() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GalleryFallCatchNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GalleryFallCatchNotify(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
addScore_ = input.readUInt32();
break;
}
case 32: {
curScore_ = input.readUInt32();
break;
}
case 40: {
galleryId_ = input.readUInt32();
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
ballCatchCountMap_ = com.google.protobuf.MapField.newMapField(
BallCatchCountMapDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry
ballCatchCountMap__ = input.readMessage(
BallCatchCountMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
ballCatchCountMap_.getMutableMap().put(
ballCatchCountMap__.getKey(), ballCatchCountMap__.getValue());
break;
}
case 96: {
timeCost_ = input.readUInt32();
break;
}
case 120: {
isGround_ = 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.GalleryFallCatchNotifyOuterClass.internal_static_GalleryFallCatchNotify_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 7:
return internalGetBallCatchCountMap();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.internal_static_GalleryFallCatchNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify.class, emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify.Builder.class);
}
public static final int IS_GROUND_FIELD_NUMBER = 15;
private boolean isGround_;
/**
* bool is_ground = 15;
* @return The isGround.
*/
@java.lang.Override
public boolean getIsGround() {
return isGround_;
}
public static final int CUR_SCORE_FIELD_NUMBER = 4;
private int curScore_;
/**
* uint32 cur_score = 4;
* @return The curScore.
*/
@java.lang.Override
public int getCurScore() {
return curScore_;
}
public static final int GALLERY_ID_FIELD_NUMBER = 5;
private int galleryId_;
/**
* uint32 gallery_id = 5;
* @return The galleryId.
*/
@java.lang.Override
public int getGalleryId() {
return galleryId_;
}
public static final int TIME_COST_FIELD_NUMBER = 12;
private int timeCost_;
/**
* uint32 time_cost = 12;
* @return The timeCost.
*/
@java.lang.Override
public int getTimeCost() {
return timeCost_;
}
public static final int BALL_CATCH_COUNT_MAP_FIELD_NUMBER = 7;
private static final class BallCatchCountMapDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.Integer, java.lang.Integer> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.internal_static_GalleryFallCatchNotify_BallCatchCountMapEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.UINT32,
0,
com.google.protobuf.WireFormat.FieldType.UINT32,
0);
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> ballCatchCountMap_;
private com.google.protobuf.MapField
internalGetBallCatchCountMap() {
if (ballCatchCountMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
BallCatchCountMapDefaultEntryHolder.defaultEntry);
}
return ballCatchCountMap_;
}
public int getBallCatchCountMapCount() {
return internalGetBallCatchCountMap().getMap().size();
}
/**
* map<uint32, uint32> ball_catch_count_map = 7;
*/
@java.lang.Override
public boolean containsBallCatchCountMap(
int key) {
return internalGetBallCatchCountMap().getMap().containsKey(key);
}
/**
* Use {@link #getBallCatchCountMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getBallCatchCountMap() {
return getBallCatchCountMapMap();
}
/**
* map<uint32, uint32> ball_catch_count_map = 7;
*/
@java.lang.Override
public java.util.Map getBallCatchCountMapMap() {
return internalGetBallCatchCountMap().getMap();
}
/**
* map<uint32, uint32> ball_catch_count_map = 7;
*/
@java.lang.Override
public int getBallCatchCountMapOrDefault(
int key,
int defaultValue) {
java.util.Map map =
internalGetBallCatchCountMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, uint32> ball_catch_count_map = 7;
*/
@java.lang.Override
public int getBallCatchCountMapOrThrow(
int key) {
java.util.Map map =
internalGetBallCatchCountMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int ADD_SCORE_FIELD_NUMBER = 1;
private int addScore_;
/**
* uint32 add_score = 1;
* @return The addScore.
*/
@java.lang.Override
public int getAddScore() {
return addScore_;
}
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 (addScore_ != 0) {
output.writeUInt32(1, addScore_);
}
if (curScore_ != 0) {
output.writeUInt32(4, curScore_);
}
if (galleryId_ != 0) {
output.writeUInt32(5, galleryId_);
}
com.google.protobuf.GeneratedMessageV3
.serializeIntegerMapTo(
output,
internalGetBallCatchCountMap(),
BallCatchCountMapDefaultEntryHolder.defaultEntry,
7);
if (timeCost_ != 0) {
output.writeUInt32(12, timeCost_);
}
if (isGround_ != false) {
output.writeBool(15, isGround_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (addScore_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, addScore_);
}
if (curScore_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, curScore_);
}
if (galleryId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, galleryId_);
}
for (java.util.Map.Entry entry
: internalGetBallCatchCountMap().getMap().entrySet()) {
com.google.protobuf.MapEntry
ballCatchCountMap__ = BallCatchCountMapDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, ballCatchCountMap__);
}
if (timeCost_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, timeCost_);
}
if (isGround_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(15, isGround_);
}
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.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify other = (emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify) obj;
if (getIsGround()
!= other.getIsGround()) return false;
if (getCurScore()
!= other.getCurScore()) return false;
if (getGalleryId()
!= other.getGalleryId()) return false;
if (getTimeCost()
!= other.getTimeCost()) return false;
if (!internalGetBallCatchCountMap().equals(
other.internalGetBallCatchCountMap())) return false;
if (getAddScore()
!= other.getAddScore()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + IS_GROUND_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsGround());
hash = (37 * hash) + CUR_SCORE_FIELD_NUMBER;
hash = (53 * hash) + getCurScore();
hash = (37 * hash) + GALLERY_ID_FIELD_NUMBER;
hash = (53 * hash) + getGalleryId();
hash = (37 * hash) + TIME_COST_FIELD_NUMBER;
hash = (53 * hash) + getTimeCost();
if (!internalGetBallCatchCountMap().getMap().isEmpty()) {
hash = (37 * hash) + BALL_CATCH_COUNT_MAP_FIELD_NUMBER;
hash = (53 * hash) + internalGetBallCatchCountMap().hashCode();
}
hash = (37 * hash) + ADD_SCORE_FIELD_NUMBER;
hash = (53 * hash) + getAddScore();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify 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.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify 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.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify 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.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify 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.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify 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.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* CmdId: 25177
* Obf: IGFPHNOGKDB
*
*
* Protobuf type {@code GalleryFallCatchNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GalleryFallCatchNotify)
emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.internal_static_GalleryFallCatchNotify_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 7:
return internalGetBallCatchCountMap();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 7:
return internalGetMutableBallCatchCountMap();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.internal_static_GalleryFallCatchNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify.class, emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify.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();
isGround_ = false;
curScore_ = 0;
galleryId_ = 0;
timeCost_ = 0;
internalGetMutableBallCatchCountMap().clear();
addScore_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.internal_static_GalleryFallCatchNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify build() {
emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify buildPartial() {
emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify result = new emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify(this);
int from_bitField0_ = bitField0_;
result.isGround_ = isGround_;
result.curScore_ = curScore_;
result.galleryId_ = galleryId_;
result.timeCost_ = timeCost_;
result.ballCatchCountMap_ = internalGetBallCatchCountMap();
result.ballCatchCountMap_.makeImmutable();
result.addScore_ = addScore_;
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.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify) {
return mergeFrom((emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify other) {
if (other == emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify.getDefaultInstance()) return this;
if (other.getIsGround() != false) {
setIsGround(other.getIsGround());
}
if (other.getCurScore() != 0) {
setCurScore(other.getCurScore());
}
if (other.getGalleryId() != 0) {
setGalleryId(other.getGalleryId());
}
if (other.getTimeCost() != 0) {
setTimeCost(other.getTimeCost());
}
internalGetMutableBallCatchCountMap().mergeFrom(
other.internalGetBallCatchCountMap());
if (other.getAddScore() != 0) {
setAddScore(other.getAddScore());
}
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.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean isGround_ ;
/**
* bool is_ground = 15;
* @return The isGround.
*/
@java.lang.Override
public boolean getIsGround() {
return isGround_;
}
/**
* bool is_ground = 15;
* @param value The isGround to set.
* @return This builder for chaining.
*/
public Builder setIsGround(boolean value) {
isGround_ = value;
onChanged();
return this;
}
/**
* bool is_ground = 15;
* @return This builder for chaining.
*/
public Builder clearIsGround() {
isGround_ = false;
onChanged();
return this;
}
private int curScore_ ;
/**
* uint32 cur_score = 4;
* @return The curScore.
*/
@java.lang.Override
public int getCurScore() {
return curScore_;
}
/**
* uint32 cur_score = 4;
* @param value The curScore to set.
* @return This builder for chaining.
*/
public Builder setCurScore(int value) {
curScore_ = value;
onChanged();
return this;
}
/**
* uint32 cur_score = 4;
* @return This builder for chaining.
*/
public Builder clearCurScore() {
curScore_ = 0;
onChanged();
return this;
}
private int galleryId_ ;
/**
* uint32 gallery_id = 5;
* @return The galleryId.
*/
@java.lang.Override
public int getGalleryId() {
return galleryId_;
}
/**
* uint32 gallery_id = 5;
* @param value The galleryId to set.
* @return This builder for chaining.
*/
public Builder setGalleryId(int value) {
galleryId_ = value;
onChanged();
return this;
}
/**
* uint32 gallery_id = 5;
* @return This builder for chaining.
*/
public Builder clearGalleryId() {
galleryId_ = 0;
onChanged();
return this;
}
private int timeCost_ ;
/**
* uint32 time_cost = 12;
* @return The timeCost.
*/
@java.lang.Override
public int getTimeCost() {
return timeCost_;
}
/**
* uint32 time_cost = 12;
* @param value The timeCost to set.
* @return This builder for chaining.
*/
public Builder setTimeCost(int value) {
timeCost_ = value;
onChanged();
return this;
}
/**
* uint32 time_cost = 12;
* @return This builder for chaining.
*/
public Builder clearTimeCost() {
timeCost_ = 0;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> ballCatchCountMap_;
private com.google.protobuf.MapField
internalGetBallCatchCountMap() {
if (ballCatchCountMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
BallCatchCountMapDefaultEntryHolder.defaultEntry);
}
return ballCatchCountMap_;
}
private com.google.protobuf.MapField
internalGetMutableBallCatchCountMap() {
onChanged();;
if (ballCatchCountMap_ == null) {
ballCatchCountMap_ = com.google.protobuf.MapField.newMapField(
BallCatchCountMapDefaultEntryHolder.defaultEntry);
}
if (!ballCatchCountMap_.isMutable()) {
ballCatchCountMap_ = ballCatchCountMap_.copy();
}
return ballCatchCountMap_;
}
public int getBallCatchCountMapCount() {
return internalGetBallCatchCountMap().getMap().size();
}
/**
* map<uint32, uint32> ball_catch_count_map = 7;
*/
@java.lang.Override
public boolean containsBallCatchCountMap(
int key) {
return internalGetBallCatchCountMap().getMap().containsKey(key);
}
/**
* Use {@link #getBallCatchCountMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getBallCatchCountMap() {
return getBallCatchCountMapMap();
}
/**
* map<uint32, uint32> ball_catch_count_map = 7;
*/
@java.lang.Override
public java.util.Map getBallCatchCountMapMap() {
return internalGetBallCatchCountMap().getMap();
}
/**
* map<uint32, uint32> ball_catch_count_map = 7;
*/
@java.lang.Override
public int getBallCatchCountMapOrDefault(
int key,
int defaultValue) {
java.util.Map map =
internalGetBallCatchCountMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, uint32> ball_catch_count_map = 7;
*/
@java.lang.Override
public int getBallCatchCountMapOrThrow(
int key) {
java.util.Map map =
internalGetBallCatchCountMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearBallCatchCountMap() {
internalGetMutableBallCatchCountMap().getMutableMap()
.clear();
return this;
}
/**
* map<uint32, uint32> ball_catch_count_map = 7;
*/
public Builder removeBallCatchCountMap(
int key) {
internalGetMutableBallCatchCountMap().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableBallCatchCountMap() {
return internalGetMutableBallCatchCountMap().getMutableMap();
}
/**
* map<uint32, uint32> ball_catch_count_map = 7;
*/
public Builder putBallCatchCountMap(
int key,
int value) {
internalGetMutableBallCatchCountMap().getMutableMap()
.put(key, value);
return this;
}
/**
* map<uint32, uint32> ball_catch_count_map = 7;
*/
public Builder putAllBallCatchCountMap(
java.util.Map values) {
internalGetMutableBallCatchCountMap().getMutableMap()
.putAll(values);
return this;
}
private int addScore_ ;
/**
* uint32 add_score = 1;
* @return The addScore.
*/
@java.lang.Override
public int getAddScore() {
return addScore_;
}
/**
* uint32 add_score = 1;
* @param value The addScore to set.
* @return This builder for chaining.
*/
public Builder setAddScore(int value) {
addScore_ = value;
onChanged();
return this;
}
/**
* uint32 add_score = 1;
* @return This builder for chaining.
*/
public Builder clearAddScore() {
addScore_ = 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:GalleryFallCatchNotify)
}
// @@protoc_insertion_point(class_scope:GalleryFallCatchNotify)
private static final emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify();
}
public static emu.grasscutter.net.proto.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GalleryFallCatchNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GalleryFallCatchNotify(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.GalleryFallCatchNotifyOuterClass.GalleryFallCatchNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GalleryFallCatchNotify_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GalleryFallCatchNotify_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GalleryFallCatchNotify_BallCatchCountMapEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GalleryFallCatchNotify_BallCatchCountMapEntry_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\034GalleryFallCatchNotify.proto\"\200\002\n\026Galle" +
"ryFallCatchNotify\022\021\n\tis_ground\030\017 \001(\010\022\021\n\t" +
"cur_score\030\004 \001(\r\022\022\n\ngallery_id\030\005 \001(\r\022\021\n\tt" +
"ime_cost\030\014 \001(\r\022L\n\024ball_catch_count_map\030\007" +
" \003(\0132..GalleryFallCatchNotify.BallCatchC" +
"ountMapEntry\022\021\n\tadd_score\030\001 \001(\r\0328\n\026BallC" +
"atchCountMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030" +
"\002 \001(\r:\0028\001B\033\n\031emu.grasscutter.net.protob\006" +
"proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_GalleryFallCatchNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_GalleryFallCatchNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GalleryFallCatchNotify_descriptor,
new java.lang.String[] { "IsGround", "CurScore", "GalleryId", "TimeCost", "BallCatchCountMap", "AddScore", });
internal_static_GalleryFallCatchNotify_BallCatchCountMapEntry_descriptor =
internal_static_GalleryFallCatchNotify_descriptor.getNestedTypes().get(0);
internal_static_GalleryFallCatchNotify_BallCatchCountMapEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GalleryFallCatchNotify_BallCatchCountMapEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
}
// @@protoc_insertion_point(outer_class_scope)
}