mirror of
https://github.com/Melledy/LunarCore.git
synced 2026-03-29 03:12:21 +02:00
Fix protos
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,566 +1,341 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: ClientMailAttachmentItem.proto
|
||||
// Protobuf Java Version: 4.26.0-rc1
|
||||
|
||||
// Code generated by protocol buffer compiler. Do not edit!
|
||||
package emu.lunarcore.proto;
|
||||
|
||||
import java.io.IOException;
|
||||
import us.hebi.quickbuf.FieldName;
|
||||
import us.hebi.quickbuf.InvalidProtocolBufferException;
|
||||
import us.hebi.quickbuf.JsonSink;
|
||||
import us.hebi.quickbuf.JsonSource;
|
||||
import us.hebi.quickbuf.MessageFactory;
|
||||
import us.hebi.quickbuf.ProtoMessage;
|
||||
import us.hebi.quickbuf.ProtoSink;
|
||||
import us.hebi.quickbuf.ProtoSource;
|
||||
|
||||
public final class ClientMailAttachmentItemOuterClass {
|
||||
private ClientMailAttachmentItemOuterClass() {}
|
||||
static {
|
||||
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||
/* major= */ 4,
|
||||
/* minor= */ 26,
|
||||
/* patch= */ 0,
|
||||
/* suffix= */ "-rc1",
|
||||
ClientMailAttachmentItemOuterClass.class.getName());
|
||||
}
|
||||
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 ClientMailAttachmentItemOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:ClientMailAttachmentItem)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 item_id = 8;</code>
|
||||
* @return The itemId.
|
||||
*/
|
||||
int getItemId();
|
||||
|
||||
/**
|
||||
* <code>uint32 mail_id = 1;</code>
|
||||
* @return The mailId.
|
||||
*/
|
||||
int getMailId();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code ClientMailAttachmentItem}
|
||||
*/
|
||||
public static final class ClientMailAttachmentItem extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:ClientMailAttachmentItem)
|
||||
ClientMailAttachmentItemOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
static {
|
||||
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||
/* major= */ 4,
|
||||
/* minor= */ 26,
|
||||
/* patch= */ 0,
|
||||
/* suffix= */ "-rc1",
|
||||
ClientMailAttachmentItem.class.getName());
|
||||
}
|
||||
// Use ClientMailAttachmentItem.newBuilder() to construct.
|
||||
private ClientMailAttachmentItem(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
public static final class ClientMailAttachmentItem extends ProtoMessage<ClientMailAttachmentItem> implements Cloneable {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 mail_id = 1;</code>
|
||||
*/
|
||||
private int mailId;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 item_id = 8;</code>
|
||||
*/
|
||||
private int itemId;
|
||||
|
||||
private ClientMailAttachmentItem() {
|
||||
}
|
||||
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.internal_static_ClientMailAttachmentItem_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.internal_static_ClientMailAttachmentItem_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.class, emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.Builder.class);
|
||||
}
|
||||
|
||||
public static final int ITEM_ID_FIELD_NUMBER = 8;
|
||||
private int itemId_ = 0;
|
||||
/**
|
||||
* <code>uint32 item_id = 8;</code>
|
||||
* @return The itemId.
|
||||
* @return a new empty instance of {@code ClientMailAttachmentItem}
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getItemId() {
|
||||
return itemId_;
|
||||
public static ClientMailAttachmentItem newInstance() {
|
||||
return new ClientMailAttachmentItem();
|
||||
}
|
||||
|
||||
public static final int MAIL_ID_FIELD_NUMBER = 1;
|
||||
private int mailId_ = 0;
|
||||
/**
|
||||
* <code>uint32 mail_id = 1;</code>
|
||||
* @return The mailId.
|
||||
* <code>optional uint32 mail_id = 1;</code>
|
||||
* @return whether the mailId field is set
|
||||
*/
|
||||
public boolean hasMailId() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 mail_id = 1;</code>
|
||||
* @return this
|
||||
*/
|
||||
public ClientMailAttachmentItem clearMailId() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
mailId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 mail_id = 1;</code>
|
||||
* @return the mailId
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMailId() {
|
||||
return mailId_;
|
||||
return mailId;
|
||||
}
|
||||
|
||||
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;
|
||||
/**
|
||||
* <code>optional uint32 mail_id = 1;</code>
|
||||
* @param value the mailId to set
|
||||
* @return this
|
||||
*/
|
||||
public ClientMailAttachmentItem setMailId(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
mailId = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (mailId_ != 0) {
|
||||
output.writeUInt32(1, mailId_);
|
||||
}
|
||||
if (itemId_ != 0) {
|
||||
output.writeUInt32(8, itemId_);
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
/**
|
||||
* <code>optional uint32 item_id = 8;</code>
|
||||
* @return whether the itemId field is set
|
||||
*/
|
||||
public boolean hasItemId() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
/**
|
||||
* <code>optional uint32 item_id = 8;</code>
|
||||
* @return this
|
||||
*/
|
||||
public ClientMailAttachmentItem clearItemId() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
itemId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
size = 0;
|
||||
if (mailId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(1, mailId_);
|
||||
/**
|
||||
* <code>optional uint32 item_id = 8;</code>
|
||||
* @return the itemId
|
||||
*/
|
||||
public int getItemId() {
|
||||
return itemId;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 item_id = 8;</code>
|
||||
* @param value the itemId to set
|
||||
* @return this
|
||||
*/
|
||||
public ClientMailAttachmentItem setItemId(final int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
itemId = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ClientMailAttachmentItem copyFrom(final ClientMailAttachmentItem other) {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
mailId = other.mailId;
|
||||
itemId = other.itemId;
|
||||
}
|
||||
if (itemId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(8, itemId_);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ClientMailAttachmentItem mergeFrom(final ClientMailAttachmentItem other) {
|
||||
if (other.isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasMailId()) {
|
||||
setMailId(other.mailId);
|
||||
}
|
||||
if (other.hasItemId()) {
|
||||
setItemId(other.itemId);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ClientMailAttachmentItem clear() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
mailId = 0;
|
||||
itemId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ClientMailAttachmentItem clearQuick() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof ClientMailAttachmentItem)) {
|
||||
return false;
|
||||
}
|
||||
ClientMailAttachmentItem other = (ClientMailAttachmentItem) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasMailId() || mailId == other.mailId)
|
||||
&& (!hasItemId() || itemId == other.itemId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 8);
|
||||
output.writeUInt32NoTag(mailId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 64);
|
||||
output.writeUInt32NoTag(itemId);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(mailId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(itemId);
|
||||
}
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
@Override
|
||||
@SuppressWarnings("fallthrough")
|
||||
public ClientMailAttachmentItem mergeFrom(final ProtoSource input) throws IOException {
|
||||
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 8: {
|
||||
// mailId
|
||||
mailId = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 64) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 64: {
|
||||
// itemId
|
||||
itemId = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 0: {
|
||||
return this;
|
||||
}
|
||||
default: {
|
||||
if (!input.skipField(tag)) {
|
||||
return this;
|
||||
}
|
||||
tag = input.readTag();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!(obj instanceof emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeUInt32(FieldNames.mailId, mailId);
|
||||
}
|
||||
emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem other = (emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem) obj;
|
||||
|
||||
if (getItemId()
|
||||
!= other.getItemId()) return false;
|
||||
if (getMailId()
|
||||
!= other.getMailId()) return false;
|
||||
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeUInt32(FieldNames.itemId, itemId);
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + ITEM_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getItemId();
|
||||
hash = (37 * hash) + MAIL_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getMailId();
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
output.endObject();
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||
java.nio.ByteBuffer data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.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.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem 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.GeneratedMessage.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code ClientMailAttachmentItem}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:ClientMailAttachmentItem)
|
||||
emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItemOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.internal_static_ClientMailAttachmentItem_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.internal_static_ClientMailAttachmentItem_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.class, emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
itemId_ = 0;
|
||||
mailId_ = 0;
|
||||
@Override
|
||||
public ClientMailAttachmentItem mergeFrom(final JsonSource input) throws IOException {
|
||||
if (!input.beginObject()) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.internal_static_ClientMailAttachmentItem_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem getDefaultInstanceForType() {
|
||||
return emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem build() {
|
||||
emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem buildPartial() {
|
||||
emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem result = new emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.itemId_ = itemId_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||
result.mailId_ = mailId_;
|
||||
}
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem) {
|
||||
return mergeFrom((emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem other) {
|
||||
if (other == emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.getDefaultInstance()) return this;
|
||||
if (other.getItemId() != 0) {
|
||||
setItemId(other.getItemId());
|
||||
}
|
||||
if (other.getMailId() != 0) {
|
||||
setMailId(other.getMailId());
|
||||
}
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
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 {
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
mailId_ = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
break;
|
||||
} // case 8
|
||||
case 64: {
|
||||
itemId_ = input.readUInt32();
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case -1081574094:
|
||||
case 830962851: {
|
||||
if (input.isAtField(FieldNames.mailId)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
mailId = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 64
|
||||
default: {
|
||||
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||
done = true; // was an endgroup tag
|
||||
}
|
||||
break;
|
||||
} // default:
|
||||
} // switch (tag)
|
||||
} // while (!done)
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
onChanged();
|
||||
} // finally
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private int itemId_ ;
|
||||
/**
|
||||
* <code>uint32 item_id = 8;</code>
|
||||
* @return The itemId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getItemId() {
|
||||
return itemId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 item_id = 8;</code>
|
||||
* @param value The itemId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setItemId(int value) {
|
||||
|
||||
itemId_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 item_id = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearItemId() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
itemId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int mailId_ ;
|
||||
/**
|
||||
* <code>uint32 mail_id = 1;</code>
|
||||
* @return The mailId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMailId() {
|
||||
return mailId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 mail_id = 1;</code>
|
||||
* @param value The mailId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setMailId(int value) {
|
||||
|
||||
mailId_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 mail_id = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearMailId() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
mailId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:ClientMailAttachmentItem)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:ClientMailAttachmentItem)
|
||||
private static final emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem();
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<ClientMailAttachmentItem>
|
||||
PARSER = new com.google.protobuf.AbstractParser<ClientMailAttachmentItem>() {
|
||||
@java.lang.Override
|
||||
public ClientMailAttachmentItem parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
Builder builder = newBuilder();
|
||||
try {
|
||||
builder.mergeFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
||||
.setUnfinishedMessage(builder.buildPartial());
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -1178662002:
|
||||
case 2116204999: {
|
||||
if (input.isAtField(FieldNames.itemId)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
itemId = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
input.skipUnknownField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return builder.buildPartial();
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<ClientMailAttachmentItem> parser() {
|
||||
return PARSER;
|
||||
input.endObject();
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<ClientMailAttachmentItem> getParserForType() {
|
||||
return PARSER;
|
||||
@Override
|
||||
public ClientMailAttachmentItem clone() {
|
||||
return new ClientMailAttachmentItem().copyFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return ((bitField0_) == 0);
|
||||
}
|
||||
|
||||
}
|
||||
public static ClientMailAttachmentItem parseFrom(final byte[] data) throws
|
||||
InvalidProtocolBufferException {
|
||||
return ProtoMessage.mergeFrom(new ClientMailAttachmentItem(), data).checkInitialized();
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_ClientMailAttachmentItem_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_ClientMailAttachmentItem_fieldAccessorTable;
|
||||
public static ClientMailAttachmentItem parseFrom(final ProtoSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new ClientMailAttachmentItem(), input).checkInitialized();
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
return descriptor;
|
||||
}
|
||||
private static com.google.protobuf.Descriptors.FileDescriptor
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\036ClientMailAttachmentItem.proto\"<\n\030Clie" +
|
||||
"ntMailAttachmentItem\022\017\n\007item_id\030\010 \001(\r\022\017\n" +
|
||||
"\007mail_id\030\001 \001(\rB\025\n\023emu.lunarcore.protob\006p" +
|
||||
"roto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
});
|
||||
internal_static_ClientMailAttachmentItem_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_ClientMailAttachmentItem_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_ClientMailAttachmentItem_descriptor,
|
||||
new java.lang.String[] { "ItemId", "MailId", });
|
||||
descriptor.resolveAllFeatures();
|
||||
}
|
||||
public static ClientMailAttachmentItem parseFrom(final JsonSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new ClientMailAttachmentItem(), input).checkInitialized();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
/**
|
||||
* @return factory for creating ClientMailAttachmentItem messages
|
||||
*/
|
||||
public static MessageFactory<ClientMailAttachmentItem> getFactory() {
|
||||
return ClientMailAttachmentItemFactory.INSTANCE;
|
||||
}
|
||||
|
||||
private enum ClientMailAttachmentItemFactory implements MessageFactory<ClientMailAttachmentItem> {
|
||||
INSTANCE;
|
||||
|
||||
@Override
|
||||
public ClientMailAttachmentItem create() {
|
||||
return ClientMailAttachmentItem.newInstance();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName mailId = FieldName.forField("mailId", "mail_id");
|
||||
|
||||
static final FieldName itemId = FieldName.forField("itemId", "item_id");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,567 +1,341 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: DiscardRelicCsReq.proto
|
||||
// Protobuf Java Version: 4.26.0-rc1
|
||||
|
||||
// Code generated by protocol buffer compiler. Do not edit!
|
||||
package emu.lunarcore.proto;
|
||||
|
||||
import java.io.IOException;
|
||||
import us.hebi.quickbuf.FieldName;
|
||||
import us.hebi.quickbuf.InvalidProtocolBufferException;
|
||||
import us.hebi.quickbuf.JsonSink;
|
||||
import us.hebi.quickbuf.JsonSource;
|
||||
import us.hebi.quickbuf.MessageFactory;
|
||||
import us.hebi.quickbuf.ProtoMessage;
|
||||
import us.hebi.quickbuf.ProtoSink;
|
||||
import us.hebi.quickbuf.ProtoSource;
|
||||
|
||||
public final class DiscardRelicCsReqOuterClass {
|
||||
private DiscardRelicCsReqOuterClass() {}
|
||||
static {
|
||||
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||
/* major= */ 4,
|
||||
/* minor= */ 26,
|
||||
/* patch= */ 0,
|
||||
/* suffix= */ "-rc1",
|
||||
DiscardRelicCsReqOuterClass.class.getName());
|
||||
}
|
||||
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 DiscardRelicCsReqOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:DiscardRelicCsReq)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 relic_unique_id = 13;</code>
|
||||
* @return The relicUniqueId.
|
||||
*/
|
||||
int getRelicUniqueId();
|
||||
|
||||
/**
|
||||
* <code>bool is_discard = 1;</code>
|
||||
* @return The isDiscard.
|
||||
*/
|
||||
boolean getIsDiscard();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code DiscardRelicCsReq}
|
||||
*/
|
||||
public static final class DiscardRelicCsReq extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:DiscardRelicCsReq)
|
||||
DiscardRelicCsReqOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
static {
|
||||
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||
/* major= */ 4,
|
||||
/* minor= */ 26,
|
||||
/* patch= */ 0,
|
||||
/* suffix= */ "-rc1",
|
||||
DiscardRelicCsReq.class.getName());
|
||||
}
|
||||
// Use DiscardRelicCsReq.newBuilder() to construct.
|
||||
private DiscardRelicCsReq(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
public static final class DiscardRelicCsReq extends ProtoMessage<DiscardRelicCsReq> implements Cloneable {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 relic_unique_id = 13;</code>
|
||||
*/
|
||||
private int relicUniqueId;
|
||||
|
||||
/**
|
||||
* <code>optional bool is_discard = 1;</code>
|
||||
*/
|
||||
private boolean isDiscard;
|
||||
|
||||
private DiscardRelicCsReq() {
|
||||
}
|
||||
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.internal_static_DiscardRelicCsReq_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.internal_static_DiscardRelicCsReq_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.class, emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int RELIC_UNIQUE_ID_FIELD_NUMBER = 13;
|
||||
private int relicUniqueId_ = 0;
|
||||
/**
|
||||
* <code>uint32 relic_unique_id = 13;</code>
|
||||
* @return The relicUniqueId.
|
||||
* @return a new empty instance of {@code DiscardRelicCsReq}
|
||||
*/
|
||||
public static DiscardRelicCsReq newInstance() {
|
||||
return new DiscardRelicCsReq();
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 relic_unique_id = 13;</code>
|
||||
* @return whether the relicUniqueId field is set
|
||||
*/
|
||||
public boolean hasRelicUniqueId() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 relic_unique_id = 13;</code>
|
||||
* @return this
|
||||
*/
|
||||
public DiscardRelicCsReq clearRelicUniqueId() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
relicUniqueId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 relic_unique_id = 13;</code>
|
||||
* @return the relicUniqueId
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRelicUniqueId() {
|
||||
return relicUniqueId_;
|
||||
return relicUniqueId;
|
||||
}
|
||||
|
||||
public static final int IS_DISCARD_FIELD_NUMBER = 1;
|
||||
private boolean isDiscard_ = false;
|
||||
/**
|
||||
* <code>bool is_discard = 1;</code>
|
||||
* @return The isDiscard.
|
||||
* <code>optional uint32 relic_unique_id = 13;</code>
|
||||
* @param value the relicUniqueId to set
|
||||
* @return this
|
||||
*/
|
||||
public DiscardRelicCsReq setRelicUniqueId(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
relicUniqueId = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool is_discard = 1;</code>
|
||||
* @return whether the isDiscard field is set
|
||||
*/
|
||||
public boolean hasIsDiscard() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool is_discard = 1;</code>
|
||||
* @return this
|
||||
*/
|
||||
public DiscardRelicCsReq clearIsDiscard() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
isDiscard = false;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool is_discard = 1;</code>
|
||||
* @return the isDiscard
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getIsDiscard() {
|
||||
return isDiscard_;
|
||||
return isDiscard;
|
||||
}
|
||||
|
||||
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;
|
||||
/**
|
||||
* <code>optional bool is_discard = 1;</code>
|
||||
* @param value the isDiscard to set
|
||||
* @return this
|
||||
*/
|
||||
public DiscardRelicCsReq setIsDiscard(final boolean value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
isDiscard = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (isDiscard_ != false) {
|
||||
output.writeBool(1, isDiscard_);
|
||||
@Override
|
||||
public DiscardRelicCsReq copyFrom(final DiscardRelicCsReq other) {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
relicUniqueId = other.relicUniqueId;
|
||||
isDiscard = other.isDiscard;
|
||||
}
|
||||
if (relicUniqueId_ != 0) {
|
||||
output.writeUInt32(13, relicUniqueId_);
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
@Override
|
||||
public DiscardRelicCsReq mergeFrom(final DiscardRelicCsReq other) {
|
||||
if (other.isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasRelicUniqueId()) {
|
||||
setRelicUniqueId(other.relicUniqueId);
|
||||
}
|
||||
if (other.hasIsDiscard()) {
|
||||
setIsDiscard(other.isDiscard);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
size = 0;
|
||||
if (isDiscard_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(1, isDiscard_);
|
||||
@Override
|
||||
public DiscardRelicCsReq clear() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
if (relicUniqueId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(13, relicUniqueId_);
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
relicUniqueId = 0;
|
||||
isDiscard = false;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public DiscardRelicCsReq clearQuick() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof DiscardRelicCsReq)) {
|
||||
return false;
|
||||
}
|
||||
DiscardRelicCsReq other = (DiscardRelicCsReq) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasRelicUniqueId() || relicUniqueId == other.relicUniqueId)
|
||||
&& (!hasIsDiscard() || isDiscard == other.isDiscard);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 104);
|
||||
output.writeUInt32NoTag(relicUniqueId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 8);
|
||||
output.writeBoolNoTag(isDiscard);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(relicUniqueId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 2;
|
||||
}
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
@Override
|
||||
@SuppressWarnings("fallthrough")
|
||||
public DiscardRelicCsReq mergeFrom(final ProtoSource input) throws IOException {
|
||||
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 104: {
|
||||
// relicUniqueId
|
||||
relicUniqueId = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 8) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 8: {
|
||||
// isDiscard
|
||||
isDiscard = input.readBool();
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 0: {
|
||||
return this;
|
||||
}
|
||||
default: {
|
||||
if (!input.skipField(tag)) {
|
||||
return this;
|
||||
}
|
||||
tag = input.readTag();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!(obj instanceof emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeUInt32(FieldNames.relicUniqueId, relicUniqueId);
|
||||
}
|
||||
emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq other = (emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq) obj;
|
||||
|
||||
if (getRelicUniqueId()
|
||||
!= other.getRelicUniqueId()) return false;
|
||||
if (getIsDiscard()
|
||||
!= other.getIsDiscard()) return false;
|
||||
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeBool(FieldNames.isDiscard, isDiscard);
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + RELIC_UNIQUE_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRelicUniqueId();
|
||||
hash = (37 * hash) + IS_DISCARD_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getIsDiscard());
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
output.endObject();
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||
java.nio.ByteBuffer data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.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.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq 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.GeneratedMessage.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code DiscardRelicCsReq}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:DiscardRelicCsReq)
|
||||
emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReqOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.internal_static_DiscardRelicCsReq_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.internal_static_DiscardRelicCsReq_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.class, emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
relicUniqueId_ = 0;
|
||||
isDiscard_ = false;
|
||||
@Override
|
||||
public DiscardRelicCsReq mergeFrom(final JsonSource input) throws IOException {
|
||||
if (!input.beginObject()) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.internal_static_DiscardRelicCsReq_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq getDefaultInstanceForType() {
|
||||
return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq build() {
|
||||
emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq buildPartial() {
|
||||
emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq result = new emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.relicUniqueId_ = relicUniqueId_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||
result.isDiscard_ = isDiscard_;
|
||||
}
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq) {
|
||||
return mergeFrom((emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq other) {
|
||||
if (other == emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.getDefaultInstance()) return this;
|
||||
if (other.getRelicUniqueId() != 0) {
|
||||
setRelicUniqueId(other.getRelicUniqueId());
|
||||
}
|
||||
if (other.getIsDiscard() != false) {
|
||||
setIsDiscard(other.getIsDiscard());
|
||||
}
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
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 {
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
isDiscard_ = input.readBool();
|
||||
bitField0_ |= 0x00000002;
|
||||
break;
|
||||
} // case 8
|
||||
case 104: {
|
||||
relicUniqueId_ = input.readUInt32();
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case -1966200481:
|
||||
case 49648253: {
|
||||
if (input.isAtField(FieldNames.relicUniqueId)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
relicUniqueId = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 104
|
||||
default: {
|
||||
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||
done = true; // was an endgroup tag
|
||||
}
|
||||
break;
|
||||
} // default:
|
||||
} // switch (tag)
|
||||
} // while (!done)
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
onChanged();
|
||||
} // finally
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private int relicUniqueId_ ;
|
||||
/**
|
||||
* <code>uint32 relic_unique_id = 13;</code>
|
||||
* @return The relicUniqueId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRelicUniqueId() {
|
||||
return relicUniqueId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 relic_unique_id = 13;</code>
|
||||
* @param value The relicUniqueId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRelicUniqueId(int value) {
|
||||
|
||||
relicUniqueId_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 relic_unique_id = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRelicUniqueId() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
relicUniqueId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private boolean isDiscard_ ;
|
||||
/**
|
||||
* <code>bool is_discard = 1;</code>
|
||||
* @return The isDiscard.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getIsDiscard() {
|
||||
return isDiscard_;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_discard = 1;</code>
|
||||
* @param value The isDiscard to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setIsDiscard(boolean value) {
|
||||
|
||||
isDiscard_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_discard = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsDiscard() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
isDiscard_ = false;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:DiscardRelicCsReq)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:DiscardRelicCsReq)
|
||||
private static final emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq();
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<DiscardRelicCsReq>
|
||||
PARSER = new com.google.protobuf.AbstractParser<DiscardRelicCsReq>() {
|
||||
@java.lang.Override
|
||||
public DiscardRelicCsReq parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
Builder builder = newBuilder();
|
||||
try {
|
||||
builder.mergeFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
||||
.setUnfinishedMessage(builder.buildPartial());
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 1091588116:
|
||||
case -1123290487: {
|
||||
if (input.isAtField(FieldNames.isDiscard)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
isDiscard = input.readBool();
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
input.skipUnknownField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return builder.buildPartial();
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<DiscardRelicCsReq> parser() {
|
||||
return PARSER;
|
||||
input.endObject();
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<DiscardRelicCsReq> getParserForType() {
|
||||
return PARSER;
|
||||
@Override
|
||||
public DiscardRelicCsReq clone() {
|
||||
return new DiscardRelicCsReq().copyFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return ((bitField0_) == 0);
|
||||
}
|
||||
|
||||
}
|
||||
public static DiscardRelicCsReq parseFrom(final byte[] data) throws
|
||||
InvalidProtocolBufferException {
|
||||
return ProtoMessage.mergeFrom(new DiscardRelicCsReq(), data).checkInitialized();
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_DiscardRelicCsReq_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_DiscardRelicCsReq_fieldAccessorTable;
|
||||
public static DiscardRelicCsReq parseFrom(final ProtoSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new DiscardRelicCsReq(), input).checkInitialized();
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
return descriptor;
|
||||
}
|
||||
private static com.google.protobuf.Descriptors.FileDescriptor
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\027DiscardRelicCsReq.proto\"@\n\021DiscardReli" +
|
||||
"cCsReq\022\027\n\017relic_unique_id\030\r \001(\r\022\022\n\nis_di" +
|
||||
"scard\030\001 \001(\010B\025\n\023emu.lunarcore.protob\006prot" +
|
||||
"o3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
});
|
||||
internal_static_DiscardRelicCsReq_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_DiscardRelicCsReq_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_DiscardRelicCsReq_descriptor,
|
||||
new java.lang.String[] { "RelicUniqueId", "IsDiscard", });
|
||||
descriptor.resolveAllFeatures();
|
||||
}
|
||||
public static DiscardRelicCsReq parseFrom(final JsonSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new DiscardRelicCsReq(), input).checkInitialized();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
/**
|
||||
* @return factory for creating DiscardRelicCsReq messages
|
||||
*/
|
||||
public static MessageFactory<DiscardRelicCsReq> getFactory() {
|
||||
return DiscardRelicCsReqFactory.INSTANCE;
|
||||
}
|
||||
|
||||
private enum DiscardRelicCsReqFactory implements MessageFactory<DiscardRelicCsReq> {
|
||||
INSTANCE;
|
||||
|
||||
@Override
|
||||
public DiscardRelicCsReq create() {
|
||||
return DiscardRelicCsReq.newInstance();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName relicUniqueId = FieldName.forField("relicUniqueId", "relic_unique_id");
|
||||
|
||||
static final FieldName isDiscard = FieldName.forField("isDiscard", "is_discard");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,493 +1,260 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: EnableRogueTalentCsReq.proto
|
||||
// Protobuf Java Version: 4.26.0-rc1
|
||||
|
||||
// Code generated by protocol buffer compiler. Do not edit!
|
||||
package emu.lunarcore.proto;
|
||||
|
||||
import java.io.IOException;
|
||||
import us.hebi.quickbuf.FieldName;
|
||||
import us.hebi.quickbuf.InvalidProtocolBufferException;
|
||||
import us.hebi.quickbuf.JsonSink;
|
||||
import us.hebi.quickbuf.JsonSource;
|
||||
import us.hebi.quickbuf.MessageFactory;
|
||||
import us.hebi.quickbuf.ProtoMessage;
|
||||
import us.hebi.quickbuf.ProtoSink;
|
||||
import us.hebi.quickbuf.ProtoSource;
|
||||
|
||||
public final class EnableRogueTalentCsReqOuterClass {
|
||||
private EnableRogueTalentCsReqOuterClass() {}
|
||||
static {
|
||||
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||
/* major= */ 4,
|
||||
/* minor= */ 26,
|
||||
/* patch= */ 0,
|
||||
/* suffix= */ "-rc1",
|
||||
EnableRogueTalentCsReqOuterClass.class.getName());
|
||||
}
|
||||
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 EnableRogueTalentCsReqOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:EnableRogueTalentCsReq)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 talent_id = 3;</code>
|
||||
* @return The talentId.
|
||||
*/
|
||||
int getTalentId();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code EnableRogueTalentCsReq}
|
||||
*/
|
||||
public static final class EnableRogueTalentCsReq extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:EnableRogueTalentCsReq)
|
||||
EnableRogueTalentCsReqOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
static {
|
||||
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||
/* major= */ 4,
|
||||
/* minor= */ 26,
|
||||
/* patch= */ 0,
|
||||
/* suffix= */ "-rc1",
|
||||
EnableRogueTalentCsReq.class.getName());
|
||||
}
|
||||
// Use EnableRogueTalentCsReq.newBuilder() to construct.
|
||||
private EnableRogueTalentCsReq(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
public static final class EnableRogueTalentCsReq extends ProtoMessage<EnableRogueTalentCsReq> implements Cloneable {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 talent_id = 3;</code>
|
||||
*/
|
||||
private int talentId;
|
||||
|
||||
private EnableRogueTalentCsReq() {
|
||||
}
|
||||
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.internal_static_EnableRogueTalentCsReq_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.internal_static_EnableRogueTalentCsReq_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq.class, emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int TALENT_ID_FIELD_NUMBER = 3;
|
||||
private int talentId_ = 0;
|
||||
/**
|
||||
* <code>uint32 talent_id = 3;</code>
|
||||
* @return The talentId.
|
||||
* @return a new empty instance of {@code EnableRogueTalentCsReq}
|
||||
*/
|
||||
public static EnableRogueTalentCsReq newInstance() {
|
||||
return new EnableRogueTalentCsReq();
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 talent_id = 3;</code>
|
||||
* @return whether the talentId field is set
|
||||
*/
|
||||
public boolean hasTalentId() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 talent_id = 3;</code>
|
||||
* @return this
|
||||
*/
|
||||
public EnableRogueTalentCsReq clearTalentId() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
talentId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 talent_id = 3;</code>
|
||||
* @return the talentId
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTalentId() {
|
||||
return talentId_;
|
||||
return talentId;
|
||||
}
|
||||
|
||||
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;
|
||||
/**
|
||||
* <code>optional uint32 talent_id = 3;</code>
|
||||
* @param value the talentId to set
|
||||
* @return this
|
||||
*/
|
||||
public EnableRogueTalentCsReq setTalentId(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
talentId = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (talentId_ != 0) {
|
||||
output.writeUInt32(3, talentId_);
|
||||
@Override
|
||||
public EnableRogueTalentCsReq copyFrom(final EnableRogueTalentCsReq other) {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
talentId = other.talentId;
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (talentId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(3, talentId_);
|
||||
@Override
|
||||
public EnableRogueTalentCsReq mergeFrom(final EnableRogueTalentCsReq other) {
|
||||
if (other.isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasTalentId()) {
|
||||
setTalentId(other.talentId);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnableRogueTalentCsReq clear() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
talentId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnableRogueTalentCsReq clearQuick() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof EnableRogueTalentCsReq)) {
|
||||
return false;
|
||||
}
|
||||
EnableRogueTalentCsReq other = (EnableRogueTalentCsReq) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasTalentId() || talentId == other.talentId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 24);
|
||||
output.writeUInt32NoTag(talentId);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(talentId);
|
||||
}
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
@Override
|
||||
@SuppressWarnings("fallthrough")
|
||||
public EnableRogueTalentCsReq mergeFrom(final ProtoSource input) throws IOException {
|
||||
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 24: {
|
||||
// talentId
|
||||
talentId = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 0: {
|
||||
return this;
|
||||
}
|
||||
default: {
|
||||
if (!input.skipField(tag)) {
|
||||
return this;
|
||||
}
|
||||
tag = input.readTag();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!(obj instanceof emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeUInt32(FieldNames.talentId, talentId);
|
||||
}
|
||||
emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq other = (emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq) obj;
|
||||
|
||||
if (getTalentId()
|
||||
!= other.getTalentId()) return false;
|
||||
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||
return true;
|
||||
output.endObject();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + TALENT_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTalentId();
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||
java.nio.ByteBuffer data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.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.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq 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.GeneratedMessage.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code EnableRogueTalentCsReq}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:EnableRogueTalentCsReq)
|
||||
emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReqOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.internal_static_EnableRogueTalentCsReq_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.internal_static_EnableRogueTalentCsReq_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq.class, emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
talentId_ = 0;
|
||||
@Override
|
||||
public EnableRogueTalentCsReq mergeFrom(final JsonSource input) throws IOException {
|
||||
if (!input.beginObject()) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.internal_static_EnableRogueTalentCsReq_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq getDefaultInstanceForType() {
|
||||
return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq build() {
|
||||
emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq buildPartial() {
|
||||
emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq result = new emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.talentId_ = talentId_;
|
||||
}
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq) {
|
||||
return mergeFrom((emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq other) {
|
||||
if (other == emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq.getDefaultInstance()) return this;
|
||||
if (other.getTalentId() != 0) {
|
||||
setTalentId(other.getTalentId());
|
||||
}
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
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 {
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 24: {
|
||||
talentId_ = input.readUInt32();
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case -615305433:
|
||||
case -1894577842: {
|
||||
if (input.isAtField(FieldNames.talentId)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
talentId = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 24
|
||||
default: {
|
||||
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||
done = true; // was an endgroup tag
|
||||
}
|
||||
break;
|
||||
} // default:
|
||||
} // switch (tag)
|
||||
} // while (!done)
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
onChanged();
|
||||
} // finally
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private int talentId_ ;
|
||||
/**
|
||||
* <code>uint32 talent_id = 3;</code>
|
||||
* @return The talentId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTalentId() {
|
||||
return talentId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 talent_id = 3;</code>
|
||||
* @param value The talentId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTalentId(int value) {
|
||||
|
||||
talentId_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 talent_id = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTalentId() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
talentId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:EnableRogueTalentCsReq)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:EnableRogueTalentCsReq)
|
||||
private static final emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq();
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<EnableRogueTalentCsReq>
|
||||
PARSER = new com.google.protobuf.AbstractParser<EnableRogueTalentCsReq>() {
|
||||
@java.lang.Override
|
||||
public EnableRogueTalentCsReq parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
Builder builder = newBuilder();
|
||||
try {
|
||||
builder.mergeFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
||||
.setUnfinishedMessage(builder.buildPartial());
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
input.skipUnknownField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return builder.buildPartial();
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<EnableRogueTalentCsReq> parser() {
|
||||
return PARSER;
|
||||
input.endObject();
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<EnableRogueTalentCsReq> getParserForType() {
|
||||
return PARSER;
|
||||
@Override
|
||||
public EnableRogueTalentCsReq clone() {
|
||||
return new EnableRogueTalentCsReq().copyFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return ((bitField0_) == 0);
|
||||
}
|
||||
|
||||
}
|
||||
public static EnableRogueTalentCsReq parseFrom(final byte[] data) throws
|
||||
InvalidProtocolBufferException {
|
||||
return ProtoMessage.mergeFrom(new EnableRogueTalentCsReq(), data).checkInitialized();
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_EnableRogueTalentCsReq_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_EnableRogueTalentCsReq_fieldAccessorTable;
|
||||
public static EnableRogueTalentCsReq parseFrom(final ProtoSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new EnableRogueTalentCsReq(), input).checkInitialized();
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
return descriptor;
|
||||
}
|
||||
private static com.google.protobuf.Descriptors.FileDescriptor
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\034EnableRogueTalentCsReq.proto\"+\n\026Enable" +
|
||||
"RogueTalentCsReq\022\021\n\ttalent_id\030\003 \001(\rB\025\n\023e" +
|
||||
"mu.lunarcore.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
});
|
||||
internal_static_EnableRogueTalentCsReq_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_EnableRogueTalentCsReq_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_EnableRogueTalentCsReq_descriptor,
|
||||
new java.lang.String[] { "TalentId", });
|
||||
descriptor.resolveAllFeatures();
|
||||
}
|
||||
public static EnableRogueTalentCsReq parseFrom(final JsonSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new EnableRogueTalentCsReq(), input).checkInitialized();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
/**
|
||||
* @return factory for creating EnableRogueTalentCsReq messages
|
||||
*/
|
||||
public static MessageFactory<EnableRogueTalentCsReq> getFactory() {
|
||||
return EnableRogueTalentCsReqFactory.INSTANCE;
|
||||
}
|
||||
|
||||
private enum EnableRogueTalentCsReqFactory implements MessageFactory<EnableRogueTalentCsReq> {
|
||||
INSTANCE;
|
||||
|
||||
@Override
|
||||
public EnableRogueTalentCsReq create() {
|
||||
return EnableRogueTalentCsReq.newInstance();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName talentId = FieldName.forField("talentId", "talent_id");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ public final class EnableRogueTalentScRspOuterClass {
|
||||
private int retcode;
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentInfo talent_info = 1;</code>
|
||||
* <code>optional .RogueTalentInfo talent_info = 6;</code>
|
||||
*/
|
||||
private final RogueTalentInfoOuterClass.RogueTalentInfo talentInfo = RogueTalentInfoOuterClass.RogueTalentInfo.newInstance();
|
||||
|
||||
@@ -76,7 +76,7 @@ public final class EnableRogueTalentScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentInfo talent_info = 1;</code>
|
||||
* <code>optional .RogueTalentInfo talent_info = 6;</code>
|
||||
* @return whether the talentInfo field is set
|
||||
*/
|
||||
public boolean hasTalentInfo() {
|
||||
@@ -84,7 +84,7 @@ public final class EnableRogueTalentScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentInfo talent_info = 1;</code>
|
||||
* <code>optional .RogueTalentInfo talent_info = 6;</code>
|
||||
* @return this
|
||||
*/
|
||||
public EnableRogueTalentScRsp clearTalentInfo() {
|
||||
@@ -94,7 +94,7 @@ public final class EnableRogueTalentScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentInfo talent_info = 1;</code>
|
||||
* <code>optional .RogueTalentInfo talent_info = 6;</code>
|
||||
*
|
||||
* This method returns the internal storage object without modifying any has state.
|
||||
* The returned object should not be modified and be treated as read-only.
|
||||
@@ -108,7 +108,7 @@ public final class EnableRogueTalentScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentInfo talent_info = 1;</code>
|
||||
* <code>optional .RogueTalentInfo talent_info = 6;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -122,7 +122,7 @@ public final class EnableRogueTalentScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentInfo talent_info = 1;</code>
|
||||
* <code>optional .RogueTalentInfo talent_info = 6;</code>
|
||||
* @param value the talentInfo to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -203,7 +203,7 @@ public final class EnableRogueTalentScRspOuterClass {
|
||||
output.writeUInt32NoTag(retcode);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 10);
|
||||
output.writeRawByte((byte) 50);
|
||||
output.writeMessageNoTag(talentInfo);
|
||||
}
|
||||
}
|
||||
@@ -232,11 +232,11 @@ public final class EnableRogueTalentScRspOuterClass {
|
||||
retcode = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 10) {
|
||||
if (tag != 50) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 10: {
|
||||
case 50: {
|
||||
// talentInfo
|
||||
input.readMessage(talentInfo);
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
@@ -19,12 +19,12 @@ public final class GetRogueHandbookDataScRspOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 3;</code>
|
||||
* <code>optional uint32 retcode = 11;</code>
|
||||
*/
|
||||
private int retcode;
|
||||
|
||||
/**
|
||||
* <code>optional .RogueHandbookData handbook_info = 14;</code>
|
||||
* <code>optional .RogueHandbookData handbook_info = 7;</code>
|
||||
*/
|
||||
private final RogueHandbookDataOuterClass.RogueHandbookData handbookInfo = RogueHandbookDataOuterClass.RogueHandbookData.newInstance();
|
||||
|
||||
@@ -39,7 +39,7 @@ public final class GetRogueHandbookDataScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 3;</code>
|
||||
* <code>optional uint32 retcode = 11;</code>
|
||||
* @return whether the retcode field is set
|
||||
*/
|
||||
public boolean hasRetcode() {
|
||||
@@ -47,7 +47,7 @@ public final class GetRogueHandbookDataScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 3;</code>
|
||||
* <code>optional uint32 retcode = 11;</code>
|
||||
* @return this
|
||||
*/
|
||||
public GetRogueHandbookDataScRsp clearRetcode() {
|
||||
@@ -57,7 +57,7 @@ public final class GetRogueHandbookDataScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 3;</code>
|
||||
* <code>optional uint32 retcode = 11;</code>
|
||||
* @return the retcode
|
||||
*/
|
||||
public int getRetcode() {
|
||||
@@ -65,7 +65,7 @@ public final class GetRogueHandbookDataScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 3;</code>
|
||||
* <code>optional uint32 retcode = 11;</code>
|
||||
* @param value the retcode to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -76,7 +76,7 @@ public final class GetRogueHandbookDataScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueHandbookData handbook_info = 14;</code>
|
||||
* <code>optional .RogueHandbookData handbook_info = 7;</code>
|
||||
* @return whether the handbookInfo field is set
|
||||
*/
|
||||
public boolean hasHandbookInfo() {
|
||||
@@ -84,7 +84,7 @@ public final class GetRogueHandbookDataScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueHandbookData handbook_info = 14;</code>
|
||||
* <code>optional .RogueHandbookData handbook_info = 7;</code>
|
||||
* @return this
|
||||
*/
|
||||
public GetRogueHandbookDataScRsp clearHandbookInfo() {
|
||||
@@ -94,7 +94,7 @@ public final class GetRogueHandbookDataScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueHandbookData handbook_info = 14;</code>
|
||||
* <code>optional .RogueHandbookData handbook_info = 7;</code>
|
||||
*
|
||||
* This method returns the internal storage object without modifying any has state.
|
||||
* The returned object should not be modified and be treated as read-only.
|
||||
@@ -108,7 +108,7 @@ public final class GetRogueHandbookDataScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueHandbookData handbook_info = 14;</code>
|
||||
* <code>optional .RogueHandbookData handbook_info = 7;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -122,7 +122,7 @@ public final class GetRogueHandbookDataScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueHandbookData handbook_info = 14;</code>
|
||||
* <code>optional .RogueHandbookData handbook_info = 7;</code>
|
||||
* @param value the handbookInfo to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -199,11 +199,11 @@ public final class GetRogueHandbookDataScRspOuterClass {
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 24);
|
||||
output.writeRawByte((byte) 88);
|
||||
output.writeUInt32NoTag(retcode);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 114);
|
||||
output.writeRawByte((byte) 58);
|
||||
output.writeMessageNoTag(handbookInfo);
|
||||
}
|
||||
}
|
||||
@@ -227,16 +227,16 @@ public final class GetRogueHandbookDataScRspOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 24: {
|
||||
case 88: {
|
||||
// retcode
|
||||
retcode = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 114) {
|
||||
if (tag != 58) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 114: {
|
||||
case 58: {
|
||||
// handbookInfo
|
||||
input.readMessage(handbookInfo);
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -19,12 +19,12 @@ public final class GetRogueTalentInfoScRspOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 12;</code>
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
*/
|
||||
private int retcode;
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentInfo talent_info = 6;</code>
|
||||
* <code>optional .RogueTalentInfo talent_info = 10;</code>
|
||||
*/
|
||||
private final RogueTalentInfoOuterClass.RogueTalentInfo talentInfo = RogueTalentInfoOuterClass.RogueTalentInfo.newInstance();
|
||||
|
||||
@@ -39,7 +39,7 @@ public final class GetRogueTalentInfoScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 12;</code>
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
* @return whether the retcode field is set
|
||||
*/
|
||||
public boolean hasRetcode() {
|
||||
@@ -47,7 +47,7 @@ public final class GetRogueTalentInfoScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 12;</code>
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
* @return this
|
||||
*/
|
||||
public GetRogueTalentInfoScRsp clearRetcode() {
|
||||
@@ -57,7 +57,7 @@ public final class GetRogueTalentInfoScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 12;</code>
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
* @return the retcode
|
||||
*/
|
||||
public int getRetcode() {
|
||||
@@ -65,7 +65,7 @@ public final class GetRogueTalentInfoScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 12;</code>
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
* @param value the retcode to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -76,7 +76,7 @@ public final class GetRogueTalentInfoScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentInfo talent_info = 6;</code>
|
||||
* <code>optional .RogueTalentInfo talent_info = 10;</code>
|
||||
* @return whether the talentInfo field is set
|
||||
*/
|
||||
public boolean hasTalentInfo() {
|
||||
@@ -84,7 +84,7 @@ public final class GetRogueTalentInfoScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentInfo talent_info = 6;</code>
|
||||
* <code>optional .RogueTalentInfo talent_info = 10;</code>
|
||||
* @return this
|
||||
*/
|
||||
public GetRogueTalentInfoScRsp clearTalentInfo() {
|
||||
@@ -94,7 +94,7 @@ public final class GetRogueTalentInfoScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentInfo talent_info = 6;</code>
|
||||
* <code>optional .RogueTalentInfo talent_info = 10;</code>
|
||||
*
|
||||
* This method returns the internal storage object without modifying any has state.
|
||||
* The returned object should not be modified and be treated as read-only.
|
||||
@@ -108,7 +108,7 @@ public final class GetRogueTalentInfoScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentInfo talent_info = 6;</code>
|
||||
* <code>optional .RogueTalentInfo talent_info = 10;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -122,7 +122,7 @@ public final class GetRogueTalentInfoScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentInfo talent_info = 6;</code>
|
||||
* <code>optional .RogueTalentInfo talent_info = 10;</code>
|
||||
* @param value the talentInfo to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -199,11 +199,11 @@ public final class GetRogueTalentInfoScRspOuterClass {
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 96);
|
||||
output.writeRawByte((byte) 64);
|
||||
output.writeUInt32NoTag(retcode);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 50);
|
||||
output.writeRawByte((byte) 82);
|
||||
output.writeMessageNoTag(talentInfo);
|
||||
}
|
||||
}
|
||||
@@ -227,16 +227,16 @@ public final class GetRogueTalentInfoScRspOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 96: {
|
||||
case 64: {
|
||||
// retcode
|
||||
retcode = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 50) {
|
||||
if (tag != 82) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 50: {
|
||||
case 82: {
|
||||
// talentInfo
|
||||
input.readMessage(talentInfo);
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
@@ -1,566 +1,340 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: MazeGroup.proto
|
||||
// Protobuf Java Version: 4.26.0-rc1
|
||||
|
||||
// Code generated by protocol buffer compiler. Do not edit!
|
||||
package emu.lunarcore.proto;
|
||||
|
||||
import java.io.IOException;
|
||||
import us.hebi.quickbuf.FieldName;
|
||||
import us.hebi.quickbuf.InvalidProtocolBufferException;
|
||||
import us.hebi.quickbuf.JsonSink;
|
||||
import us.hebi.quickbuf.JsonSource;
|
||||
import us.hebi.quickbuf.MessageFactory;
|
||||
import us.hebi.quickbuf.ProtoMessage;
|
||||
import us.hebi.quickbuf.ProtoSink;
|
||||
import us.hebi.quickbuf.ProtoSource;
|
||||
|
||||
public final class MazeGroupOuterClass {
|
||||
private MazeGroupOuterClass() {}
|
||||
static {
|
||||
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||
/* major= */ 4,
|
||||
/* minor= */ 26,
|
||||
/* patch= */ 0,
|
||||
/* suffix= */ "-rc1",
|
||||
MazeGroupOuterClass.class.getName());
|
||||
}
|
||||
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 MazeGroupOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:MazeGroup)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 group_id = 6;</code>
|
||||
* @return The groupId.
|
||||
*/
|
||||
int getGroupId();
|
||||
|
||||
/**
|
||||
* <code>int64 modify_time = 2;</code>
|
||||
* @return The modifyTime.
|
||||
*/
|
||||
long getModifyTime();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code MazeGroup}
|
||||
*/
|
||||
public static final class MazeGroup extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:MazeGroup)
|
||||
MazeGroupOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
static {
|
||||
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||
/* major= */ 4,
|
||||
/* minor= */ 26,
|
||||
/* patch= */ 0,
|
||||
/* suffix= */ "-rc1",
|
||||
MazeGroup.class.getName());
|
||||
}
|
||||
// Use MazeGroup.newBuilder() to construct.
|
||||
private MazeGroup(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
public static final class MazeGroup extends ProtoMessage<MazeGroup> implements Cloneable {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional int64 modify_time = 2;</code>
|
||||
*/
|
||||
private long modifyTime;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 group_id = 6;</code>
|
||||
*/
|
||||
private int groupId;
|
||||
|
||||
private MazeGroup() {
|
||||
}
|
||||
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.lunarcore.proto.MazeGroupOuterClass.internal_static_MazeGroup_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.lunarcore.proto.MazeGroupOuterClass.internal_static_MazeGroup_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup.class, emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup.Builder.class);
|
||||
}
|
||||
|
||||
public static final int GROUP_ID_FIELD_NUMBER = 6;
|
||||
private int groupId_ = 0;
|
||||
/**
|
||||
* <code>uint32 group_id = 6;</code>
|
||||
* @return The groupId.
|
||||
* @return a new empty instance of {@code MazeGroup}
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getGroupId() {
|
||||
return groupId_;
|
||||
public static MazeGroup newInstance() {
|
||||
return new MazeGroup();
|
||||
}
|
||||
|
||||
public static final int MODIFY_TIME_FIELD_NUMBER = 2;
|
||||
private long modifyTime_ = 0L;
|
||||
/**
|
||||
* <code>int64 modify_time = 2;</code>
|
||||
* @return The modifyTime.
|
||||
* <code>optional int64 modify_time = 2;</code>
|
||||
* @return whether the modifyTime field is set
|
||||
*/
|
||||
public boolean hasModifyTime() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional int64 modify_time = 2;</code>
|
||||
* @return this
|
||||
*/
|
||||
public MazeGroup clearModifyTime() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
modifyTime = 0L;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional int64 modify_time = 2;</code>
|
||||
* @return the modifyTime
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getModifyTime() {
|
||||
return modifyTime_;
|
||||
return modifyTime;
|
||||
}
|
||||
|
||||
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;
|
||||
/**
|
||||
* <code>optional int64 modify_time = 2;</code>
|
||||
* @param value the modifyTime to set
|
||||
* @return this
|
||||
*/
|
||||
public MazeGroup setModifyTime(final long value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
modifyTime = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (modifyTime_ != 0L) {
|
||||
output.writeInt64(2, modifyTime_);
|
||||
}
|
||||
if (groupId_ != 0) {
|
||||
output.writeUInt32(6, groupId_);
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
/**
|
||||
* <code>optional uint32 group_id = 6;</code>
|
||||
* @return whether the groupId field is set
|
||||
*/
|
||||
public boolean hasGroupId() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
/**
|
||||
* <code>optional uint32 group_id = 6;</code>
|
||||
* @return this
|
||||
*/
|
||||
public MazeGroup clearGroupId() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
groupId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
size = 0;
|
||||
if (modifyTime_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64Size(2, modifyTime_);
|
||||
/**
|
||||
* <code>optional uint32 group_id = 6;</code>
|
||||
* @return the groupId
|
||||
*/
|
||||
public int getGroupId() {
|
||||
return groupId;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 group_id = 6;</code>
|
||||
* @param value the groupId to set
|
||||
* @return this
|
||||
*/
|
||||
public MazeGroup setGroupId(final int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
groupId = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public MazeGroup copyFrom(final MazeGroup other) {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
modifyTime = other.modifyTime;
|
||||
groupId = other.groupId;
|
||||
}
|
||||
if (groupId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(6, groupId_);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public MazeGroup mergeFrom(final MazeGroup other) {
|
||||
if (other.isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasModifyTime()) {
|
||||
setModifyTime(other.modifyTime);
|
||||
}
|
||||
if (other.hasGroupId()) {
|
||||
setGroupId(other.groupId);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public MazeGroup clear() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
modifyTime = 0L;
|
||||
groupId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public MazeGroup clearQuick() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof MazeGroup)) {
|
||||
return false;
|
||||
}
|
||||
MazeGroup other = (MazeGroup) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasModifyTime() || modifyTime == other.modifyTime)
|
||||
&& (!hasGroupId() || groupId == other.groupId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 16);
|
||||
output.writeInt64NoTag(modifyTime);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 48);
|
||||
output.writeUInt32NoTag(groupId);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += 1 + ProtoSink.computeInt64SizeNoTag(modifyTime);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(groupId);
|
||||
}
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
@Override
|
||||
@SuppressWarnings("fallthrough")
|
||||
public MazeGroup mergeFrom(final ProtoSource input) throws IOException {
|
||||
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 16: {
|
||||
// modifyTime
|
||||
modifyTime = input.readInt64();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 48) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 48: {
|
||||
// groupId
|
||||
groupId = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 0: {
|
||||
return this;
|
||||
}
|
||||
default: {
|
||||
if (!input.skipField(tag)) {
|
||||
return this;
|
||||
}
|
||||
tag = input.readTag();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!(obj instanceof emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeInt64(FieldNames.modifyTime, modifyTime);
|
||||
}
|
||||
emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup other = (emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup) obj;
|
||||
|
||||
if (getGroupId()
|
||||
!= other.getGroupId()) return false;
|
||||
if (getModifyTime()
|
||||
!= other.getModifyTime()) return false;
|
||||
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeUInt32(FieldNames.groupId, groupId);
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + GROUP_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getGroupId();
|
||||
hash = (37 * hash) + MODIFY_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getModifyTime());
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
output.endObject();
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||
java.nio.ByteBuffer data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.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.lunarcore.proto.MazeGroupOuterClass.MazeGroup 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.GeneratedMessage.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code MazeGroup}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:MazeGroup)
|
||||
emu.lunarcore.proto.MazeGroupOuterClass.MazeGroupOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.lunarcore.proto.MazeGroupOuterClass.internal_static_MazeGroup_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.lunarcore.proto.MazeGroupOuterClass.internal_static_MazeGroup_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup.class, emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
groupId_ = 0;
|
||||
modifyTime_ = 0L;
|
||||
@Override
|
||||
public MazeGroup mergeFrom(final JsonSource input) throws IOException {
|
||||
if (!input.beginObject()) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return emu.lunarcore.proto.MazeGroupOuterClass.internal_static_MazeGroup_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup getDefaultInstanceForType() {
|
||||
return emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup build() {
|
||||
emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup buildPartial() {
|
||||
emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup result = new emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.groupId_ = groupId_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||
result.modifyTime_ = modifyTime_;
|
||||
}
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup) {
|
||||
return mergeFrom((emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup other) {
|
||||
if (other == emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup.getDefaultInstance()) return this;
|
||||
if (other.getGroupId() != 0) {
|
||||
setGroupId(other.getGroupId());
|
||||
}
|
||||
if (other.getModifyTime() != 0L) {
|
||||
setModifyTime(other.getModifyTime());
|
||||
}
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
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 {
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 16: {
|
||||
modifyTime_ = input.readInt64();
|
||||
bitField0_ |= 0x00000002;
|
||||
break;
|
||||
} // case 16
|
||||
case 48: {
|
||||
groupId_ = input.readUInt32();
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case 1211388583:
|
||||
case -1091176654: {
|
||||
if (input.isAtField(FieldNames.modifyTime)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
modifyTime = input.readInt64();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 48
|
||||
default: {
|
||||
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||
done = true; // was an endgroup tag
|
||||
}
|
||||
break;
|
||||
} // default:
|
||||
} // switch (tag)
|
||||
} // while (!done)
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
onChanged();
|
||||
} // finally
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private int groupId_ ;
|
||||
/**
|
||||
* <code>uint32 group_id = 6;</code>
|
||||
* @return The groupId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getGroupId() {
|
||||
return groupId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 group_id = 6;</code>
|
||||
* @param value The groupId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setGroupId(int value) {
|
||||
|
||||
groupId_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 group_id = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGroupId() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
groupId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private long modifyTime_ ;
|
||||
/**
|
||||
* <code>int64 modify_time = 2;</code>
|
||||
* @return The modifyTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getModifyTime() {
|
||||
return modifyTime_;
|
||||
}
|
||||
/**
|
||||
* <code>int64 modify_time = 2;</code>
|
||||
* @param value The modifyTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setModifyTime(long value) {
|
||||
|
||||
modifyTime_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 modify_time = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearModifyTime() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
modifyTime_ = 0L;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:MazeGroup)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:MazeGroup)
|
||||
private static final emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup();
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<MazeGroup>
|
||||
PARSER = new com.google.protobuf.AbstractParser<MazeGroup>() {
|
||||
@java.lang.Override
|
||||
public MazeGroup parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
Builder builder = newBuilder();
|
||||
try {
|
||||
builder.mergeFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
||||
.setUnfinishedMessage(builder.buildPartial());
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 293428218:
|
||||
case 506361563: {
|
||||
if (input.isAtField(FieldNames.groupId)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
groupId = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
input.skipUnknownField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return builder.buildPartial();
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<MazeGroup> parser() {
|
||||
return PARSER;
|
||||
input.endObject();
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<MazeGroup> getParserForType() {
|
||||
return PARSER;
|
||||
@Override
|
||||
public MazeGroup clone() {
|
||||
return new MazeGroup().copyFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return ((bitField0_) == 0);
|
||||
}
|
||||
|
||||
}
|
||||
public static MazeGroup parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||
return ProtoMessage.mergeFrom(new MazeGroup(), data).checkInitialized();
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_MazeGroup_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_MazeGroup_fieldAccessorTable;
|
||||
public static MazeGroup parseFrom(final ProtoSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new MazeGroup(), input).checkInitialized();
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
return descriptor;
|
||||
}
|
||||
private static com.google.protobuf.Descriptors.FileDescriptor
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\017MazeGroup.proto\"2\n\tMazeGroup\022\020\n\010group_" +
|
||||
"id\030\006 \001(\r\022\023\n\013modify_time\030\002 \001(\003B\025\n\023emu.lun" +
|
||||
"arcore.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
});
|
||||
internal_static_MazeGroup_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_MazeGroup_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_MazeGroup_descriptor,
|
||||
new java.lang.String[] { "GroupId", "ModifyTime", });
|
||||
descriptor.resolveAllFeatures();
|
||||
}
|
||||
public static MazeGroup parseFrom(final JsonSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new MazeGroup(), input).checkInitialized();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
/**
|
||||
* @return factory for creating MazeGroup messages
|
||||
*/
|
||||
public static MessageFactory<MazeGroup> getFactory() {
|
||||
return MazeGroupFactory.INSTANCE;
|
||||
}
|
||||
|
||||
private enum MazeGroupFactory implements MessageFactory<MazeGroup> {
|
||||
INSTANCE;
|
||||
|
||||
@Override
|
||||
public MazeGroup create() {
|
||||
return MazeGroup.newInstance();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName modifyTime = FieldName.forField("modifyTime", "modify_time");
|
||||
|
||||
static final FieldName groupId = FieldName.forField("groupId", "group_id");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -20,9 +20,19 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 13;</code>
|
||||
* <code>optional uint32 unlock_slot_count = 9;</code>
|
||||
*/
|
||||
private final RepeatedMessage<RogueMiracleOuterClass.RogueMiracle> rogueMiracleList = RepeatedMessage.newEmptyInstance(RogueMiracleOuterClass.RogueMiracle.getFactory());
|
||||
private int unlockSlotCount;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 total_slot_count = 10;</code>
|
||||
*/
|
||||
private int totalSlotCount;
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle miracle_list = 14;</code>
|
||||
*/
|
||||
private final RepeatedMessage<RogueMiracleOuterClass.RogueMiracle> miracleList = RepeatedMessage.newEmptyInstance(RogueMiracleOuterClass.RogueMiracle.getFactory());
|
||||
|
||||
private RogueAchivedMiracleInfo() {
|
||||
}
|
||||
@@ -35,39 +45,113 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 13;</code>
|
||||
* @return whether the rogueMiracleList field is set
|
||||
* <code>optional uint32 unlock_slot_count = 9;</code>
|
||||
* @return whether the unlockSlotCount field is set
|
||||
*/
|
||||
public boolean hasRogueMiracleList() {
|
||||
public boolean hasUnlockSlotCount() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 13;</code>
|
||||
* <code>optional uint32 unlock_slot_count = 9;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo clearRogueMiracleList() {
|
||||
public RogueAchivedMiracleInfo clearUnlockSlotCount() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
rogueMiracleList.clear();
|
||||
unlockSlotCount = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 13;</code>
|
||||
* <code>optional uint32 unlock_slot_count = 9;</code>
|
||||
* @return the unlockSlotCount
|
||||
*/
|
||||
public int getUnlockSlotCount() {
|
||||
return unlockSlotCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlock_slot_count = 9;</code>
|
||||
* @param value the unlockSlotCount to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo setUnlockSlotCount(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
unlockSlotCount = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 total_slot_count = 10;</code>
|
||||
* @return whether the totalSlotCount field is set
|
||||
*/
|
||||
public boolean hasTotalSlotCount() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 total_slot_count = 10;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo clearTotalSlotCount() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
totalSlotCount = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 total_slot_count = 10;</code>
|
||||
* @return the totalSlotCount
|
||||
*/
|
||||
public int getTotalSlotCount() {
|
||||
return totalSlotCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 total_slot_count = 10;</code>
|
||||
* @param value the totalSlotCount to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo setTotalSlotCount(final int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
totalSlotCount = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle miracle_list = 14;</code>
|
||||
* @return whether the miracleList field is set
|
||||
*/
|
||||
public boolean hasMiracleList() {
|
||||
return (bitField0_ & 0x00000004) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle miracle_list = 14;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo clearMiracleList() {
|
||||
bitField0_ &= ~0x00000004;
|
||||
miracleList.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle miracle_list = 14;</code>
|
||||
*
|
||||
* This method returns the internal storage object without modifying any has state.
|
||||
* The returned object should not be modified and be treated as read-only.
|
||||
*
|
||||
* Use {@link #getMutableRogueMiracleList()} if you want to modify it.
|
||||
* Use {@link #getMutableMiracleList()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RepeatedMessage<RogueMiracleOuterClass.RogueMiracle> getRogueMiracleList() {
|
||||
return rogueMiracleList;
|
||||
public RepeatedMessage<RogueMiracleOuterClass.RogueMiracle> getMiracleList() {
|
||||
return miracleList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 13;</code>
|
||||
* <code>repeated .RogueMiracle miracle_list = 14;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -75,32 +159,31 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
*
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RepeatedMessage<RogueMiracleOuterClass.RogueMiracle> getMutableRogueMiracleList() {
|
||||
bitField0_ |= 0x00000001;
|
||||
return rogueMiracleList;
|
||||
public RepeatedMessage<RogueMiracleOuterClass.RogueMiracle> getMutableMiracleList() {
|
||||
bitField0_ |= 0x00000004;
|
||||
return miracleList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 13;</code>
|
||||
* @param value the rogueMiracleList to add
|
||||
* <code>repeated .RogueMiracle miracle_list = 14;</code>
|
||||
* @param value the miracleList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo addRogueMiracleList(
|
||||
final RogueMiracleOuterClass.RogueMiracle value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
rogueMiracleList.add(value);
|
||||
public RogueAchivedMiracleInfo addMiracleList(final RogueMiracleOuterClass.RogueMiracle value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
miracleList.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 13;</code>
|
||||
* @param values the rogueMiracleList to add
|
||||
* <code>repeated .RogueMiracle miracle_list = 14;</code>
|
||||
* @param values the miracleList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo addAllRogueMiracleList(
|
||||
public RogueAchivedMiracleInfo addAllMiracleList(
|
||||
final RogueMiracleOuterClass.RogueMiracle... values) {
|
||||
bitField0_ |= 0x00000001;
|
||||
rogueMiracleList.addAll(values);
|
||||
bitField0_ |= 0x00000004;
|
||||
miracleList.addAll(values);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -109,7 +192,9 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
rogueMiracleList.copyFrom(other.rogueMiracleList);
|
||||
unlockSlotCount = other.unlockSlotCount;
|
||||
totalSlotCount = other.totalSlotCount;
|
||||
miracleList.copyFrom(other.miracleList);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
@@ -120,8 +205,14 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasRogueMiracleList()) {
|
||||
getMutableRogueMiracleList().addAll(other.rogueMiracleList);
|
||||
if (other.hasUnlockSlotCount()) {
|
||||
setUnlockSlotCount(other.unlockSlotCount);
|
||||
}
|
||||
if (other.hasTotalSlotCount()) {
|
||||
setTotalSlotCount(other.totalSlotCount);
|
||||
}
|
||||
if (other.hasMiracleList()) {
|
||||
getMutableMiracleList().addAll(other.miracleList);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
@@ -133,7 +224,9 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
rogueMiracleList.clear();
|
||||
unlockSlotCount = 0;
|
||||
totalSlotCount = 0;
|
||||
miracleList.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -144,7 +237,7 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
rogueMiracleList.clearQuick();
|
||||
miracleList.clearQuick();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -158,15 +251,25 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
}
|
||||
RogueAchivedMiracleInfo other = (RogueAchivedMiracleInfo) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasRogueMiracleList() || rogueMiracleList.equals(other.rogueMiracleList));
|
||||
&& (!hasUnlockSlotCount() || unlockSlotCount == other.unlockSlotCount)
|
||||
&& (!hasTotalSlotCount() || totalSlotCount == other.totalSlotCount)
|
||||
&& (!hasMiracleList() || miracleList.equals(other.miracleList));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
for (int i = 0; i < rogueMiracleList.length(); i++) {
|
||||
output.writeRawByte((byte) 106);
|
||||
output.writeMessageNoTag(rogueMiracleList.get(i));
|
||||
output.writeRawByte((byte) 72);
|
||||
output.writeUInt32NoTag(unlockSlotCount);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 80);
|
||||
output.writeUInt32NoTag(totalSlotCount);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
for (int i = 0; i < miracleList.length(); i++) {
|
||||
output.writeRawByte((byte) 114);
|
||||
output.writeMessageNoTag(miracleList.get(i));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -175,7 +278,13 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += (1 * rogueMiracleList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(rogueMiracleList);
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(unlockSlotCount);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(totalSlotCount);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
size += (1 * miracleList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(miracleList);
|
||||
}
|
||||
return size;
|
||||
}
|
||||
@@ -187,10 +296,28 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 106: {
|
||||
// rogueMiracleList
|
||||
tag = input.readRepeatedMessage(rogueMiracleList, tag);
|
||||
case 72: {
|
||||
// unlockSlotCount
|
||||
unlockSlotCount = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 80) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 80: {
|
||||
// totalSlotCount
|
||||
totalSlotCount = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 114) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 114: {
|
||||
// miracleList
|
||||
tag = input.readRepeatedMessage(miracleList, tag);
|
||||
bitField0_ |= 0x00000004;
|
||||
if (tag != 0) {
|
||||
break;
|
||||
}
|
||||
@@ -213,7 +340,13 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.rogueMiracleList, rogueMiracleList);
|
||||
output.writeUInt32(FieldNames.unlockSlotCount, unlockSlotCount);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeUInt32(FieldNames.totalSlotCount, totalSlotCount);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.miracleList, miracleList);
|
||||
}
|
||||
output.endObject();
|
||||
}
|
||||
@@ -225,11 +358,11 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
}
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case -452426123:
|
||||
case 1925521905: {
|
||||
if (input.isAtField(FieldNames.rogueMiracleList)) {
|
||||
case 1641951949:
|
||||
case 1265281897: {
|
||||
if (input.isAtField(FieldNames.unlockSlotCount)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedMessage(rogueMiracleList);
|
||||
unlockSlotCount = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
} else {
|
||||
@@ -237,6 +370,30 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 1481291469:
|
||||
case 1489383273: {
|
||||
if (input.isAtField(FieldNames.totalSlotCount)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
totalSlotCount = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 760391855:
|
||||
case 2114937772: {
|
||||
if (input.isAtField(FieldNames.miracleList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedMessage(miracleList);
|
||||
bitField0_ |= 0x00000004;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
input.skipUnknownField();
|
||||
break;
|
||||
@@ -290,7 +447,11 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName rogueMiracleList = FieldName.forField("rogueMiracleList", "rogue_miracle_list");
|
||||
static final FieldName unlockSlotCount = FieldName.forField("unlockSlotCount", "unlock_slot_count");
|
||||
|
||||
static final FieldName totalSlotCount = FieldName.forField("totalSlotCount", "total_slot_count");
|
||||
|
||||
static final FieldName miracleList = FieldName.forField("miracleList", "miracle_list");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -20,24 +20,25 @@ public final class RogueHandbookDataOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookEvent rogue_event = 2;</code>
|
||||
*/
|
||||
private final RepeatedMessage<RogueHandbookEventOuterClass.RogueHandbookEvent> rogueEvent = RepeatedMessage.newEmptyInstance(RogueHandbookEventOuterClass.RogueHandbookEvent.getFactory());
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* repeated LDIFLJKIBPN NJOOMMNBEBP = 3;
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .RogueHandbookBuff buff_list = 13;</code>
|
||||
* <code>repeated .RogueHandbookBuff buff_list = 3;</code>
|
||||
*/
|
||||
private final RepeatedMessage<RogueHandbookBuffOuterClass.RogueHandbookBuff> buffList = RepeatedMessage.newEmptyInstance(RogueHandbookBuffOuterClass.RogueHandbookBuff.getFactory());
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookMiracle miracle_list = 15;</code>
|
||||
* <code>repeated .RogueHandbookMiracle miracle_list = 4;</code>
|
||||
*/
|
||||
private final RepeatedMessage<RogueHandbookMiracleOuterClass.RogueHandbookMiracle> miracleList = RepeatedMessage.newEmptyInstance(RogueHandbookMiracleOuterClass.RogueHandbookMiracle.getFactory());
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookAeon rogue_aeon_list = 9;</code>
|
||||
*/
|
||||
private final RepeatedMessage<RogueHandbookAeonOuterClass.RogueHandbookAeon> rogueAeonList = RepeatedMessage.newEmptyInstance(RogueHandbookAeonOuterClass.RogueHandbookAeon.getFactory());
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookEvent rogue_event = 12;</code>
|
||||
*/
|
||||
private final RepeatedMessage<RogueHandbookEventOuterClass.RogueHandbookEvent> rogueEvent = RepeatedMessage.newEmptyInstance(RogueHandbookEventOuterClass.RogueHandbookEvent.getFactory());
|
||||
|
||||
private RogueHandbookData() {
|
||||
}
|
||||
|
||||
@@ -49,107 +50,25 @@ public final class RogueHandbookDataOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookEvent rogue_event = 2;</code>
|
||||
* @return whether the rogueEvent field is set
|
||||
* <code>repeated .RogueHandbookBuff buff_list = 3;</code>
|
||||
* @return whether the buffList field is set
|
||||
*/
|
||||
public boolean hasRogueEvent() {
|
||||
public boolean hasBuffList() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookEvent rogue_event = 2;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData clearRogueEvent() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
rogueEvent.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookEvent rogue_event = 2;</code>
|
||||
*
|
||||
* This method returns the internal storage object without modifying any has state.
|
||||
* The returned object should not be modified and be treated as read-only.
|
||||
*
|
||||
* Use {@link #getMutableRogueEvent()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RepeatedMessage<RogueHandbookEventOuterClass.RogueHandbookEvent> getRogueEvent() {
|
||||
return rogueEvent;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookEvent rogue_event = 2;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
* contents may be modified as long as the has state is not cleared.
|
||||
*
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RepeatedMessage<RogueHandbookEventOuterClass.RogueHandbookEvent> getMutableRogueEvent() {
|
||||
bitField0_ |= 0x00000001;
|
||||
return rogueEvent;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookEvent rogue_event = 2;</code>
|
||||
* @param value the rogueEvent to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData addRogueEvent(
|
||||
final RogueHandbookEventOuterClass.RogueHandbookEvent value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
rogueEvent.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookEvent rogue_event = 2;</code>
|
||||
* @param values the rogueEvent to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData addAllRogueEvent(
|
||||
final RogueHandbookEventOuterClass.RogueHandbookEvent... values) {
|
||||
bitField0_ |= 0x00000001;
|
||||
rogueEvent.addAll(values);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* repeated LDIFLJKIBPN NJOOMMNBEBP = 3;
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .RogueHandbookBuff buff_list = 13;</code>
|
||||
* @return whether the buffList field is set
|
||||
*/
|
||||
public boolean hasBuffList() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* repeated LDIFLJKIBPN NJOOMMNBEBP = 3;
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .RogueHandbookBuff buff_list = 13;</code>
|
||||
* <code>repeated .RogueHandbookBuff buff_list = 3;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData clearBuffList() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
bitField0_ &= ~0x00000001;
|
||||
buffList.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* repeated LDIFLJKIBPN NJOOMMNBEBP = 3;
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .RogueHandbookBuff buff_list = 13;</code>
|
||||
* <code>repeated .RogueHandbookBuff buff_list = 3;</code>
|
||||
*
|
||||
* This method returns the internal storage object without modifying any has state.
|
||||
* The returned object should not be modified and be treated as read-only.
|
||||
@@ -163,11 +82,7 @@ public final class RogueHandbookDataOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* repeated LDIFLJKIBPN NJOOMMNBEBP = 3;
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .RogueHandbookBuff buff_list = 13;</code>
|
||||
* <code>repeated .RogueHandbookBuff buff_list = 3;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -176,62 +91,54 @@ public final class RogueHandbookDataOuterClass {
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RepeatedMessage<RogueHandbookBuffOuterClass.RogueHandbookBuff> getMutableBuffList() {
|
||||
bitField0_ |= 0x00000002;
|
||||
bitField0_ |= 0x00000001;
|
||||
return buffList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* repeated LDIFLJKIBPN NJOOMMNBEBP = 3;
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .RogueHandbookBuff buff_list = 13;</code>
|
||||
* <code>repeated .RogueHandbookBuff buff_list = 3;</code>
|
||||
* @param value the buffList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData addBuffList(
|
||||
final RogueHandbookBuffOuterClass.RogueHandbookBuff value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
bitField0_ |= 0x00000001;
|
||||
buffList.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* repeated LDIFLJKIBPN NJOOMMNBEBP = 3;
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .RogueHandbookBuff buff_list = 13;</code>
|
||||
* <code>repeated .RogueHandbookBuff buff_list = 3;</code>
|
||||
* @param values the buffList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData addAllBuffList(
|
||||
final RogueHandbookBuffOuterClass.RogueHandbookBuff... values) {
|
||||
bitField0_ |= 0x00000002;
|
||||
bitField0_ |= 0x00000001;
|
||||
buffList.addAll(values);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookMiracle miracle_list = 15;</code>
|
||||
* <code>repeated .RogueHandbookMiracle miracle_list = 4;</code>
|
||||
* @return whether the miracleList field is set
|
||||
*/
|
||||
public boolean hasMiracleList() {
|
||||
return (bitField0_ & 0x00000004) != 0;
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookMiracle miracle_list = 15;</code>
|
||||
* <code>repeated .RogueHandbookMiracle miracle_list = 4;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData clearMiracleList() {
|
||||
bitField0_ &= ~0x00000004;
|
||||
bitField0_ &= ~0x00000002;
|
||||
miracleList.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookMiracle miracle_list = 15;</code>
|
||||
* <code>repeated .RogueHandbookMiracle miracle_list = 4;</code>
|
||||
*
|
||||
* This method returns the internal storage object without modifying any has state.
|
||||
* The returned object should not be modified and be treated as read-only.
|
||||
@@ -245,7 +152,7 @@ public final class RogueHandbookDataOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookMiracle miracle_list = 15;</code>
|
||||
* <code>repeated .RogueHandbookMiracle miracle_list = 4;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -255,42 +162,184 @@ public final class RogueHandbookDataOuterClass {
|
||||
*/
|
||||
public RepeatedMessage<RogueHandbookMiracleOuterClass.RogueHandbookMiracle> getMutableMiracleList(
|
||||
) {
|
||||
bitField0_ |= 0x00000004;
|
||||
bitField0_ |= 0x00000002;
|
||||
return miracleList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookMiracle miracle_list = 15;</code>
|
||||
* <code>repeated .RogueHandbookMiracle miracle_list = 4;</code>
|
||||
* @param value the miracleList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData addMiracleList(
|
||||
final RogueHandbookMiracleOuterClass.RogueHandbookMiracle value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
bitField0_ |= 0x00000002;
|
||||
miracleList.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookMiracle miracle_list = 15;</code>
|
||||
* <code>repeated .RogueHandbookMiracle miracle_list = 4;</code>
|
||||
* @param values the miracleList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData addAllMiracleList(
|
||||
final RogueHandbookMiracleOuterClass.RogueHandbookMiracle... values) {
|
||||
bitField0_ |= 0x00000004;
|
||||
bitField0_ |= 0x00000002;
|
||||
miracleList.addAll(values);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookAeon rogue_aeon_list = 9;</code>
|
||||
* @return whether the rogueAeonList field is set
|
||||
*/
|
||||
public boolean hasRogueAeonList() {
|
||||
return (bitField0_ & 0x00000004) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookAeon rogue_aeon_list = 9;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData clearRogueAeonList() {
|
||||
bitField0_ &= ~0x00000004;
|
||||
rogueAeonList.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookAeon rogue_aeon_list = 9;</code>
|
||||
*
|
||||
* This method returns the internal storage object without modifying any has state.
|
||||
* The returned object should not be modified and be treated as read-only.
|
||||
*
|
||||
* Use {@link #getMutableRogueAeonList()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RepeatedMessage<RogueHandbookAeonOuterClass.RogueHandbookAeon> getRogueAeonList() {
|
||||
return rogueAeonList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookAeon rogue_aeon_list = 9;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
* contents may be modified as long as the has state is not cleared.
|
||||
*
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RepeatedMessage<RogueHandbookAeonOuterClass.RogueHandbookAeon> getMutableRogueAeonList(
|
||||
) {
|
||||
bitField0_ |= 0x00000004;
|
||||
return rogueAeonList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookAeon rogue_aeon_list = 9;</code>
|
||||
* @param value the rogueAeonList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData addRogueAeonList(
|
||||
final RogueHandbookAeonOuterClass.RogueHandbookAeon value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
rogueAeonList.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookAeon rogue_aeon_list = 9;</code>
|
||||
* @param values the rogueAeonList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData addAllRogueAeonList(
|
||||
final RogueHandbookAeonOuterClass.RogueHandbookAeon... values) {
|
||||
bitField0_ |= 0x00000004;
|
||||
rogueAeonList.addAll(values);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookEvent rogue_event = 12;</code>
|
||||
* @return whether the rogueEvent field is set
|
||||
*/
|
||||
public boolean hasRogueEvent() {
|
||||
return (bitField0_ & 0x00000008) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookEvent rogue_event = 12;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData clearRogueEvent() {
|
||||
bitField0_ &= ~0x00000008;
|
||||
rogueEvent.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookEvent rogue_event = 12;</code>
|
||||
*
|
||||
* This method returns the internal storage object without modifying any has state.
|
||||
* The returned object should not be modified and be treated as read-only.
|
||||
*
|
||||
* Use {@link #getMutableRogueEvent()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RepeatedMessage<RogueHandbookEventOuterClass.RogueHandbookEvent> getRogueEvent() {
|
||||
return rogueEvent;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookEvent rogue_event = 12;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
* contents may be modified as long as the has state is not cleared.
|
||||
*
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RepeatedMessage<RogueHandbookEventOuterClass.RogueHandbookEvent> getMutableRogueEvent() {
|
||||
bitField0_ |= 0x00000008;
|
||||
return rogueEvent;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookEvent rogue_event = 12;</code>
|
||||
* @param value the rogueEvent to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData addRogueEvent(
|
||||
final RogueHandbookEventOuterClass.RogueHandbookEvent value) {
|
||||
bitField0_ |= 0x00000008;
|
||||
rogueEvent.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueHandbookEvent rogue_event = 12;</code>
|
||||
* @param values the rogueEvent to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueHandbookData addAllRogueEvent(
|
||||
final RogueHandbookEventOuterClass.RogueHandbookEvent... values) {
|
||||
bitField0_ |= 0x00000008;
|
||||
rogueEvent.addAll(values);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueHandbookData copyFrom(final RogueHandbookData other) {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
rogueEvent.copyFrom(other.rogueEvent);
|
||||
buffList.copyFrom(other.buffList);
|
||||
miracleList.copyFrom(other.miracleList);
|
||||
rogueAeonList.copyFrom(other.rogueAeonList);
|
||||
rogueEvent.copyFrom(other.rogueEvent);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
@@ -301,15 +350,18 @@ public final class RogueHandbookDataOuterClass {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasRogueEvent()) {
|
||||
getMutableRogueEvent().addAll(other.rogueEvent);
|
||||
}
|
||||
if (other.hasBuffList()) {
|
||||
getMutableBuffList().addAll(other.buffList);
|
||||
}
|
||||
if (other.hasMiracleList()) {
|
||||
getMutableMiracleList().addAll(other.miracleList);
|
||||
}
|
||||
if (other.hasRogueAeonList()) {
|
||||
getMutableRogueAeonList().addAll(other.rogueAeonList);
|
||||
}
|
||||
if (other.hasRogueEvent()) {
|
||||
getMutableRogueEvent().addAll(other.rogueEvent);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -320,9 +372,10 @@ public final class RogueHandbookDataOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
rogueEvent.clear();
|
||||
buffList.clear();
|
||||
miracleList.clear();
|
||||
rogueAeonList.clear();
|
||||
rogueEvent.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -333,9 +386,10 @@ public final class RogueHandbookDataOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
rogueEvent.clearQuick();
|
||||
buffList.clearQuick();
|
||||
miracleList.clearQuick();
|
||||
rogueAeonList.clearQuick();
|
||||
rogueEvent.clearQuick();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -349,45 +403,55 @@ public final class RogueHandbookDataOuterClass {
|
||||
}
|
||||
RogueHandbookData other = (RogueHandbookData) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasRogueEvent() || rogueEvent.equals(other.rogueEvent))
|
||||
&& (!hasBuffList() || buffList.equals(other.buffList))
|
||||
&& (!hasMiracleList() || miracleList.equals(other.miracleList));
|
||||
&& (!hasMiracleList() || miracleList.equals(other.miracleList))
|
||||
&& (!hasRogueAeonList() || rogueAeonList.equals(other.rogueAeonList))
|
||||
&& (!hasRogueEvent() || rogueEvent.equals(other.rogueEvent));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
for (int i = 0; i < rogueEvent.length(); i++) {
|
||||
output.writeRawByte((byte) 18);
|
||||
output.writeMessageNoTag(rogueEvent.get(i));
|
||||
}
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
for (int i = 0; i < buffList.length(); i++) {
|
||||
output.writeRawByte((byte) 106);
|
||||
output.writeRawByte((byte) 26);
|
||||
output.writeMessageNoTag(buffList.get(i));
|
||||
}
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
for (int i = 0; i < miracleList.length(); i++) {
|
||||
output.writeRawByte((byte) 122);
|
||||
output.writeRawByte((byte) 34);
|
||||
output.writeMessageNoTag(miracleList.get(i));
|
||||
}
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
for (int i = 0; i < rogueAeonList.length(); i++) {
|
||||
output.writeRawByte((byte) 74);
|
||||
output.writeMessageNoTag(rogueAeonList.get(i));
|
||||
}
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
for (int i = 0; i < rogueEvent.length(); i++) {
|
||||
output.writeRawByte((byte) 98);
|
||||
output.writeMessageNoTag(rogueEvent.get(i));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += (1 * rogueEvent.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(rogueEvent);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += (1 * buffList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(buffList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += (1 * miracleList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(miracleList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
size += (1 * rogueAeonList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(rogueAeonList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
size += (1 * rogueEvent.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(rogueEvent);
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
@@ -398,26 +462,34 @@ public final class RogueHandbookDataOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 18: {
|
||||
// rogueEvent
|
||||
tag = input.readRepeatedMessage(rogueEvent, tag);
|
||||
bitField0_ |= 0x00000001;
|
||||
if (tag != 106) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 106: {
|
||||
case 26: {
|
||||
// buffList
|
||||
tag = input.readRepeatedMessage(buffList, tag);
|
||||
bitField0_ |= 0x00000002;
|
||||
if (tag != 122) {
|
||||
bitField0_ |= 0x00000001;
|
||||
if (tag != 34) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 122: {
|
||||
case 34: {
|
||||
// miracleList
|
||||
tag = input.readRepeatedMessage(miracleList, tag);
|
||||
bitField0_ |= 0x00000002;
|
||||
if (tag != 74) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 74: {
|
||||
// rogueAeonList
|
||||
tag = input.readRepeatedMessage(rogueAeonList, tag);
|
||||
bitField0_ |= 0x00000004;
|
||||
if (tag != 98) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 98: {
|
||||
// rogueEvent
|
||||
tag = input.readRepeatedMessage(rogueEvent, tag);
|
||||
bitField0_ |= 0x00000008;
|
||||
if (tag != 0) {
|
||||
break;
|
||||
}
|
||||
@@ -440,14 +512,17 @@ public final class RogueHandbookDataOuterClass {
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.rogueEvent, rogueEvent);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.buffList, buffList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.miracleList, miracleList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.rogueAeonList, rogueAeonList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.rogueEvent, rogueEvent);
|
||||
}
|
||||
output.endObject();
|
||||
}
|
||||
|
||||
@@ -458,24 +533,12 @@ public final class RogueHandbookDataOuterClass {
|
||||
}
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case -1148216096:
|
||||
case -505804811: {
|
||||
if (input.isAtField(FieldNames.rogueEvent)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedMessage(rogueEvent);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -1522789487:
|
||||
case 55792906: {
|
||||
if (input.isAtField(FieldNames.buffList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedMessage(buffList);
|
||||
bitField0_ |= 0x00000002;
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
@@ -487,6 +550,18 @@ public final class RogueHandbookDataOuterClass {
|
||||
if (input.isAtField(FieldNames.miracleList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedMessage(miracleList);
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -1684933573:
|
||||
case -1375837643: {
|
||||
if (input.isAtField(FieldNames.rogueAeonList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedMessage(rogueAeonList);
|
||||
bitField0_ |= 0x00000004;
|
||||
}
|
||||
} else {
|
||||
@@ -494,6 +569,18 @@ public final class RogueHandbookDataOuterClass {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -1148216096:
|
||||
case -505804811: {
|
||||
if (input.isAtField(FieldNames.rogueEvent)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedMessage(rogueEvent);
|
||||
bitField0_ |= 0x00000008;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
input.skipUnknownField();
|
||||
break;
|
||||
@@ -547,11 +634,13 @@ public final class RogueHandbookDataOuterClass {
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName rogueEvent = FieldName.forField("rogueEvent", "rogue_event");
|
||||
|
||||
static final FieldName buffList = FieldName.forField("buffList", "buff_list");
|
||||
|
||||
static final FieldName miracleList = FieldName.forField("miracleList", "miracle_list");
|
||||
|
||||
static final FieldName rogueAeonList = FieldName.forField("rogueAeonList", "rogue_aeon_list");
|
||||
|
||||
static final FieldName rogueEvent = FieldName.forField("rogueEvent", "rogue_event");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -20,7 +20,7 @@ public final class RogueTalentInfoOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueTalent rogue_talent = 8;</code>
|
||||
* <code>repeated .RogueTalent rogue_talent = 3;</code>
|
||||
*/
|
||||
private final RepeatedMessage<RogueTalentOuterClass.RogueTalent> rogueTalent = RepeatedMessage.newEmptyInstance(RogueTalentOuterClass.RogueTalent.getFactory());
|
||||
|
||||
@@ -35,7 +35,7 @@ public final class RogueTalentInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueTalent rogue_talent = 8;</code>
|
||||
* <code>repeated .RogueTalent rogue_talent = 3;</code>
|
||||
* @return whether the rogueTalent field is set
|
||||
*/
|
||||
public boolean hasRogueTalent() {
|
||||
@@ -43,7 +43,7 @@ public final class RogueTalentInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueTalent rogue_talent = 8;</code>
|
||||
* <code>repeated .RogueTalent rogue_talent = 3;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueTalentInfo clearRogueTalent() {
|
||||
@@ -53,7 +53,7 @@ public final class RogueTalentInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueTalent rogue_talent = 8;</code>
|
||||
* <code>repeated .RogueTalent rogue_talent = 3;</code>
|
||||
*
|
||||
* This method returns the internal storage object without modifying any has state.
|
||||
* The returned object should not be modified and be treated as read-only.
|
||||
@@ -67,7 +67,7 @@ public final class RogueTalentInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueTalent rogue_talent = 8;</code>
|
||||
* <code>repeated .RogueTalent rogue_talent = 3;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -81,7 +81,7 @@ public final class RogueTalentInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueTalent rogue_talent = 8;</code>
|
||||
* <code>repeated .RogueTalent rogue_talent = 3;</code>
|
||||
* @param value the rogueTalent to add
|
||||
* @return this
|
||||
*/
|
||||
@@ -92,7 +92,7 @@ public final class RogueTalentInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueTalent rogue_talent = 8;</code>
|
||||
* <code>repeated .RogueTalent rogue_talent = 3;</code>
|
||||
* @param values the rogueTalent to add
|
||||
* @return this
|
||||
*/
|
||||
@@ -163,7 +163,7 @@ public final class RogueTalentInfoOuterClass {
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
for (int i = 0; i < rogueTalent.length(); i++) {
|
||||
output.writeRawByte((byte) 66);
|
||||
output.writeRawByte((byte) 26);
|
||||
output.writeMessageNoTag(rogueTalent.get(i));
|
||||
}
|
||||
}
|
||||
@@ -185,7 +185,7 @@ public final class RogueTalentInfoOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 66: {
|
||||
case 26: {
|
||||
// rogueTalent
|
||||
tag = input.readRepeatedMessage(rogueTalent, tag);
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
@@ -20,17 +20,17 @@ public final class RogueTalentOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 talent_id = 11;</code>
|
||||
* <code>optional uint32 talent_id = 1;</code>
|
||||
*/
|
||||
private int talentId;
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentStatus status = 8;</code>
|
||||
* <code>optional .RogueTalentStatus status = 3;</code>
|
||||
*/
|
||||
private int status;
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueUnlockProgress unlock_progress_list = 13;</code>
|
||||
* <code>repeated .RogueUnlockProgress unlock_progress_list = 7;</code>
|
||||
*/
|
||||
private final RepeatedMessage<RogueUnlockProgressOuterClass.RogueUnlockProgress> unlockProgressList = RepeatedMessage.newEmptyInstance(RogueUnlockProgressOuterClass.RogueUnlockProgress.getFactory());
|
||||
|
||||
@@ -45,7 +45,7 @@ public final class RogueTalentOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 talent_id = 11;</code>
|
||||
* <code>optional uint32 talent_id = 1;</code>
|
||||
* @return whether the talentId field is set
|
||||
*/
|
||||
public boolean hasTalentId() {
|
||||
@@ -53,7 +53,7 @@ public final class RogueTalentOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 talent_id = 11;</code>
|
||||
* <code>optional uint32 talent_id = 1;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueTalent clearTalentId() {
|
||||
@@ -63,7 +63,7 @@ public final class RogueTalentOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 talent_id = 11;</code>
|
||||
* <code>optional uint32 talent_id = 1;</code>
|
||||
* @return the talentId
|
||||
*/
|
||||
public int getTalentId() {
|
||||
@@ -71,7 +71,7 @@ public final class RogueTalentOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 talent_id = 11;</code>
|
||||
* <code>optional uint32 talent_id = 1;</code>
|
||||
* @param value the talentId to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -82,7 +82,7 @@ public final class RogueTalentOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentStatus status = 8;</code>
|
||||
* <code>optional .RogueTalentStatus status = 3;</code>
|
||||
* @return whether the status field is set
|
||||
*/
|
||||
public boolean hasStatus() {
|
||||
@@ -90,7 +90,7 @@ public final class RogueTalentOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentStatus status = 8;</code>
|
||||
* <code>optional .RogueTalentStatus status = 3;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueTalent clearStatus() {
|
||||
@@ -100,7 +100,7 @@ public final class RogueTalentOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentStatus status = 8;</code>
|
||||
* <code>optional .RogueTalentStatus status = 3;</code>
|
||||
* @return the status
|
||||
*/
|
||||
public RogueTalentStatusOuterClass.RogueTalentStatus getStatus() {
|
||||
@@ -133,7 +133,7 @@ public final class RogueTalentOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueTalentStatus status = 8;</code>
|
||||
* <code>optional .RogueTalentStatus status = 3;</code>
|
||||
* @param value the status to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -144,7 +144,7 @@ public final class RogueTalentOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueUnlockProgress unlock_progress_list = 13;</code>
|
||||
* <code>repeated .RogueUnlockProgress unlock_progress_list = 7;</code>
|
||||
* @return whether the unlockProgressList field is set
|
||||
*/
|
||||
public boolean hasUnlockProgressList() {
|
||||
@@ -152,7 +152,7 @@ public final class RogueTalentOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueUnlockProgress unlock_progress_list = 13;</code>
|
||||
* <code>repeated .RogueUnlockProgress unlock_progress_list = 7;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueTalent clearUnlockProgressList() {
|
||||
@@ -162,7 +162,7 @@ public final class RogueTalentOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueUnlockProgress unlock_progress_list = 13;</code>
|
||||
* <code>repeated .RogueUnlockProgress unlock_progress_list = 7;</code>
|
||||
*
|
||||
* This method returns the internal storage object without modifying any has state.
|
||||
* The returned object should not be modified and be treated as read-only.
|
||||
@@ -177,7 +177,7 @@ public final class RogueTalentOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueUnlockProgress unlock_progress_list = 13;</code>
|
||||
* <code>repeated .RogueUnlockProgress unlock_progress_list = 7;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -192,7 +192,7 @@ public final class RogueTalentOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueUnlockProgress unlock_progress_list = 13;</code>
|
||||
* <code>repeated .RogueUnlockProgress unlock_progress_list = 7;</code>
|
||||
* @param value the unlockProgressList to add
|
||||
* @return this
|
||||
*/
|
||||
@@ -204,7 +204,7 @@ public final class RogueTalentOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueUnlockProgress unlock_progress_list = 13;</code>
|
||||
* <code>repeated .RogueUnlockProgress unlock_progress_list = 7;</code>
|
||||
* @param values the unlockProgressList to add
|
||||
* @return this
|
||||
*/
|
||||
@@ -287,16 +287,16 @@ public final class RogueTalentOuterClass {
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 88);
|
||||
output.writeRawByte((byte) 8);
|
||||
output.writeUInt32NoTag(talentId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 64);
|
||||
output.writeRawByte((byte) 24);
|
||||
output.writeEnumNoTag(status);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
for (int i = 0; i < unlockProgressList.length(); i++) {
|
||||
output.writeRawByte((byte) 106);
|
||||
output.writeRawByte((byte) 58);
|
||||
output.writeMessageNoTag(unlockProgressList.get(i));
|
||||
}
|
||||
}
|
||||
@@ -324,16 +324,16 @@ public final class RogueTalentOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 88: {
|
||||
case 8: {
|
||||
// talentId
|
||||
talentId = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 64) {
|
||||
if (tag != 24) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 64: {
|
||||
case 24: {
|
||||
// status
|
||||
final int value = input.readInt32();
|
||||
if (RogueTalentStatusOuterClass.RogueTalentStatus.forNumber(value) != null) {
|
||||
@@ -341,11 +341,11 @@ public final class RogueTalentOuterClass {
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
tag = input.readTag();
|
||||
if (tag != 106) {
|
||||
if (tag != 58) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 106: {
|
||||
case 58: {
|
||||
// unlockProgressList
|
||||
tag = input.readRepeatedMessage(unlockProgressList, tag);
|
||||
bitField0_ |= 0x00000004;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,493 +1,260 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: TakeChallengeRewardCsReq.proto
|
||||
// Protobuf Java Version: 4.26.0-rc1
|
||||
|
||||
// Code generated by protocol buffer compiler. Do not edit!
|
||||
package emu.lunarcore.proto;
|
||||
|
||||
import java.io.IOException;
|
||||
import us.hebi.quickbuf.FieldName;
|
||||
import us.hebi.quickbuf.InvalidProtocolBufferException;
|
||||
import us.hebi.quickbuf.JsonSink;
|
||||
import us.hebi.quickbuf.JsonSource;
|
||||
import us.hebi.quickbuf.MessageFactory;
|
||||
import us.hebi.quickbuf.ProtoMessage;
|
||||
import us.hebi.quickbuf.ProtoSink;
|
||||
import us.hebi.quickbuf.ProtoSource;
|
||||
|
||||
public final class TakeChallengeRewardCsReqOuterClass {
|
||||
private TakeChallengeRewardCsReqOuterClass() {}
|
||||
static {
|
||||
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||
/* major= */ 4,
|
||||
/* minor= */ 26,
|
||||
/* patch= */ 0,
|
||||
/* suffix= */ "-rc1",
|
||||
TakeChallengeRewardCsReqOuterClass.class.getName());
|
||||
}
|
||||
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 TakeChallengeRewardCsReqOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:TakeChallengeRewardCsReq)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 group_id = 1;</code>
|
||||
* @return The groupId.
|
||||
*/
|
||||
int getGroupId();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code TakeChallengeRewardCsReq}
|
||||
*/
|
||||
public static final class TakeChallengeRewardCsReq extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:TakeChallengeRewardCsReq)
|
||||
TakeChallengeRewardCsReqOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
static {
|
||||
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||
/* major= */ 4,
|
||||
/* minor= */ 26,
|
||||
/* patch= */ 0,
|
||||
/* suffix= */ "-rc1",
|
||||
TakeChallengeRewardCsReq.class.getName());
|
||||
}
|
||||
// Use TakeChallengeRewardCsReq.newBuilder() to construct.
|
||||
private TakeChallengeRewardCsReq(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
public static final class TakeChallengeRewardCsReq extends ProtoMessage<TakeChallengeRewardCsReq> implements Cloneable {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 group_id = 1;</code>
|
||||
*/
|
||||
private int groupId;
|
||||
|
||||
private TakeChallengeRewardCsReq() {
|
||||
}
|
||||
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.internal_static_TakeChallengeRewardCsReq_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.internal_static_TakeChallengeRewardCsReq_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq.class, emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int GROUP_ID_FIELD_NUMBER = 1;
|
||||
private int groupId_ = 0;
|
||||
/**
|
||||
* <code>uint32 group_id = 1;</code>
|
||||
* @return The groupId.
|
||||
* @return a new empty instance of {@code TakeChallengeRewardCsReq}
|
||||
*/
|
||||
public static TakeChallengeRewardCsReq newInstance() {
|
||||
return new TakeChallengeRewardCsReq();
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 group_id = 1;</code>
|
||||
* @return whether the groupId field is set
|
||||
*/
|
||||
public boolean hasGroupId() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 group_id = 1;</code>
|
||||
* @return this
|
||||
*/
|
||||
public TakeChallengeRewardCsReq clearGroupId() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
groupId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 group_id = 1;</code>
|
||||
* @return the groupId
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getGroupId() {
|
||||
return groupId_;
|
||||
return groupId;
|
||||
}
|
||||
|
||||
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;
|
||||
/**
|
||||
* <code>optional uint32 group_id = 1;</code>
|
||||
* @param value the groupId to set
|
||||
* @return this
|
||||
*/
|
||||
public TakeChallengeRewardCsReq setGroupId(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
groupId = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (groupId_ != 0) {
|
||||
output.writeUInt32(1, groupId_);
|
||||
@Override
|
||||
public TakeChallengeRewardCsReq copyFrom(final TakeChallengeRewardCsReq other) {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
groupId = other.groupId;
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (groupId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(1, groupId_);
|
||||
@Override
|
||||
public TakeChallengeRewardCsReq mergeFrom(final TakeChallengeRewardCsReq other) {
|
||||
if (other.isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasGroupId()) {
|
||||
setGroupId(other.groupId);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TakeChallengeRewardCsReq clear() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
groupId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TakeChallengeRewardCsReq clearQuick() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof TakeChallengeRewardCsReq)) {
|
||||
return false;
|
||||
}
|
||||
TakeChallengeRewardCsReq other = (TakeChallengeRewardCsReq) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasGroupId() || groupId == other.groupId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 8);
|
||||
output.writeUInt32NoTag(groupId);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(groupId);
|
||||
}
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
@Override
|
||||
@SuppressWarnings("fallthrough")
|
||||
public TakeChallengeRewardCsReq mergeFrom(final ProtoSource input) throws IOException {
|
||||
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 8: {
|
||||
// groupId
|
||||
groupId = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 0: {
|
||||
return this;
|
||||
}
|
||||
default: {
|
||||
if (!input.skipField(tag)) {
|
||||
return this;
|
||||
}
|
||||
tag = input.readTag();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!(obj instanceof emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeUInt32(FieldNames.groupId, groupId);
|
||||
}
|
||||
emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq other = (emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq) obj;
|
||||
|
||||
if (getGroupId()
|
||||
!= other.getGroupId()) return false;
|
||||
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||
return true;
|
||||
output.endObject();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + GROUP_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getGroupId();
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||
java.nio.ByteBuffer data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.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.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq 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.GeneratedMessage.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code TakeChallengeRewardCsReq}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:TakeChallengeRewardCsReq)
|
||||
emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReqOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.internal_static_TakeChallengeRewardCsReq_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.internal_static_TakeChallengeRewardCsReq_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq.class, emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
groupId_ = 0;
|
||||
@Override
|
||||
public TakeChallengeRewardCsReq mergeFrom(final JsonSource input) throws IOException {
|
||||
if (!input.beginObject()) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.internal_static_TakeChallengeRewardCsReq_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq getDefaultInstanceForType() {
|
||||
return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq build() {
|
||||
emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq buildPartial() {
|
||||
emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq result = new emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.groupId_ = groupId_;
|
||||
}
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq) {
|
||||
return mergeFrom((emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq other) {
|
||||
if (other == emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq.getDefaultInstance()) return this;
|
||||
if (other.getGroupId() != 0) {
|
||||
setGroupId(other.getGroupId());
|
||||
}
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
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 {
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
groupId_ = input.readUInt32();
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case 293428218:
|
||||
case 506361563: {
|
||||
if (input.isAtField(FieldNames.groupId)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
groupId = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 8
|
||||
default: {
|
||||
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||
done = true; // was an endgroup tag
|
||||
}
|
||||
break;
|
||||
} // default:
|
||||
} // switch (tag)
|
||||
} // while (!done)
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
onChanged();
|
||||
} // finally
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private int groupId_ ;
|
||||
/**
|
||||
* <code>uint32 group_id = 1;</code>
|
||||
* @return The groupId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getGroupId() {
|
||||
return groupId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 group_id = 1;</code>
|
||||
* @param value The groupId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setGroupId(int value) {
|
||||
|
||||
groupId_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 group_id = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGroupId() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
groupId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:TakeChallengeRewardCsReq)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:TakeChallengeRewardCsReq)
|
||||
private static final emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq();
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<TakeChallengeRewardCsReq>
|
||||
PARSER = new com.google.protobuf.AbstractParser<TakeChallengeRewardCsReq>() {
|
||||
@java.lang.Override
|
||||
public TakeChallengeRewardCsReq parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
Builder builder = newBuilder();
|
||||
try {
|
||||
builder.mergeFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
||||
.setUnfinishedMessage(builder.buildPartial());
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
input.skipUnknownField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return builder.buildPartial();
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<TakeChallengeRewardCsReq> parser() {
|
||||
return PARSER;
|
||||
input.endObject();
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<TakeChallengeRewardCsReq> getParserForType() {
|
||||
return PARSER;
|
||||
@Override
|
||||
public TakeChallengeRewardCsReq clone() {
|
||||
return new TakeChallengeRewardCsReq().copyFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return ((bitField0_) == 0);
|
||||
}
|
||||
|
||||
}
|
||||
public static TakeChallengeRewardCsReq parseFrom(final byte[] data) throws
|
||||
InvalidProtocolBufferException {
|
||||
return ProtoMessage.mergeFrom(new TakeChallengeRewardCsReq(), data).checkInitialized();
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_TakeChallengeRewardCsReq_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_TakeChallengeRewardCsReq_fieldAccessorTable;
|
||||
public static TakeChallengeRewardCsReq parseFrom(final ProtoSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new TakeChallengeRewardCsReq(), input).checkInitialized();
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
return descriptor;
|
||||
}
|
||||
private static com.google.protobuf.Descriptors.FileDescriptor
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\036TakeChallengeRewardCsReq.proto\",\n\030Take" +
|
||||
"ChallengeRewardCsReq\022\020\n\010group_id\030\001 \001(\rB\025" +
|
||||
"\n\023emu.lunarcore.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
});
|
||||
internal_static_TakeChallengeRewardCsReq_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_TakeChallengeRewardCsReq_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_TakeChallengeRewardCsReq_descriptor,
|
||||
new java.lang.String[] { "GroupId", });
|
||||
descriptor.resolveAllFeatures();
|
||||
}
|
||||
public static TakeChallengeRewardCsReq parseFrom(final JsonSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new TakeChallengeRewardCsReq(), input).checkInitialized();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
/**
|
||||
* @return factory for creating TakeChallengeRewardCsReq messages
|
||||
*/
|
||||
public static MessageFactory<TakeChallengeRewardCsReq> getFactory() {
|
||||
return TakeChallengeRewardCsReqFactory.INSTANCE;
|
||||
}
|
||||
|
||||
private enum TakeChallengeRewardCsReqFactory implements MessageFactory<TakeChallengeRewardCsReq> {
|
||||
INSTANCE;
|
||||
|
||||
@Override
|
||||
public TakeChallengeRewardCsReq create() {
|
||||
return TakeChallengeRewardCsReq.newInstance();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName groupId = FieldName.forField("groupId", "group_id");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,565 +1,340 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: TextJoinInfo.proto
|
||||
// Protobuf Java Version: 4.26.0-rc1
|
||||
|
||||
// Code generated by protocol buffer compiler. Do not edit!
|
||||
package emu.lunarcore.proto;
|
||||
|
||||
import java.io.IOException;
|
||||
import us.hebi.quickbuf.FieldName;
|
||||
import us.hebi.quickbuf.InvalidProtocolBufferException;
|
||||
import us.hebi.quickbuf.JsonSink;
|
||||
import us.hebi.quickbuf.JsonSource;
|
||||
import us.hebi.quickbuf.MessageFactory;
|
||||
import us.hebi.quickbuf.ProtoMessage;
|
||||
import us.hebi.quickbuf.ProtoSink;
|
||||
import us.hebi.quickbuf.ProtoSource;
|
||||
|
||||
public final class TextJoinInfoOuterClass {
|
||||
private TextJoinInfoOuterClass() {}
|
||||
static {
|
||||
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||
/* major= */ 4,
|
||||
/* minor= */ 26,
|
||||
/* patch= */ 0,
|
||||
/* suffix= */ "-rc1",
|
||||
TextJoinInfoOuterClass.class.getName());
|
||||
}
|
||||
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 TextJoinInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:TextJoinInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 text_item_id = 1;</code>
|
||||
* @return The textItemId.
|
||||
*/
|
||||
int getTextItemId();
|
||||
|
||||
/**
|
||||
* <code>uint32 text_item_config_id = 6;</code>
|
||||
* @return The textItemConfigId.
|
||||
*/
|
||||
int getTextItemConfigId();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code TextJoinInfo}
|
||||
*/
|
||||
public static final class TextJoinInfo extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:TextJoinInfo)
|
||||
TextJoinInfoOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
static {
|
||||
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||
/* major= */ 4,
|
||||
/* minor= */ 26,
|
||||
/* patch= */ 0,
|
||||
/* suffix= */ "-rc1",
|
||||
TextJoinInfo.class.getName());
|
||||
}
|
||||
// Use TextJoinInfo.newBuilder() to construct.
|
||||
private TextJoinInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
public static final class TextJoinInfo extends ProtoMessage<TextJoinInfo> implements Cloneable {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 text_item_id = 1;</code>
|
||||
*/
|
||||
private int textItemId;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 text_item_config_id = 6;</code>
|
||||
*/
|
||||
private int textItemConfigId;
|
||||
|
||||
private TextJoinInfo() {
|
||||
}
|
||||
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.lunarcore.proto.TextJoinInfoOuterClass.internal_static_TextJoinInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.lunarcore.proto.TextJoinInfoOuterClass.internal_static_TextJoinInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.class, emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int TEXT_ITEM_ID_FIELD_NUMBER = 1;
|
||||
private int textItemId_ = 0;
|
||||
/**
|
||||
* <code>uint32 text_item_id = 1;</code>
|
||||
* @return The textItemId.
|
||||
* @return a new empty instance of {@code TextJoinInfo}
|
||||
*/
|
||||
public static TextJoinInfo newInstance() {
|
||||
return new TextJoinInfo();
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 text_item_id = 1;</code>
|
||||
* @return whether the textItemId field is set
|
||||
*/
|
||||
public boolean hasTextItemId() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 text_item_id = 1;</code>
|
||||
* @return this
|
||||
*/
|
||||
public TextJoinInfo clearTextItemId() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
textItemId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 text_item_id = 1;</code>
|
||||
* @return the textItemId
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTextItemId() {
|
||||
return textItemId_;
|
||||
return textItemId;
|
||||
}
|
||||
|
||||
public static final int TEXT_ITEM_CONFIG_ID_FIELD_NUMBER = 6;
|
||||
private int textItemConfigId_ = 0;
|
||||
/**
|
||||
* <code>uint32 text_item_config_id = 6;</code>
|
||||
* @return The textItemConfigId.
|
||||
* <code>optional uint32 text_item_id = 1;</code>
|
||||
* @param value the textItemId to set
|
||||
* @return this
|
||||
*/
|
||||
public TextJoinInfo setTextItemId(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
textItemId = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 text_item_config_id = 6;</code>
|
||||
* @return whether the textItemConfigId field is set
|
||||
*/
|
||||
public boolean hasTextItemConfigId() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 text_item_config_id = 6;</code>
|
||||
* @return this
|
||||
*/
|
||||
public TextJoinInfo clearTextItemConfigId() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
textItemConfigId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 text_item_config_id = 6;</code>
|
||||
* @return the textItemConfigId
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTextItemConfigId() {
|
||||
return textItemConfigId_;
|
||||
return textItemConfigId;
|
||||
}
|
||||
|
||||
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;
|
||||
/**
|
||||
* <code>optional uint32 text_item_config_id = 6;</code>
|
||||
* @param value the textItemConfigId to set
|
||||
* @return this
|
||||
*/
|
||||
public TextJoinInfo setTextItemConfigId(final int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
textItemConfigId = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (textItemId_ != 0) {
|
||||
output.writeUInt32(1, textItemId_);
|
||||
@Override
|
||||
public TextJoinInfo copyFrom(final TextJoinInfo other) {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
textItemId = other.textItemId;
|
||||
textItemConfigId = other.textItemConfigId;
|
||||
}
|
||||
if (textItemConfigId_ != 0) {
|
||||
output.writeUInt32(6, textItemConfigId_);
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
@Override
|
||||
public TextJoinInfo mergeFrom(final TextJoinInfo other) {
|
||||
if (other.isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasTextItemId()) {
|
||||
setTextItemId(other.textItemId);
|
||||
}
|
||||
if (other.hasTextItemConfigId()) {
|
||||
setTextItemConfigId(other.textItemConfigId);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
size = 0;
|
||||
if (textItemId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(1, textItemId_);
|
||||
@Override
|
||||
public TextJoinInfo clear() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
if (textItemConfigId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(6, textItemConfigId_);
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
textItemId = 0;
|
||||
textItemConfigId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TextJoinInfo clearQuick() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof TextJoinInfo)) {
|
||||
return false;
|
||||
}
|
||||
TextJoinInfo other = (TextJoinInfo) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasTextItemId() || textItemId == other.textItemId)
|
||||
&& (!hasTextItemConfigId() || textItemConfigId == other.textItemConfigId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 8);
|
||||
output.writeUInt32NoTag(textItemId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 48);
|
||||
output.writeUInt32NoTag(textItemConfigId);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(textItemId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(textItemConfigId);
|
||||
}
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
@Override
|
||||
@SuppressWarnings("fallthrough")
|
||||
public TextJoinInfo mergeFrom(final ProtoSource input) throws IOException {
|
||||
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 8: {
|
||||
// textItemId
|
||||
textItemId = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 48) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 48: {
|
||||
// textItemConfigId
|
||||
textItemConfigId = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 0: {
|
||||
return this;
|
||||
}
|
||||
default: {
|
||||
if (!input.skipField(tag)) {
|
||||
return this;
|
||||
}
|
||||
tag = input.readTag();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!(obj instanceof emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeUInt32(FieldNames.textItemId, textItemId);
|
||||
}
|
||||
emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo other = (emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo) obj;
|
||||
|
||||
if (getTextItemId()
|
||||
!= other.getTextItemId()) return false;
|
||||
if (getTextItemConfigId()
|
||||
!= other.getTextItemConfigId()) return false;
|
||||
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeUInt32(FieldNames.textItemConfigId, textItemConfigId);
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + TEXT_ITEM_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTextItemId();
|
||||
hash = (37 * hash) + TEXT_ITEM_CONFIG_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTextItemConfigId();
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
output.endObject();
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||
java.nio.ByteBuffer data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessage
|
||||
.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.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo 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.GeneratedMessage.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code TextJoinInfo}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:TextJoinInfo)
|
||||
emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfoOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.lunarcore.proto.TextJoinInfoOuterClass.internal_static_TextJoinInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.lunarcore.proto.TextJoinInfoOuterClass.internal_static_TextJoinInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.class, emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
textItemId_ = 0;
|
||||
textItemConfigId_ = 0;
|
||||
@Override
|
||||
public TextJoinInfo mergeFrom(final JsonSource input) throws IOException {
|
||||
if (!input.beginObject()) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return emu.lunarcore.proto.TextJoinInfoOuterClass.internal_static_TextJoinInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo getDefaultInstanceForType() {
|
||||
return emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo build() {
|
||||
emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo buildPartial() {
|
||||
emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo result = new emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.textItemId_ = textItemId_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||
result.textItemConfigId_ = textItemConfigId_;
|
||||
}
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo) {
|
||||
return mergeFrom((emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo other) {
|
||||
if (other == emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.getDefaultInstance()) return this;
|
||||
if (other.getTextItemId() != 0) {
|
||||
setTextItemId(other.getTextItemId());
|
||||
}
|
||||
if (other.getTextItemConfigId() != 0) {
|
||||
setTextItemConfigId(other.getTextItemConfigId());
|
||||
}
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
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 {
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
textItemId_ = input.readUInt32();
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case 1565189915:
|
||||
case -153409355: {
|
||||
if (input.isAtField(FieldNames.textItemId)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
textItemId = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 8
|
||||
case 48: {
|
||||
textItemConfigId_ = input.readUInt32();
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -1448403459:
|
||||
case -1174236578: {
|
||||
if (input.isAtField(FieldNames.textItemConfigId)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
textItemConfigId = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
break;
|
||||
} // case 48
|
||||
default: {
|
||||
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||
done = true; // was an endgroup tag
|
||||
}
|
||||
break;
|
||||
} // default:
|
||||
} // switch (tag)
|
||||
} // while (!done)
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
onChanged();
|
||||
} // finally
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private int textItemId_ ;
|
||||
/**
|
||||
* <code>uint32 text_item_id = 1;</code>
|
||||
* @return The textItemId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTextItemId() {
|
||||
return textItemId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 text_item_id = 1;</code>
|
||||
* @param value The textItemId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTextItemId(int value) {
|
||||
|
||||
textItemId_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 text_item_id = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTextItemId() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
textItemId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int textItemConfigId_ ;
|
||||
/**
|
||||
* <code>uint32 text_item_config_id = 6;</code>
|
||||
* @return The textItemConfigId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTextItemConfigId() {
|
||||
return textItemConfigId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 text_item_config_id = 6;</code>
|
||||
* @param value The textItemConfigId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTextItemConfigId(int value) {
|
||||
|
||||
textItemConfigId_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 text_item_config_id = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTextItemConfigId() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
textItemConfigId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:TextJoinInfo)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:TextJoinInfo)
|
||||
private static final emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo();
|
||||
}
|
||||
|
||||
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<TextJoinInfo>
|
||||
PARSER = new com.google.protobuf.AbstractParser<TextJoinInfo>() {
|
||||
@java.lang.Override
|
||||
public TextJoinInfo parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
Builder builder = newBuilder();
|
||||
try {
|
||||
builder.mergeFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
||||
.setUnfinishedMessage(builder.buildPartial());
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
input.skipUnknownField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return builder.buildPartial();
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<TextJoinInfo> parser() {
|
||||
return PARSER;
|
||||
input.endObject();
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<TextJoinInfo> getParserForType() {
|
||||
return PARSER;
|
||||
@Override
|
||||
public TextJoinInfo clone() {
|
||||
return new TextJoinInfo().copyFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return ((bitField0_) == 0);
|
||||
}
|
||||
|
||||
}
|
||||
public static TextJoinInfo parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||
return ProtoMessage.mergeFrom(new TextJoinInfo(), data).checkInitialized();
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_TextJoinInfo_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_TextJoinInfo_fieldAccessorTable;
|
||||
public static TextJoinInfo parseFrom(final ProtoSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new TextJoinInfo(), input).checkInitialized();
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
return descriptor;
|
||||
}
|
||||
private static com.google.protobuf.Descriptors.FileDescriptor
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\022TextJoinInfo.proto\"A\n\014TextJoinInfo\022\024\n\014" +
|
||||
"text_item_id\030\001 \001(\r\022\033\n\023text_item_config_i" +
|
||||
"d\030\006 \001(\rB\025\n\023emu.lunarcore.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
});
|
||||
internal_static_TextJoinInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_TextJoinInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_TextJoinInfo_descriptor,
|
||||
new java.lang.String[] { "TextItemId", "TextItemConfigId", });
|
||||
descriptor.resolveAllFeatures();
|
||||
}
|
||||
public static TextJoinInfo parseFrom(final JsonSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new TextJoinInfo(), input).checkInitialized();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
/**
|
||||
* @return factory for creating TextJoinInfo messages
|
||||
*/
|
||||
public static MessageFactory<TextJoinInfo> getFactory() {
|
||||
return TextJoinInfoFactory.INSTANCE;
|
||||
}
|
||||
|
||||
private enum TextJoinInfoFactory implements MessageFactory<TextJoinInfo> {
|
||||
INSTANCE;
|
||||
|
||||
@Override
|
||||
public TextJoinInfo create() {
|
||||
return TextJoinInfo.newInstance();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName textItemId = FieldName.forField("textItemId", "text_item_id");
|
||||
|
||||
static final FieldName textItemConfigId = FieldName.forField("textItemConfigId", "text_item_config_id");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user