Add additional protocol classes

Using `gc-quest-fix`
This commit is contained in:
KingRainbow44 2023-04-01 19:54:11 -04:00
parent 29956421f0
commit 3e6aa79eb8
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
28 changed files with 23153 additions and 0 deletions

View File

@ -0,0 +1,717 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AvatarDelNotify.proto
package emu.grasscutter.net.proto;
public final class AvatarDelNotifyOuterClass {
private AvatarDelNotifyOuterClass() {}
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 AvatarDelNotifyOrBuilder
extends
// @@protoc_insertion_point(interface_extends:AvatarDelNotify)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated uint64 avatar_guid_list = 11;</code>
*
* @return A list containing the avatarGuidList.
*/
java.util.List<java.lang.Long> getAvatarGuidListList();
/**
* <code>repeated uint64 avatar_guid_list = 11;</code>
*
* @return The count of avatarGuidList.
*/
int getAvatarGuidListCount();
/**
* <code>repeated uint64 avatar_guid_list = 11;</code>
*
* @param index The index of the element to return.
* @return The avatarGuidList at the given index.
*/
long getAvatarGuidList(int index);
}
/**
*
*
* <pre>
* Name: ABHDPPOLMHE
* CmdId: 1621
* </pre>
*
* Protobuf type {@code AvatarDelNotify}
*/
public static final class AvatarDelNotify extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:AvatarDelNotify)
AvatarDelNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use AvatarDelNotify.newBuilder() to construct.
private AvatarDelNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AvatarDelNotify() {
avatarGuidList_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new AvatarDelNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private AvatarDelNotify(
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 88:
{
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
avatarGuidList_ = newLongList();
mutable_bitField0_ |= 0x00000001;
}
avatarGuidList_.addLong(input.readUInt64());
break;
}
case 90:
{
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
avatarGuidList_ = newLongList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
avatarGuidList_.addLong(input.readUInt64());
}
input.popLimit(limit);
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
avatarGuidList_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.AvatarDelNotifyOuterClass
.internal_static_AvatarDelNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AvatarDelNotifyOuterClass
.internal_static_AvatarDelNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify.class,
emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify.Builder.class);
}
public static final int AVATAR_GUID_LIST_FIELD_NUMBER = 11;
private com.google.protobuf.Internal.LongList avatarGuidList_;
/**
* <code>repeated uint64 avatar_guid_list = 11;</code>
*
* @return A list containing the avatarGuidList.
*/
@java.lang.Override
public java.util.List<java.lang.Long> getAvatarGuidListList() {
return avatarGuidList_;
}
/**
* <code>repeated uint64 avatar_guid_list = 11;</code>
*
* @return The count of avatarGuidList.
*/
public int getAvatarGuidListCount() {
return avatarGuidList_.size();
}
/**
* <code>repeated uint64 avatar_guid_list = 11;</code>
*
* @param index The index of the element to return.
* @return The avatarGuidList at the given index.
*/
public long getAvatarGuidList(int index) {
return avatarGuidList_.getLong(index);
}
private int avatarGuidListMemoizedSerializedSize = -1;
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 {
getSerializedSize();
if (getAvatarGuidListList().size() > 0) {
output.writeUInt32NoTag(90);
output.writeUInt32NoTag(avatarGuidListMemoizedSerializedSize);
}
for (int i = 0; i < avatarGuidList_.size(); i++) {
output.writeUInt64NoTag(avatarGuidList_.getLong(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < avatarGuidList_.size(); i++) {
dataSize +=
com.google.protobuf.CodedOutputStream.computeUInt64SizeNoTag(
avatarGuidList_.getLong(i));
}
size += dataSize;
if (!getAvatarGuidListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
}
avatarGuidListMemoizedSerializedSize = dataSize;
}
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.AvatarDelNotifyOuterClass.AvatarDelNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify other =
(emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify) obj;
if (!getAvatarGuidListList().equals(other.getAvatarGuidListList())) 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();
if (getAvatarGuidListCount() > 0) {
hash = (37 * hash) + AVATAR_GUID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getAvatarGuidListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify 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.AvatarDelNotifyOuterClass.AvatarDelNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify 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.AvatarDelNotifyOuterClass.AvatarDelNotify parseFrom(
byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify 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.AvatarDelNotifyOuterClass.AvatarDelNotify
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify
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.AvatarDelNotifyOuterClass.AvatarDelNotify parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify 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.AvatarDelNotifyOuterClass.AvatarDelNotify 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>
* Name: ABHDPPOLMHE
* CmdId: 1621
* </pre>
*
* Protobuf type {@code AvatarDelNotify}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:AvatarDelNotify)
emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.AvatarDelNotifyOuterClass
.internal_static_AvatarDelNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AvatarDelNotifyOuterClass
.internal_static_AvatarDelNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify.class,
emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify.Builder.class);
}
// Construct using
// emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify.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();
avatarGuidList_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.AvatarDelNotifyOuterClass
.internal_static_AvatarDelNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify
.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify build() {
emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify buildPartial() {
emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify result =
new emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
avatarGuidList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.avatarGuidList_ = avatarGuidList_;
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.AvatarDelNotifyOuterClass.AvatarDelNotify) {
return mergeFrom(
(emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify other) {
if (other
== emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify
.getDefaultInstance()) return this;
if (!other.avatarGuidList_.isEmpty()) {
if (avatarGuidList_.isEmpty()) {
avatarGuidList_ = other.avatarGuidList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAvatarGuidListIsMutable();
avatarGuidList_.addAll(other.avatarGuidList_);
}
onChanged();
}
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.AvatarDelNotifyOuterClass.AvatarDelNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.LongList avatarGuidList_ = emptyLongList();
private void ensureAvatarGuidListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
avatarGuidList_ = mutableCopy(avatarGuidList_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>repeated uint64 avatar_guid_list = 11;</code>
*
* @return A list containing the avatarGuidList.
*/
public java.util.List<java.lang.Long> getAvatarGuidListList() {
return ((bitField0_ & 0x00000001) != 0)
? java.util.Collections.unmodifiableList(avatarGuidList_)
: avatarGuidList_;
}
/**
* <code>repeated uint64 avatar_guid_list = 11;</code>
*
* @return The count of avatarGuidList.
*/
public int getAvatarGuidListCount() {
return avatarGuidList_.size();
}
/**
* <code>repeated uint64 avatar_guid_list = 11;</code>
*
* @param index The index of the element to return.
* @return The avatarGuidList at the given index.
*/
public long getAvatarGuidList(int index) {
return avatarGuidList_.getLong(index);
}
/**
* <code>repeated uint64 avatar_guid_list = 11;</code>
*
* @param index The index to set the value at.
* @param value The avatarGuidList to set.
* @return This builder for chaining.
*/
public Builder setAvatarGuidList(int index, long value) {
ensureAvatarGuidListIsMutable();
avatarGuidList_.setLong(index, value);
onChanged();
return this;
}
/**
* <code>repeated uint64 avatar_guid_list = 11;</code>
*
* @param value The avatarGuidList to add.
* @return This builder for chaining.
*/
public Builder addAvatarGuidList(long value) {
ensureAvatarGuidListIsMutable();
avatarGuidList_.addLong(value);
onChanged();
return this;
}
/**
* <code>repeated uint64 avatar_guid_list = 11;</code>
*
* @param values The avatarGuidList to add.
* @return This builder for chaining.
*/
public Builder addAllAvatarGuidList(java.lang.Iterable<? extends java.lang.Long> values) {
ensureAvatarGuidListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, avatarGuidList_);
onChanged();
return this;
}
/**
* <code>repeated uint64 avatar_guid_list = 11;</code>
*
* @return This builder for chaining.
*/
public Builder clearAvatarGuidList() {
avatarGuidList_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
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:AvatarDelNotify)
}
// @@protoc_insertion_point(class_scope:AvatarDelNotify)
private static final emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify();
}
public static emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<AvatarDelNotify> PARSER =
new com.google.protobuf.AbstractParser<AvatarDelNotify>() {
@java.lang.Override
public AvatarDelNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AvatarDelNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<AvatarDelNotify> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AvatarDelNotify> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.AvatarDelNotifyOuterClass.AvatarDelNotify
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AvatarDelNotify_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AvatarDelNotify_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\025AvatarDelNotify.proto\"+\n\017AvatarDelNoti"
+ "fy\022\030\n\020avatar_guid_list\030\013 \003(\004B\033\n\031emu.gras"
+ "scutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_AvatarDelNotify_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_AvatarDelNotify_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AvatarDelNotify_descriptor,
new java.lang.String[] {
"AvatarGuidList",
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,510 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: CheckUgcStateReq.proto
package emu.grasscutter.net.proto;
public final class CheckUgcStateReqOuterClass {
private CheckUgcStateReqOuterClass() {}
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 CheckUgcStateReqOrBuilder
extends
// @@protoc_insertion_point(interface_extends:CheckUgcStateReq)
com.google.protobuf.MessageOrBuilder {}
/**
*
*
* <pre>
* CmdId: 6342 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code CheckUgcStateReq}
*/
public static final class CheckUgcStateReq extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:CheckUgcStateReq)
CheckUgcStateReqOrBuilder {
private static final long serialVersionUID = 0L;
// Use CheckUgcStateReq.newBuilder() to construct.
private CheckUgcStateReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CheckUgcStateReq() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CheckUgcStateReq();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private CheckUgcStateReq(
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;
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.CheckUgcStateReqOuterClass
.internal_static_CheckUgcStateReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.CheckUgcStateReqOuterClass
.internal_static_CheckUgcStateReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq.class,
emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.CheckUgcStateReqOuterClass.CheckUgcStateReq)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq other =
(emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq 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.CheckUgcStateReqOuterClass.CheckUgcStateReq parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq 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.CheckUgcStateReqOuterClass.CheckUgcStateReq parseFrom(
byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq 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.CheckUgcStateReqOuterClass.CheckUgcStateReq
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq
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.CheckUgcStateReqOuterClass.CheckUgcStateReq parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq 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.CheckUgcStateReqOuterClass.CheckUgcStateReq 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: 6342 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code CheckUgcStateReq}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:CheckUgcStateReq)
emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReqOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.CheckUgcStateReqOuterClass
.internal_static_CheckUgcStateReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.CheckUgcStateReqOuterClass
.internal_static_CheckUgcStateReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq.class,
emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq.Builder
.class);
}
// Construct using
// emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.CheckUgcStateReqOuterClass
.internal_static_CheckUgcStateReq_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq
.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq build() {
emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq buildPartial() {
emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq result =
new emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq(this);
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.CheckUgcStateReqOuterClass.CheckUgcStateReq) {
return mergeFrom(
(emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq other) {
if (other
== emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq
.getDefaultInstance()) return this;
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.CheckUgcStateReqOuterClass.CheckUgcStateReq parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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:CheckUgcStateReq)
}
// @@protoc_insertion_point(class_scope:CheckUgcStateReq)
private static final emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq();
}
public static emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<CheckUgcStateReq> PARSER =
new com.google.protobuf.AbstractParser<CheckUgcStateReq>() {
@java.lang.Override
public CheckUgcStateReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CheckUgcStateReq(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<CheckUgcStateReq> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CheckUgcStateReq> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcStateReqOuterClass.CheckUgcStateReq
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CheckUgcStateReq_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_CheckUgcStateReq_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\026CheckUgcStateReq.proto\"\022\n\020CheckUgcStat"
+ "eReqB\033\n\031emu.grasscutter.net.protob\006proto"
+ "3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_CheckUgcStateReq_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_CheckUgcStateReq_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_CheckUgcStateReq_descriptor, new java.lang.String[] {});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,585 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: CheckUgcStateRsp.proto
package emu.grasscutter.net.proto;
public final class CheckUgcStateRspOuterClass {
private CheckUgcStateRspOuterClass() {}
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 CheckUgcStateRspOrBuilder
extends
// @@protoc_insertion_point(interface_extends:CheckUgcStateRsp)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 7;</code>
*
* @return The retcode.
*/
int getRetcode();
}
/**
*
*
* <pre>
* CmdId: 6314 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* </pre>
*
* Protobuf type {@code CheckUgcStateRsp}
*/
public static final class CheckUgcStateRsp extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:CheckUgcStateRsp)
CheckUgcStateRspOrBuilder {
private static final long serialVersionUID = 0L;
// Use CheckUgcStateRsp.newBuilder() to construct.
private CheckUgcStateRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CheckUgcStateRsp() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CheckUgcStateRsp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private CheckUgcStateRsp(
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 56:
{
retcode_ = input.readInt32();
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.CheckUgcStateRspOuterClass
.internal_static_CheckUgcStateRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.CheckUgcStateRspOuterClass
.internal_static_CheckUgcStateRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp.class,
emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp.Builder.class);
}
public static final int RETCODE_FIELD_NUMBER = 7;
private int retcode_;
/**
* <code>int32 retcode = 7;</code>
*
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
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 (retcode_ != 0) {
output.writeInt32(7, retcode_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, retcode_);
}
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.CheckUgcStateRspOuterClass.CheckUgcStateRsp)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp other =
(emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp) obj;
if (getRetcode() != other.getRetcode()) 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) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp 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.CheckUgcStateRspOuterClass.CheckUgcStateRsp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp 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.CheckUgcStateRspOuterClass.CheckUgcStateRsp parseFrom(
byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp 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.CheckUgcStateRspOuterClass.CheckUgcStateRsp
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp
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.CheckUgcStateRspOuterClass.CheckUgcStateRsp parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp 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.CheckUgcStateRspOuterClass.CheckUgcStateRsp 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: 6314 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* </pre>
*
* Protobuf type {@code CheckUgcStateRsp}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:CheckUgcStateRsp)
emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRspOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.CheckUgcStateRspOuterClass
.internal_static_CheckUgcStateRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.CheckUgcStateRspOuterClass
.internal_static_CheckUgcStateRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp.class,
emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp.Builder
.class);
}
// Construct using
// emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp.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();
retcode_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.CheckUgcStateRspOuterClass
.internal_static_CheckUgcStateRsp_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp
.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp build() {
emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp buildPartial() {
emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp result =
new emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp(this);
result.retcode_ = retcode_;
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.CheckUgcStateRspOuterClass.CheckUgcStateRsp) {
return mergeFrom(
(emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp other) {
if (other
== emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp
.getDefaultInstance()) return this;
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
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.CheckUgcStateRspOuterClass.CheckUgcStateRsp parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int retcode_;
/**
* <code>int32 retcode = 7;</code>
*
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 7;</code>
*
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
retcode_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 7;</code>
*
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 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:CheckUgcStateRsp)
}
// @@protoc_insertion_point(class_scope:CheckUgcStateRsp)
private static final emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp();
}
public static emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<CheckUgcStateRsp> PARSER =
new com.google.protobuf.AbstractParser<CheckUgcStateRsp>() {
@java.lang.Override
public CheckUgcStateRsp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CheckUgcStateRsp(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<CheckUgcStateRsp> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CheckUgcStateRsp> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcStateRspOuterClass.CheckUgcStateRsp
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CheckUgcStateRsp_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_CheckUgcStateRsp_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\026CheckUgcStateRsp.proto\"#\n\020CheckUgcStat"
+ "eRsp\022\017\n\007retcode\030\007 \001(\005B\033\n\031emu.grasscutter"
+ ".net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_CheckUgcStateRsp_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_CheckUgcStateRsp_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_CheckUgcStateRsp_descriptor,
new java.lang.String[] {
"Retcode",
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,651 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: CheckUgcUpdateReq.proto
package emu.grasscutter.net.proto;
public final class CheckUgcUpdateReqOuterClass {
private CheckUgcUpdateReqOuterClass() {}
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 CheckUgcUpdateReqOrBuilder
extends
// @@protoc_insertion_point(interface_extends:CheckUgcUpdateReq)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.UgcType ugc_type = 13;</code>
*
* @return The enum numeric value on the wire for ugcType.
*/
int getUgcTypeValue();
/**
* <code>.UgcType ugc_type = 13;</code>
*
* @return The ugcType.
*/
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType();
}
/**
*
*
* <pre>
* CmdId: 6320 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code CheckUgcUpdateReq}
*/
public static final class CheckUgcUpdateReq extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:CheckUgcUpdateReq)
CheckUgcUpdateReqOrBuilder {
private static final long serialVersionUID = 0L;
// Use CheckUgcUpdateReq.newBuilder() to construct.
private CheckUgcUpdateReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CheckUgcUpdateReq() {
ugcType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CheckUgcUpdateReq();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private CheckUgcUpdateReq(
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 104:
{
int rawValue = input.readEnum();
ugcType_ = rawValue;
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.CheckUgcUpdateReqOuterClass
.internal_static_CheckUgcUpdateReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass
.internal_static_CheckUgcUpdateReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq.class,
emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq.Builder
.class);
}
public static final int UGC_TYPE_FIELD_NUMBER = 13;
private int ugcType_;
/**
* <code>.UgcType ugc_type = 13;</code>
*
* @return The enum numeric value on the wire for ugcType.
*/
@java.lang.Override
public int getUgcTypeValue() {
return ugcType_;
}
/**
* <code>.UgcType ugc_type = 13;</code>
*
* @return The ugcType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType result =
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.valueOf(ugcType_);
return result == null
? emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UNRECOGNIZED
: result;
}
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 (ugcType_
!= emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UGC_TYPE_NONE.getNumber()) {
output.writeEnum(13, ugcType_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (ugcType_
!= emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UGC_TYPE_NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, ugcType_);
}
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.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq other =
(emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq) obj;
if (ugcType_ != other.ugcType_) 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) + UGC_TYPE_FIELD_NUMBER;
hash = (53 * hash) + ugcType_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq 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.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq 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.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq parseFrom(
byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq 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.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq
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.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq 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.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq 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: 6320 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code CheckUgcUpdateReq}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:CheckUgcUpdateReq)
emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReqOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass
.internal_static_CheckUgcUpdateReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass
.internal_static_CheckUgcUpdateReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq.class,
emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq.Builder
.class);
}
// Construct using
// emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq.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();
ugcType_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass
.internal_static_CheckUgcUpdateReq_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq
.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq build() {
emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq
buildPartial() {
emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq result =
new emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq(this);
result.ugcType_ = ugcType_;
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.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq) {
return mergeFrom(
(emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq other) {
if (other
== emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq
.getDefaultInstance()) return this;
if (other.ugcType_ != 0) {
setUgcTypeValue(other.getUgcTypeValue());
}
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.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq parsedMessage =
null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int ugcType_ = 0;
/**
* <code>.UgcType ugc_type = 13;</code>
*
* @return The enum numeric value on the wire for ugcType.
*/
@java.lang.Override
public int getUgcTypeValue() {
return ugcType_;
}
/**
* <code>.UgcType ugc_type = 13;</code>
*
* @param value The enum numeric value on the wire for ugcType to set.
* @return This builder for chaining.
*/
public Builder setUgcTypeValue(int value) {
ugcType_ = value;
onChanged();
return this;
}
/**
* <code>.UgcType ugc_type = 13;</code>
*
* @return The ugcType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType result =
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.valueOf(ugcType_);
return result == null
? emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UNRECOGNIZED
: result;
}
/**
* <code>.UgcType ugc_type = 13;</code>
*
* @param value The ugcType to set.
* @return This builder for chaining.
*/
public Builder setUgcType(emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType value) {
if (value == null) {
throw new NullPointerException();
}
ugcType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.UgcType ugc_type = 13;</code>
*
* @return This builder for chaining.
*/
public Builder clearUgcType() {
ugcType_ = 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:CheckUgcUpdateReq)
}
// @@protoc_insertion_point(class_scope:CheckUgcUpdateReq)
private static final emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq();
}
public static emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<CheckUgcUpdateReq> PARSER =
new com.google.protobuf.AbstractParser<CheckUgcUpdateReq>() {
@java.lang.Override
public CheckUgcUpdateReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CheckUgcUpdateReq(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<CheckUgcUpdateReq> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CheckUgcUpdateReq> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcUpdateReqOuterClass.CheckUgcUpdateReq
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CheckUgcUpdateReq_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_CheckUgcUpdateReq_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\027CheckUgcUpdateReq.proto\032\rUgcType.proto"
+ "\"/\n\021CheckUgcUpdateReq\022\032\n\010ugc_type\030\r \001(\0162"
+ "\010.UgcTypeB\033\n\031emu.grasscutter.net.protob\006"
+ "proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.UgcTypeOuterClass.getDescriptor(),
});
internal_static_CheckUgcUpdateReq_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_CheckUgcUpdateReq_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_CheckUgcUpdateReq_descriptor,
new java.lang.String[] {
"UgcType",
});
emu.grasscutter.net.proto.UgcTypeOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,933 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: CheckUgcUpdateRsp.proto
package emu.grasscutter.net.proto;
public final class CheckUgcUpdateRspOuterClass {
private CheckUgcUpdateRspOuterClass() {}
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 CheckUgcUpdateRspOrBuilder
extends
// @@protoc_insertion_point(interface_extends:CheckUgcUpdateRsp)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated uint64 update_ugc_guid_list = 15;</code>
*
* @return A list containing the updateUgcGuidList.
*/
java.util.List<java.lang.Long> getUpdateUgcGuidListList();
/**
* <code>repeated uint64 update_ugc_guid_list = 15;</code>
*
* @return The count of updateUgcGuidList.
*/
int getUpdateUgcGuidListCount();
/**
* <code>repeated uint64 update_ugc_guid_list = 15;</code>
*
* @param index The index of the element to return.
* @return The updateUgcGuidList at the given index.
*/
long getUpdateUgcGuidList(int index);
/**
* <code>int32 retcode = 10;</code>
*
* @return The retcode.
*/
int getRetcode();
/**
* <code>.UgcType ugc_type = 12;</code>
*
* @return The enum numeric value on the wire for ugcType.
*/
int getUgcTypeValue();
/**
* <code>.UgcType ugc_type = 12;</code>
*
* @return The ugcType.
*/
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType();
}
/**
*
*
* <pre>
* CmdId: 6345 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* </pre>
*
* Protobuf type {@code CheckUgcUpdateRsp}
*/
public static final class CheckUgcUpdateRsp extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:CheckUgcUpdateRsp)
CheckUgcUpdateRspOrBuilder {
private static final long serialVersionUID = 0L;
// Use CheckUgcUpdateRsp.newBuilder() to construct.
private CheckUgcUpdateRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CheckUgcUpdateRsp() {
updateUgcGuidList_ = emptyLongList();
ugcType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CheckUgcUpdateRsp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private CheckUgcUpdateRsp(
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 80:
{
retcode_ = input.readInt32();
break;
}
case 96:
{
int rawValue = input.readEnum();
ugcType_ = rawValue;
break;
}
case 120:
{
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
updateUgcGuidList_ = newLongList();
mutable_bitField0_ |= 0x00000001;
}
updateUgcGuidList_.addLong(input.readUInt64());
break;
}
case 122:
{
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
updateUgcGuidList_ = newLongList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
updateUgcGuidList_.addLong(input.readUInt64());
}
input.popLimit(limit);
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
updateUgcGuidList_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass
.internal_static_CheckUgcUpdateRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass
.internal_static_CheckUgcUpdateRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp.class,
emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp.Builder
.class);
}
public static final int UPDATE_UGC_GUID_LIST_FIELD_NUMBER = 15;
private com.google.protobuf.Internal.LongList updateUgcGuidList_;
/**
* <code>repeated uint64 update_ugc_guid_list = 15;</code>
*
* @return A list containing the updateUgcGuidList.
*/
@java.lang.Override
public java.util.List<java.lang.Long> getUpdateUgcGuidListList() {
return updateUgcGuidList_;
}
/**
* <code>repeated uint64 update_ugc_guid_list = 15;</code>
*
* @return The count of updateUgcGuidList.
*/
public int getUpdateUgcGuidListCount() {
return updateUgcGuidList_.size();
}
/**
* <code>repeated uint64 update_ugc_guid_list = 15;</code>
*
* @param index The index of the element to return.
* @return The updateUgcGuidList at the given index.
*/
public long getUpdateUgcGuidList(int index) {
return updateUgcGuidList_.getLong(index);
}
private int updateUgcGuidListMemoizedSerializedSize = -1;
public static final int RETCODE_FIELD_NUMBER = 10;
private int retcode_;
/**
* <code>int32 retcode = 10;</code>
*
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
public static final int UGC_TYPE_FIELD_NUMBER = 12;
private int ugcType_;
/**
* <code>.UgcType ugc_type = 12;</code>
*
* @return The enum numeric value on the wire for ugcType.
*/
@java.lang.Override
public int getUgcTypeValue() {
return ugcType_;
}
/**
* <code>.UgcType ugc_type = 12;</code>
*
* @return The ugcType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType result =
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.valueOf(ugcType_);
return result == null
? emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UNRECOGNIZED
: result;
}
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 {
getSerializedSize();
if (retcode_ != 0) {
output.writeInt32(10, retcode_);
}
if (ugcType_
!= emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UGC_TYPE_NONE.getNumber()) {
output.writeEnum(12, ugcType_);
}
if (getUpdateUgcGuidListList().size() > 0) {
output.writeUInt32NoTag(122);
output.writeUInt32NoTag(updateUgcGuidListMemoizedSerializedSize);
}
for (int i = 0; i < updateUgcGuidList_.size(); i++) {
output.writeUInt64NoTag(updateUgcGuidList_.getLong(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, retcode_);
}
if (ugcType_
!= emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UGC_TYPE_NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, ugcType_);
}
{
int dataSize = 0;
for (int i = 0; i < updateUgcGuidList_.size(); i++) {
dataSize +=
com.google.protobuf.CodedOutputStream.computeUInt64SizeNoTag(
updateUgcGuidList_.getLong(i));
}
size += dataSize;
if (!getUpdateUgcGuidListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
}
updateUgcGuidListMemoizedSerializedSize = dataSize;
}
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.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp other =
(emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp) obj;
if (!getUpdateUgcGuidListList().equals(other.getUpdateUgcGuidListList())) return false;
if (getRetcode() != other.getRetcode()) return false;
if (ugcType_ != other.ugcType_) 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();
if (getUpdateUgcGuidListCount() > 0) {
hash = (37 * hash) + UPDATE_UGC_GUID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getUpdateUgcGuidListList().hashCode();
}
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + UGC_TYPE_FIELD_NUMBER;
hash = (53 * hash) + ugcType_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp 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.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp 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.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp parseFrom(
byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp 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.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp
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.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp 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.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp 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: 6345 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* </pre>
*
* Protobuf type {@code CheckUgcUpdateRsp}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:CheckUgcUpdateRsp)
emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRspOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass
.internal_static_CheckUgcUpdateRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass
.internal_static_CheckUgcUpdateRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp.class,
emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp.Builder
.class);
}
// Construct using
// emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp.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();
updateUgcGuidList_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
retcode_ = 0;
ugcType_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass
.internal_static_CheckUgcUpdateRsp_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp
.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp build() {
emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp
buildPartial() {
emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp result =
new emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
updateUgcGuidList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.updateUgcGuidList_ = updateUgcGuidList_;
result.retcode_ = retcode_;
result.ugcType_ = ugcType_;
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.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp) {
return mergeFrom(
(emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp other) {
if (other
== emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp
.getDefaultInstance()) return this;
if (!other.updateUgcGuidList_.isEmpty()) {
if (updateUgcGuidList_.isEmpty()) {
updateUgcGuidList_ = other.updateUgcGuidList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureUpdateUgcGuidListIsMutable();
updateUgcGuidList_.addAll(other.updateUgcGuidList_);
}
onChanged();
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.ugcType_ != 0) {
setUgcTypeValue(other.getUgcTypeValue());
}
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.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp parsedMessage =
null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.LongList updateUgcGuidList_ = emptyLongList();
private void ensureUpdateUgcGuidListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
updateUgcGuidList_ = mutableCopy(updateUgcGuidList_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>repeated uint64 update_ugc_guid_list = 15;</code>
*
* @return A list containing the updateUgcGuidList.
*/
public java.util.List<java.lang.Long> getUpdateUgcGuidListList() {
return ((bitField0_ & 0x00000001) != 0)
? java.util.Collections.unmodifiableList(updateUgcGuidList_)
: updateUgcGuidList_;
}
/**
* <code>repeated uint64 update_ugc_guid_list = 15;</code>
*
* @return The count of updateUgcGuidList.
*/
public int getUpdateUgcGuidListCount() {
return updateUgcGuidList_.size();
}
/**
* <code>repeated uint64 update_ugc_guid_list = 15;</code>
*
* @param index The index of the element to return.
* @return The updateUgcGuidList at the given index.
*/
public long getUpdateUgcGuidList(int index) {
return updateUgcGuidList_.getLong(index);
}
/**
* <code>repeated uint64 update_ugc_guid_list = 15;</code>
*
* @param index The index to set the value at.
* @param value The updateUgcGuidList to set.
* @return This builder for chaining.
*/
public Builder setUpdateUgcGuidList(int index, long value) {
ensureUpdateUgcGuidListIsMutable();
updateUgcGuidList_.setLong(index, value);
onChanged();
return this;
}
/**
* <code>repeated uint64 update_ugc_guid_list = 15;</code>
*
* @param value The updateUgcGuidList to add.
* @return This builder for chaining.
*/
public Builder addUpdateUgcGuidList(long value) {
ensureUpdateUgcGuidListIsMutable();
updateUgcGuidList_.addLong(value);
onChanged();
return this;
}
/**
* <code>repeated uint64 update_ugc_guid_list = 15;</code>
*
* @param values The updateUgcGuidList to add.
* @return This builder for chaining.
*/
public Builder addAllUpdateUgcGuidList(java.lang.Iterable<? extends java.lang.Long> values) {
ensureUpdateUgcGuidListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, updateUgcGuidList_);
onChanged();
return this;
}
/**
* <code>repeated uint64 update_ugc_guid_list = 15;</code>
*
* @return This builder for chaining.
*/
public Builder clearUpdateUgcGuidList() {
updateUgcGuidList_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private int retcode_;
/**
* <code>int32 retcode = 10;</code>
*
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 10;</code>
*
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
retcode_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 10;</code>
*
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 0;
onChanged();
return this;
}
private int ugcType_ = 0;
/**
* <code>.UgcType ugc_type = 12;</code>
*
* @return The enum numeric value on the wire for ugcType.
*/
@java.lang.Override
public int getUgcTypeValue() {
return ugcType_;
}
/**
* <code>.UgcType ugc_type = 12;</code>
*
* @param value The enum numeric value on the wire for ugcType to set.
* @return This builder for chaining.
*/
public Builder setUgcTypeValue(int value) {
ugcType_ = value;
onChanged();
return this;
}
/**
* <code>.UgcType ugc_type = 12;</code>
*
* @return The ugcType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType result =
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.valueOf(ugcType_);
return result == null
? emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UNRECOGNIZED
: result;
}
/**
* <code>.UgcType ugc_type = 12;</code>
*
* @param value The ugcType to set.
* @return This builder for chaining.
*/
public Builder setUgcType(emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType value) {
if (value == null) {
throw new NullPointerException();
}
ugcType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.UgcType ugc_type = 12;</code>
*
* @return This builder for chaining.
*/
public Builder clearUgcType() {
ugcType_ = 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:CheckUgcUpdateRsp)
}
// @@protoc_insertion_point(class_scope:CheckUgcUpdateRsp)
private static final emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp();
}
public static emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<CheckUgcUpdateRsp> PARSER =
new com.google.protobuf.AbstractParser<CheckUgcUpdateRsp>() {
@java.lang.Override
public CheckUgcUpdateRsp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CheckUgcUpdateRsp(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<CheckUgcUpdateRsp> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CheckUgcUpdateRsp> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CheckUgcUpdateRsp_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_CheckUgcUpdateRsp_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\027CheckUgcUpdateRsp.proto\032\rUgcType.proto"
+ "\"^\n\021CheckUgcUpdateRsp\022\034\n\024update_ugc_guid"
+ "_list\030\017 \003(\004\022\017\n\007retcode\030\n \001(\005\022\032\n\010ugc_type"
+ "\030\014 \001(\0162\010.UgcTypeB\033\n\031emu.grasscutter.net."
+ "protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.UgcTypeOuterClass.getDescriptor(),
});
internal_static_CheckUgcUpdateRsp_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_CheckUgcUpdateRsp_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_CheckUgcUpdateRsp_descriptor,
new java.lang.String[] {
"UpdateUgcGuidList", "Retcode", "UgcType",
});
emu.grasscutter.net.proto.UgcTypeOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,522 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: CloseCommonTipsNotify.proto
package emu.grasscutter.net.proto;
public final class CloseCommonTipsNotifyOuterClass {
private CloseCommonTipsNotifyOuterClass() {}
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 CloseCommonTipsNotifyOrBuilder
extends
// @@protoc_insertion_point(interface_extends:CloseCommonTipsNotify)
com.google.protobuf.MessageOrBuilder {}
/**
*
*
* <pre>
* Name: AFLOLBEDPJM
* CmdId: 3196
* </pre>
*
* Protobuf type {@code CloseCommonTipsNotify}
*/
public static final class CloseCommonTipsNotify extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:CloseCommonTipsNotify)
CloseCommonTipsNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use CloseCommonTipsNotify.newBuilder() to construct.
private CloseCommonTipsNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CloseCommonTipsNotify() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CloseCommonTipsNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private CloseCommonTipsNotify(
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;
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.CloseCommonTipsNotifyOuterClass
.internal_static_CloseCommonTipsNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass
.internal_static_CloseCommonTipsNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify.class,
emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify other =
(emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
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.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
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.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
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.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
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.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
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.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify 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>
* Name: AFLOLBEDPJM
* CmdId: 3196
* </pre>
*
* Protobuf type {@code CloseCommonTipsNotify}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:CloseCommonTipsNotify)
emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass
.internal_static_CloseCommonTipsNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass
.internal_static_CloseCommonTipsNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
.class,
emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
.Builder.class);
}
// Construct using
// emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass
.internal_static_CloseCommonTipsNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
build() {
emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
buildPartial() {
emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify result =
new emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify(
this);
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.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify) {
return mergeFrom(
(emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify)
other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify other) {
if (other
== emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
.getDefaultInstance()) return this;
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.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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:CloseCommonTipsNotify)
}
// @@protoc_insertion_point(class_scope:CloseCommonTipsNotify)
private static final emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass
.CloseCommonTipsNotify
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify();
}
public static emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<CloseCommonTipsNotify> PARSER =
new com.google.protobuf.AbstractParser<CloseCommonTipsNotify>() {
@java.lang.Override
public CloseCommonTipsNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CloseCommonTipsNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<CloseCommonTipsNotify> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CloseCommonTipsNotify> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.CloseCommonTipsNotifyOuterClass.CloseCommonTipsNotify
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CloseCommonTipsNotify_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_CloseCommonTipsNotify_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\033CloseCommonTipsNotify.proto\"\027\n\025CloseCo"
+ "mmonTipsNotifyB\033\n\031emu.grasscutter.net.pr"
+ "otob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_CloseCommonTipsNotify_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_CloseCommonTipsNotify_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_CloseCommonTipsNotify_descriptor, new java.lang.String[] {});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,730 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DungeonPlayerDieReq.proto
package emu.grasscutter.net.proto;
public final class DungeonPlayerDieReqOuterClass {
private DungeonPlayerDieReqOuterClass() {}
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 DungeonPlayerDieReqOrBuilder
extends
// @@protoc_insertion_point(interface_extends:DungeonPlayerDieReq)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 dungeon_id = 9;</code>
*
* @return The dungeonId.
*/
int getDungeonId();
/**
* <code>.PlayerDieType die_type = 13;</code>
*
* @return The enum numeric value on the wire for dieType.
*/
int getDieTypeValue();
/**
* <code>.PlayerDieType die_type = 13;</code>
*
* @return The dieType.
*/
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType getDieType();
}
/**
*
*
* <pre>
* Name: MJCFJHMAMOL
* CmdId: 929
* </pre>
*
* Protobuf type {@code DungeonPlayerDieReq}
*/
public static final class DungeonPlayerDieReq extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:DungeonPlayerDieReq)
DungeonPlayerDieReqOrBuilder {
private static final long serialVersionUID = 0L;
// Use DungeonPlayerDieReq.newBuilder() to construct.
private DungeonPlayerDieReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DungeonPlayerDieReq() {
dieType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DungeonPlayerDieReq();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private DungeonPlayerDieReq(
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 72:
{
dungeonId_ = input.readUInt32();
break;
}
case 104:
{
int rawValue = input.readEnum();
dieType_ = rawValue;
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.DungeonPlayerDieReqOuterClass
.internal_static_DungeonPlayerDieReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass
.internal_static_DungeonPlayerDieReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq.class,
emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq.Builder
.class);
}
public static final int DUNGEON_ID_FIELD_NUMBER = 9;
private int dungeonId_;
/**
* <code>uint32 dungeon_id = 9;</code>
*
* @return The dungeonId.
*/
@java.lang.Override
public int getDungeonId() {
return dungeonId_;
}
public static final int DIE_TYPE_FIELD_NUMBER = 13;
private int dieType_;
/**
* <code>.PlayerDieType die_type = 13;</code>
*
* @return The enum numeric value on the wire for dieType.
*/
@java.lang.Override
public int getDieTypeValue() {
return dieType_;
}
/**
* <code>.PlayerDieType die_type = 13;</code>
*
* @return The dieType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType getDieType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType result =
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType.valueOf(dieType_);
return result == null
? emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType.UNRECOGNIZED
: result;
}
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 (dungeonId_ != 0) {
output.writeUInt32(9, dungeonId_);
}
if (dieType_
!= emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType.PLAYER_DIE_TYPE_NONE
.getNumber()) {
output.writeEnum(13, dieType_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (dungeonId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(9, dungeonId_);
}
if (dieType_
!= emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType.PLAYER_DIE_TYPE_NONE
.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, dieType_);
}
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.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq other =
(emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq) obj;
if (getDungeonId() != other.getDungeonId()) return false;
if (dieType_ != other.dieType_) 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) + DUNGEON_ID_FIELD_NUMBER;
hash = (53 * hash) + getDungeonId();
hash = (37 * hash) + DIE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + dieType_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
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.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
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.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
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.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
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.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
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.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq 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>
* Name: MJCFJHMAMOL
* CmdId: 929
* </pre>
*
* Protobuf type {@code DungeonPlayerDieReq}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:DungeonPlayerDieReq)
emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReqOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass
.internal_static_DungeonPlayerDieReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass
.internal_static_DungeonPlayerDieReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq.class,
emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq.Builder
.class);
}
// Construct using
// emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq.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();
dungeonId_ = 0;
dieType_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass
.internal_static_DungeonPlayerDieReq_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq build() {
emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
buildPartial() {
emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq result =
new emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq(this);
result.dungeonId_ = dungeonId_;
result.dieType_ = dieType_;
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.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq) {
return mergeFrom(
(emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq other) {
if (other
== emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
.getDefaultInstance()) return this;
if (other.getDungeonId() != 0) {
setDungeonId(other.getDungeonId());
}
if (other.dieType_ != 0) {
setDieTypeValue(other.getDieTypeValue());
}
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.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq parsedMessage =
null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int dungeonId_;
/**
* <code>uint32 dungeon_id = 9;</code>
*
* @return The dungeonId.
*/
@java.lang.Override
public int getDungeonId() {
return dungeonId_;
}
/**
* <code>uint32 dungeon_id = 9;</code>
*
* @param value The dungeonId to set.
* @return This builder for chaining.
*/
public Builder setDungeonId(int value) {
dungeonId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 dungeon_id = 9;</code>
*
* @return This builder for chaining.
*/
public Builder clearDungeonId() {
dungeonId_ = 0;
onChanged();
return this;
}
private int dieType_ = 0;
/**
* <code>.PlayerDieType die_type = 13;</code>
*
* @return The enum numeric value on the wire for dieType.
*/
@java.lang.Override
public int getDieTypeValue() {
return dieType_;
}
/**
* <code>.PlayerDieType die_type = 13;</code>
*
* @param value The enum numeric value on the wire for dieType to set.
* @return This builder for chaining.
*/
public Builder setDieTypeValue(int value) {
dieType_ = value;
onChanged();
return this;
}
/**
* <code>.PlayerDieType die_type = 13;</code>
*
* @return The dieType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType getDieType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType result =
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType.valueOf(dieType_);
return result == null
? emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType.UNRECOGNIZED
: result;
}
/**
* <code>.PlayerDieType die_type = 13;</code>
*
* @param value The dieType to set.
* @return This builder for chaining.
*/
public Builder setDieType(
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType value) {
if (value == null) {
throw new NullPointerException();
}
dieType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.PlayerDieType die_type = 13;</code>
*
* @return This builder for chaining.
*/
public Builder clearDieType() {
dieType_ = 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:DungeonPlayerDieReq)
}
// @@protoc_insertion_point(class_scope:DungeonPlayerDieReq)
private static final emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq();
}
public static emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<DungeonPlayerDieReq> PARSER =
new com.google.protobuf.AbstractParser<DungeonPlayerDieReq>() {
@java.lang.Override
public DungeonPlayerDieReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DungeonPlayerDieReq(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<DungeonPlayerDieReq> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DungeonPlayerDieReq> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonPlayerDieReqOuterClass.DungeonPlayerDieReq
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_DungeonPlayerDieReq_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_DungeonPlayerDieReq_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\031DungeonPlayerDieReq.proto\032\023PlayerDieTy"
+ "pe.proto\"K\n\023DungeonPlayerDieReq\022\022\n\ndunge"
+ "on_id\030\t \001(\r\022 \n\010die_type\030\r \001(\0162\016.PlayerDi"
+ "eTypeB\033\n\031emu.grasscutter.net.protob\006prot"
+ "o3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.getDescriptor(),
});
internal_static_DungeonPlayerDieReq_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_DungeonPlayerDieReq_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_DungeonPlayerDieReq_descriptor,
new java.lang.String[] {
"DungeonId", "DieType",
});
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,593 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DungeonPlayerDieRsp.proto
package emu.grasscutter.net.proto;
public final class DungeonPlayerDieRspOuterClass {
private DungeonPlayerDieRspOuterClass() {}
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 DungeonPlayerDieRspOrBuilder
extends
// @@protoc_insertion_point(interface_extends:DungeonPlayerDieRsp)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 1;</code>
*
* @return The retcode.
*/
int getRetcode();
}
/**
*
*
* <pre>
* Name: PAANABIGFPI
* CmdId: 927
* </pre>
*
* Protobuf type {@code DungeonPlayerDieRsp}
*/
public static final class DungeonPlayerDieRsp extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:DungeonPlayerDieRsp)
DungeonPlayerDieRspOrBuilder {
private static final long serialVersionUID = 0L;
// Use DungeonPlayerDieRsp.newBuilder() to construct.
private DungeonPlayerDieRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DungeonPlayerDieRsp() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DungeonPlayerDieRsp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private DungeonPlayerDieRsp(
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 8:
{
retcode_ = input.readInt32();
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.DungeonPlayerDieRspOuterClass
.internal_static_DungeonPlayerDieRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass
.internal_static_DungeonPlayerDieRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp.class,
emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp.Builder
.class);
}
public static final int RETCODE_FIELD_NUMBER = 1;
private int retcode_;
/**
* <code>int32 retcode = 1;</code>
*
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
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 (retcode_ != 0) {
output.writeInt32(1, retcode_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, retcode_);
}
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.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp other =
(emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp) obj;
if (getRetcode() != other.getRetcode()) 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) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
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.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
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.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
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.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
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.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
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.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp 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>
* Name: PAANABIGFPI
* CmdId: 927
* </pre>
*
* Protobuf type {@code DungeonPlayerDieRsp}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:DungeonPlayerDieRsp)
emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRspOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass
.internal_static_DungeonPlayerDieRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass
.internal_static_DungeonPlayerDieRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp.class,
emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp.Builder
.class);
}
// Construct using
// emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp.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();
retcode_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass
.internal_static_DungeonPlayerDieRsp_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp build() {
emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
buildPartial() {
emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp result =
new emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp(this);
result.retcode_ = retcode_;
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.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp) {
return mergeFrom(
(emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp other) {
if (other
== emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
.getDefaultInstance()) return this;
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
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.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp parsedMessage =
null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int retcode_;
/**
* <code>int32 retcode = 1;</code>
*
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 1;</code>
*
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
retcode_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 1;</code>
*
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 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:DungeonPlayerDieRsp)
}
// @@protoc_insertion_point(class_scope:DungeonPlayerDieRsp)
private static final emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp();
}
public static emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<DungeonPlayerDieRsp> PARSER =
new com.google.protobuf.AbstractParser<DungeonPlayerDieRsp>() {
@java.lang.Override
public DungeonPlayerDieRsp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DungeonPlayerDieRsp(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<DungeonPlayerDieRsp> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DungeonPlayerDieRsp> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonPlayerDieRspOuterClass.DungeonPlayerDieRsp
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_DungeonPlayerDieRsp_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_DungeonPlayerDieRsp_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\031DungeonPlayerDieRsp.proto\"&\n\023DungeonPl"
+ "ayerDieRsp\022\017\n\007retcode\030\001 \001(\005B\033\n\031emu.grass"
+ "cutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_DungeonPlayerDieRsp_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_DungeonPlayerDieRsp_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_DungeonPlayerDieRsp_descriptor,
new java.lang.String[] {
"Retcode",
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,786 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: EnterTrialAvatarActivityDungeonReq.proto
package emu.grasscutter.net.proto;
public final class EnterTrialAvatarActivityDungeonReqOuterClass {
private EnterTrialAvatarActivityDungeonReqOuterClass() {}
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 EnterTrialAvatarActivityDungeonReqOrBuilder
extends
// @@protoc_insertion_point(interface_extends:EnterTrialAvatarActivityDungeonReq)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 enter_point_id = 15;</code>
*
* @return The enterPointId.
*/
int getEnterPointId();
/**
* <code>uint32 activity_id = 7;</code>
*
* @return The activityId.
*/
int getActivityId();
/**
* <code>uint32 trial_avatar_index_id = 13;</code>
*
* @return The trialAvatarIndexId.
*/
int getTrialAvatarIndexId();
}
/**
*
*
* <pre>
* Name: BODNCMMJHFA
* CmdId: 2084
* </pre>
*
* Protobuf type {@code EnterTrialAvatarActivityDungeonReq}
*/
public static final class EnterTrialAvatarActivityDungeonReq
extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:EnterTrialAvatarActivityDungeonReq)
EnterTrialAvatarActivityDungeonReqOrBuilder {
private static final long serialVersionUID = 0L;
// Use EnterTrialAvatarActivityDungeonReq.newBuilder() to construct.
private EnterTrialAvatarActivityDungeonReq(
com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private EnterTrialAvatarActivityDungeonReq() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new EnterTrialAvatarActivityDungeonReq();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private EnterTrialAvatarActivityDungeonReq(
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 56:
{
activityId_ = input.readUInt32();
break;
}
case 104:
{
trialAvatarIndexId_ = input.readUInt32();
break;
}
case 120:
{
enterPointId_ = input.readUInt32();
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.EnterTrialAvatarActivityDungeonReqOuterClass
.internal_static_EnterTrialAvatarActivityDungeonReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.internal_static_EnterTrialAvatarActivityDungeonReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq.class,
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq.Builder.class);
}
public static final int ENTER_POINT_ID_FIELD_NUMBER = 15;
private int enterPointId_;
/**
* <code>uint32 enter_point_id = 15;</code>
*
* @return The enterPointId.
*/
@java.lang.Override
public int getEnterPointId() {
return enterPointId_;
}
public static final int ACTIVITY_ID_FIELD_NUMBER = 7;
private int activityId_;
/**
* <code>uint32 activity_id = 7;</code>
*
* @return The activityId.
*/
@java.lang.Override
public int getActivityId() {
return activityId_;
}
public static final int TRIAL_AVATAR_INDEX_ID_FIELD_NUMBER = 13;
private int trialAvatarIndexId_;
/**
* <code>uint32 trial_avatar_index_id = 13;</code>
*
* @return The trialAvatarIndexId.
*/
@java.lang.Override
public int getTrialAvatarIndexId() {
return trialAvatarIndexId_;
}
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 (activityId_ != 0) {
output.writeUInt32(7, activityId_);
}
if (trialAvatarIndexId_ != 0) {
output.writeUInt32(13, trialAvatarIndexId_);
}
if (enterPointId_ != 0) {
output.writeUInt32(15, enterPointId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (activityId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(7, activityId_);
}
if (trialAvatarIndexId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(13, trialAvatarIndexId_);
}
if (enterPointId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(15, enterPointId_);
}
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.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
other =
(emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq)
obj;
if (getEnterPointId() != other.getEnterPointId()) return false;
if (getActivityId() != other.getActivityId()) return false;
if (getTrialAvatarIndexId() != other.getTrialAvatarIndexId()) 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) + ENTER_POINT_ID_FIELD_NUMBER;
hash = (53 * hash) + getEnterPointId();
hash = (37 * hash) + ACTIVITY_ID_FIELD_NUMBER;
hash = (53 * hash) + getActivityId();
hash = (37 * hash) + TRIAL_AVATAR_INDEX_ID_FIELD_NUMBER;
hash = (53 * hash) + getTrialAvatarIndexId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
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.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
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.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
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.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
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.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
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.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
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>
* Name: BODNCMMJHFA
* CmdId: 2084
* </pre>
*
* Protobuf type {@code EnterTrialAvatarActivityDungeonReq}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:EnterTrialAvatarActivityDungeonReq)
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReqOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.internal_static_EnterTrialAvatarActivityDungeonReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.internal_static_EnterTrialAvatarActivityDungeonReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq.class,
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq.Builder.class);
}
// Construct using
// emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass.EnterTrialAvatarActivityDungeonReq.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();
enterPointId_ = 0;
activityId_ = 0;
trialAvatarIndexId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.internal_static_EnterTrialAvatarActivityDungeonReq_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
build() {
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
buildPartial() {
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
result =
new emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq(this);
result.enterPointId_ = enterPointId_;
result.activityId_ = activityId_;
result.trialAvatarIndexId_ = trialAvatarIndexId_;
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.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq) {
return mergeFrom(
(emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq)
other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
other) {
if (other
== emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq.getDefaultInstance()) return this;
if (other.getEnterPointId() != 0) {
setEnterPointId(other.getEnterPointId());
}
if (other.getActivityId() != 0) {
setActivityId(other.getActivityId());
}
if (other.getTrialAvatarIndexId() != 0) {
setTrialAvatarIndexId(other.getTrialAvatarIndexId());
}
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.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int enterPointId_;
/**
* <code>uint32 enter_point_id = 15;</code>
*
* @return The enterPointId.
*/
@java.lang.Override
public int getEnterPointId() {
return enterPointId_;
}
/**
* <code>uint32 enter_point_id = 15;</code>
*
* @param value The enterPointId to set.
* @return This builder for chaining.
*/
public Builder setEnterPointId(int value) {
enterPointId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 enter_point_id = 15;</code>
*
* @return This builder for chaining.
*/
public Builder clearEnterPointId() {
enterPointId_ = 0;
onChanged();
return this;
}
private int activityId_;
/**
* <code>uint32 activity_id = 7;</code>
*
* @return The activityId.
*/
@java.lang.Override
public int getActivityId() {
return activityId_;
}
/**
* <code>uint32 activity_id = 7;</code>
*
* @param value The activityId to set.
* @return This builder for chaining.
*/
public Builder setActivityId(int value) {
activityId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 activity_id = 7;</code>
*
* @return This builder for chaining.
*/
public Builder clearActivityId() {
activityId_ = 0;
onChanged();
return this;
}
private int trialAvatarIndexId_;
/**
* <code>uint32 trial_avatar_index_id = 13;</code>
*
* @return The trialAvatarIndexId.
*/
@java.lang.Override
public int getTrialAvatarIndexId() {
return trialAvatarIndexId_;
}
/**
* <code>uint32 trial_avatar_index_id = 13;</code>
*
* @param value The trialAvatarIndexId to set.
* @return This builder for chaining.
*/
public Builder setTrialAvatarIndexId(int value) {
trialAvatarIndexId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 trial_avatar_index_id = 13;</code>
*
* @return This builder for chaining.
*/
public Builder clearTrialAvatarIndexId() {
trialAvatarIndexId_ = 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:EnterTrialAvatarActivityDungeonReq)
}
// @@protoc_insertion_point(class_scope:EnterTrialAvatarActivityDungeonReq)
private static final emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq();
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<EnterTrialAvatarActivityDungeonReq> PARSER =
new com.google.protobuf.AbstractParser<EnterTrialAvatarActivityDungeonReq>() {
@java.lang.Override
public EnterTrialAvatarActivityDungeonReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EnterTrialAvatarActivityDungeonReq(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<EnterTrialAvatarActivityDungeonReq> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<EnterTrialAvatarActivityDungeonReq> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonReqOuterClass
.EnterTrialAvatarActivityDungeonReq
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_EnterTrialAvatarActivityDungeonReq_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_EnterTrialAvatarActivityDungeonReq_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(EnterTrialAvatarActivityDungeonReq.pro"
+ "to\"p\n\"EnterTrialAvatarActivityDungeonReq"
+ "\022\026\n\016enter_point_id\030\017 \001(\r\022\023\n\013activity_id\030"
+ "\007 \001(\r\022\035\n\025trial_avatar_index_id\030\r \001(\rB\033\n\031"
+ "emu.grasscutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_EnterTrialAvatarActivityDungeonReq_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_EnterTrialAvatarActivityDungeonReq_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_EnterTrialAvatarActivityDungeonReq_descriptor,
new java.lang.String[] {
"EnterPointId", "ActivityId", "TrialAvatarIndexId",
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,786 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: EnterTrialAvatarActivityDungeonRsp.proto
package emu.grasscutter.net.proto;
public final class EnterTrialAvatarActivityDungeonRspOuterClass {
private EnterTrialAvatarActivityDungeonRspOuterClass() {}
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 EnterTrialAvatarActivityDungeonRspOrBuilder
extends
// @@protoc_insertion_point(interface_extends:EnterTrialAvatarActivityDungeonRsp)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 3;</code>
*
* @return The retcode.
*/
int getRetcode();
/**
* <code>uint32 activity_id = 12;</code>
*
* @return The activityId.
*/
int getActivityId();
/**
* <code>uint32 trial_avatar_index_id = 5;</code>
*
* @return The trialAvatarIndexId.
*/
int getTrialAvatarIndexId();
}
/**
*
*
* <pre>
* Name: PAFBDJNHHJB
* CmdId: 2154
* </pre>
*
* Protobuf type {@code EnterTrialAvatarActivityDungeonRsp}
*/
public static final class EnterTrialAvatarActivityDungeonRsp
extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:EnterTrialAvatarActivityDungeonRsp)
EnterTrialAvatarActivityDungeonRspOrBuilder {
private static final long serialVersionUID = 0L;
// Use EnterTrialAvatarActivityDungeonRsp.newBuilder() to construct.
private EnterTrialAvatarActivityDungeonRsp(
com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private EnterTrialAvatarActivityDungeonRsp() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new EnterTrialAvatarActivityDungeonRsp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private EnterTrialAvatarActivityDungeonRsp(
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 24:
{
retcode_ = input.readInt32();
break;
}
case 40:
{
trialAvatarIndexId_ = input.readUInt32();
break;
}
case 96:
{
activityId_ = input.readUInt32();
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.EnterTrialAvatarActivityDungeonRspOuterClass
.internal_static_EnterTrialAvatarActivityDungeonRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.internal_static_EnterTrialAvatarActivityDungeonRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp.class,
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp.Builder.class);
}
public static final int RETCODE_FIELD_NUMBER = 3;
private int retcode_;
/**
* <code>int32 retcode = 3;</code>
*
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
public static final int ACTIVITY_ID_FIELD_NUMBER = 12;
private int activityId_;
/**
* <code>uint32 activity_id = 12;</code>
*
* @return The activityId.
*/
@java.lang.Override
public int getActivityId() {
return activityId_;
}
public static final int TRIAL_AVATAR_INDEX_ID_FIELD_NUMBER = 5;
private int trialAvatarIndexId_;
/**
* <code>uint32 trial_avatar_index_id = 5;</code>
*
* @return The trialAvatarIndexId.
*/
@java.lang.Override
public int getTrialAvatarIndexId() {
return trialAvatarIndexId_;
}
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 (retcode_ != 0) {
output.writeInt32(3, retcode_);
}
if (trialAvatarIndexId_ != 0) {
output.writeUInt32(5, trialAvatarIndexId_);
}
if (activityId_ != 0) {
output.writeUInt32(12, activityId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, retcode_);
}
if (trialAvatarIndexId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, trialAvatarIndexId_);
}
if (activityId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(12, activityId_);
}
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.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
other =
(emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp)
obj;
if (getRetcode() != other.getRetcode()) return false;
if (getActivityId() != other.getActivityId()) return false;
if (getTrialAvatarIndexId() != other.getTrialAvatarIndexId()) 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) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + ACTIVITY_ID_FIELD_NUMBER;
hash = (53 * hash) + getActivityId();
hash = (37 * hash) + TRIAL_AVATAR_INDEX_ID_FIELD_NUMBER;
hash = (53 * hash) + getTrialAvatarIndexId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
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.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
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.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
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.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
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.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
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.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
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>
* Name: PAFBDJNHHJB
* CmdId: 2154
* </pre>
*
* Protobuf type {@code EnterTrialAvatarActivityDungeonRsp}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:EnterTrialAvatarActivityDungeonRsp)
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRspOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.internal_static_EnterTrialAvatarActivityDungeonRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.internal_static_EnterTrialAvatarActivityDungeonRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp.class,
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp.Builder.class);
}
// Construct using
// emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass.EnterTrialAvatarActivityDungeonRsp.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();
retcode_ = 0;
activityId_ = 0;
trialAvatarIndexId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.internal_static_EnterTrialAvatarActivityDungeonRsp_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
build() {
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
buildPartial() {
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
result =
new emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp(this);
result.retcode_ = retcode_;
result.activityId_ = activityId_;
result.trialAvatarIndexId_ = trialAvatarIndexId_;
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.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp) {
return mergeFrom(
(emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp)
other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
other) {
if (other
== emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp.getDefaultInstance()) return this;
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getActivityId() != 0) {
setActivityId(other.getActivityId());
}
if (other.getTrialAvatarIndexId() != 0) {
setTrialAvatarIndexId(other.getTrialAvatarIndexId());
}
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.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int retcode_;
/**
* <code>int32 retcode = 3;</code>
*
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 3;</code>
*
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
retcode_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 3;</code>
*
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 0;
onChanged();
return this;
}
private int activityId_;
/**
* <code>uint32 activity_id = 12;</code>
*
* @return The activityId.
*/
@java.lang.Override
public int getActivityId() {
return activityId_;
}
/**
* <code>uint32 activity_id = 12;</code>
*
* @param value The activityId to set.
* @return This builder for chaining.
*/
public Builder setActivityId(int value) {
activityId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 activity_id = 12;</code>
*
* @return This builder for chaining.
*/
public Builder clearActivityId() {
activityId_ = 0;
onChanged();
return this;
}
private int trialAvatarIndexId_;
/**
* <code>uint32 trial_avatar_index_id = 5;</code>
*
* @return The trialAvatarIndexId.
*/
@java.lang.Override
public int getTrialAvatarIndexId() {
return trialAvatarIndexId_;
}
/**
* <code>uint32 trial_avatar_index_id = 5;</code>
*
* @param value The trialAvatarIndexId to set.
* @return This builder for chaining.
*/
public Builder setTrialAvatarIndexId(int value) {
trialAvatarIndexId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 trial_avatar_index_id = 5;</code>
*
* @return This builder for chaining.
*/
public Builder clearTrialAvatarIndexId() {
trialAvatarIndexId_ = 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:EnterTrialAvatarActivityDungeonRsp)
}
// @@protoc_insertion_point(class_scope:EnterTrialAvatarActivityDungeonRsp)
private static final emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp();
}
public static emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<EnterTrialAvatarActivityDungeonRsp> PARSER =
new com.google.protobuf.AbstractParser<EnterTrialAvatarActivityDungeonRsp>() {
@java.lang.Override
public EnterTrialAvatarActivityDungeonRsp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EnterTrialAvatarActivityDungeonRsp(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<EnterTrialAvatarActivityDungeonRsp> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<EnterTrialAvatarActivityDungeonRsp> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.EnterTrialAvatarActivityDungeonRspOuterClass
.EnterTrialAvatarActivityDungeonRsp
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_EnterTrialAvatarActivityDungeonRsp_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_EnterTrialAvatarActivityDungeonRsp_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(EnterTrialAvatarActivityDungeonRsp.pro"
+ "to\"i\n\"EnterTrialAvatarActivityDungeonRsp"
+ "\022\017\n\007retcode\030\003 \001(\005\022\023\n\013activity_id\030\014 \001(\r\022\035"
+ "\n\025trial_avatar_index_id\030\005 \001(\rB\033\n\031emu.gra"
+ "sscutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_EnterTrialAvatarActivityDungeonRsp_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_EnterTrialAvatarActivityDungeonRsp_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_EnterTrialAvatarActivityDungeonRsp_descriptor,
new java.lang.String[] {
"Retcode", "ActivityId", "TrialAvatarIndexId",
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,814 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ExecuteGadgetLuaReq.proto
package emu.grasscutter.net.proto;
public final class ExecuteGadgetLuaReqOuterClass {
private ExecuteGadgetLuaReqOuterClass() {}
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 ExecuteGadgetLuaReqOrBuilder
extends
// @@protoc_insertion_point(interface_extends:ExecuteGadgetLuaReq)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 param1 = 14;</code>
*
* @return The param1.
*/
int getParam1();
/**
* <code>int32 param3 = 5;</code>
*
* @return The param3.
*/
int getParam3();
/**
* <code>int32 param2 = 4;</code>
*
* @return The param2.
*/
int getParam2();
/**
* <code>uint32 source_entity_id = 9;</code>
*
* @return The sourceEntityId.
*/
int getSourceEntityId();
}
/**
*
*
* <pre>
* Name: CPGCKPFMILP
* CmdId: 217
* </pre>
*
* Protobuf type {@code ExecuteGadgetLuaReq}
*/
public static final class ExecuteGadgetLuaReq extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:ExecuteGadgetLuaReq)
ExecuteGadgetLuaReqOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecuteGadgetLuaReq.newBuilder() to construct.
private ExecuteGadgetLuaReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ExecuteGadgetLuaReq() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ExecuteGadgetLuaReq();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private ExecuteGadgetLuaReq(
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 32:
{
param2_ = input.readInt32();
break;
}
case 40:
{
param3_ = input.readInt32();
break;
}
case 72:
{
sourceEntityId_ = input.readUInt32();
break;
}
case 112:
{
param1_ = input.readInt32();
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.ExecuteGadgetLuaReqOuterClass
.internal_static_ExecuteGadgetLuaReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass
.internal_static_ExecuteGadgetLuaReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq.class,
emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq.Builder
.class);
}
public static final int PARAM1_FIELD_NUMBER = 14;
private int param1_;
/**
* <code>int32 param1 = 14;</code>
*
* @return The param1.
*/
@java.lang.Override
public int getParam1() {
return param1_;
}
public static final int PARAM3_FIELD_NUMBER = 5;
private int param3_;
/**
* <code>int32 param3 = 5;</code>
*
* @return The param3.
*/
@java.lang.Override
public int getParam3() {
return param3_;
}
public static final int PARAM2_FIELD_NUMBER = 4;
private int param2_;
/**
* <code>int32 param2 = 4;</code>
*
* @return The param2.
*/
@java.lang.Override
public int getParam2() {
return param2_;
}
public static final int SOURCE_ENTITY_ID_FIELD_NUMBER = 9;
private int sourceEntityId_;
/**
* <code>uint32 source_entity_id = 9;</code>
*
* @return The sourceEntityId.
*/
@java.lang.Override
public int getSourceEntityId() {
return sourceEntityId_;
}
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 (param2_ != 0) {
output.writeInt32(4, param2_);
}
if (param3_ != 0) {
output.writeInt32(5, param3_);
}
if (sourceEntityId_ != 0) {
output.writeUInt32(9, sourceEntityId_);
}
if (param1_ != 0) {
output.writeInt32(14, param1_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (param2_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, param2_);
}
if (param3_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, param3_);
}
if (sourceEntityId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(9, sourceEntityId_);
}
if (param1_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(14, param1_);
}
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.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq other =
(emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq) obj;
if (getParam1() != other.getParam1()) return false;
if (getParam3() != other.getParam3()) return false;
if (getParam2() != other.getParam2()) return false;
if (getSourceEntityId() != other.getSourceEntityId()) 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) + PARAM1_FIELD_NUMBER;
hash = (53 * hash) + getParam1();
hash = (37 * hash) + PARAM3_FIELD_NUMBER;
hash = (53 * hash) + getParam3();
hash = (37 * hash) + PARAM2_FIELD_NUMBER;
hash = (53 * hash) + getParam2();
hash = (37 * hash) + SOURCE_ENTITY_ID_FIELD_NUMBER;
hash = (53 * hash) + getSourceEntityId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
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.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
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.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
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.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
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.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
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.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq 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>
* Name: CPGCKPFMILP
* CmdId: 217
* </pre>
*
* Protobuf type {@code ExecuteGadgetLuaReq}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:ExecuteGadgetLuaReq)
emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReqOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass
.internal_static_ExecuteGadgetLuaReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass
.internal_static_ExecuteGadgetLuaReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq.class,
emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq.Builder
.class);
}
// Construct using
// emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq.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();
param1_ = 0;
param3_ = 0;
param2_ = 0;
sourceEntityId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass
.internal_static_ExecuteGadgetLuaReq_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq build() {
emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
buildPartial() {
emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq result =
new emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq(this);
result.param1_ = param1_;
result.param3_ = param3_;
result.param2_ = param2_;
result.sourceEntityId_ = sourceEntityId_;
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.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq) {
return mergeFrom(
(emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq other) {
if (other
== emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
.getDefaultInstance()) return this;
if (other.getParam1() != 0) {
setParam1(other.getParam1());
}
if (other.getParam3() != 0) {
setParam3(other.getParam3());
}
if (other.getParam2() != 0) {
setParam2(other.getParam2());
}
if (other.getSourceEntityId() != 0) {
setSourceEntityId(other.getSourceEntityId());
}
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.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq parsedMessage =
null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int param1_;
/**
* <code>int32 param1 = 14;</code>
*
* @return The param1.
*/
@java.lang.Override
public int getParam1() {
return param1_;
}
/**
* <code>int32 param1 = 14;</code>
*
* @param value The param1 to set.
* @return This builder for chaining.
*/
public Builder setParam1(int value) {
param1_ = value;
onChanged();
return this;
}
/**
* <code>int32 param1 = 14;</code>
*
* @return This builder for chaining.
*/
public Builder clearParam1() {
param1_ = 0;
onChanged();
return this;
}
private int param3_;
/**
* <code>int32 param3 = 5;</code>
*
* @return The param3.
*/
@java.lang.Override
public int getParam3() {
return param3_;
}
/**
* <code>int32 param3 = 5;</code>
*
* @param value The param3 to set.
* @return This builder for chaining.
*/
public Builder setParam3(int value) {
param3_ = value;
onChanged();
return this;
}
/**
* <code>int32 param3 = 5;</code>
*
* @return This builder for chaining.
*/
public Builder clearParam3() {
param3_ = 0;
onChanged();
return this;
}
private int param2_;
/**
* <code>int32 param2 = 4;</code>
*
* @return The param2.
*/
@java.lang.Override
public int getParam2() {
return param2_;
}
/**
* <code>int32 param2 = 4;</code>
*
* @param value The param2 to set.
* @return This builder for chaining.
*/
public Builder setParam2(int value) {
param2_ = value;
onChanged();
return this;
}
/**
* <code>int32 param2 = 4;</code>
*
* @return This builder for chaining.
*/
public Builder clearParam2() {
param2_ = 0;
onChanged();
return this;
}
private int sourceEntityId_;
/**
* <code>uint32 source_entity_id = 9;</code>
*
* @return The sourceEntityId.
*/
@java.lang.Override
public int getSourceEntityId() {
return sourceEntityId_;
}
/**
* <code>uint32 source_entity_id = 9;</code>
*
* @param value The sourceEntityId to set.
* @return This builder for chaining.
*/
public Builder setSourceEntityId(int value) {
sourceEntityId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 source_entity_id = 9;</code>
*
* @return This builder for chaining.
*/
public Builder clearSourceEntityId() {
sourceEntityId_ = 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:ExecuteGadgetLuaReq)
}
// @@protoc_insertion_point(class_scope:ExecuteGadgetLuaReq)
private static final emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq();
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ExecuteGadgetLuaReq> PARSER =
new com.google.protobuf.AbstractParser<ExecuteGadgetLuaReq>() {
@java.lang.Override
public ExecuteGadgetLuaReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecuteGadgetLuaReq(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ExecuteGadgetLuaReq> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ExecuteGadgetLuaReq> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.ExecuteGadgetLuaReqOuterClass.ExecuteGadgetLuaReq
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ExecuteGadgetLuaReq_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ExecuteGadgetLuaReq_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\031ExecuteGadgetLuaReq.proto\"_\n\023ExecuteGa"
+ "dgetLuaReq\022\016\n\006param1\030\016 \001(\005\022\016\n\006param3\030\005 \001"
+ "(\005\022\016\n\006param2\030\004 \001(\005\022\030\n\020source_entity_id\030\t"
+ " \001(\rB\033\n\031emu.grasscutter.net.protob\006proto"
+ "3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_ExecuteGadgetLuaReq_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_ExecuteGadgetLuaReq_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ExecuteGadgetLuaReq_descriptor,
new java.lang.String[] {
"Param1", "Param3", "Param2", "SourceEntityId",
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,593 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ExecuteGadgetLuaRsp.proto
package emu.grasscutter.net.proto;
public final class ExecuteGadgetLuaRspOuterClass {
private ExecuteGadgetLuaRspOuterClass() {}
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 ExecuteGadgetLuaRspOrBuilder
extends
// @@protoc_insertion_point(interface_extends:ExecuteGadgetLuaRsp)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 7;</code>
*
* @return The retcode.
*/
int getRetcode();
}
/**
*
*
* <pre>
* Name: HAJKCLEOHJL
* CmdId: 224
* </pre>
*
* Protobuf type {@code ExecuteGadgetLuaRsp}
*/
public static final class ExecuteGadgetLuaRsp extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:ExecuteGadgetLuaRsp)
ExecuteGadgetLuaRspOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecuteGadgetLuaRsp.newBuilder() to construct.
private ExecuteGadgetLuaRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ExecuteGadgetLuaRsp() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ExecuteGadgetLuaRsp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private ExecuteGadgetLuaRsp(
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 56:
{
retcode_ = input.readInt32();
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.ExecuteGadgetLuaRspOuterClass
.internal_static_ExecuteGadgetLuaRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass
.internal_static_ExecuteGadgetLuaRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp.class,
emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp.Builder
.class);
}
public static final int RETCODE_FIELD_NUMBER = 7;
private int retcode_;
/**
* <code>int32 retcode = 7;</code>
*
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
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 (retcode_ != 0) {
output.writeInt32(7, retcode_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, retcode_);
}
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.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp other =
(emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp) obj;
if (getRetcode() != other.getRetcode()) 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) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
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.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
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.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
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.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
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.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
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.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp 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>
* Name: HAJKCLEOHJL
* CmdId: 224
* </pre>
*
* Protobuf type {@code ExecuteGadgetLuaRsp}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:ExecuteGadgetLuaRsp)
emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRspOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass
.internal_static_ExecuteGadgetLuaRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass
.internal_static_ExecuteGadgetLuaRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp.class,
emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp.Builder
.class);
}
// Construct using
// emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp.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();
retcode_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass
.internal_static_ExecuteGadgetLuaRsp_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp build() {
emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
buildPartial() {
emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp result =
new emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp(this);
result.retcode_ = retcode_;
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.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp) {
return mergeFrom(
(emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp other) {
if (other
== emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
.getDefaultInstance()) return this;
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
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.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp parsedMessage =
null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int retcode_;
/**
* <code>int32 retcode = 7;</code>
*
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 7;</code>
*
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
retcode_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 7;</code>
*
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 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:ExecuteGadgetLuaRsp)
}
// @@protoc_insertion_point(class_scope:ExecuteGadgetLuaRsp)
private static final emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp();
}
public static emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ExecuteGadgetLuaRsp> PARSER =
new com.google.protobuf.AbstractParser<ExecuteGadgetLuaRsp>() {
@java.lang.Override
public ExecuteGadgetLuaRsp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecuteGadgetLuaRsp(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ExecuteGadgetLuaRsp> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ExecuteGadgetLuaRsp> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.ExecuteGadgetLuaRspOuterClass.ExecuteGadgetLuaRsp
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ExecuteGadgetLuaRsp_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ExecuteGadgetLuaRsp_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\031ExecuteGadgetLuaRsp.proto\"&\n\023ExecuteGa"
+ "dgetLuaRsp\022\017\n\007retcode\030\007 \001(\005B\033\n\031emu.grass"
+ "cutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_ExecuteGadgetLuaRsp_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_ExecuteGadgetLuaRsp_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ExecuteGadgetLuaRsp_descriptor,
new java.lang.String[] {
"Retcode",
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,725 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GetUgcBriefInfoReq.proto
package emu.grasscutter.net.proto;
public final class GetUgcBriefInfoReqOuterClass {
private GetUgcBriefInfoReqOuterClass() {}
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 GetUgcBriefInfoReqOrBuilder
extends
// @@protoc_insertion_point(interface_extends:GetUgcBriefInfoReq)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.UgcType ugc_type = 1;</code>
*
* @return The enum numeric value on the wire for ugcType.
*/
int getUgcTypeValue();
/**
* <code>.UgcType ugc_type = 1;</code>
*
* @return The ugcType.
*/
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType();
/**
* <code>uint64 ugc_guid = 12;</code>
*
* @return The ugcGuid.
*/
long getUgcGuid();
}
/**
*
*
* <pre>
* Name: DPBNMIFDCJH
* CmdId: 6309
* </pre>
*
* Protobuf type {@code GetUgcBriefInfoReq}
*/
public static final class GetUgcBriefInfoReq extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:GetUgcBriefInfoReq)
GetUgcBriefInfoReqOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetUgcBriefInfoReq.newBuilder() to construct.
private GetUgcBriefInfoReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetUgcBriefInfoReq() {
ugcType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new GetUgcBriefInfoReq();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private GetUgcBriefInfoReq(
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 8:
{
int rawValue = input.readEnum();
ugcType_ = rawValue;
break;
}
case 96:
{
ugcGuid_ = input.readUInt64();
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.GetUgcBriefInfoReqOuterClass
.internal_static_GetUgcBriefInfoReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass
.internal_static_GetUgcBriefInfoReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq.class,
emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq.Builder
.class);
}
public static final int UGC_TYPE_FIELD_NUMBER = 1;
private int ugcType_;
/**
* <code>.UgcType ugc_type = 1;</code>
*
* @return The enum numeric value on the wire for ugcType.
*/
@java.lang.Override
public int getUgcTypeValue() {
return ugcType_;
}
/**
* <code>.UgcType ugc_type = 1;</code>
*
* @return The ugcType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType result =
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.valueOf(ugcType_);
return result == null
? emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UNRECOGNIZED
: result;
}
public static final int UGC_GUID_FIELD_NUMBER = 12;
private long ugcGuid_;
/**
* <code>uint64 ugc_guid = 12;</code>
*
* @return The ugcGuid.
*/
@java.lang.Override
public long getUgcGuid() {
return ugcGuid_;
}
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 (ugcType_
!= emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UGC_TYPE_NONE.getNumber()) {
output.writeEnum(1, ugcType_);
}
if (ugcGuid_ != 0L) {
output.writeUInt64(12, ugcGuid_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (ugcType_
!= emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UGC_TYPE_NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, ugcType_);
}
if (ugcGuid_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(12, ugcGuid_);
}
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.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq other =
(emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq) obj;
if (ugcType_ != other.ugcType_) return false;
if (getUgcGuid() != other.getUgcGuid()) 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) + UGC_TYPE_FIELD_NUMBER;
hash = (53 * hash) + ugcType_;
hash = (37 * hash) + UGC_GUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUgcGuid());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
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.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
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.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
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.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
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.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
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.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq 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>
* Name: DPBNMIFDCJH
* CmdId: 6309
* </pre>
*
* Protobuf type {@code GetUgcBriefInfoReq}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:GetUgcBriefInfoReq)
emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReqOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass
.internal_static_GetUgcBriefInfoReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass
.internal_static_GetUgcBriefInfoReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq.class,
emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq.Builder
.class);
}
// Construct using
// emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq.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();
ugcType_ = 0;
ugcGuid_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass
.internal_static_GetUgcBriefInfoReq_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq build() {
emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
buildPartial() {
emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq result =
new emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq(this);
result.ugcType_ = ugcType_;
result.ugcGuid_ = ugcGuid_;
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.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq) {
return mergeFrom(
(emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq other) {
if (other
== emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
.getDefaultInstance()) return this;
if (other.ugcType_ != 0) {
setUgcTypeValue(other.getUgcTypeValue());
}
if (other.getUgcGuid() != 0L) {
setUgcGuid(other.getUgcGuid());
}
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.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq parsedMessage =
null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int ugcType_ = 0;
/**
* <code>.UgcType ugc_type = 1;</code>
*
* @return The enum numeric value on the wire for ugcType.
*/
@java.lang.Override
public int getUgcTypeValue() {
return ugcType_;
}
/**
* <code>.UgcType ugc_type = 1;</code>
*
* @param value The enum numeric value on the wire for ugcType to set.
* @return This builder for chaining.
*/
public Builder setUgcTypeValue(int value) {
ugcType_ = value;
onChanged();
return this;
}
/**
* <code>.UgcType ugc_type = 1;</code>
*
* @return The ugcType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType result =
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.valueOf(ugcType_);
return result == null
? emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UNRECOGNIZED
: result;
}
/**
* <code>.UgcType ugc_type = 1;</code>
*
* @param value The ugcType to set.
* @return This builder for chaining.
*/
public Builder setUgcType(emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType value) {
if (value == null) {
throw new NullPointerException();
}
ugcType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.UgcType ugc_type = 1;</code>
*
* @return This builder for chaining.
*/
public Builder clearUgcType() {
ugcType_ = 0;
onChanged();
return this;
}
private long ugcGuid_;
/**
* <code>uint64 ugc_guid = 12;</code>
*
* @return The ugcGuid.
*/
@java.lang.Override
public long getUgcGuid() {
return ugcGuid_;
}
/**
* <code>uint64 ugc_guid = 12;</code>
*
* @param value The ugcGuid to set.
* @return This builder for chaining.
*/
public Builder setUgcGuid(long value) {
ugcGuid_ = value;
onChanged();
return this;
}
/**
* <code>uint64 ugc_guid = 12;</code>
*
* @return This builder for chaining.
*/
public Builder clearUgcGuid() {
ugcGuid_ = 0L;
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:GetUgcBriefInfoReq)
}
// @@protoc_insertion_point(class_scope:GetUgcBriefInfoReq)
private static final emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq();
}
public static emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<GetUgcBriefInfoReq> PARSER =
new com.google.protobuf.AbstractParser<GetUgcBriefInfoReq>() {
@java.lang.Override
public GetUgcBriefInfoReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetUgcBriefInfoReq(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<GetUgcBriefInfoReq> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetUgcBriefInfoReq> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.GetUgcBriefInfoReqOuterClass.GetUgcBriefInfoReq
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GetUgcBriefInfoReq_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GetUgcBriefInfoReq_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\030GetUgcBriefInfoReq.proto\032\rUgcType.prot"
+ "o\"B\n\022GetUgcBriefInfoReq\022\032\n\010ugc_type\030\001 \001("
+ "\0162\010.UgcType\022\020\n\010ugc_guid\030\014 \001(\004B\033\n\031emu.gra"
+ "sscutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.UgcTypeOuterClass.getDescriptor(),
});
internal_static_GetUgcBriefInfoReq_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_GetUgcBriefInfoReq_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetUgcBriefInfoReq_descriptor,
new java.lang.String[] {
"UgcType", "UgcGuid",
});
emu.grasscutter.net.proto.UgcTypeOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,671 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: OfficialCustomDungeon.proto
package emu.grasscutter.net.proto;
public final class OfficialCustomDungeonOuterClass {
private OfficialCustomDungeonOuterClass() {}
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 OfficialCustomDungeonOrBuilder
extends
// @@protoc_insertion_point(interface_extends:OfficialCustomDungeon)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 dungeon_id = 11;</code>
*
* @return The dungeonId.
*/
int getDungeonId();
/**
* <code>uint32 win_times = 3;</code>
*
* @return The winTimes.
*/
int getWinTimes();
}
/**
*
*
* <pre>
* 3.2
* </pre>
*
* Protobuf type {@code OfficialCustomDungeon}
*/
public static final class OfficialCustomDungeon extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:OfficialCustomDungeon)
OfficialCustomDungeonOrBuilder {
private static final long serialVersionUID = 0L;
// Use OfficialCustomDungeon.newBuilder() to construct.
private OfficialCustomDungeon(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private OfficialCustomDungeon() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new OfficialCustomDungeon();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private OfficialCustomDungeon(
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 24:
{
winTimes_ = input.readUInt32();
break;
}
case 88:
{
dungeonId_ = input.readUInt32();
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.OfficialCustomDungeonOuterClass
.internal_static_OfficialCustomDungeon_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass
.internal_static_OfficialCustomDungeon_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon.class,
emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
.Builder.class);
}
public static final int DUNGEON_ID_FIELD_NUMBER = 11;
private int dungeonId_;
/**
* <code>uint32 dungeon_id = 11;</code>
*
* @return The dungeonId.
*/
@java.lang.Override
public int getDungeonId() {
return dungeonId_;
}
public static final int WIN_TIMES_FIELD_NUMBER = 3;
private int winTimes_;
/**
* <code>uint32 win_times = 3;</code>
*
* @return The winTimes.
*/
@java.lang.Override
public int getWinTimes() {
return winTimes_;
}
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 (winTimes_ != 0) {
output.writeUInt32(3, winTimes_);
}
if (dungeonId_ != 0) {
output.writeUInt32(11, dungeonId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (winTimes_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(3, winTimes_);
}
if (dungeonId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(11, dungeonId_);
}
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.OfficialCustomDungeonOuterClass.OfficialCustomDungeon)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon other =
(emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon) obj;
if (getDungeonId() != other.getDungeonId()) return false;
if (getWinTimes() != other.getWinTimes()) 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) + DUNGEON_ID_FIELD_NUMBER;
hash = (53 * hash) + getDungeonId();
hash = (37 * hash) + WIN_TIMES_FIELD_NUMBER;
hash = (53 * hash) + getWinTimes();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
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.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
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.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
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.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
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.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
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.OfficialCustomDungeonOuterClass.OfficialCustomDungeon 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>
* 3.2
* </pre>
*
* Protobuf type {@code OfficialCustomDungeon}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:OfficialCustomDungeon)
emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeonOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass
.internal_static_OfficialCustomDungeon_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass
.internal_static_OfficialCustomDungeon_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
.class,
emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
.Builder.class);
}
// Construct using
// emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon.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();
dungeonId_ = 0;
winTimes_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass
.internal_static_OfficialCustomDungeon_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
build() {
emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
buildPartial() {
emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon result =
new emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon(
this);
result.dungeonId_ = dungeonId_;
result.winTimes_ = winTimes_;
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.OfficialCustomDungeonOuterClass.OfficialCustomDungeon) {
return mergeFrom(
(emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon)
other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon other) {
if (other
== emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
.getDefaultInstance()) return this;
if (other.getDungeonId() != 0) {
setDungeonId(other.getDungeonId());
}
if (other.getWinTimes() != 0) {
setWinTimes(other.getWinTimes());
}
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.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int dungeonId_;
/**
* <code>uint32 dungeon_id = 11;</code>
*
* @return The dungeonId.
*/
@java.lang.Override
public int getDungeonId() {
return dungeonId_;
}
/**
* <code>uint32 dungeon_id = 11;</code>
*
* @param value The dungeonId to set.
* @return This builder for chaining.
*/
public Builder setDungeonId(int value) {
dungeonId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 dungeon_id = 11;</code>
*
* @return This builder for chaining.
*/
public Builder clearDungeonId() {
dungeonId_ = 0;
onChanged();
return this;
}
private int winTimes_;
/**
* <code>uint32 win_times = 3;</code>
*
* @return The winTimes.
*/
@java.lang.Override
public int getWinTimes() {
return winTimes_;
}
/**
* <code>uint32 win_times = 3;</code>
*
* @param value The winTimes to set.
* @return This builder for chaining.
*/
public Builder setWinTimes(int value) {
winTimes_ = value;
onChanged();
return this;
}
/**
* <code>uint32 win_times = 3;</code>
*
* @return This builder for chaining.
*/
public Builder clearWinTimes() {
winTimes_ = 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:OfficialCustomDungeon)
}
// @@protoc_insertion_point(class_scope:OfficialCustomDungeon)
private static final emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass
.OfficialCustomDungeon
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon();
}
public static emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<OfficialCustomDungeon> PARSER =
new com.google.protobuf.AbstractParser<OfficialCustomDungeon>() {
@java.lang.Override
public OfficialCustomDungeon parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new OfficialCustomDungeon(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<OfficialCustomDungeon> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<OfficialCustomDungeon> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_OfficialCustomDungeon_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_OfficialCustomDungeon_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\033OfficialCustomDungeon.proto\">\n\025Officia"
+ "lCustomDungeon\022\022\n\ndungeon_id\030\013 \001(\r\022\021\n\twi"
+ "n_times\030\003 \001(\rB\033\n\031emu.grasscutter.net.pro"
+ "tob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_OfficialCustomDungeon_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_OfficialCustomDungeon_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_OfficialCustomDungeon_descriptor,
new java.lang.String[] {
"DungeonId", "WinTimes",
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,639 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ReceivedTrialAvatarActivityRewardReq.proto
package emu.grasscutter.net.proto;
public final class ReceivedTrialAvatarActivityRewardReqOuterClass {
private ReceivedTrialAvatarActivityRewardReqOuterClass() {}
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 ReceivedTrialAvatarActivityRewardReqOrBuilder
extends
// @@protoc_insertion_point(interface_extends:ReceivedTrialAvatarActivityRewardReq)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 trial_avatar_index_id = 3;</code>
*
* @return The trialAvatarIndexId.
*/
int getTrialAvatarIndexId();
}
/**
*
*
* <pre>
* Name: KHHINOIPNPA
* CmdId: 2005
* </pre>
*
* Protobuf type {@code ReceivedTrialAvatarActivityRewardReq}
*/
public static final class ReceivedTrialAvatarActivityRewardReq
extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:ReceivedTrialAvatarActivityRewardReq)
ReceivedTrialAvatarActivityRewardReqOrBuilder {
private static final long serialVersionUID = 0L;
// Use ReceivedTrialAvatarActivityRewardReq.newBuilder() to construct.
private ReceivedTrialAvatarActivityRewardReq(
com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ReceivedTrialAvatarActivityRewardReq() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ReceivedTrialAvatarActivityRewardReq();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private ReceivedTrialAvatarActivityRewardReq(
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 24:
{
trialAvatarIndexId_ = input.readUInt32();
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.ReceivedTrialAvatarActivityRewardReqOuterClass
.internal_static_ReceivedTrialAvatarActivityRewardReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.internal_static_ReceivedTrialAvatarActivityRewardReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq.class,
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq.Builder.class);
}
public static final int TRIAL_AVATAR_INDEX_ID_FIELD_NUMBER = 3;
private int trialAvatarIndexId_;
/**
* <code>uint32 trial_avatar_index_id = 3;</code>
*
* @return The trialAvatarIndexId.
*/
@java.lang.Override
public int getTrialAvatarIndexId() {
return trialAvatarIndexId_;
}
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 (trialAvatarIndexId_ != 0) {
output.writeUInt32(3, trialAvatarIndexId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (trialAvatarIndexId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(3, trialAvatarIndexId_);
}
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.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
other =
(emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq)
obj;
if (getTrialAvatarIndexId() != other.getTrialAvatarIndexId()) 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) + TRIAL_AVATAR_INDEX_ID_FIELD_NUMBER;
hash = (53 * hash) + getTrialAvatarIndexId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
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.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
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.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
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.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
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.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
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.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
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>
* Name: KHHINOIPNPA
* CmdId: 2005
* </pre>
*
* Protobuf type {@code ReceivedTrialAvatarActivityRewardReq}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:ReceivedTrialAvatarActivityRewardReq)
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReqOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.internal_static_ReceivedTrialAvatarActivityRewardReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.internal_static_ReceivedTrialAvatarActivityRewardReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq.class,
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq.Builder.class);
}
// Construct using
// emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass.ReceivedTrialAvatarActivityRewardReq.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();
trialAvatarIndexId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.internal_static_ReceivedTrialAvatarActivityRewardReq_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
build() {
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
buildPartial() {
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
result =
new emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq(this);
result.trialAvatarIndexId_ = trialAvatarIndexId_;
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.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq) {
return mergeFrom(
(emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq)
other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
other) {
if (other
== emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq.getDefaultInstance()) return this;
if (other.getTrialAvatarIndexId() != 0) {
setTrialAvatarIndexId(other.getTrialAvatarIndexId());
}
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.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int trialAvatarIndexId_;
/**
* <code>uint32 trial_avatar_index_id = 3;</code>
*
* @return The trialAvatarIndexId.
*/
@java.lang.Override
public int getTrialAvatarIndexId() {
return trialAvatarIndexId_;
}
/**
* <code>uint32 trial_avatar_index_id = 3;</code>
*
* @param value The trialAvatarIndexId to set.
* @return This builder for chaining.
*/
public Builder setTrialAvatarIndexId(int value) {
trialAvatarIndexId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 trial_avatar_index_id = 3;</code>
*
* @return This builder for chaining.
*/
public Builder clearTrialAvatarIndexId() {
trialAvatarIndexId_ = 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:ReceivedTrialAvatarActivityRewardReq)
}
// @@protoc_insertion_point(class_scope:ReceivedTrialAvatarActivityRewardReq)
private static final emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq();
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ReceivedTrialAvatarActivityRewardReq> PARSER =
new com.google.protobuf.AbstractParser<ReceivedTrialAvatarActivityRewardReq>() {
@java.lang.Override
public ReceivedTrialAvatarActivityRewardReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ReceivedTrialAvatarActivityRewardReq(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ReceivedTrialAvatarActivityRewardReq> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ReceivedTrialAvatarActivityRewardReq> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardReqOuterClass
.ReceivedTrialAvatarActivityRewardReq
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ReceivedTrialAvatarActivityRewardReq_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ReceivedTrialAvatarActivityRewardReq_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*ReceivedTrialAvatarActivityRewardReq.p"
+ "roto\"E\n$ReceivedTrialAvatarActivityRewar"
+ "dReq\022\035\n\025trial_avatar_index_id\030\003 \001(\rB\033\n\031e"
+ "mu.grasscutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_ReceivedTrialAvatarActivityRewardReq_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_ReceivedTrialAvatarActivityRewardReq_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ReceivedTrialAvatarActivityRewardReq_descriptor,
new java.lang.String[] {
"TrialAvatarIndexId",
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,786 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ReceivedTrialAvatarActivityRewardRsp.proto
package emu.grasscutter.net.proto;
public final class ReceivedTrialAvatarActivityRewardRspOuterClass {
private ReceivedTrialAvatarActivityRewardRspOuterClass() {}
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 ReceivedTrialAvatarActivityRewardRspOrBuilder
extends
// @@protoc_insertion_point(interface_extends:ReceivedTrialAvatarActivityRewardRsp)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 activity_id = 12;</code>
*
* @return The activityId.
*/
int getActivityId();
/**
* <code>uint32 trial_avatar_index_id = 15;</code>
*
* @return The trialAvatarIndexId.
*/
int getTrialAvatarIndexId();
/**
* <code>int32 retcode = 5;</code>
*
* @return The retcode.
*/
int getRetcode();
}
/**
*
*
* <pre>
* Name: LIMEMDMOOCJ
* CmdId: 2009
* </pre>
*
* Protobuf type {@code ReceivedTrialAvatarActivityRewardRsp}
*/
public static final class ReceivedTrialAvatarActivityRewardRsp
extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:ReceivedTrialAvatarActivityRewardRsp)
ReceivedTrialAvatarActivityRewardRspOrBuilder {
private static final long serialVersionUID = 0L;
// Use ReceivedTrialAvatarActivityRewardRsp.newBuilder() to construct.
private ReceivedTrialAvatarActivityRewardRsp(
com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ReceivedTrialAvatarActivityRewardRsp() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ReceivedTrialAvatarActivityRewardRsp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private ReceivedTrialAvatarActivityRewardRsp(
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 40:
{
retcode_ = input.readInt32();
break;
}
case 96:
{
activityId_ = input.readUInt32();
break;
}
case 120:
{
trialAvatarIndexId_ = input.readUInt32();
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.ReceivedTrialAvatarActivityRewardRspOuterClass
.internal_static_ReceivedTrialAvatarActivityRewardRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.internal_static_ReceivedTrialAvatarActivityRewardRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp.class,
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp.Builder.class);
}
public static final int ACTIVITY_ID_FIELD_NUMBER = 12;
private int activityId_;
/**
* <code>uint32 activity_id = 12;</code>
*
* @return The activityId.
*/
@java.lang.Override
public int getActivityId() {
return activityId_;
}
public static final int TRIAL_AVATAR_INDEX_ID_FIELD_NUMBER = 15;
private int trialAvatarIndexId_;
/**
* <code>uint32 trial_avatar_index_id = 15;</code>
*
* @return The trialAvatarIndexId.
*/
@java.lang.Override
public int getTrialAvatarIndexId() {
return trialAvatarIndexId_;
}
public static final int RETCODE_FIELD_NUMBER = 5;
private int retcode_;
/**
* <code>int32 retcode = 5;</code>
*
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
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 (retcode_ != 0) {
output.writeInt32(5, retcode_);
}
if (activityId_ != 0) {
output.writeUInt32(12, activityId_);
}
if (trialAvatarIndexId_ != 0) {
output.writeUInt32(15, trialAvatarIndexId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, retcode_);
}
if (activityId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(12, activityId_);
}
if (trialAvatarIndexId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(15, trialAvatarIndexId_);
}
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.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
other =
(emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp)
obj;
if (getActivityId() != other.getActivityId()) return false;
if (getTrialAvatarIndexId() != other.getTrialAvatarIndexId()) return false;
if (getRetcode() != other.getRetcode()) 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) + ACTIVITY_ID_FIELD_NUMBER;
hash = (53 * hash) + getActivityId();
hash = (37 * hash) + TRIAL_AVATAR_INDEX_ID_FIELD_NUMBER;
hash = (53 * hash) + getTrialAvatarIndexId();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
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.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
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.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
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.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
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.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
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.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
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>
* Name: LIMEMDMOOCJ
* CmdId: 2009
* </pre>
*
* Protobuf type {@code ReceivedTrialAvatarActivityRewardRsp}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:ReceivedTrialAvatarActivityRewardRsp)
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRspOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.internal_static_ReceivedTrialAvatarActivityRewardRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.internal_static_ReceivedTrialAvatarActivityRewardRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp.class,
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp.Builder.class);
}
// Construct using
// emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass.ReceivedTrialAvatarActivityRewardRsp.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();
activityId_ = 0;
trialAvatarIndexId_ = 0;
retcode_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.internal_static_ReceivedTrialAvatarActivityRewardRsp_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
build() {
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
buildPartial() {
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
result =
new emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp(this);
result.activityId_ = activityId_;
result.trialAvatarIndexId_ = trialAvatarIndexId_;
result.retcode_ = retcode_;
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.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp) {
return mergeFrom(
(emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp)
other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
other) {
if (other
== emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp.getDefaultInstance()) return this;
if (other.getActivityId() != 0) {
setActivityId(other.getActivityId());
}
if (other.getTrialAvatarIndexId() != 0) {
setTrialAvatarIndexId(other.getTrialAvatarIndexId());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
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.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int activityId_;
/**
* <code>uint32 activity_id = 12;</code>
*
* @return The activityId.
*/
@java.lang.Override
public int getActivityId() {
return activityId_;
}
/**
* <code>uint32 activity_id = 12;</code>
*
* @param value The activityId to set.
* @return This builder for chaining.
*/
public Builder setActivityId(int value) {
activityId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 activity_id = 12;</code>
*
* @return This builder for chaining.
*/
public Builder clearActivityId() {
activityId_ = 0;
onChanged();
return this;
}
private int trialAvatarIndexId_;
/**
* <code>uint32 trial_avatar_index_id = 15;</code>
*
* @return The trialAvatarIndexId.
*/
@java.lang.Override
public int getTrialAvatarIndexId() {
return trialAvatarIndexId_;
}
/**
* <code>uint32 trial_avatar_index_id = 15;</code>
*
* @param value The trialAvatarIndexId to set.
* @return This builder for chaining.
*/
public Builder setTrialAvatarIndexId(int value) {
trialAvatarIndexId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 trial_avatar_index_id = 15;</code>
*
* @return This builder for chaining.
*/
public Builder clearTrialAvatarIndexId() {
trialAvatarIndexId_ = 0;
onChanged();
return this;
}
private int retcode_;
/**
* <code>int32 retcode = 5;</code>
*
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 5;</code>
*
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
retcode_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 5;</code>
*
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 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:ReceivedTrialAvatarActivityRewardRsp)
}
// @@protoc_insertion_point(class_scope:ReceivedTrialAvatarActivityRewardRsp)
private static final emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp();
}
public static emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ReceivedTrialAvatarActivityRewardRsp> PARSER =
new com.google.protobuf.AbstractParser<ReceivedTrialAvatarActivityRewardRsp>() {
@java.lang.Override
public ReceivedTrialAvatarActivityRewardRsp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ReceivedTrialAvatarActivityRewardRsp(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ReceivedTrialAvatarActivityRewardRsp> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ReceivedTrialAvatarActivityRewardRsp> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.ReceivedTrialAvatarActivityRewardRspOuterClass
.ReceivedTrialAvatarActivityRewardRsp
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ReceivedTrialAvatarActivityRewardRsp_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ReceivedTrialAvatarActivityRewardRsp_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*ReceivedTrialAvatarActivityRewardRsp.p"
+ "roto\"k\n$ReceivedTrialAvatarActivityRewar"
+ "dRsp\022\023\n\013activity_id\030\014 \001(\r\022\035\n\025trial_avata"
+ "r_index_id\030\017 \001(\r\022\017\n\007retcode\030\005 \001(\005B\033\n\031emu"
+ ".grasscutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_ReceivedTrialAvatarActivityRewardRsp_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_ReceivedTrialAvatarActivityRewardRsp_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ReceivedTrialAvatarActivityRewardRsp_descriptor,
new java.lang.String[] {
"ActivityId", "TrialAvatarIndexId", "Retcode",
});
}
// @@protoc_insertion_point(outer_class_scope)
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,845 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SaveUgcRsp.proto
package emu.grasscutter.net.proto;
public final class SaveUgcRspOuterClass {
private SaveUgcRspOuterClass() {}
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 SaveUgcRspOrBuilder
extends
// @@protoc_insertion_point(interface_extends:SaveUgcRsp)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.UgcType ugc_type = 3;</code>
*
* @return The enum numeric value on the wire for ugcType.
*/
int getUgcTypeValue();
/**
* <code>.UgcType ugc_type = 3;</code>
*
* @return The ugcType.
*/
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType();
/**
* <code>uint64 ugc_guid = 6;</code>
*
* @return The ugcGuid.
*/
long getUgcGuid();
/**
* <code>int32 retcode = 14;</code>
*
* @return The retcode.
*/
int getRetcode();
/**
* <code>bool JGBHEMIDGCJ = 11;</code>
*
* @return The jGBHEMIDGCJ.
*/
boolean getJGBHEMIDGCJ();
}
/**
*
*
* <pre>
* Name: JKPCEIOLHFA
* CmdId: 6332
* </pre>
*
* Protobuf type {@code SaveUgcRsp}
*/
public static final class SaveUgcRsp extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:SaveUgcRsp)
SaveUgcRspOrBuilder {
private static final long serialVersionUID = 0L;
// Use SaveUgcRsp.newBuilder() to construct.
private SaveUgcRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private SaveUgcRsp() {
ugcType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new SaveUgcRsp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private SaveUgcRsp(
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 24:
{
int rawValue = input.readEnum();
ugcType_ = rawValue;
break;
}
case 48:
{
ugcGuid_ = input.readUInt64();
break;
}
case 88:
{
jGBHEMIDGCJ_ = input.readBool();
break;
}
case 112:
{
retcode_ = input.readInt32();
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.SaveUgcRspOuterClass.internal_static_SaveUgcRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.SaveUgcRspOuterClass
.internal_static_SaveUgcRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp.class,
emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp.Builder.class);
}
public static final int UGC_TYPE_FIELD_NUMBER = 3;
private int ugcType_;
/**
* <code>.UgcType ugc_type = 3;</code>
*
* @return The enum numeric value on the wire for ugcType.
*/
@java.lang.Override
public int getUgcTypeValue() {
return ugcType_;
}
/**
* <code>.UgcType ugc_type = 3;</code>
*
* @return The ugcType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType result =
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.valueOf(ugcType_);
return result == null
? emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UNRECOGNIZED
: result;
}
public static final int UGC_GUID_FIELD_NUMBER = 6;
private long ugcGuid_;
/**
* <code>uint64 ugc_guid = 6;</code>
*
* @return The ugcGuid.
*/
@java.lang.Override
public long getUgcGuid() {
return ugcGuid_;
}
public static final int RETCODE_FIELD_NUMBER = 14;
private int retcode_;
/**
* <code>int32 retcode = 14;</code>
*
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
public static final int JGBHEMIDGCJ_FIELD_NUMBER = 11;
private boolean jGBHEMIDGCJ_;
/**
* <code>bool JGBHEMIDGCJ = 11;</code>
*
* @return The jGBHEMIDGCJ.
*/
@java.lang.Override
public boolean getJGBHEMIDGCJ() {
return jGBHEMIDGCJ_;
}
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 (ugcType_
!= emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UGC_TYPE_NONE.getNumber()) {
output.writeEnum(3, ugcType_);
}
if (ugcGuid_ != 0L) {
output.writeUInt64(6, ugcGuid_);
}
if (jGBHEMIDGCJ_ != false) {
output.writeBool(11, jGBHEMIDGCJ_);
}
if (retcode_ != 0) {
output.writeInt32(14, retcode_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (ugcType_
!= emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UGC_TYPE_NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, ugcType_);
}
if (ugcGuid_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(6, ugcGuid_);
}
if (jGBHEMIDGCJ_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, jGBHEMIDGCJ_);
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(14, retcode_);
}
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.SaveUgcRspOuterClass.SaveUgcRsp)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp other =
(emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp) obj;
if (ugcType_ != other.ugcType_) return false;
if (getUgcGuid() != other.getUgcGuid()) return false;
if (getRetcode() != other.getRetcode()) return false;
if (getJGBHEMIDGCJ() != other.getJGBHEMIDGCJ()) 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) + UGC_TYPE_FIELD_NUMBER;
hash = (53 * hash) + ugcType_;
hash = (37 * hash) + UGC_GUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUgcGuid());
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + JGBHEMIDGCJ_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getJGBHEMIDGCJ());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp 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.SaveUgcRspOuterClass.SaveUgcRsp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp 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.SaveUgcRspOuterClass.SaveUgcRsp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp 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.SaveUgcRspOuterClass.SaveUgcRsp parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp 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.SaveUgcRspOuterClass.SaveUgcRsp parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp 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.SaveUgcRspOuterClass.SaveUgcRsp 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>
* Name: JKPCEIOLHFA
* CmdId: 6332
* </pre>
*
* Protobuf type {@code SaveUgcRsp}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:SaveUgcRsp)
emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRspOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.SaveUgcRspOuterClass.internal_static_SaveUgcRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.SaveUgcRspOuterClass
.internal_static_SaveUgcRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp.class,
emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp.Builder.class);
}
// Construct using emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp.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();
ugcType_ = 0;
ugcGuid_ = 0L;
retcode_ = 0;
jGBHEMIDGCJ_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.SaveUgcRspOuterClass.internal_static_SaveUgcRsp_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp getDefaultInstanceForType() {
return emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp build() {
emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp buildPartial() {
emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp result =
new emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp(this);
result.ugcType_ = ugcType_;
result.ugcGuid_ = ugcGuid_;
result.retcode_ = retcode_;
result.jGBHEMIDGCJ_ = jGBHEMIDGCJ_;
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.SaveUgcRspOuterClass.SaveUgcRsp) {
return mergeFrom((emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp other) {
if (other == emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp.getDefaultInstance())
return this;
if (other.ugcType_ != 0) {
setUgcTypeValue(other.getUgcTypeValue());
}
if (other.getUgcGuid() != 0L) {
setUgcGuid(other.getUgcGuid());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getJGBHEMIDGCJ() != false) {
setJGBHEMIDGCJ(other.getJGBHEMIDGCJ());
}
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.SaveUgcRspOuterClass.SaveUgcRsp parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int ugcType_ = 0;
/**
* <code>.UgcType ugc_type = 3;</code>
*
* @return The enum numeric value on the wire for ugcType.
*/
@java.lang.Override
public int getUgcTypeValue() {
return ugcType_;
}
/**
* <code>.UgcType ugc_type = 3;</code>
*
* @param value The enum numeric value on the wire for ugcType to set.
* @return This builder for chaining.
*/
public Builder setUgcTypeValue(int value) {
ugcType_ = value;
onChanged();
return this;
}
/**
* <code>.UgcType ugc_type = 3;</code>
*
* @return The ugcType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType result =
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.valueOf(ugcType_);
return result == null
? emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UNRECOGNIZED
: result;
}
/**
* <code>.UgcType ugc_type = 3;</code>
*
* @param value The ugcType to set.
* @return This builder for chaining.
*/
public Builder setUgcType(emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType value) {
if (value == null) {
throw new NullPointerException();
}
ugcType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.UgcType ugc_type = 3;</code>
*
* @return This builder for chaining.
*/
public Builder clearUgcType() {
ugcType_ = 0;
onChanged();
return this;
}
private long ugcGuid_;
/**
* <code>uint64 ugc_guid = 6;</code>
*
* @return The ugcGuid.
*/
@java.lang.Override
public long getUgcGuid() {
return ugcGuid_;
}
/**
* <code>uint64 ugc_guid = 6;</code>
*
* @param value The ugcGuid to set.
* @return This builder for chaining.
*/
public Builder setUgcGuid(long value) {
ugcGuid_ = value;
onChanged();
return this;
}
/**
* <code>uint64 ugc_guid = 6;</code>
*
* @return This builder for chaining.
*/
public Builder clearUgcGuid() {
ugcGuid_ = 0L;
onChanged();
return this;
}
private int retcode_;
/**
* <code>int32 retcode = 14;</code>
*
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 14;</code>
*
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
retcode_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 14;</code>
*
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 0;
onChanged();
return this;
}
private boolean jGBHEMIDGCJ_;
/**
* <code>bool JGBHEMIDGCJ = 11;</code>
*
* @return The jGBHEMIDGCJ.
*/
@java.lang.Override
public boolean getJGBHEMIDGCJ() {
return jGBHEMIDGCJ_;
}
/**
* <code>bool JGBHEMIDGCJ = 11;</code>
*
* @param value The jGBHEMIDGCJ to set.
* @return This builder for chaining.
*/
public Builder setJGBHEMIDGCJ(boolean value) {
jGBHEMIDGCJ_ = value;
onChanged();
return this;
}
/**
* <code>bool JGBHEMIDGCJ = 11;</code>
*
* @return This builder for chaining.
*/
public Builder clearJGBHEMIDGCJ() {
jGBHEMIDGCJ_ = false;
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:SaveUgcRsp)
}
// @@protoc_insertion_point(class_scope:SaveUgcRsp)
private static final emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp();
}
public static emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<SaveUgcRsp> PARSER =
new com.google.protobuf.AbstractParser<SaveUgcRsp>() {
@java.lang.Override
public SaveUgcRsp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SaveUgcRsp(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<SaveUgcRsp> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<SaveUgcRsp> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.SaveUgcRspOuterClass.SaveUgcRsp getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_SaveUgcRsp_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_SaveUgcRsp_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\020SaveUgcRsp.proto\032\rUgcType.proto\"`\n\nSav"
+ "eUgcRsp\022\032\n\010ugc_type\030\003 \001(\0162\010.UgcType\022\020\n\010u"
+ "gc_guid\030\006 \001(\004\022\017\n\007retcode\030\016 \001(\005\022\023\n\013JGBHEM"
+ "IDGCJ\030\013 \001(\010B\033\n\031emu.grasscutter.net.proto"
+ "b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.UgcTypeOuterClass.getDescriptor(),
});
internal_static_SaveUgcRsp_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_SaveUgcRsp_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_SaveUgcRsp_descriptor,
new java.lang.String[] {
"UgcType", "UgcGuid", "Retcode", "JGBHEMIDGCJ",
});
emu.grasscutter.net.proto.UgcTypeOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,677 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ShowClientGuideNotify.proto
package emu.grasscutter.net.proto;
public final class ShowClientGuideNotifyOuterClass {
private ShowClientGuideNotifyOuterClass() {}
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 ShowClientGuideNotifyOrBuilder
extends
// @@protoc_insertion_point(interface_extends:ShowClientGuideNotify)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string guide_name = 11;</code>
*
* @return The guideName.
*/
java.lang.String getGuideName();
/**
* <code>string guide_name = 11;</code>
*
* @return The bytes for guideName.
*/
com.google.protobuf.ByteString getGuideNameBytes();
}
/**
*
*
* <pre>
* Name: LAJJKMLLJEB
* CmdId: 3384
* </pre>
*
* Protobuf type {@code ShowClientGuideNotify}
*/
public static final class ShowClientGuideNotify extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:ShowClientGuideNotify)
ShowClientGuideNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use ShowClientGuideNotify.newBuilder() to construct.
private ShowClientGuideNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ShowClientGuideNotify() {
guideName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ShowClientGuideNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private ShowClientGuideNotify(
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 90:
{
java.lang.String s = input.readStringRequireUtf8();
guideName_ = s;
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.ShowClientGuideNotifyOuterClass
.internal_static_ShowClientGuideNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass
.internal_static_ShowClientGuideNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify.class,
emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
.Builder.class);
}
public static final int GUIDE_NAME_FIELD_NUMBER = 11;
private volatile java.lang.Object guideName_;
/**
* <code>string guide_name = 11;</code>
*
* @return The guideName.
*/
@java.lang.Override
public java.lang.String getGuideName() {
java.lang.Object ref = guideName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
guideName_ = s;
return s;
}
}
/**
* <code>string guide_name = 11;</code>
*
* @return The bytes for guideName.
*/
@java.lang.Override
public com.google.protobuf.ByteString getGuideNameBytes() {
java.lang.Object ref = guideName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
guideName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guideName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, guideName_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guideName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, guideName_);
}
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.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify other =
(emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify) obj;
if (!getGuideName().equals(other.getGuideName())) 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) + GUIDE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getGuideName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
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.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
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.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
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.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
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.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
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.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify 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>
* Name: LAJJKMLLJEB
* CmdId: 3384
* </pre>
*
* Protobuf type {@code ShowClientGuideNotify}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:ShowClientGuideNotify)
emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass
.internal_static_ShowClientGuideNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass
.internal_static_ShowClientGuideNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
.class,
emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
.Builder.class);
}
// Construct using
// emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify.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();
guideName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass
.internal_static_ShowClientGuideNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
build() {
emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
buildPartial() {
emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify result =
new emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify(
this);
result.guideName_ = guideName_;
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.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify) {
return mergeFrom(
(emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify)
other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify other) {
if (other
== emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
.getDefaultInstance()) return this;
if (!other.getGuideName().isEmpty()) {
guideName_ = other.guideName_;
onChanged();
}
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.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object guideName_ = "";
/**
* <code>string guide_name = 11;</code>
*
* @return The guideName.
*/
public java.lang.String getGuideName() {
java.lang.Object ref = guideName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
guideName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string guide_name = 11;</code>
*
* @return The bytes for guideName.
*/
public com.google.protobuf.ByteString getGuideNameBytes() {
java.lang.Object ref = guideName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
guideName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string guide_name = 11;</code>
*
* @param value The guideName to set.
* @return This builder for chaining.
*/
public Builder setGuideName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
guideName_ = value;
onChanged();
return this;
}
/**
* <code>string guide_name = 11;</code>
*
* @return This builder for chaining.
*/
public Builder clearGuideName() {
guideName_ = getDefaultInstance().getGuideName();
onChanged();
return this;
}
/**
* <code>string guide_name = 11;</code>
*
* @param value The bytes for guideName to set.
* @return This builder for chaining.
*/
public Builder setGuideNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
guideName_ = value;
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:ShowClientGuideNotify)
}
// @@protoc_insertion_point(class_scope:ShowClientGuideNotify)
private static final emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass
.ShowClientGuideNotify
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify();
}
public static emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ShowClientGuideNotify> PARSER =
new com.google.protobuf.AbstractParser<ShowClientGuideNotify>() {
@java.lang.Override
public ShowClientGuideNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ShowClientGuideNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ShowClientGuideNotify> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ShowClientGuideNotify> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ShowClientGuideNotify_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ShowClientGuideNotify_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\033ShowClientGuideNotify.proto\"+\n\025ShowCli"
+ "entGuideNotify\022\022\n\nguide_name\030\013 \001(\tB\033\n\031em"
+ "u.grasscutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_ShowClientGuideNotify_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_ShowClientGuideNotify_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ShowClientGuideNotify_descriptor,
new java.lang.String[] {
"GuideName",
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,898 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ShowCommonTipsNotify.proto
package emu.grasscutter.net.proto;
public final class ShowCommonTipsNotifyOuterClass {
private ShowCommonTipsNotifyOuterClass() {}
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 ShowCommonTipsNotifyOrBuilder
extends
// @@protoc_insertion_point(interface_extends:ShowCommonTipsNotify)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 close_time = 1;</code>
*
* @return The closeTime.
*/
int getCloseTime();
/**
* <code>string content = 6;</code>
*
* @return The content.
*/
java.lang.String getContent();
/**
* <code>string content = 6;</code>
*
* @return The bytes for content.
*/
com.google.protobuf.ByteString getContentBytes();
/**
* <code>string title = 14;</code>
*
* @return The title.
*/
java.lang.String getTitle();
/**
* <code>string title = 14;</code>
*
* @return The bytes for title.
*/
com.google.protobuf.ByteString getTitleBytes();
}
/**
*
*
* <pre>
* Name: DCNCLONCJHI
* CmdId: 3469
* </pre>
*
* Protobuf type {@code ShowCommonTipsNotify}
*/
public static final class ShowCommonTipsNotify extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:ShowCommonTipsNotify)
ShowCommonTipsNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use ShowCommonTipsNotify.newBuilder() to construct.
private ShowCommonTipsNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ShowCommonTipsNotify() {
content_ = "";
title_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ShowCommonTipsNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private ShowCommonTipsNotify(
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 8:
{
closeTime_ = input.readUInt32();
break;
}
case 50:
{
java.lang.String s = input.readStringRequireUtf8();
content_ = s;
break;
}
case 114:
{
java.lang.String s = input.readStringRequireUtf8();
title_ = s;
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.ShowCommonTipsNotifyOuterClass
.internal_static_ShowCommonTipsNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass
.internal_static_ShowCommonTipsNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify.class,
emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify.Builder
.class);
}
public static final int CLOSE_TIME_FIELD_NUMBER = 1;
private int closeTime_;
/**
* <code>uint32 close_time = 1;</code>
*
* @return The closeTime.
*/
@java.lang.Override
public int getCloseTime() {
return closeTime_;
}
public static final int CONTENT_FIELD_NUMBER = 6;
private volatile java.lang.Object content_;
/**
* <code>string content = 6;</code>
*
* @return The content.
*/
@java.lang.Override
public java.lang.String getContent() {
java.lang.Object ref = content_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
content_ = s;
return s;
}
}
/**
* <code>string content = 6;</code>
*
* @return The bytes for content.
*/
@java.lang.Override
public com.google.protobuf.ByteString getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TITLE_FIELD_NUMBER = 14;
private volatile java.lang.Object title_;
/**
* <code>string title = 14;</code>
*
* @return The title.
*/
@java.lang.Override
public java.lang.String getTitle() {
java.lang.Object ref = title_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
title_ = s;
return s;
}
}
/**
* <code>string title = 14;</code>
*
* @return The bytes for title.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTitleBytes() {
java.lang.Object ref = title_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
title_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (closeTime_ != 0) {
output.writeUInt32(1, closeTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, content_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, title_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (closeTime_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(1, closeTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, content_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, title_);
}
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.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify other =
(emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify) obj;
if (getCloseTime() != other.getCloseTime()) return false;
if (!getContent().equals(other.getContent())) return false;
if (!getTitle().equals(other.getTitle())) 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) + CLOSE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getCloseTime();
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
hash = (37 * hash) + TITLE_FIELD_NUMBER;
hash = (53 * hash) + getTitle().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
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.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
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.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
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.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
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.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
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.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify 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>
* Name: DCNCLONCJHI
* CmdId: 3469
* </pre>
*
* Protobuf type {@code ShowCommonTipsNotify}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:ShowCommonTipsNotify)
emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass
.internal_static_ShowCommonTipsNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass
.internal_static_ShowCommonTipsNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify.class,
emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
.Builder.class);
}
// Construct using
// emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify.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();
closeTime_ = 0;
content_ = "";
title_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass
.internal_static_ShowCommonTipsNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify build() {
emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
buildPartial() {
emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify result =
new emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify(this);
result.closeTime_ = closeTime_;
result.content_ = content_;
result.title_ = title_;
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.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify) {
return mergeFrom(
(emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify)
other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify other) {
if (other
== emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
.getDefaultInstance()) return this;
if (other.getCloseTime() != 0) {
setCloseTime(other.getCloseTime());
}
if (!other.getContent().isEmpty()) {
content_ = other.content_;
onChanged();
}
if (!other.getTitle().isEmpty()) {
title_ = other.title_;
onChanged();
}
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.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int closeTime_;
/**
* <code>uint32 close_time = 1;</code>
*
* @return The closeTime.
*/
@java.lang.Override
public int getCloseTime() {
return closeTime_;
}
/**
* <code>uint32 close_time = 1;</code>
*
* @param value The closeTime to set.
* @return This builder for chaining.
*/
public Builder setCloseTime(int value) {
closeTime_ = value;
onChanged();
return this;
}
/**
* <code>uint32 close_time = 1;</code>
*
* @return This builder for chaining.
*/
public Builder clearCloseTime() {
closeTime_ = 0;
onChanged();
return this;
}
private java.lang.Object content_ = "";
/**
* <code>string content = 6;</code>
*
* @return The content.
*/
public java.lang.String getContent() {
java.lang.Object ref = content_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
content_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string content = 6;</code>
*
* @return The bytes for content.
*/
public com.google.protobuf.ByteString getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string content = 6;</code>
*
* @param value The content to set.
* @return This builder for chaining.
*/
public Builder setContent(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
return this;
}
/**
* <code>string content = 6;</code>
*
* @return This builder for chaining.
*/
public Builder clearContent() {
content_ = getDefaultInstance().getContent();
onChanged();
return this;
}
/**
* <code>string content = 6;</code>
*
* @param value The bytes for content to set.
* @return This builder for chaining.
*/
public Builder setContentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
content_ = value;
onChanged();
return this;
}
private java.lang.Object title_ = "";
/**
* <code>string title = 14;</code>
*
* @return The title.
*/
public java.lang.String getTitle() {
java.lang.Object ref = title_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
title_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string title = 14;</code>
*
* @return The bytes for title.
*/
public com.google.protobuf.ByteString getTitleBytes() {
java.lang.Object ref = title_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
title_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string title = 14;</code>
*
* @param value The title to set.
* @return This builder for chaining.
*/
public Builder setTitle(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
title_ = value;
onChanged();
return this;
}
/**
* <code>string title = 14;</code>
*
* @return This builder for chaining.
*/
public Builder clearTitle() {
title_ = getDefaultInstance().getTitle();
onChanged();
return this;
}
/**
* <code>string title = 14;</code>
*
* @param value The bytes for title to set.
* @return This builder for chaining.
*/
public Builder setTitleBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
title_ = value;
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:ShowCommonTipsNotify)
}
// @@protoc_insertion_point(class_scope:ShowCommonTipsNotify)
private static final emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass
.ShowCommonTipsNotify
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify();
}
public static emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ShowCommonTipsNotify> PARSER =
new com.google.protobuf.AbstractParser<ShowCommonTipsNotify>() {
@java.lang.Override
public ShowCommonTipsNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ShowCommonTipsNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ShowCommonTipsNotify> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ShowCommonTipsNotify> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.ShowCommonTipsNotifyOuterClass.ShowCommonTipsNotify
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ShowCommonTipsNotify_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ShowCommonTipsNotify_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\032ShowCommonTipsNotify.proto\"J\n\024ShowComm"
+ "onTipsNotify\022\022\n\nclose_time\030\001 \001(\r\022\017\n\007cont"
+ "ent\030\006 \001(\t\022\r\n\005title\030\016 \001(\tB\033\n\031emu.grasscut"
+ "ter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_ShowCommonTipsNotify_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_ShowCommonTipsNotify_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ShowCommonTipsNotify_descriptor,
new java.lang.String[] {
"CloseTime", "Content", "Title",
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,984 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TrialAvatarActivityDetailInfo.proto
package emu.grasscutter.net.proto;
public final class TrialAvatarActivityDetailInfoOuterClass {
private TrialAvatarActivityDetailInfoOuterClass() {}
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 TrialAvatarActivityDetailInfoOrBuilder
extends
// @@protoc_insertion_point(interface_extends:TrialAvatarActivityDetailInfo)
com.google.protobuf.MessageOrBuilder {
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
java.util.List<
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo>
getRewardInfoListList();
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
getRewardInfoList(int index);
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
int getRewardInfoListCount();
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
java.util.List<
? extends
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfoOrBuilder>
getRewardInfoListOrBuilderList();
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfoOrBuilder
getRewardInfoListOrBuilder(int index);
}
/**
*
*
* <pre>
* Name: OIGGLAODKKL
* </pre>
*
* Protobuf type {@code TrialAvatarActivityDetailInfo}
*/
public static final class TrialAvatarActivityDetailInfo
extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:TrialAvatarActivityDetailInfo)
TrialAvatarActivityDetailInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use TrialAvatarActivityDetailInfo.newBuilder() to construct.
private TrialAvatarActivityDetailInfo(
com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TrialAvatarActivityDetailInfo() {
rewardInfoList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new TrialAvatarActivityDetailInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private TrialAvatarActivityDetailInfo(
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 34:
{
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
rewardInfoList_ =
new java.util.ArrayList<
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo>();
mutable_bitField0_ |= 0x00000001;
}
rewardInfoList_.add(
input.readMessage(
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.parser(),
extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
rewardInfoList_ = java.util.Collections.unmodifiableList(rewardInfoList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.internal_static_TrialAvatarActivityDetailInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.internal_static_TrialAvatarActivityDetailInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.class,
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.Builder.class);
}
public static final int REWARD_INFO_LIST_FIELD_NUMBER = 4;
private java.util.List<
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo>
rewardInfoList_;
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
@java.lang.Override
public java.util.List<
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo>
getRewardInfoListList() {
return rewardInfoList_;
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
@java.lang.Override
public java.util.List<
? extends
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfoOrBuilder>
getRewardInfoListOrBuilderList() {
return rewardInfoList_;
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
@java.lang.Override
public int getRewardInfoListCount() {
return rewardInfoList_.size();
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
getRewardInfoList(int index) {
return rewardInfoList_.get(index);
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfoOrBuilder
getRewardInfoListOrBuilder(int index) {
return rewardInfoList_.get(index);
}
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 {
for (int i = 0; i < rewardInfoList_.size(); i++) {
output.writeMessage(4, rewardInfoList_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < rewardInfoList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, rewardInfoList_.get(i));
}
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.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
other =
(emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo)
obj;
if (!getRewardInfoListList().equals(other.getRewardInfoListList())) 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();
if (getRewardInfoListCount() > 0) {
hash = (37 * hash) + REWARD_INFO_LIST_FIELD_NUMBER;
hash = (53 * hash) + getRewardInfoListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
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.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
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.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
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.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
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.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
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.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
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>
* Name: OIGGLAODKKL
* </pre>
*
* Protobuf type {@code TrialAvatarActivityDetailInfo}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:TrialAvatarActivityDetailInfo)
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.internal_static_TrialAvatarActivityDetailInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.internal_static_TrialAvatarActivityDetailInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.class,
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.Builder.class);
}
// Construct using
// emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass.TrialAvatarActivityDetailInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
getRewardInfoListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (rewardInfoListBuilder_ == null) {
rewardInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
rewardInfoListBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.internal_static_TrialAvatarActivityDetailInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
build() {
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
buildPartial() {
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
result =
new emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo(this);
int from_bitField0_ = bitField0_;
if (rewardInfoListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
rewardInfoList_ = java.util.Collections.unmodifiableList(rewardInfoList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.rewardInfoList_ = rewardInfoList_;
} else {
result.rewardInfoList_ = rewardInfoListBuilder_.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.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo) {
return mergeFrom(
(emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo)
other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
other) {
if (other
== emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.getDefaultInstance()) return this;
if (rewardInfoListBuilder_ == null) {
if (!other.rewardInfoList_.isEmpty()) {
if (rewardInfoList_.isEmpty()) {
rewardInfoList_ = other.rewardInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureRewardInfoListIsMutable();
rewardInfoList_.addAll(other.rewardInfoList_);
}
onChanged();
}
} else {
if (!other.rewardInfoList_.isEmpty()) {
if (rewardInfoListBuilder_.isEmpty()) {
rewardInfoListBuilder_.dispose();
rewardInfoListBuilder_ = null;
rewardInfoList_ = other.rewardInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
rewardInfoListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getRewardInfoListFieldBuilder()
: null;
} else {
rewardInfoListBuilder_.addAllMessages(other.rewardInfoList_);
}
}
}
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.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo>
rewardInfoList_ = java.util.Collections.emptyList();
private void ensureRewardInfoListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
rewardInfoList_ =
new java.util.ArrayList<
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo>(rewardInfoList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo,
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.Builder,
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfoOrBuilder>
rewardInfoListBuilder_;
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public java.util.List<
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo>
getRewardInfoListList() {
if (rewardInfoListBuilder_ == null) {
return java.util.Collections.unmodifiableList(rewardInfoList_);
} else {
return rewardInfoListBuilder_.getMessageList();
}
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public int getRewardInfoListCount() {
if (rewardInfoListBuilder_ == null) {
return rewardInfoList_.size();
} else {
return rewardInfoListBuilder_.getCount();
}
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
getRewardInfoList(int index) {
if (rewardInfoListBuilder_ == null) {
return rewardInfoList_.get(index);
} else {
return rewardInfoListBuilder_.getMessage(index);
}
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public Builder setRewardInfoList(
int index,
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
value) {
if (rewardInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRewardInfoListIsMutable();
rewardInfoList_.set(index, value);
onChanged();
} else {
rewardInfoListBuilder_.setMessage(index, value);
}
return this;
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public Builder setRewardInfoList(
int index,
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.Builder
builderForValue) {
if (rewardInfoListBuilder_ == null) {
ensureRewardInfoListIsMutable();
rewardInfoList_.set(index, builderForValue.build());
onChanged();
} else {
rewardInfoListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public Builder addRewardInfoList(
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
value) {
if (rewardInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRewardInfoListIsMutable();
rewardInfoList_.add(value);
onChanged();
} else {
rewardInfoListBuilder_.addMessage(value);
}
return this;
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public Builder addRewardInfoList(
int index,
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
value) {
if (rewardInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRewardInfoListIsMutable();
rewardInfoList_.add(index, value);
onChanged();
} else {
rewardInfoListBuilder_.addMessage(index, value);
}
return this;
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public Builder addRewardInfoList(
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.Builder
builderForValue) {
if (rewardInfoListBuilder_ == null) {
ensureRewardInfoListIsMutable();
rewardInfoList_.add(builderForValue.build());
onChanged();
} else {
rewardInfoListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public Builder addRewardInfoList(
int index,
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.Builder
builderForValue) {
if (rewardInfoListBuilder_ == null) {
ensureRewardInfoListIsMutable();
rewardInfoList_.add(index, builderForValue.build());
onChanged();
} else {
rewardInfoListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public Builder addAllRewardInfoList(
java.lang.Iterable<
? extends
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo>
values) {
if (rewardInfoListBuilder_ == null) {
ensureRewardInfoListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rewardInfoList_);
onChanged();
} else {
rewardInfoListBuilder_.addAllMessages(values);
}
return this;
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public Builder clearRewardInfoList() {
if (rewardInfoListBuilder_ == null) {
rewardInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
rewardInfoListBuilder_.clear();
}
return this;
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public Builder removeRewardInfoList(int index) {
if (rewardInfoListBuilder_ == null) {
ensureRewardInfoListIsMutable();
rewardInfoList_.remove(index);
onChanged();
} else {
rewardInfoListBuilder_.remove(index);
}
return this;
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.Builder
getRewardInfoListBuilder(int index) {
return getRewardInfoListFieldBuilder().getBuilder(index);
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfoOrBuilder
getRewardInfoListOrBuilder(int index) {
if (rewardInfoListBuilder_ == null) {
return rewardInfoList_.get(index);
} else {
return rewardInfoListBuilder_.getMessageOrBuilder(index);
}
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public java.util.List<
? extends
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfoOrBuilder>
getRewardInfoListOrBuilderList() {
if (rewardInfoListBuilder_ != null) {
return rewardInfoListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(rewardInfoList_);
}
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.Builder
addRewardInfoListBuilder() {
return getRewardInfoListFieldBuilder()
.addBuilder(
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.getDefaultInstance());
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.Builder
addRewardInfoListBuilder(int index) {
return getRewardInfoListFieldBuilder()
.addBuilder(
index,
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.getDefaultInstance());
}
/** <code>repeated .TrialAvatarActivityRewardDetailInfo reward_info_list = 4;</code> */
public java.util.List<
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.Builder>
getRewardInfoListBuilderList() {
return getRewardInfoListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo,
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.Builder,
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfoOrBuilder>
getRewardInfoListFieldBuilder() {
if (rewardInfoListBuilder_ == null) {
rewardInfoListBuilder_ =
new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo,
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.Builder,
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfoOrBuilder>(
rewardInfoList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
rewardInfoList_ = null;
}
return rewardInfoListBuilder_;
}
@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:TrialAvatarActivityDetailInfo)
}
// @@protoc_insertion_point(class_scope:TrialAvatarActivityDetailInfo)
private static final emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo();
}
public static emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TrialAvatarActivityDetailInfo> PARSER =
new com.google.protobuf.AbstractParser<TrialAvatarActivityDetailInfo>() {
@java.lang.Override
public TrialAvatarActivityDetailInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TrialAvatarActivityDetailInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<TrialAvatarActivityDetailInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TrialAvatarActivityDetailInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_TrialAvatarActivityDetailInfo_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_TrialAvatarActivityDetailInfo_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#TrialAvatarActivityDetailInfo.proto\032)T"
+ "rialAvatarActivityRewardDetailInfo.proto"
+ "\"_\n\035TrialAvatarActivityDetailInfo\022>\n\020rew"
+ "ard_info_list\030\004 \003(\0132$.TrialAvatarActivit"
+ "yRewardDetailInfoB\033\n\031emu.grasscutter.net"
+ ".protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.getDescriptor(),
});
internal_static_TrialAvatarActivityDetailInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_TrialAvatarActivityDetailInfo_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_TrialAvatarActivityDetailInfo_descriptor,
new java.lang.String[] {
"RewardInfoList",
});
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,918 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TrialAvatarActivityRewardDetailInfo.proto
package emu.grasscutter.net.proto;
public final class TrialAvatarActivityRewardDetailInfoOuterClass {
private TrialAvatarActivityRewardDetailInfoOuterClass() {}
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 TrialAvatarActivityRewardDetailInfoOrBuilder
extends
// @@protoc_insertion_point(interface_extends:TrialAvatarActivityRewardDetailInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
*
* <pre>
* MCCAEONNHPH
* </pre>
*
* <code>bool received_reward = 12;</code>
*
* @return The receivedReward.
*/
boolean getReceivedReward();
/**
* <code>uint32 reward_id = 8;</code>
*
* @return The rewardId.
*/
int getRewardId();
/**
*
*
* <pre>
* JNEMHMEMNEB
* </pre>
*
* <code>bool passed_dungeon = 14;</code>
*
* @return The passedDungeon.
*/
boolean getPassedDungeon();
/**
* <code>uint32 trial_avatar_index_id = 13;</code>
*
* @return The trialAvatarIndexId.
*/
int getTrialAvatarIndexId();
}
/**
*
*
* <pre>
* Name: BEBIONDAIJE
* </pre>
*
* Protobuf type {@code TrialAvatarActivityRewardDetailInfo}
*/
public static final class TrialAvatarActivityRewardDetailInfo
extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:TrialAvatarActivityRewardDetailInfo)
TrialAvatarActivityRewardDetailInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use TrialAvatarActivityRewardDetailInfo.newBuilder() to construct.
private TrialAvatarActivityRewardDetailInfo(
com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TrialAvatarActivityRewardDetailInfo() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new TrialAvatarActivityRewardDetailInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private TrialAvatarActivityRewardDetailInfo(
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 64:
{
rewardId_ = input.readUInt32();
break;
}
case 96:
{
receivedReward_ = input.readBool();
break;
}
case 104:
{
trialAvatarIndexId_ = input.readUInt32();
break;
}
case 112:
{
passedDungeon_ = 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.TrialAvatarActivityRewardDetailInfoOuterClass
.internal_static_TrialAvatarActivityRewardDetailInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.internal_static_TrialAvatarActivityRewardDetailInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.class,
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.Builder.class);
}
public static final int RECEIVED_REWARD_FIELD_NUMBER = 12;
private boolean receivedReward_;
/**
*
*
* <pre>
* MCCAEONNHPH
* </pre>
*
* <code>bool received_reward = 12;</code>
*
* @return The receivedReward.
*/
@java.lang.Override
public boolean getReceivedReward() {
return receivedReward_;
}
public static final int REWARD_ID_FIELD_NUMBER = 8;
private int rewardId_;
/**
* <code>uint32 reward_id = 8;</code>
*
* @return The rewardId.
*/
@java.lang.Override
public int getRewardId() {
return rewardId_;
}
public static final int PASSED_DUNGEON_FIELD_NUMBER = 14;
private boolean passedDungeon_;
/**
*
*
* <pre>
* JNEMHMEMNEB
* </pre>
*
* <code>bool passed_dungeon = 14;</code>
*
* @return The passedDungeon.
*/
@java.lang.Override
public boolean getPassedDungeon() {
return passedDungeon_;
}
public static final int TRIAL_AVATAR_INDEX_ID_FIELD_NUMBER = 13;
private int trialAvatarIndexId_;
/**
* <code>uint32 trial_avatar_index_id = 13;</code>
*
* @return The trialAvatarIndexId.
*/
@java.lang.Override
public int getTrialAvatarIndexId() {
return trialAvatarIndexId_;
}
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 (rewardId_ != 0) {
output.writeUInt32(8, rewardId_);
}
if (receivedReward_ != false) {
output.writeBool(12, receivedReward_);
}
if (trialAvatarIndexId_ != 0) {
output.writeUInt32(13, trialAvatarIndexId_);
}
if (passedDungeon_ != false) {
output.writeBool(14, passedDungeon_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (rewardId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(8, rewardId_);
}
if (receivedReward_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, receivedReward_);
}
if (trialAvatarIndexId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(13, trialAvatarIndexId_);
}
if (passedDungeon_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, passedDungeon_);
}
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.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
other =
(emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo)
obj;
if (getReceivedReward() != other.getReceivedReward()) return false;
if (getRewardId() != other.getRewardId()) return false;
if (getPassedDungeon() != other.getPassedDungeon()) return false;
if (getTrialAvatarIndexId() != other.getTrialAvatarIndexId()) 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) + RECEIVED_REWARD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReceivedReward());
hash = (37 * hash) + REWARD_ID_FIELD_NUMBER;
hash = (53 * hash) + getRewardId();
hash = (37 * hash) + PASSED_DUNGEON_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassedDungeon());
hash = (37 * hash) + TRIAL_AVATAR_INDEX_ID_FIELD_NUMBER;
hash = (53 * hash) + getTrialAvatarIndexId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
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.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
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.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
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.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
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.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
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.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
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>
* Name: BEBIONDAIJE
* </pre>
*
* Protobuf type {@code TrialAvatarActivityRewardDetailInfo}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:TrialAvatarActivityRewardDetailInfo)
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.internal_static_TrialAvatarActivityRewardDetailInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.internal_static_TrialAvatarActivityRewardDetailInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.class,
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.Builder.class);
}
// Construct using
// emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass.TrialAvatarActivityRewardDetailInfo.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();
receivedReward_ = false;
rewardId_ = 0;
passedDungeon_ = false;
trialAvatarIndexId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.internal_static_TrialAvatarActivityRewardDetailInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
build() {
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
buildPartial() {
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
result =
new emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo(this);
result.receivedReward_ = receivedReward_;
result.rewardId_ = rewardId_;
result.passedDungeon_ = passedDungeon_;
result.trialAvatarIndexId_ = trialAvatarIndexId_;
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.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo) {
return mergeFrom(
(emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo)
other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
other) {
if (other
== emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.getDefaultInstance()) return this;
if (other.getReceivedReward() != false) {
setReceivedReward(other.getReceivedReward());
}
if (other.getRewardId() != 0) {
setRewardId(other.getRewardId());
}
if (other.getPassedDungeon() != false) {
setPassedDungeon(other.getPassedDungeon());
}
if (other.getTrialAvatarIndexId() != 0) {
setTrialAvatarIndexId(other.getTrialAvatarIndexId());
}
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.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean receivedReward_;
/**
*
*
* <pre>
* MCCAEONNHPH
* </pre>
*
* <code>bool received_reward = 12;</code>
*
* @return The receivedReward.
*/
@java.lang.Override
public boolean getReceivedReward() {
return receivedReward_;
}
/**
*
*
* <pre>
* MCCAEONNHPH
* </pre>
*
* <code>bool received_reward = 12;</code>
*
* @param value The receivedReward to set.
* @return This builder for chaining.
*/
public Builder setReceivedReward(boolean value) {
receivedReward_ = value;
onChanged();
return this;
}
/**
*
*
* <pre>
* MCCAEONNHPH
* </pre>
*
* <code>bool received_reward = 12;</code>
*
* @return This builder for chaining.
*/
public Builder clearReceivedReward() {
receivedReward_ = false;
onChanged();
return this;
}
private int rewardId_;
/**
* <code>uint32 reward_id = 8;</code>
*
* @return The rewardId.
*/
@java.lang.Override
public int getRewardId() {
return rewardId_;
}
/**
* <code>uint32 reward_id = 8;</code>
*
* @param value The rewardId to set.
* @return This builder for chaining.
*/
public Builder setRewardId(int value) {
rewardId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 reward_id = 8;</code>
*
* @return This builder for chaining.
*/
public Builder clearRewardId() {
rewardId_ = 0;
onChanged();
return this;
}
private boolean passedDungeon_;
/**
*
*
* <pre>
* JNEMHMEMNEB
* </pre>
*
* <code>bool passed_dungeon = 14;</code>
*
* @return The passedDungeon.
*/
@java.lang.Override
public boolean getPassedDungeon() {
return passedDungeon_;
}
/**
*
*
* <pre>
* JNEMHMEMNEB
* </pre>
*
* <code>bool passed_dungeon = 14;</code>
*
* @param value The passedDungeon to set.
* @return This builder for chaining.
*/
public Builder setPassedDungeon(boolean value) {
passedDungeon_ = value;
onChanged();
return this;
}
/**
*
*
* <pre>
* JNEMHMEMNEB
* </pre>
*
* <code>bool passed_dungeon = 14;</code>
*
* @return This builder for chaining.
*/
public Builder clearPassedDungeon() {
passedDungeon_ = false;
onChanged();
return this;
}
private int trialAvatarIndexId_;
/**
* <code>uint32 trial_avatar_index_id = 13;</code>
*
* @return The trialAvatarIndexId.
*/
@java.lang.Override
public int getTrialAvatarIndexId() {
return trialAvatarIndexId_;
}
/**
* <code>uint32 trial_avatar_index_id = 13;</code>
*
* @param value The trialAvatarIndexId to set.
* @return This builder for chaining.
*/
public Builder setTrialAvatarIndexId(int value) {
trialAvatarIndexId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 trial_avatar_index_id = 13;</code>
*
* @return This builder for chaining.
*/
public Builder clearTrialAvatarIndexId() {
trialAvatarIndexId_ = 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:TrialAvatarActivityRewardDetailInfo)
}
// @@protoc_insertion_point(class_scope:TrialAvatarActivityRewardDetailInfo)
private static final emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo();
}
public static emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TrialAvatarActivityRewardDetailInfo> PARSER =
new com.google.protobuf.AbstractParser<TrialAvatarActivityRewardDetailInfo>() {
@java.lang.Override
public TrialAvatarActivityRewardDetailInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TrialAvatarActivityRewardDetailInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<TrialAvatarActivityRewardDetailInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TrialAvatarActivityRewardDetailInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_TrialAvatarActivityRewardDetailInfo_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_TrialAvatarActivityRewardDetailInfo_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)TrialAvatarActivityRewardDetailInfo.pr"
+ "oto\"\210\001\n#TrialAvatarActivityRewardDetailI"
+ "nfo\022\027\n\017received_reward\030\014 \001(\010\022\021\n\treward_i"
+ "d\030\010 \001(\r\022\026\n\016passed_dungeon\030\016 \001(\010\022\035\n\025trial"
+ "_avatar_index_id\030\r \001(\rB\033\n\031emu.grasscutte"
+ "r.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_TrialAvatarActivityRewardDetailInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_TrialAvatarActivityRewardDetailInfo_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_TrialAvatarActivityRewardDetailInfo_descriptor,
new java.lang.String[] {
"ReceivedReward", "RewardId", "PassedDungeon", "TrialAvatarIndexId",
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,639 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TrialAvatarInDungeonIndexNotify.proto
package emu.grasscutter.net.proto;
public final class TrialAvatarInDungeonIndexNotifyOuterClass {
private TrialAvatarInDungeonIndexNotifyOuterClass() {}
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 TrialAvatarInDungeonIndexNotifyOrBuilder
extends
// @@protoc_insertion_point(interface_extends:TrialAvatarInDungeonIndexNotify)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 trial_avatar_index_id = 6;</code>
*
* @return The trialAvatarIndexId.
*/
int getTrialAvatarIndexId();
}
/**
*
*
* <pre>
* Name: NEIOEGLNCBC
* CmdId: 2109
* </pre>
*
* Protobuf type {@code TrialAvatarInDungeonIndexNotify}
*/
public static final class TrialAvatarInDungeonIndexNotify
extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:TrialAvatarInDungeonIndexNotify)
TrialAvatarInDungeonIndexNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use TrialAvatarInDungeonIndexNotify.newBuilder() to construct.
private TrialAvatarInDungeonIndexNotify(
com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TrialAvatarInDungeonIndexNotify() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new TrialAvatarInDungeonIndexNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private TrialAvatarInDungeonIndexNotify(
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 48:
{
trialAvatarIndexId_ = input.readUInt32();
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.TrialAvatarInDungeonIndexNotifyOuterClass
.internal_static_TrialAvatarInDungeonIndexNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.internal_static_TrialAvatarInDungeonIndexNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify.class,
emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify.Builder.class);
}
public static final int TRIAL_AVATAR_INDEX_ID_FIELD_NUMBER = 6;
private int trialAvatarIndexId_;
/**
* <code>uint32 trial_avatar_index_id = 6;</code>
*
* @return The trialAvatarIndexId.
*/
@java.lang.Override
public int getTrialAvatarIndexId() {
return trialAvatarIndexId_;
}
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 (trialAvatarIndexId_ != 0) {
output.writeUInt32(6, trialAvatarIndexId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (trialAvatarIndexId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(6, trialAvatarIndexId_);
}
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.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
other =
(emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify)
obj;
if (getTrialAvatarIndexId() != other.getTrialAvatarIndexId()) 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) + TRIAL_AVATAR_INDEX_ID_FIELD_NUMBER;
hash = (53 * hash) + getTrialAvatarIndexId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
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.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
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.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
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.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
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.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
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.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
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>
* Name: NEIOEGLNCBC
* CmdId: 2109
* </pre>
*
* Protobuf type {@code TrialAvatarInDungeonIndexNotify}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:TrialAvatarInDungeonIndexNotify)
emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.internal_static_TrialAvatarInDungeonIndexNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.internal_static_TrialAvatarInDungeonIndexNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify.class,
emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify.Builder.class);
}
// Construct using
// emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass.TrialAvatarInDungeonIndexNotify.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();
trialAvatarIndexId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.internal_static_TrialAvatarInDungeonIndexNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
getDefaultInstanceForType() {
return emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
build() {
emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
buildPartial() {
emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
result =
new emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify(this);
result.trialAvatarIndexId_ = trialAvatarIndexId_;
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.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify) {
return mergeFrom(
(emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify)
other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
other) {
if (other
== emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify.getDefaultInstance()) return this;
if (other.getTrialAvatarIndexId() != 0) {
setTrialAvatarIndexId(other.getTrialAvatarIndexId());
}
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.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int trialAvatarIndexId_;
/**
* <code>uint32 trial_avatar_index_id = 6;</code>
*
* @return The trialAvatarIndexId.
*/
@java.lang.Override
public int getTrialAvatarIndexId() {
return trialAvatarIndexId_;
}
/**
* <code>uint32 trial_avatar_index_id = 6;</code>
*
* @param value The trialAvatarIndexId to set.
* @return This builder for chaining.
*/
public Builder setTrialAvatarIndexId(int value) {
trialAvatarIndexId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 trial_avatar_index_id = 6;</code>
*
* @return This builder for chaining.
*/
public Builder clearTrialAvatarIndexId() {
trialAvatarIndexId_ = 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:TrialAvatarInDungeonIndexNotify)
}
// @@protoc_insertion_point(class_scope:TrialAvatarInDungeonIndexNotify)
private static final emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify();
}
public static emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TrialAvatarInDungeonIndexNotify> PARSER =
new com.google.protobuf.AbstractParser<TrialAvatarInDungeonIndexNotify>() {
@java.lang.Override
public TrialAvatarInDungeonIndexNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TrialAvatarInDungeonIndexNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<TrialAvatarInDungeonIndexNotify> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TrialAvatarInDungeonIndexNotify> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarInDungeonIndexNotifyOuterClass
.TrialAvatarInDungeonIndexNotify
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_TrialAvatarInDungeonIndexNotify_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_TrialAvatarInDungeonIndexNotify_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%TrialAvatarInDungeonIndexNotify.proto\""
+ "@\n\037TrialAvatarInDungeonIndexNotify\022\035\n\025tr"
+ "ial_avatar_index_id\030\006 \001(\rB\033\n\031emu.grasscu"
+ "tter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_TrialAvatarInDungeonIndexNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_TrialAvatarInDungeonIndexNotify_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_TrialAvatarInDungeonIndexNotify_descriptor,
new java.lang.String[] {
"TrialAvatarIndexId",
});
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,716 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: UgcNotify.proto
package emu.grasscutter.net.proto;
public final class UgcNotifyOuterClass {
private UgcNotifyOuterClass() {}
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 UgcNotifyOrBuilder
extends
// @@protoc_insertion_point(interface_extends:UgcNotify)
com.google.protobuf.MessageOrBuilder {
/**
* <code>bool is_ugc_publish_ban = 12;</code>
*
* @return The isUgcPublishBan.
*/
boolean getIsUgcPublishBan();
/**
* <code>bool is_ugc_publish_feature_closed = 8;</code>
*
* @return The isUgcPublishFeatureClosed.
*/
boolean getIsUgcPublishFeatureClosed();
/**
* <code>bool is_ugc_feature_closed = 15;</code>
*
* @return The isUgcFeatureClosed.
*/
boolean getIsUgcFeatureClosed();
}
/**
*
*
* <pre>
* CmdId: 6341 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* </pre>
*
* Protobuf type {@code UgcNotify}
*/
public static final class UgcNotify extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:UgcNotify)
UgcNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use UgcNotify.newBuilder() to construct.
private UgcNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private UgcNotify() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new UgcNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private UgcNotify(
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 64:
{
isUgcPublishFeatureClosed_ = input.readBool();
break;
}
case 96:
{
isUgcPublishBan_ = input.readBool();
break;
}
case 120:
{
isUgcFeatureClosed_ = 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.UgcNotifyOuterClass.internal_static_UgcNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.UgcNotifyOuterClass
.internal_static_UgcNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify.class,
emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify.Builder.class);
}
public static final int IS_UGC_PUBLISH_BAN_FIELD_NUMBER = 12;
private boolean isUgcPublishBan_;
/**
* <code>bool is_ugc_publish_ban = 12;</code>
*
* @return The isUgcPublishBan.
*/
@java.lang.Override
public boolean getIsUgcPublishBan() {
return isUgcPublishBan_;
}
public static final int IS_UGC_PUBLISH_FEATURE_CLOSED_FIELD_NUMBER = 8;
private boolean isUgcPublishFeatureClosed_;
/**
* <code>bool is_ugc_publish_feature_closed = 8;</code>
*
* @return The isUgcPublishFeatureClosed.
*/
@java.lang.Override
public boolean getIsUgcPublishFeatureClosed() {
return isUgcPublishFeatureClosed_;
}
public static final int IS_UGC_FEATURE_CLOSED_FIELD_NUMBER = 15;
private boolean isUgcFeatureClosed_;
/**
* <code>bool is_ugc_feature_closed = 15;</code>
*
* @return The isUgcFeatureClosed.
*/
@java.lang.Override
public boolean getIsUgcFeatureClosed() {
return isUgcFeatureClosed_;
}
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 (isUgcPublishFeatureClosed_ != false) {
output.writeBool(8, isUgcPublishFeatureClosed_);
}
if (isUgcPublishBan_ != false) {
output.writeBool(12, isUgcPublishBan_);
}
if (isUgcFeatureClosed_ != false) {
output.writeBool(15, isUgcFeatureClosed_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (isUgcPublishFeatureClosed_ != false) {
size +=
com.google.protobuf.CodedOutputStream.computeBoolSize(8, isUgcPublishFeatureClosed_);
}
if (isUgcPublishBan_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, isUgcPublishBan_);
}
if (isUgcFeatureClosed_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, isUgcFeatureClosed_);
}
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.UgcNotifyOuterClass.UgcNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify other =
(emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify) obj;
if (getIsUgcPublishBan() != other.getIsUgcPublishBan()) return false;
if (getIsUgcPublishFeatureClosed() != other.getIsUgcPublishFeatureClosed()) return false;
if (getIsUgcFeatureClosed() != other.getIsUgcFeatureClosed()) 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_UGC_PUBLISH_BAN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsUgcPublishBan());
hash = (37 * hash) + IS_UGC_PUBLISH_FEATURE_CLOSED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsUgcPublishFeatureClosed());
hash = (37 * hash) + IS_UGC_FEATURE_CLOSED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsUgcFeatureClosed());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify 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.UgcNotifyOuterClass.UgcNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify 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.UgcNotifyOuterClass.UgcNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify 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.UgcNotifyOuterClass.UgcNotify parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify 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.UgcNotifyOuterClass.UgcNotify parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify 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.UgcNotifyOuterClass.UgcNotify 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: 6341 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* </pre>
*
* Protobuf type {@code UgcNotify}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:UgcNotify)
emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return emu.grasscutter.net.proto.UgcNotifyOuterClass.internal_static_UgcNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.UgcNotifyOuterClass
.internal_static_UgcNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify.class,
emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify.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();
isUgcPublishBan_ = false;
isUgcPublishFeatureClosed_ = false;
isUgcFeatureClosed_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return emu.grasscutter.net.proto.UgcNotifyOuterClass.internal_static_UgcNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify build() {
emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify buildPartial() {
emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify result =
new emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify(this);
result.isUgcPublishBan_ = isUgcPublishBan_;
result.isUgcPublishFeatureClosed_ = isUgcPublishFeatureClosed_;
result.isUgcFeatureClosed_ = isUgcFeatureClosed_;
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.UgcNotifyOuterClass.UgcNotify) {
return mergeFrom((emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify other) {
if (other == emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify.getDefaultInstance())
return this;
if (other.getIsUgcPublishBan() != false) {
setIsUgcPublishBan(other.getIsUgcPublishBan());
}
if (other.getIsUgcPublishFeatureClosed() != false) {
setIsUgcPublishFeatureClosed(other.getIsUgcPublishFeatureClosed());
}
if (other.getIsUgcFeatureClosed() != false) {
setIsUgcFeatureClosed(other.getIsUgcFeatureClosed());
}
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.UgcNotifyOuterClass.UgcNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean isUgcPublishBan_;
/**
* <code>bool is_ugc_publish_ban = 12;</code>
*
* @return The isUgcPublishBan.
*/
@java.lang.Override
public boolean getIsUgcPublishBan() {
return isUgcPublishBan_;
}
/**
* <code>bool is_ugc_publish_ban = 12;</code>
*
* @param value The isUgcPublishBan to set.
* @return This builder for chaining.
*/
public Builder setIsUgcPublishBan(boolean value) {
isUgcPublishBan_ = value;
onChanged();
return this;
}
/**
* <code>bool is_ugc_publish_ban = 12;</code>
*
* @return This builder for chaining.
*/
public Builder clearIsUgcPublishBan() {
isUgcPublishBan_ = false;
onChanged();
return this;
}
private boolean isUgcPublishFeatureClosed_;
/**
* <code>bool is_ugc_publish_feature_closed = 8;</code>
*
* @return The isUgcPublishFeatureClosed.
*/
@java.lang.Override
public boolean getIsUgcPublishFeatureClosed() {
return isUgcPublishFeatureClosed_;
}
/**
* <code>bool is_ugc_publish_feature_closed = 8;</code>
*
* @param value The isUgcPublishFeatureClosed to set.
* @return This builder for chaining.
*/
public Builder setIsUgcPublishFeatureClosed(boolean value) {
isUgcPublishFeatureClosed_ = value;
onChanged();
return this;
}
/**
* <code>bool is_ugc_publish_feature_closed = 8;</code>
*
* @return This builder for chaining.
*/
public Builder clearIsUgcPublishFeatureClosed() {
isUgcPublishFeatureClosed_ = false;
onChanged();
return this;
}
private boolean isUgcFeatureClosed_;
/**
* <code>bool is_ugc_feature_closed = 15;</code>
*
* @return The isUgcFeatureClosed.
*/
@java.lang.Override
public boolean getIsUgcFeatureClosed() {
return isUgcFeatureClosed_;
}
/**
* <code>bool is_ugc_feature_closed = 15;</code>
*
* @param value The isUgcFeatureClosed to set.
* @return This builder for chaining.
*/
public Builder setIsUgcFeatureClosed(boolean value) {
isUgcFeatureClosed_ = value;
onChanged();
return this;
}
/**
* <code>bool is_ugc_feature_closed = 15;</code>
*
* @return This builder for chaining.
*/
public Builder clearIsUgcFeatureClosed() {
isUgcFeatureClosed_ = false;
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:UgcNotify)
}
// @@protoc_insertion_point(class_scope:UgcNotify)
private static final emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify();
}
public static emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<UgcNotify> PARSER =
new com.google.protobuf.AbstractParser<UgcNotify>() {
@java.lang.Override
public UgcNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UgcNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<UgcNotify> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<UgcNotify> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.UgcNotifyOuterClass.UgcNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_UgcNotify_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_UgcNotify_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\017UgcNotify.proto\"m\n\tUgcNotify\022\032\n\022is_ugc"
+ "_publish_ban\030\014 \001(\010\022%\n\035is_ugc_publish_fea"
+ "ture_closed\030\010 \001(\010\022\035\n\025is_ugc_feature_clos"
+ "ed\030\017 \001(\010B\033\n\031emu.grasscutter.net.protob\006p"
+ "roto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_UgcNotify_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_UgcNotify_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_UgcNotify_descriptor,
new java.lang.String[] {
"IsUgcPublishBan", "IsUgcPublishFeatureClosed", "IsUgcFeatureClosed",
});
}
// @@protoc_insertion_point(outer_class_scope)
}