mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-06-20 22:45:02 +08:00
755 lines
29 KiB
Java
755 lines
29 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GCGGameBriefDataNotify.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class GCGGameBriefDataNotifyOuterClass {
|
|
private GCGGameBriefDataNotifyOuterClass() {}
|
|
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 GCGGameBriefDataNotifyOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:GCGGameBriefDataNotify)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>bool is_new_game = 11;</code>
|
|
* @return The isNewGame.
|
|
*/
|
|
boolean getIsNewGame();
|
|
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
* @return Whether the gcgBriefData field is set.
|
|
*/
|
|
boolean hasGcgBriefData();
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
* @return The gcgBriefData.
|
|
*/
|
|
emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData getGcgBriefData();
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefDataOrBuilder getGcgBriefDataOrBuilder();
|
|
}
|
|
/**
|
|
* <pre>
|
|
* CmdId: 7256
|
|
* Obf: LIAFFLMEDKE
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code GCGGameBriefDataNotify}
|
|
*/
|
|
public static final class GCGGameBriefDataNotify extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:GCGGameBriefDataNotify)
|
|
GCGGameBriefDataNotifyOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use GCGGameBriefDataNotify.newBuilder() to construct.
|
|
private GCGGameBriefDataNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private GCGGameBriefDataNotify() {
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new GCGGameBriefDataNotify();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private GCGGameBriefDataNotify(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
this();
|
|
if (extensionRegistry == null) {
|
|
throw new java.lang.NullPointerException();
|
|
}
|
|
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
|
try {
|
|
boolean done = false;
|
|
while (!done) {
|
|
int tag = input.readTag();
|
|
switch (tag) {
|
|
case 0:
|
|
done = true;
|
|
break;
|
|
case 26: {
|
|
emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData.Builder subBuilder = null;
|
|
if (gcgBriefData_ != null) {
|
|
subBuilder = gcgBriefData_.toBuilder();
|
|
}
|
|
gcgBriefData_ = input.readMessage(emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(gcgBriefData_);
|
|
gcgBriefData_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 88: {
|
|
|
|
isNewGame_ = 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.GCGGameBriefDataNotifyOuterClass.internal_static_GCGGameBriefDataNotify_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.internal_static_GCGGameBriefDataNotify_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify.class, emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify.Builder.class);
|
|
}
|
|
|
|
public static final int IS_NEW_GAME_FIELD_NUMBER = 11;
|
|
private boolean isNewGame_;
|
|
/**
|
|
* <code>bool is_new_game = 11;</code>
|
|
* @return The isNewGame.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsNewGame() {
|
|
return isNewGame_;
|
|
}
|
|
|
|
public static final int GCG_BRIEF_DATA_FIELD_NUMBER = 3;
|
|
private emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData gcgBriefData_;
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
* @return Whether the gcgBriefData field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasGcgBriefData() {
|
|
return gcgBriefData_ != null;
|
|
}
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
* @return The gcgBriefData.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData getGcgBriefData() {
|
|
return gcgBriefData_ == null ? emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData.getDefaultInstance() : gcgBriefData_;
|
|
}
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefDataOrBuilder getGcgBriefDataOrBuilder() {
|
|
return getGcgBriefData();
|
|
}
|
|
|
|
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 (gcgBriefData_ != null) {
|
|
output.writeMessage(3, getGcgBriefData());
|
|
}
|
|
if (isNewGame_ != false) {
|
|
output.writeBool(11, isNewGame_);
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (gcgBriefData_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(3, getGcgBriefData());
|
|
}
|
|
if (isNewGame_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(11, isNewGame_);
|
|
}
|
|
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.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify other = (emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify) obj;
|
|
|
|
if (getIsNewGame()
|
|
!= other.getIsNewGame()) return false;
|
|
if (hasGcgBriefData() != other.hasGcgBriefData()) return false;
|
|
if (hasGcgBriefData()) {
|
|
if (!getGcgBriefData()
|
|
.equals(other.getGcgBriefData())) 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_NEW_GAME_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getIsNewGame());
|
|
if (hasGcgBriefData()) {
|
|
hash = (37 * hash) + GCG_BRIEF_DATA_FIELD_NUMBER;
|
|
hash = (53 * hash) + getGcgBriefData().hashCode();
|
|
}
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify 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.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify 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.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify 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.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify 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.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify 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.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify prototype) {
|
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
}
|
|
@java.lang.Override
|
|
public Builder toBuilder() {
|
|
return this == DEFAULT_INSTANCE
|
|
? new Builder() : new Builder().mergeFrom(this);
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected Builder newBuilderForType(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
Builder builder = new Builder(parent);
|
|
return builder;
|
|
}
|
|
/**
|
|
* <pre>
|
|
* CmdId: 7256
|
|
* Obf: LIAFFLMEDKE
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code GCGGameBriefDataNotify}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:GCGGameBriefDataNotify)
|
|
emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotifyOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.internal_static_GCGGameBriefDataNotify_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.internal_static_GCGGameBriefDataNotify_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify.class, emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify.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();
|
|
isNewGame_ = false;
|
|
|
|
if (gcgBriefDataBuilder_ == null) {
|
|
gcgBriefData_ = null;
|
|
} else {
|
|
gcgBriefData_ = null;
|
|
gcgBriefDataBuilder_ = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.internal_static_GCGGameBriefDataNotify_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify build() {
|
|
emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify buildPartial() {
|
|
emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify result = new emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify(this);
|
|
result.isNewGame_ = isNewGame_;
|
|
if (gcgBriefDataBuilder_ == null) {
|
|
result.gcgBriefData_ = gcgBriefData_;
|
|
} else {
|
|
result.gcgBriefData_ = gcgBriefDataBuilder_.build();
|
|
}
|
|
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.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify) {
|
|
return mergeFrom((emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify other) {
|
|
if (other == emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify.getDefaultInstance()) return this;
|
|
if (other.getIsNewGame() != false) {
|
|
setIsNewGame(other.getIsNewGame());
|
|
}
|
|
if (other.hasGcgBriefData()) {
|
|
mergeGcgBriefData(other.getGcgBriefData());
|
|
}
|
|
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.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
|
|
private boolean isNewGame_ ;
|
|
/**
|
|
* <code>bool is_new_game = 11;</code>
|
|
* @return The isNewGame.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsNewGame() {
|
|
return isNewGame_;
|
|
}
|
|
/**
|
|
* <code>bool is_new_game = 11;</code>
|
|
* @param value The isNewGame to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsNewGame(boolean value) {
|
|
|
|
isNewGame_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_new_game = 11;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsNewGame() {
|
|
|
|
isNewGame_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData gcgBriefData_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData, emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData.Builder, emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefDataOrBuilder> gcgBriefDataBuilder_;
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
* @return Whether the gcgBriefData field is set.
|
|
*/
|
|
public boolean hasGcgBriefData() {
|
|
return gcgBriefDataBuilder_ != null || gcgBriefData_ != null;
|
|
}
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
* @return The gcgBriefData.
|
|
*/
|
|
public emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData getGcgBriefData() {
|
|
if (gcgBriefDataBuilder_ == null) {
|
|
return gcgBriefData_ == null ? emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData.getDefaultInstance() : gcgBriefData_;
|
|
} else {
|
|
return gcgBriefDataBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
*/
|
|
public Builder setGcgBriefData(emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData value) {
|
|
if (gcgBriefDataBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
gcgBriefData_ = value;
|
|
onChanged();
|
|
} else {
|
|
gcgBriefDataBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
*/
|
|
public Builder setGcgBriefData(
|
|
emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData.Builder builderForValue) {
|
|
if (gcgBriefDataBuilder_ == null) {
|
|
gcgBriefData_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
gcgBriefDataBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
*/
|
|
public Builder mergeGcgBriefData(emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData value) {
|
|
if (gcgBriefDataBuilder_ == null) {
|
|
if (gcgBriefData_ != null) {
|
|
gcgBriefData_ =
|
|
emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData.newBuilder(gcgBriefData_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
gcgBriefData_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
gcgBriefDataBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
*/
|
|
public Builder clearGcgBriefData() {
|
|
if (gcgBriefDataBuilder_ == null) {
|
|
gcgBriefData_ = null;
|
|
onChanged();
|
|
} else {
|
|
gcgBriefData_ = null;
|
|
gcgBriefDataBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData.Builder getGcgBriefDataBuilder() {
|
|
|
|
onChanged();
|
|
return getGcgBriefDataFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefDataOrBuilder getGcgBriefDataOrBuilder() {
|
|
if (gcgBriefDataBuilder_ != null) {
|
|
return gcgBriefDataBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return gcgBriefData_ == null ?
|
|
emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData.getDefaultInstance() : gcgBriefData_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData, emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData.Builder, emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefDataOrBuilder>
|
|
getGcgBriefDataFieldBuilder() {
|
|
if (gcgBriefDataBuilder_ == null) {
|
|
gcgBriefDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData, emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData.Builder, emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefDataOrBuilder>(
|
|
getGcgBriefData(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
gcgBriefData_ = null;
|
|
}
|
|
return gcgBriefDataBuilder_;
|
|
}
|
|
@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:GCGGameBriefDataNotify)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:GCGGameBriefDataNotify)
|
|
private static final emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<GCGGameBriefDataNotify>
|
|
PARSER = new com.google.protobuf.AbstractParser<GCGGameBriefDataNotify>() {
|
|
@java.lang.Override
|
|
public GCGGameBriefDataNotify parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new GCGGameBriefDataNotify(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<GCGGameBriefDataNotify> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<GCGGameBriefDataNotify> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_GCGGameBriefDataNotify_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_GCGGameBriefDataNotify_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\034GCGGameBriefDataNotify.proto\032\026GCGGameB" +
|
|
"riefData.proto\"X\n\026GCGGameBriefDataNotify" +
|
|
"\022\023\n\013is_new_game\030\013 \001(\010\022)\n\016gcg_brief_data\030" +
|
|
"\003 \001(\0132\021.GCGGameBriefDataB\033\n\031emu.grasscut" +
|
|
"ter.net.protob\006proto3"
|
|
};
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.getDescriptor(),
|
|
});
|
|
internal_static_GCGGameBriefDataNotify_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_GCGGameBriefDataNotify_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_GCGGameBriefDataNotify_descriptor,
|
|
new java.lang.String[] { "IsNewGame", "GcgBriefData", });
|
|
emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|