Format updated protocol classes

This commit is contained in:
KingRainbow44 2023-04-05 21:25:44 -04:00
parent 4345a0dffa
commit ac7b4d1238
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
3 changed files with 3447 additions and 3359 deletions

View File

@ -5,26 +5,28 @@ package emu.grasscutter.net.proto;
public final class GetAllMailNotifyOuterClass { public final class GetAllMailNotifyOuterClass {
private GetAllMailNotifyOuterClass() {} private GetAllMailNotifyOuterClass() {}
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) {
registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
} }
public static void registerAllExtensions( public interface GetAllMailNotifyOrBuilder
com.google.protobuf.ExtensionRegistry registry) { extends
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface GetAllMailNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetAllMailNotify) // @@protoc_insertion_point(interface_extends:GetAllMailNotify)
com.google.protobuf.MessageOrBuilder { com.google.protobuf.MessageOrBuilder {
/** /**
* <code>bool is_collected = 6;</code> * <code>bool is_collected = 6;</code>
*
* @return The isCollected. * @return The isCollected.
*/ */
boolean getIsCollected(); boolean getIsCollected();
} }
/** /**
*
*
* <pre> * <pre>
* Name: PFHIOOMPNBH * Name: PFHIOOMPNBH
* CmdId: 1442 * CmdId: 1442
@ -32,8 +34,8 @@ public final class GetAllMailNotifyOuterClass {
* *
* Protobuf type {@code GetAllMailNotify} * Protobuf type {@code GetAllMailNotify}
*/ */
public static final class GetAllMailNotify extends public static final class GetAllMailNotify extends com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3 implements implements
// @@protoc_insertion_point(message_implements:GetAllMailNotify) // @@protoc_insertion_point(message_implements:GetAllMailNotify)
GetAllMailNotifyOrBuilder { GetAllMailNotifyOrBuilder {
private static final long serialVersionUID = 0L; private static final long serialVersionUID = 0L;
@ -41,21 +43,20 @@ public final class GetAllMailNotifyOuterClass {
private GetAllMailNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { private GetAllMailNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder); super(builder);
} }
private GetAllMailNotify() {
} private GetAllMailNotify() {}
@java.lang.Override @java.lang.Override
@SuppressWarnings({"unused"}) @SuppressWarnings({"unused"})
protected java.lang.Object newInstance( protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
UnusedPrivateParameter unused) {
return new GetAllMailNotify(); return new GetAllMailNotify();
} }
@java.lang.Override @java.lang.Override
public final com.google.protobuf.UnknownFieldSet public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
getUnknownFields() {
return this.unknownFields; return this.unknownFields;
} }
private GetAllMailNotify( private GetAllMailNotify(
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@ -74,14 +75,14 @@ public final class GetAllMailNotifyOuterClass {
case 0: case 0:
done = true; done = true;
break; break;
case 48: { case 48:
{
isCollected_ = input.readBool(); isCollected_ = input.readBool();
break; break;
} }
default: { default:
if (!parseUnknownField( {
input, unknownFields, extensionRegistry, tag)) { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
done = true; done = true;
} }
break; break;
@ -91,30 +92,33 @@ public final class GetAllMailNotifyOuterClass {
} catch (com.google.protobuf.InvalidProtocolBufferException e) { } catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this); throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) { } catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException( throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
e).setUnfinishedMessage(this);
} finally { } finally {
this.unknownFields = unknownFields.build(); this.unknownFields = unknownFields.build();
makeExtensionsImmutable(); makeExtensionsImmutable();
} }
} }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.internal_static_GetAllMailNotify_descriptor; return emu.grasscutter.net.proto.GetAllMailNotifyOuterClass
.internal_static_GetAllMailNotify_descriptor;
} }
@java.lang.Override @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() { internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.internal_static_GetAllMailNotify_fieldAccessorTable return emu.grasscutter.net.proto.GetAllMailNotifyOuterClass
.internal_static_GetAllMailNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized( .ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify.class, emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify.Builder.class); emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify.class,
emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify.Builder.class);
} }
public static final int IS_COLLECTED_FIELD_NUMBER = 6; public static final int IS_COLLECTED_FIELD_NUMBER = 6;
private boolean isCollected_; private boolean isCollected_;
/** /**
* <code>bool is_collected = 6;</code> * <code>bool is_collected = 6;</code>
*
* @return The isCollected. * @return The isCollected.
*/ */
@java.lang.Override @java.lang.Override
@ -123,6 +127,7 @@ public final class GetAllMailNotifyOuterClass {
} }
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
@java.lang.Override @java.lang.Override
public final boolean isInitialized() { public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized; byte isInitialized = memoizedIsInitialized;
@ -134,8 +139,7 @@ public final class GetAllMailNotifyOuterClass {
} }
@java.lang.Override @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
throws java.io.IOException {
if (isCollected_ != false) { if (isCollected_ != false) {
output.writeBool(6, isCollected_); output.writeBool(6, isCollected_);
} }
@ -149,8 +153,7 @@ public final class GetAllMailNotifyOuterClass {
size = 0; size = 0;
if (isCollected_ != false) { if (isCollected_ != false) {
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, isCollected_);
.computeBoolSize(6, isCollected_);
} }
size += unknownFields.getSerializedSize(); size += unknownFields.getSerializedSize();
memoizedSize = size; memoizedSize = size;
@ -165,10 +168,10 @@ public final class GetAllMailNotifyOuterClass {
if (!(obj instanceof emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify)) { if (!(obj instanceof emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify)) {
return super.equals(obj); return super.equals(obj);
} }
emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify other = (emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify) obj; emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify other =
(emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify) obj;
if (getIsCollected() if (getIsCollected() != other.getIsCollected()) return false;
!= other.getIsCollected()) return false;
if (!unknownFields.equals(other.unknownFields)) return false; if (!unknownFields.equals(other.unknownFields)) return false;
return true; return true;
} }
@ -181,95 +184,102 @@ public final class GetAllMailNotifyOuterClass {
int hash = 41; int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode(); hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + IS_COLLECTED_FIELD_NUMBER; hash = (37 * hash) + IS_COLLECTED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsCollected());
getIsCollected());
hash = (29 * hash) + unknownFields.hashCode(); hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash; memoizedHashCode = hash;
return hash; return hash;
} }
public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom( public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom(
java.nio.ByteBuffer data) java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom( public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom(
java.nio.ByteBuffer data, java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom( public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom(
com.google.protobuf.ByteString data) com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom( public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom(
com.google.protobuf.ByteString data, com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException { public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom(
byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom( public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom(
byte[] data, byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom( public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom(
java.io.InputStream input, java.io.InputStream input) throws java.io.IOException {
com.google.protobuf.ExtensionRegistryLite extensionRegistry) return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify 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.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom( public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom(
com.google.protobuf.CodedInputStream input) java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
.parseWithIOException(PARSER, input); PARSER, input, extensionRegistry);
} }
public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify
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.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom( public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify parseFrom(
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
.parseWithIOException(PARSER, input, extensionRegistry); PARSER, input, extensionRegistry);
} }
@java.lang.Override @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); } public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() { public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder(); return DEFAULT_INSTANCE.toBuilder();
} }
public static Builder newBuilder(emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify prototype) {
public static Builder newBuilder(
emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
} }
@java.lang.Override @java.lang.Override
public Builder toBuilder() { public Builder toBuilder() {
return this == DEFAULT_INSTANCE return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
? new Builder() : new Builder().mergeFrom(this);
} }
@java.lang.Override @java.lang.Override
@ -279,6 +289,8 @@ public final class GetAllMailNotifyOuterClass {
return builder; return builder;
} }
/** /**
*
*
* <pre> * <pre>
* Name: PFHIOOMPNBH * Name: PFHIOOMPNBH
* CmdId: 1442 * CmdId: 1442
@ -286,38 +298,42 @@ public final class GetAllMailNotifyOuterClass {
* *
* Protobuf type {@code GetAllMailNotify} * Protobuf type {@code GetAllMailNotify}
*/ */
public static final class Builder extends public static final class Builder
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:GetAllMailNotify) // @@protoc_insertion_point(builder_implements:GetAllMailNotify)
emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotifyOrBuilder { emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
getDescriptor() { return emu.grasscutter.net.proto.GetAllMailNotifyOuterClass
return emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.internal_static_GetAllMailNotify_descriptor; .internal_static_GetAllMailNotify_descriptor;
} }
@java.lang.Override @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() { internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.internal_static_GetAllMailNotify_fieldAccessorTable return emu.grasscutter.net.proto.GetAllMailNotifyOuterClass
.internal_static_GetAllMailNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized( .ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify.class, emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify.Builder.class); emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify.class,
emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify.Builder
.class);
} }
// Construct using emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify.newBuilder() // Construct using
// emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify.newBuilder()
private Builder() { private Builder() {
maybeForceBuilderInitialization(); maybeForceBuilderInitialization();
} }
private Builder( private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent); super(parent);
maybeForceBuilderInitialization(); maybeForceBuilderInitialization();
} }
private void maybeForceBuilderInitialization() { private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3 if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
.alwaysUseFieldBuilders) {
}
} }
@java.lang.Override @java.lang.Override
public Builder clear() { public Builder clear() {
super.clear(); super.clear();
@ -327,19 +343,22 @@ public final class GetAllMailNotifyOuterClass {
} }
@java.lang.Override @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
getDescriptorForType() { return emu.grasscutter.net.proto.GetAllMailNotifyOuterClass
return emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.internal_static_GetAllMailNotify_descriptor; .internal_static_GetAllMailNotify_descriptor;
} }
@java.lang.Override @java.lang.Override
public emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify getDefaultInstanceForType() { public emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify
return emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify.getDefaultInstance(); getDefaultInstanceForType() {
return emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify
.getDefaultInstance();
} }
@java.lang.Override @java.lang.Override
public emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify build() { public emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify build() {
emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify result = buildPartial(); emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify result =
buildPartial();
if (!result.isInitialized()) { if (!result.isInitialized()) {
throw newUninitializedMessageException(result); throw newUninitializedMessageException(result);
} }
@ -348,7 +367,8 @@ public final class GetAllMailNotifyOuterClass {
@java.lang.Override @java.lang.Override
public emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify buildPartial() { public emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify buildPartial() {
emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify result = new emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify(this); emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify result =
new emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify(this);
result.isCollected_ = isCollected_; result.isCollected_ = isCollected_;
onBuilt(); onBuilt();
return result; return result;
@ -358,46 +378,54 @@ public final class GetAllMailNotifyOuterClass {
public Builder clone() { public Builder clone() {
return super.clone(); return super.clone();
} }
@java.lang.Override @java.lang.Override
public Builder setField( public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field, com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
java.lang.Object value) {
return super.setField(field, value); return super.setField(field, value);
} }
@java.lang.Override @java.lang.Override
public Builder clearField( public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field); return super.clearField(field);
} }
@java.lang.Override @java.lang.Override
public Builder clearOneof( public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof); return super.clearOneof(oneof);
} }
@java.lang.Override @java.lang.Override
public Builder setRepeatedField( public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) { int index,
java.lang.Object value) {
return super.setRepeatedField(field, index, value); return super.setRepeatedField(field, index, value);
} }
@java.lang.Override @java.lang.Override
public Builder addRepeatedField( public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
java.lang.Object value) {
return super.addRepeatedField(field, value); return super.addRepeatedField(field, value);
} }
@java.lang.Override @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify) { if (other
return mergeFrom((emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify)other); instanceof emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify) {
return mergeFrom(
(emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify) other);
} else { } else {
super.mergeFrom(other); super.mergeFrom(other);
return this; return this;
} }
} }
public Builder mergeFrom(emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify other) { public Builder mergeFrom(
if (other == emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify.getDefaultInstance()) return this; emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify other) {
if (other
== emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify
.getDefaultInstance()) return this;
if (other.getIsCollected() != false) { if (other.getIsCollected() != false) {
setIsCollected(other.getIsCollected()); setIsCollected(other.getIsCollected());
} }
@ -420,7 +448,9 @@ public final class GetAllMailNotifyOuterClass {
try { try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) { } catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify) e.getUnfinishedMessage(); parsedMessage =
(emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify)
e.getUnfinishedMessage();
throw e.unwrapIOException(); throw e.unwrapIOException();
} finally { } finally {
if (parsedMessage != null) { if (parsedMessage != null) {
@ -430,9 +460,10 @@ public final class GetAllMailNotifyOuterClass {
return this; return this;
} }
private boolean isCollected_ ; private boolean isCollected_;
/** /**
* <code>bool is_collected = 6;</code> * <code>bool is_collected = 6;</code>
*
* @return The isCollected. * @return The isCollected.
*/ */
@java.lang.Override @java.lang.Override
@ -441,6 +472,7 @@ public final class GetAllMailNotifyOuterClass {
} }
/** /**
* <code>bool is_collected = 6;</code> * <code>bool is_collected = 6;</code>
*
* @param value The isCollected to set. * @param value The isCollected to set.
* @return This builder for chaining. * @return This builder for chaining.
*/ */
@ -452,6 +484,7 @@ public final class GetAllMailNotifyOuterClass {
} }
/** /**
* <code>bool is_collected = 6;</code> * <code>bool is_collected = 6;</code>
*
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder clearIsCollected() { public Builder clearIsCollected() {
@ -460,6 +493,7 @@ public final class GetAllMailNotifyOuterClass {
onChanged(); onChanged();
return this; return this;
} }
@java.lang.Override @java.lang.Override
public final Builder setUnknownFields( public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) { final com.google.protobuf.UnknownFieldSet unknownFields) {
@ -472,22 +506,25 @@ public final class GetAllMailNotifyOuterClass {
return super.mergeUnknownFields(unknownFields); return super.mergeUnknownFields(unknownFields);
} }
// @@protoc_insertion_point(builder_scope:GetAllMailNotify) // @@protoc_insertion_point(builder_scope:GetAllMailNotify)
} }
// @@protoc_insertion_point(class_scope:GetAllMailNotify) // @@protoc_insertion_point(class_scope:GetAllMailNotify)
private static final emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify DEFAULT_INSTANCE; private static final emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify
DEFAULT_INSTANCE;
static { static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify(); DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify();
} }
public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify getDefaultInstance() { public static emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify
getDefaultInstance() {
return DEFAULT_INSTANCE; return DEFAULT_INSTANCE;
} }
private static final com.google.protobuf.Parser<GetAllMailNotify> private static final com.google.protobuf.Parser<GetAllMailNotify> PARSER =
PARSER = new com.google.protobuf.AbstractParser<GetAllMailNotify>() { new com.google.protobuf.AbstractParser<GetAllMailNotify>() {
@java.lang.Override @java.lang.Override
public GetAllMailNotify parsePartialFrom( public GetAllMailNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
@ -507,40 +544,39 @@ public final class GetAllMailNotifyOuterClass {
} }
@java.lang.Override @java.lang.Override
public emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify getDefaultInstanceForType() { public emu.grasscutter.net.proto.GetAllMailNotifyOuterClass.GetAllMailNotify
getDefaultInstanceForType() {
return DEFAULT_INSTANCE; return DEFAULT_INSTANCE;
} }
} }
private static final com.google.protobuf.Descriptors.Descriptor private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GetAllMailNotify_descriptor; internal_static_GetAllMailNotify_descriptor;
private static final private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GetAllMailNotify_fieldAccessorTable; internal_static_GetAllMailNotify_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
getDescriptor() {
return descriptor; return descriptor;
} }
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor; private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
static { static {
java.lang.String[] descriptorData = { java.lang.String[] descriptorData = {
"\n\026GetAllMailNotify.proto\"(\n\020GetAllMailNo" + "\n\026GetAllMailNotify.proto\"(\n\020GetAllMailNo"
"tify\022\024\n\014is_collected\030\006 \001(\010B\033\n\031emu.grassc" + + "tify\022\024\n\014is_collected\030\006 \001(\010B\033\n\031emu.grassc"
"utter.net.protob\006proto3" + "utter.net.protob\006proto3"
}; };
descriptor = com.google.protobuf.Descriptors.FileDescriptor descriptor =
.internalBuildGeneratedFileFrom(descriptorData, com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
new com.google.protobuf.Descriptors.FileDescriptor[] { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
}); internal_static_GetAllMailNotify_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_GetAllMailNotify_descriptor = internal_static_GetAllMailNotify_fieldAccessorTable =
getDescriptor().getMessageTypes().get(0); new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetAllMailNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetAllMailNotify_descriptor, internal_static_GetAllMailNotify_descriptor,
new java.lang.String[] { "IsCollected", }); new java.lang.String[] {
"IsCollected",
});
} }
// @@protoc_insertion_point(outer_class_scope) // @@protoc_insertion_point(outer_class_scope)