update protos

This commit is contained in:
Hiro
2024-02-07 21:48:41 +02:00
parent 10346166ea
commit 65b696ce3f
14 changed files with 9558 additions and 5158 deletions

View File

@@ -1,339 +1,566 @@
// Code generated by protocol buffer compiler. Do not edit! // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ClientMailAttachmentItem.proto
// Protobuf Java Version: 4.26.0-rc1
package emu.lunarcore.proto; 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 { 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} * Protobuf type {@code ClientMailAttachmentItem}
*/ */
public static final class ClientMailAttachmentItem extends ProtoMessage<ClientMailAttachmentItem> implements Cloneable { public static final class ClientMailAttachmentItem extends
private static final long serialVersionUID = 0L; com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:ClientMailAttachmentItem)
/** ClientMailAttachmentItemOrBuilder {
* <code>optional uint32 FKIPJPLMBFI = 2;</code> private static final long serialVersionUID = 0L;
*/ static {
private int fKIPJPLMBFI; com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/** /* major= */ 4,
* <code>optional uint32 ANAFKBMJOBJ = 12;</code> /* minor= */ 26,
*/ /* patch= */ 0,
private int aNAFKBMJOBJ; /* suffix= */ "-rc1",
ClientMailAttachmentItem.class.getName());
}
// Use ClientMailAttachmentItem.newBuilder() to construct.
private ClientMailAttachmentItem(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}
private ClientMailAttachmentItem() { 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;
/** /**
* @return a new empty instance of {@code ClientMailAttachmentItem} * <code>uint32 item_id = 8;</code>
* @return The itemId.
*/ */
public static ClientMailAttachmentItem newInstance() { @java.lang.Override
return new ClientMailAttachmentItem(); public int getItemId() {
return itemId_;
} }
public static final int MAIL_ID_FIELD_NUMBER = 1;
private int mailId_ = 0;
/** /**
* <code>optional uint32 FKIPJPLMBFI = 2;</code> * <code>uint32 mail_id = 1;</code>
* @return whether the fKIPJPLMBFI field is set * @return The mailId.
*/ */
public boolean hasFKIPJPLMBFI() { @java.lang.Override
return (bitField0_ & 0x00000001) != 0; public int getMailId() {
return mailId_;
} }
/** private byte memoizedIsInitialized = -1;
* <code>optional uint32 FKIPJPLMBFI = 2;</code> @java.lang.Override
* @return this public final boolean isInitialized() {
*/ byte isInitialized = memoizedIsInitialized;
public ClientMailAttachmentItem clearFKIPJPLMBFI() { if (isInitialized == 1) return true;
bitField0_ &= ~0x00000001; if (isInitialized == 0) return false;
fKIPJPLMBFI = 0;
return this; memoizedIsInitialized = 1;
return true;
} }
/** @java.lang.Override
* <code>optional uint32 FKIPJPLMBFI = 2;</code> public void writeTo(com.google.protobuf.CodedOutputStream output)
* @return the fKIPJPLMBFI throws java.io.IOException {
*/ if (mailId_ != 0) {
public int getFKIPJPLMBFI() { output.writeUInt32(1, mailId_);
return fKIPJPLMBFI;
}
/**
* <code>optional uint32 FKIPJPLMBFI = 2;</code>
* @param value the fKIPJPLMBFI to set
* @return this
*/
public ClientMailAttachmentItem setFKIPJPLMBFI(final int value) {
bitField0_ |= 0x00000001;
fKIPJPLMBFI = value;
return this;
}
/**
* <code>optional uint32 ANAFKBMJOBJ = 12;</code>
* @return whether the aNAFKBMJOBJ field is set
*/
public boolean hasANAFKBMJOBJ() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 ANAFKBMJOBJ = 12;</code>
* @return this
*/
public ClientMailAttachmentItem clearANAFKBMJOBJ() {
bitField0_ &= ~0x00000002;
aNAFKBMJOBJ = 0;
return this;
}
/**
* <code>optional uint32 ANAFKBMJOBJ = 12;</code>
* @return the aNAFKBMJOBJ
*/
public int getANAFKBMJOBJ() {
return aNAFKBMJOBJ;
}
/**
* <code>optional uint32 ANAFKBMJOBJ = 12;</code>
* @param value the aNAFKBMJOBJ to set
* @return this
*/
public ClientMailAttachmentItem setANAFKBMJOBJ(final int value) {
bitField0_ |= 0x00000002;
aNAFKBMJOBJ = value;
return this;
}
@Override
public ClientMailAttachmentItem copyFrom(final ClientMailAttachmentItem other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
fKIPJPLMBFI = other.fKIPJPLMBFI;
aNAFKBMJOBJ = other.aNAFKBMJOBJ;
} }
return this; if (itemId_ != 0) {
output.writeUInt32(8, itemId_);
}
getUnknownFields().writeTo(output);
} }
@Override @java.lang.Override
public ClientMailAttachmentItem mergeFrom(final ClientMailAttachmentItem other) { public int getSerializedSize() {
if (other.isEmpty()) { int size = memoizedSize;
return this; if (size != -1) return size;
}
cachedSize = -1;
if (other.hasFKIPJPLMBFI()) {
setFKIPJPLMBFI(other.fKIPJPLMBFI);
}
if (other.hasANAFKBMJOBJ()) {
setANAFKBMJOBJ(other.aNAFKBMJOBJ);
}
return this;
}
@Override size = 0;
public ClientMailAttachmentItem clear() { if (mailId_ != 0) {
if (isEmpty()) { size += com.google.protobuf.CodedOutputStream
return this; .computeUInt32Size(1, mailId_);
} }
cachedSize = -1; if (itemId_ != 0) {
bitField0_ = 0; size += com.google.protobuf.CodedOutputStream
fKIPJPLMBFI = 0; .computeUInt32Size(8, itemId_);
aNAFKBMJOBJ = 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_
&& (!hasFKIPJPLMBFI() || fKIPJPLMBFI == other.fKIPJPLMBFI)
&& (!hasANAFKBMJOBJ() || aNAFKBMJOBJ == other.aNAFKBMJOBJ);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(fKIPJPLMBFI);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(aNAFKBMJOBJ);
}
}
@Override
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(fKIPJPLMBFI);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(aNAFKBMJOBJ);
} }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size; return size;
} }
@Override @java.lang.Override
@SuppressWarnings("fallthrough") public boolean equals(final java.lang.Object obj) {
public ClientMailAttachmentItem mergeFrom(final ProtoSource input) throws IOException { if (obj == this) {
// Enabled Fall-Through Optimization (QuickBuffers) return true;
int tag = input.readTag();
while (true) {
switch (tag) {
case 16: {
// fKIPJPLMBFI
fKIPJPLMBFI = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 96) {
break;
}
}
case 96: {
// aNAFKBMJOBJ
aNAFKBMJOBJ = 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);
}
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;
} }
@Override @java.lang.Override
public void writeTo(final JsonSink output) throws IOException { public int hashCode() {
output.beginObject(); if (memoizedHashCode != 0) {
if ((bitField0_ & 0x00000001) != 0) { return memoizedHashCode;
output.writeUInt32(FieldNames.fKIPJPLMBFI, fKIPJPLMBFI);
} }
if ((bitField0_ & 0x00000002) != 0) { int hash = 41;
output.writeUInt32(FieldNames.aNAFKBMJOBJ, aNAFKBMJOBJ); hash = (19 * hash) + getDescriptor().hashCode();
} hash = (37 * hash) + ITEM_ID_FIELD_NUMBER;
output.endObject(); hash = (53 * hash) + getItemId();
hash = (37 * hash) + MAIL_ID_FIELD_NUMBER;
hash = (53 * hash) + getMailId();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
} }
@Override public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
public ClientMailAttachmentItem mergeFrom(final JsonSource input) throws IOException { java.nio.ByteBuffer data)
if (!input.beginObject()) { 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;
return this; return this;
} }
while (!input.isAtEnd()) {
switch (input.readFieldHash()) { @java.lang.Override
case -581795918: { public com.google.protobuf.Descriptors.Descriptor
if (input.isAtField(FieldNames.fKIPJPLMBFI)) { getDescriptorForType() {
if (!input.trySkipNullValue()) { return emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.internal_static_ClientMailAttachmentItem_descriptor;
fKIPJPLMBFI = input.readUInt32(); }
bitField0_ |= 0x00000001;
} @java.lang.Override
} else { public emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem getDefaultInstanceForType() {
input.skipUnknownField(); return emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.getDefaultInstance();
} }
break;
} @java.lang.Override
case 1037527505: { public emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem build() {
if (input.isAtField(FieldNames.aNAFKBMJOBJ)) { emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem result = buildPartial();
if (!input.trySkipNullValue()) { if (!result.isInitialized()) {
aNAFKBMJOBJ = input.readUInt32(); throw newUninitializedMessageException(result);
bitField0_ |= 0x00000002; }
} return result;
} else { }
input.skipUnknownField();
} @java.lang.Override
break; public emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem buildPartial() {
} emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem result = new emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem(this);
default: { if (bitField0_ != 0) { buildPartial0(result); }
input.skipUnknownField(); onBuilt();
break; 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_;
} }
} }
input.endObject();
return this;
}
@Override @java.lang.Override
public ClientMailAttachmentItem clone() { public Builder mergeFrom(com.google.protobuf.Message other) {
return new ClientMailAttachmentItem().copyFrom(this); if (other instanceof emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem) {
} return mergeFrom((emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem)other);
} else {
@Override super.mergeFrom(other);
public boolean isEmpty() { return this;
return ((bitField0_) == 0); }
}
public static ClientMailAttachmentItem parseFrom(final byte[] data) throws
InvalidProtocolBufferException {
return ProtoMessage.mergeFrom(new ClientMailAttachmentItem(), data).checkInitialized();
}
public static ClientMailAttachmentItem parseFrom(final ProtoSource input) throws IOException {
return ProtoMessage.mergeFrom(new ClientMailAttachmentItem(), input).checkInitialized();
}
public static ClientMailAttachmentItem parseFrom(final JsonSource input) throws IOException {
return ProtoMessage.mergeFrom(new ClientMailAttachmentItem(), input).checkInitialized();
}
/**
* @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();
} }
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();
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)
* Contains name constants used for serializing JSON private static final emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem DEFAULT_INSTANCE;
*/ static {
static class FieldNames { DEFAULT_INSTANCE = new emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem();
static final FieldName fKIPJPLMBFI = FieldName.forField("FKIPJPLMBFI");
static final FieldName aNAFKBMJOBJ = FieldName.forField("ANAFKBMJOBJ");
} }
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());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<ClientMailAttachmentItem> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ClientMailAttachmentItem> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
} }
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 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();
}
// @@protoc_insertion_point(outer_class_scope)
} }

View File

@@ -1,341 +1,567 @@
// Code generated by protocol buffer compiler. Do not edit! // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DiscardRelicCsReq.proto
// Protobuf Java Version: 4.26.0-rc1
package emu.lunarcore.proto; 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 { 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} * Protobuf type {@code DiscardRelicCsReq}
*/ */
public static final class DiscardRelicCsReq extends ProtoMessage<DiscardRelicCsReq> implements Cloneable { public static final class DiscardRelicCsReq extends
private static final long serialVersionUID = 0L; com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:DiscardRelicCsReq)
/** DiscardRelicCsReqOrBuilder {
* <code>optional uint32 relic_unique_id = 13;</code> private static final long serialVersionUID = 0L;
*/ static {
private int relicUniqueId; com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/** /* major= */ 4,
* <code>optional bool is_discard = 1;</code> /* minor= */ 26,
*/ /* patch= */ 0,
private boolean isDiscard; /* suffix= */ "-rc1",
DiscardRelicCsReq.class.getName());
}
// Use DiscardRelicCsReq.newBuilder() to construct.
private DiscardRelicCsReq(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}
private DiscardRelicCsReq() { private DiscardRelicCsReq() {
} }
/** public static final com.google.protobuf.Descriptors.Descriptor
* @return a new empty instance of {@code DiscardRelicCsReq} getDescriptor() {
*/ return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.internal_static_DiscardRelicCsReq_descriptor;
public static DiscardRelicCsReq newInstance() {
return new DiscardRelicCsReq();
} }
/** @java.lang.Override
* <code>optional uint32 relic_unique_id = 13;</code> protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
* @return whether the relicUniqueId field is set internalGetFieldAccessorTable() {
*/ return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.internal_static_DiscardRelicCsReq_fieldAccessorTable
public boolean hasRelicUniqueId() { .ensureFieldAccessorsInitialized(
return (bitField0_ & 0x00000001) != 0; 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>optional uint32 relic_unique_id = 13;</code> * <code>uint32 relic_unique_id = 13;</code>
* @return this * @return The relicUniqueId.
*/
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() { public int getRelicUniqueId() {
return relicUniqueId; return relicUniqueId_;
} }
public static final int IS_DISCARD_FIELD_NUMBER = 1;
private boolean isDiscard_ = false;
/** /**
* <code>optional uint32 relic_unique_id = 13;</code> * <code>bool is_discard = 1;</code>
* @param value the relicUniqueId to set * @return The isDiscard.
* @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() { public boolean getIsDiscard() {
return isDiscard; return isDiscard_;
} }
/** private byte memoizedIsInitialized = -1;
* <code>optional bool is_discard = 1;</code> @java.lang.Override
* @param value the isDiscard to set public final boolean isInitialized() {
* @return this byte isInitialized = memoizedIsInitialized;
*/ if (isInitialized == 1) return true;
public DiscardRelicCsReq setIsDiscard(final boolean value) { if (isInitialized == 0) return false;
bitField0_ |= 0x00000002;
isDiscard = value; memoizedIsInitialized = 1;
return this; return true;
} }
@Override @java.lang.Override
public DiscardRelicCsReq copyFrom(final DiscardRelicCsReq other) { public void writeTo(com.google.protobuf.CodedOutputStream output)
cachedSize = other.cachedSize; throws java.io.IOException {
if ((bitField0_ | other.bitField0_) != 0) { if (isDiscard_ != false) {
bitField0_ = other.bitField0_; output.writeBool(1, isDiscard_);
relicUniqueId = other.relicUniqueId;
isDiscard = other.isDiscard;
} }
return this; if (relicUniqueId_ != 0) {
output.writeUInt32(13, relicUniqueId_);
}
getUnknownFields().writeTo(output);
} }
@Override @java.lang.Override
public DiscardRelicCsReq mergeFrom(final DiscardRelicCsReq other) { public int getSerializedSize() {
if (other.isEmpty()) { int size = memoizedSize;
return this; if (size != -1) return size;
}
cachedSize = -1;
if (other.hasRelicUniqueId()) {
setRelicUniqueId(other.relicUniqueId);
}
if (other.hasIsDiscard()) {
setIsDiscard(other.isDiscard);
}
return this;
}
@Override size = 0;
public DiscardRelicCsReq clear() { if (isDiscard_ != false) {
if (isEmpty()) { size += com.google.protobuf.CodedOutputStream
return this; .computeBoolSize(1, isDiscard_);
} }
cachedSize = -1; if (relicUniqueId_ != 0) {
bitField0_ = 0; size += com.google.protobuf.CodedOutputStream
relicUniqueId = 0; .computeUInt32Size(13, relicUniqueId_);
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; return size;
} }
@Override @java.lang.Override
@SuppressWarnings("fallthrough") public boolean equals(final java.lang.Object obj) {
public DiscardRelicCsReq mergeFrom(final ProtoSource input) throws IOException { if (obj == this) {
// Enabled Fall-Through Optimization (QuickBuffers) return true;
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);
}
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;
} }
@Override @java.lang.Override
public void writeTo(final JsonSink output) throws IOException { public int hashCode() {
output.beginObject(); if (memoizedHashCode != 0) {
if ((bitField0_ & 0x00000001) != 0) { return memoizedHashCode;
output.writeUInt32(FieldNames.relicUniqueId, relicUniqueId);
} }
if ((bitField0_ & 0x00000002) != 0) { int hash = 41;
output.writeBool(FieldNames.isDiscard, isDiscard); hash = (19 * hash) + getDescriptor().hashCode();
} hash = (37 * hash) + RELIC_UNIQUE_ID_FIELD_NUMBER;
output.endObject(); 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;
} }
@Override public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
public DiscardRelicCsReq mergeFrom(final JsonSource input) throws IOException { java.nio.ByteBuffer data)
if (!input.beginObject()) { 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;
return this; return this;
} }
while (!input.isAtEnd()) {
switch (input.readFieldHash()) { @java.lang.Override
case -1966200481: public com.google.protobuf.Descriptors.Descriptor
case 49648253: { getDescriptorForType() {
if (input.isAtField(FieldNames.relicUniqueId)) { return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.internal_static_DiscardRelicCsReq_descriptor;
if (!input.trySkipNullValue()) { }
relicUniqueId = input.readUInt32();
bitField0_ |= 0x00000001; @java.lang.Override
} public emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq getDefaultInstanceForType() {
} else { return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.getDefaultInstance();
input.skipUnknownField(); }
}
break; @java.lang.Override
} public emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq build() {
case 1091588116: emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq result = buildPartial();
case -1123290487: { if (!result.isInitialized()) {
if (input.isAtField(FieldNames.isDiscard)) { throw newUninitializedMessageException(result);
if (!input.trySkipNullValue()) { }
isDiscard = input.readBool(); return result;
bitField0_ |= 0x00000002; }
}
} else { @java.lang.Override
input.skipUnknownField(); public emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq buildPartial() {
} emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq result = new emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq(this);
break; if (bitField0_ != 0) { buildPartial0(result); }
} onBuilt();
default: { return result;
input.skipUnknownField(); }
break;
} 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_;
} }
} }
input.endObject();
return this;
}
@Override @java.lang.Override
public DiscardRelicCsReq clone() { public Builder mergeFrom(com.google.protobuf.Message other) {
return new DiscardRelicCsReq().copyFrom(this); if (other instanceof emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq) {
} return mergeFrom((emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq)other);
} else {
@Override super.mergeFrom(other);
public boolean isEmpty() { return this;
return ((bitField0_) == 0); }
}
public static DiscardRelicCsReq parseFrom(final byte[] data) throws
InvalidProtocolBufferException {
return ProtoMessage.mergeFrom(new DiscardRelicCsReq(), data).checkInitialized();
}
public static DiscardRelicCsReq parseFrom(final ProtoSource input) throws IOException {
return ProtoMessage.mergeFrom(new DiscardRelicCsReq(), input).checkInitialized();
}
public static DiscardRelicCsReq parseFrom(final JsonSource input) throws IOException {
return ProtoMessage.mergeFrom(new DiscardRelicCsReq(), input).checkInitialized();
}
/**
* @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();
} }
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();
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)
* Contains name constants used for serializing JSON private static final emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq DEFAULT_INSTANCE;
*/ static {
static class FieldNames { DEFAULT_INSTANCE = new emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq();
static final FieldName relicUniqueId = FieldName.forField("relicUniqueId", "relic_unique_id");
static final FieldName isDiscard = FieldName.forField("isDiscard", "is_discard");
} }
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());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<DiscardRelicCsReq> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DiscardRelicCsReq> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
} }
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 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();
}
// @@protoc_insertion_point(outer_class_scope)
} }

View File

@@ -1,260 +1,493 @@
// Code generated by protocol buffer compiler. Do not edit! // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: EnableRogueTalentCsReq.proto
// Protobuf Java Version: 4.26.0-rc1
package emu.lunarcore.proto; 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 { 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} * Protobuf type {@code EnableRogueTalentCsReq}
*/ */
public static final class EnableRogueTalentCsReq extends ProtoMessage<EnableRogueTalentCsReq> implements Cloneable { public static final class EnableRogueTalentCsReq extends
private static final long serialVersionUID = 0L; com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:EnableRogueTalentCsReq)
/** EnableRogueTalentCsReqOrBuilder {
* <code>optional uint32 talent_id = 13;</code> private static final long serialVersionUID = 0L;
*/ static {
private int talentId; 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);
}
private EnableRogueTalentCsReq() { private EnableRogueTalentCsReq() {
} }
/** public static final com.google.protobuf.Descriptors.Descriptor
* @return a new empty instance of {@code EnableRogueTalentCsReq} getDescriptor() {
*/ return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.internal_static_EnableRogueTalentCsReq_descriptor;
public static EnableRogueTalentCsReq newInstance() {
return new EnableRogueTalentCsReq();
} }
/** @java.lang.Override
* <code>optional uint32 talent_id = 13;</code> protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
* @return whether the talentId field is set internalGetFieldAccessorTable() {
*/ return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.internal_static_EnableRogueTalentCsReq_fieldAccessorTable
public boolean hasTalentId() { .ensureFieldAccessorsInitialized(
return (bitField0_ & 0x00000001) != 0; 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>optional uint32 talent_id = 13;</code> * <code>uint32 talent_id = 3;</code>
* @return this * @return The talentId.
*/
public EnableRogueTalentCsReq clearTalentId() {
bitField0_ &= ~0x00000001;
talentId = 0;
return this;
}
/**
* <code>optional uint32 talent_id = 13;</code>
* @return the talentId
*/ */
@java.lang.Override
public int getTalentId() { public int getTalentId() {
return talentId; return talentId_;
} }
/** private byte memoizedIsInitialized = -1;
* <code>optional uint32 talent_id = 13;</code> @java.lang.Override
* @param value the talentId to set public final boolean isInitialized() {
* @return this byte isInitialized = memoizedIsInitialized;
*/ if (isInitialized == 1) return true;
public EnableRogueTalentCsReq setTalentId(final int value) { if (isInitialized == 0) return false;
bitField0_ |= 0x00000001;
talentId = value; memoizedIsInitialized = 1;
return this; return true;
} }
@Override @java.lang.Override
public EnableRogueTalentCsReq copyFrom(final EnableRogueTalentCsReq other) { public void writeTo(com.google.protobuf.CodedOutputStream output)
cachedSize = other.cachedSize; throws java.io.IOException {
if ((bitField0_ | other.bitField0_) != 0) { if (talentId_ != 0) {
bitField0_ = other.bitField0_; output.writeUInt32(3, talentId_);
talentId = other.talentId;
} }
return this; getUnknownFields().writeTo(output);
} }
@Override @java.lang.Override
public EnableRogueTalentCsReq mergeFrom(final EnableRogueTalentCsReq other) { public int getSerializedSize() {
if (other.isEmpty()) { int size = memoizedSize;
return this; if (size != -1) return size;
}
cachedSize = -1;
if (other.hasTalentId()) {
setTalentId(other.talentId);
}
return this;
}
@Override size = 0;
public EnableRogueTalentCsReq clear() { if (talentId_ != 0) {
if (isEmpty()) { size += com.google.protobuf.CodedOutputStream
return this; .computeUInt32Size(3, talentId_);
}
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) 104);
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; return size;
} }
@Override @java.lang.Override
@SuppressWarnings("fallthrough") public boolean equals(final java.lang.Object obj) {
public EnableRogueTalentCsReq mergeFrom(final ProtoSource input) throws IOException { if (obj == this) {
// Enabled Fall-Through Optimization (QuickBuffers) return true;
int tag = input.readTag();
while (true) {
switch (tag) {
case 104: {
// 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);
}
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;
} }
@Override @java.lang.Override
public void writeTo(final JsonSink output) throws IOException { public int hashCode() {
output.beginObject(); if (memoizedHashCode != 0) {
if ((bitField0_ & 0x00000001) != 0) { return memoizedHashCode;
output.writeUInt32(FieldNames.talentId, talentId);
} }
output.endObject(); 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;
} }
@Override public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
public EnableRogueTalentCsReq mergeFrom(final JsonSource input) throws IOException { java.nio.ByteBuffer data)
if (!input.beginObject()) { 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;
return this; return this;
} }
while (!input.isAtEnd()) {
switch (input.readFieldHash()) { @java.lang.Override
case -615305433: public com.google.protobuf.Descriptors.Descriptor
case -1894577842: { getDescriptorForType() {
if (input.isAtField(FieldNames.talentId)) { return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.internal_static_EnableRogueTalentCsReq_descriptor;
if (!input.trySkipNullValue()) { }
talentId = input.readUInt32();
bitField0_ |= 0x00000001; @java.lang.Override
} public emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq getDefaultInstanceForType() {
} else { return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq.getDefaultInstance();
input.skipUnknownField(); }
}
break; @java.lang.Override
} public emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq build() {
default: { emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq result = buildPartial();
input.skipUnknownField(); if (!result.isInitialized()) {
break; 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_;
} }
} }
input.endObject();
return this;
}
@Override @java.lang.Override
public EnableRogueTalentCsReq clone() { public Builder mergeFrom(com.google.protobuf.Message other) {
return new EnableRogueTalentCsReq().copyFrom(this); if (other instanceof emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq) {
} return mergeFrom((emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq)other);
} else {
@Override super.mergeFrom(other);
public boolean isEmpty() { return this;
return ((bitField0_) == 0); }
}
public static EnableRogueTalentCsReq parseFrom(final byte[] data) throws
InvalidProtocolBufferException {
return ProtoMessage.mergeFrom(new EnableRogueTalentCsReq(), data).checkInitialized();
}
public static EnableRogueTalentCsReq parseFrom(final ProtoSource input) throws IOException {
return ProtoMessage.mergeFrom(new EnableRogueTalentCsReq(), input).checkInitialized();
}
public static EnableRogueTalentCsReq parseFrom(final JsonSource input) throws IOException {
return ProtoMessage.mergeFrom(new EnableRogueTalentCsReq(), input).checkInitialized();
}
/**
* @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();
} }
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();
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)
* Contains name constants used for serializing JSON private static final emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq DEFAULT_INSTANCE;
*/ static {
static class FieldNames { DEFAULT_INSTANCE = new emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq();
static final FieldName talentId = FieldName.forField("talentId", "talent_id");
} }
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());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<EnableRogueTalentCsReq> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<EnableRogueTalentCsReq> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
} }
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 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();
}
// @@protoc_insertion_point(outer_class_scope)
} }

View File

@@ -1,259 +1,566 @@
// Code generated by protocol buffer compiler. Do not edit! // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: MazeGroup.proto
// Protobuf Java Version: 4.26.0-rc1
package emu.lunarcore.proto; 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 { 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} * Protobuf type {@code MazeGroup}
*/ */
public static final class MazeGroup extends ProtoMessage<MazeGroup> implements Cloneable { public static final class MazeGroup extends
private static final long serialVersionUID = 0L; com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:MazeGroup)
/** MazeGroupOrBuilder {
* <code>optional uint32 group_id = 6;</code> private static final long serialVersionUID = 0L;
*/ static {
private int groupId; 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);
}
private MazeGroup() { private MazeGroup() {
} }
/** public static final com.google.protobuf.Descriptors.Descriptor
* @return a new empty instance of {@code MazeGroup} getDescriptor() {
*/ return emu.lunarcore.proto.MazeGroupOuterClass.internal_static_MazeGroup_descriptor;
public static MazeGroup newInstance() {
return new MazeGroup();
} }
/** @java.lang.Override
* <code>optional uint32 group_id = 6;</code> protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
* @return whether the groupId field is set internalGetFieldAccessorTable() {
*/ return emu.lunarcore.proto.MazeGroupOuterClass.internal_static_MazeGroup_fieldAccessorTable
public boolean hasGroupId() { .ensureFieldAccessorsInitialized(
return (bitField0_ & 0x00000001) != 0; 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>optional uint32 group_id = 6;</code> * <code>uint32 group_id = 6;</code>
* @return this * @return The groupId.
*/
public MazeGroup clearGroupId() {
bitField0_ &= ~0x00000001;
groupId = 0;
return this;
}
/**
* <code>optional uint32 group_id = 6;</code>
* @return the groupId
*/ */
@java.lang.Override
public int getGroupId() { public int getGroupId() {
return groupId; return groupId_;
} }
public static final int MODIFY_TIME_FIELD_NUMBER = 2;
private long modifyTime_ = 0L;
/** /**
* <code>optional uint32 group_id = 6;</code> * <code>int64 modify_time = 2;</code>
* @param value the groupId to set * @return The modifyTime.
* @return this
*/ */
public MazeGroup setGroupId(final int value) { @java.lang.Override
bitField0_ |= 0x00000001; public long getModifyTime() {
groupId = value; return modifyTime_;
return this;
} }
@Override private byte memoizedIsInitialized = -1;
public MazeGroup copyFrom(final MazeGroup other) { @java.lang.Override
cachedSize = other.cachedSize; public final boolean isInitialized() {
if ((bitField0_ | other.bitField0_) != 0) { byte isInitialized = memoizedIsInitialized;
bitField0_ = other.bitField0_; if (isInitialized == 1) return true;
groupId = other.groupId; if (isInitialized == 0) return false;
}
return this; memoizedIsInitialized = 1;
return true;
} }
@Override @java.lang.Override
public MazeGroup mergeFrom(final MazeGroup other) { public void writeTo(com.google.protobuf.CodedOutputStream output)
if (other.isEmpty()) { throws java.io.IOException {
return this; if (modifyTime_ != 0L) {
output.writeInt64(2, modifyTime_);
} }
cachedSize = -1; if (groupId_ != 0) {
if (other.hasGroupId()) { output.writeUInt32(6, groupId_);
setGroupId(other.groupId);
} }
return this; getUnknownFields().writeTo(output);
} }
@Override @java.lang.Override
public MazeGroup clear() { public int getSerializedSize() {
if (isEmpty()) { int size = memoizedSize;
return this; if (size != -1) return size;
}
cachedSize = -1;
bitField0_ = 0;
groupId = 0;
return this;
}
@Override size = 0;
public MazeGroup clearQuick() { if (modifyTime_ != 0L) {
if (isEmpty()) { size += com.google.protobuf.CodedOutputStream
return this; .computeInt64Size(2, modifyTime_);
} }
cachedSize = -1; if (groupId_ != 0) {
bitField0_ = 0; size += com.google.protobuf.CodedOutputStream
return this; .computeUInt32Size(6, groupId_);
}
@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_
&& (!hasGroupId() || groupId == other.groupId);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 48);
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; return size;
} }
@Override @java.lang.Override
@SuppressWarnings("fallthrough") public boolean equals(final java.lang.Object obj) {
public MazeGroup mergeFrom(final ProtoSource input) throws IOException { if (obj == this) {
// Enabled Fall-Through Optimization (QuickBuffers) return true;
int tag = input.readTag();
while (true) {
switch (tag) {
case 48: {
// 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.MazeGroupOuterClass.MazeGroup)) {
return super.equals(obj);
}
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;
} }
@Override @java.lang.Override
public void writeTo(final JsonSink output) throws IOException { public int hashCode() {
output.beginObject(); if (memoizedHashCode != 0) {
if ((bitField0_ & 0x00000001) != 0) { return memoizedHashCode;
output.writeUInt32(FieldNames.groupId, groupId);
} }
output.endObject(); 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;
} }
@Override public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
public MazeGroup mergeFrom(final JsonSource input) throws IOException { java.nio.ByteBuffer data)
if (!input.beginObject()) { 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;
return this; return this;
} }
while (!input.isAtEnd()) {
switch (input.readFieldHash()) { @java.lang.Override
case 293428218: public com.google.protobuf.Descriptors.Descriptor
case 506361563: { getDescriptorForType() {
if (input.isAtField(FieldNames.groupId)) { return emu.lunarcore.proto.MazeGroupOuterClass.internal_static_MazeGroup_descriptor;
if (!input.trySkipNullValue()) { }
groupId = input.readUInt32();
bitField0_ |= 0x00000001; @java.lang.Override
} public emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup getDefaultInstanceForType() {
} else { return emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup.getDefaultInstance();
input.skipUnknownField(); }
}
break; @java.lang.Override
} public emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup build() {
default: { emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup result = buildPartial();
input.skipUnknownField(); if (!result.isInitialized()) {
break; 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_;
} }
} }
input.endObject();
return this;
}
@Override @java.lang.Override
public MazeGroup clone() { public Builder mergeFrom(com.google.protobuf.Message other) {
return new MazeGroup().copyFrom(this); if (other instanceof emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup) {
} return mergeFrom((emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup)other);
} else {
@Override super.mergeFrom(other);
public boolean isEmpty() { return this;
return ((bitField0_) == 0); }
}
public static MazeGroup parseFrom(final byte[] data) throws InvalidProtocolBufferException {
return ProtoMessage.mergeFrom(new MazeGroup(), data).checkInitialized();
}
public static MazeGroup parseFrom(final ProtoSource input) throws IOException {
return ProtoMessage.mergeFrom(new MazeGroup(), input).checkInitialized();
}
public static MazeGroup parseFrom(final JsonSource input) throws IOException {
return ProtoMessage.mergeFrom(new MazeGroup(), input).checkInitialized();
}
/**
* @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();
} }
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();
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)
* Contains name constants used for serializing JSON private static final emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup DEFAULT_INSTANCE;
*/ static {
static class FieldNames { DEFAULT_INSTANCE = new emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup();
static final FieldName groupId = FieldName.forField("groupId", "group_id");
} }
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());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<MazeGroup> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<MazeGroup> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
} }
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 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();
}
// @@protoc_insertion_point(outer_class_scope)
} }

File diff suppressed because it is too large Load Diff

View File

@@ -1,259 +1,638 @@
// Code generated by protocol buffer compiler. Do not edit! // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SceneMonsterWaveParam.proto
// Protobuf Java Version: 4.26.0-rc1
package emu.lunarcore.proto; 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 SceneMonsterWaveParamOuterClass { public final class SceneMonsterWaveParamOuterClass {
private SceneMonsterWaveParamOuterClass() {}
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 26,
/* patch= */ 0,
/* suffix= */ "-rc1",
SceneMonsterWaveParamOuterClass.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 SceneMonsterWaveParamOrBuilder extends
// @@protoc_insertion_point(interface_extends:SceneMonsterWaveParam)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 hard_level_group = 3;</code>
* @return The hardLevelGroup.
*/
int getHardLevelGroup();
/**
* <code>uint32 level = 8;</code>
* @return The level.
*/
int getLevel();
/**
* <code>uint32 elite_group = 10;</code>
* @return The eliteGroup.
*/
int getEliteGroup();
}
/** /**
* Protobuf type {@code SceneMonsterWaveParam} * Protobuf type {@code SceneMonsterWaveParam}
*/ */
public static final class SceneMonsterWaveParam extends ProtoMessage<SceneMonsterWaveParam> implements Cloneable { public static final class SceneMonsterWaveParam extends
private static final long serialVersionUID = 0L; com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:SceneMonsterWaveParam)
/** SceneMonsterWaveParamOrBuilder {
* <code>optional uint32 level = 8;</code> private static final long serialVersionUID = 0L;
*/ static {
private int level; com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 26,
/* patch= */ 0,
/* suffix= */ "-rc1",
SceneMonsterWaveParam.class.getName());
}
// Use SceneMonsterWaveParam.newBuilder() to construct.
private SceneMonsterWaveParam(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}
private SceneMonsterWaveParam() { private SceneMonsterWaveParam() {
} }
/** public static final com.google.protobuf.Descriptors.Descriptor
* @return a new empty instance of {@code SceneMonsterWaveParam} getDescriptor() {
*/ return emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.internal_static_SceneMonsterWaveParam_descriptor;
public static SceneMonsterWaveParam newInstance() {
return new SceneMonsterWaveParam();
} }
/** @java.lang.Override
* <code>optional uint32 level = 8;</code> protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
* @return whether the level field is set internalGetFieldAccessorTable() {
*/ return emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.internal_static_SceneMonsterWaveParam_fieldAccessorTable
public boolean hasLevel() { .ensureFieldAccessorsInitialized(
return (bitField0_ & 0x00000001) != 0; emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam.class, emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam.Builder.class);
} }
public static final int HARD_LEVEL_GROUP_FIELD_NUMBER = 3;
private int hardLevelGroup_ = 0;
/** /**
* <code>optional uint32 level = 8;</code> * <code>uint32 hard_level_group = 3;</code>
* @return this * @return The hardLevelGroup.
*/ */
public SceneMonsterWaveParam clearLevel() { @java.lang.Override
bitField0_ &= ~0x00000001; public int getHardLevelGroup() {
level = 0; return hardLevelGroup_;
return this;
} }
public static final int LEVEL_FIELD_NUMBER = 8;
private int level_ = 0;
/** /**
* <code>optional uint32 level = 8;</code> * <code>uint32 level = 8;</code>
* @return the level * @return The level.
*/ */
@java.lang.Override
public int getLevel() { public int getLevel() {
return level; return level_;
} }
public static final int ELITE_GROUP_FIELD_NUMBER = 10;
private int eliteGroup_ = 0;
/** /**
* <code>optional uint32 level = 8;</code> * <code>uint32 elite_group = 10;</code>
* @param value the level to set * @return The eliteGroup.
* @return this
*/ */
public SceneMonsterWaveParam setLevel(final int value) { @java.lang.Override
bitField0_ |= 0x00000001; public int getEliteGroup() {
level = value; return eliteGroup_;
return this;
} }
@Override private byte memoizedIsInitialized = -1;
public SceneMonsterWaveParam copyFrom(final SceneMonsterWaveParam other) { @java.lang.Override
cachedSize = other.cachedSize; public final boolean isInitialized() {
if ((bitField0_ | other.bitField0_) != 0) { byte isInitialized = memoizedIsInitialized;
bitField0_ = other.bitField0_; if (isInitialized == 1) return true;
level = other.level; if (isInitialized == 0) return false;
}
return this; memoizedIsInitialized = 1;
return true;
} }
@Override @java.lang.Override
public SceneMonsterWaveParam mergeFrom(final SceneMonsterWaveParam other) { public void writeTo(com.google.protobuf.CodedOutputStream output)
if (other.isEmpty()) { throws java.io.IOException {
return this; if (hardLevelGroup_ != 0) {
output.writeUInt32(3, hardLevelGroup_);
} }
cachedSize = -1; if (level_ != 0) {
if (other.hasLevel()) { output.writeUInt32(8, level_);
setLevel(other.level);
} }
return this; if (eliteGroup_ != 0) {
output.writeUInt32(10, eliteGroup_);
}
getUnknownFields().writeTo(output);
} }
@Override @java.lang.Override
public SceneMonsterWaveParam clear() { public int getSerializedSize() {
if (isEmpty()) { int size = memoizedSize;
return this; if (size != -1) return size;
}
cachedSize = -1;
bitField0_ = 0;
level = 0;
return this;
}
@Override size = 0;
public SceneMonsterWaveParam clearQuick() { if (hardLevelGroup_ != 0) {
if (isEmpty()) { size += com.google.protobuf.CodedOutputStream
return this; .computeUInt32Size(3, hardLevelGroup_);
} }
cachedSize = -1; if (level_ != 0) {
bitField0_ = 0; size += com.google.protobuf.CodedOutputStream
return this; .computeUInt32Size(8, level_);
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
} }
if (!(o instanceof SceneMonsterWaveParam)) { if (eliteGroup_ != 0) {
return false; size += com.google.protobuf.CodedOutputStream
} .computeUInt32Size(10, eliteGroup_);
SceneMonsterWaveParam other = (SceneMonsterWaveParam) o;
return bitField0_ == other.bitField0_
&& (!hasLevel() || level == other.level);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(level);
}
}
@Override
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
} }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size; return size;
} }
@Override @java.lang.Override
@SuppressWarnings("fallthrough") public boolean equals(final java.lang.Object obj) {
public SceneMonsterWaveParam mergeFrom(final ProtoSource input) throws IOException { if (obj == this) {
// Enabled Fall-Through Optimization (QuickBuffers) return true;
int tag = input.readTag();
while (true) {
switch (tag) {
case 64: {
// level
level = 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.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam)) {
return super.equals(obj);
}
emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam other = (emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam) obj;
if (getHardLevelGroup()
!= other.getHardLevelGroup()) return false;
if (getLevel()
!= other.getLevel()) return false;
if (getEliteGroup()
!= other.getEliteGroup()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
} }
@Override @java.lang.Override
public void writeTo(final JsonSink output) throws IOException { public int hashCode() {
output.beginObject(); if (memoizedHashCode != 0) {
if ((bitField0_ & 0x00000001) != 0) { return memoizedHashCode;
output.writeUInt32(FieldNames.level, level);
} }
output.endObject(); int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + HARD_LEVEL_GROUP_FIELD_NUMBER;
hash = (53 * hash) + getHardLevelGroup();
hash = (37 * hash) + LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getLevel();
hash = (37 * hash) + ELITE_GROUP_FIELD_NUMBER;
hash = (53 * hash) + getEliteGroup();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
} }
@Override public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(
public SceneMonsterWaveParam mergeFrom(final JsonSource input) throws IOException { java.nio.ByteBuffer data)
if (!input.beginObject()) { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam 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.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam 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.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam 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.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam 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.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam 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.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam 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 SceneMonsterWaveParam}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:SceneMonsterWaveParam)
emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParamOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.internal_static_SceneMonsterWaveParam_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.internal_static_SceneMonsterWaveParam_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam.class, emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam.Builder.class);
}
// Construct using emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
hardLevelGroup_ = 0;
level_ = 0;
eliteGroup_ = 0;
return this; return this;
} }
while (!input.isAtEnd()) {
switch (input.readFieldHash()) { @java.lang.Override
case 102865796: { public com.google.protobuf.Descriptors.Descriptor
if (input.isAtField(FieldNames.level)) { getDescriptorForType() {
if (!input.trySkipNullValue()) { return emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.internal_static_SceneMonsterWaveParam_descriptor;
level = input.readUInt32(); }
bitField0_ |= 0x00000001;
} @java.lang.Override
} else { public emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam getDefaultInstanceForType() {
input.skipUnknownField(); return emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam.getDefaultInstance();
} }
break;
} @java.lang.Override
default: { public emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam build() {
input.skipUnknownField(); emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam result = buildPartial();
break; if (!result.isInitialized()) {
} throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam buildPartial() {
emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam result = new emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.hardLevelGroup_ = hardLevelGroup_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.level_ = level_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.eliteGroup_ = eliteGroup_;
} }
} }
input.endObject();
return this;
}
@Override @java.lang.Override
public SceneMonsterWaveParam clone() { public Builder mergeFrom(com.google.protobuf.Message other) {
return new SceneMonsterWaveParam().copyFrom(this); if (other instanceof emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam) {
} return mergeFrom((emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam)other);
} else {
@Override super.mergeFrom(other);
public boolean isEmpty() { return this;
return ((bitField0_) == 0); }
}
public static SceneMonsterWaveParam parseFrom(final byte[] data) throws
InvalidProtocolBufferException {
return ProtoMessage.mergeFrom(new SceneMonsterWaveParam(), data).checkInitialized();
}
public static SceneMonsterWaveParam parseFrom(final ProtoSource input) throws IOException {
return ProtoMessage.mergeFrom(new SceneMonsterWaveParam(), input).checkInitialized();
}
public static SceneMonsterWaveParam parseFrom(final JsonSource input) throws IOException {
return ProtoMessage.mergeFrom(new SceneMonsterWaveParam(), input).checkInitialized();
}
/**
* @return factory for creating SceneMonsterWaveParam messages
*/
public static MessageFactory<SceneMonsterWaveParam> getFactory() {
return SceneMonsterWaveParamFactory.INSTANCE;
}
private enum SceneMonsterWaveParamFactory implements MessageFactory<SceneMonsterWaveParam> {
INSTANCE;
@Override
public SceneMonsterWaveParam create() {
return SceneMonsterWaveParam.newInstance();
} }
public Builder mergeFrom(emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam other) {
if (other == emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam.getDefaultInstance()) return this;
if (other.getHardLevelGroup() != 0) {
setHardLevelGroup(other.getHardLevelGroup());
}
if (other.getLevel() != 0) {
setLevel(other.getLevel());
}
if (other.getEliteGroup() != 0) {
setEliteGroup(other.getEliteGroup());
}
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: {
hardLevelGroup_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 24
case 64: {
level_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 64
case 80: {
eliteGroup_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 80
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 hardLevelGroup_ ;
/**
* <code>uint32 hard_level_group = 3;</code>
* @return The hardLevelGroup.
*/
@java.lang.Override
public int getHardLevelGroup() {
return hardLevelGroup_;
}
/**
* <code>uint32 hard_level_group = 3;</code>
* @param value The hardLevelGroup to set.
* @return This builder for chaining.
*/
public Builder setHardLevelGroup(int value) {
hardLevelGroup_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>uint32 hard_level_group = 3;</code>
* @return This builder for chaining.
*/
public Builder clearHardLevelGroup() {
bitField0_ = (bitField0_ & ~0x00000001);
hardLevelGroup_ = 0;
onChanged();
return this;
}
private int level_ ;
/**
* <code>uint32 level = 8;</code>
* @return The level.
*/
@java.lang.Override
public int getLevel() {
return level_;
}
/**
* <code>uint32 level = 8;</code>
* @param value The level to set.
* @return This builder for chaining.
*/
public Builder setLevel(int value) {
level_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>uint32 level = 8;</code>
* @return This builder for chaining.
*/
public Builder clearLevel() {
bitField0_ = (bitField0_ & ~0x00000002);
level_ = 0;
onChanged();
return this;
}
private int eliteGroup_ ;
/**
* <code>uint32 elite_group = 10;</code>
* @return The eliteGroup.
*/
@java.lang.Override
public int getEliteGroup() {
return eliteGroup_;
}
/**
* <code>uint32 elite_group = 10;</code>
* @param value The eliteGroup to set.
* @return This builder for chaining.
*/
public Builder setEliteGroup(int value) {
eliteGroup_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>uint32 elite_group = 10;</code>
* @return This builder for chaining.
*/
public Builder clearEliteGroup() {
bitField0_ = (bitField0_ & ~0x00000004);
eliteGroup_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:SceneMonsterWaveParam)
} }
/** // @@protoc_insertion_point(class_scope:SceneMonsterWaveParam)
* Contains name constants used for serializing JSON private static final emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam DEFAULT_INSTANCE;
*/ static {
static class FieldNames { DEFAULT_INSTANCE = new emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam();
static final FieldName level = FieldName.forField("level");
} }
public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<SceneMonsterWaveParam>
PARSER = new com.google.protobuf.AbstractParser<SceneMonsterWaveParam>() {
@java.lang.Override
public SceneMonsterWaveParam 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());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<SceneMonsterWaveParam> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<SceneMonsterWaveParam> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
} }
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_SceneMonsterWaveParam_descriptor;
private static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_SceneMonsterWaveParam_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\033SceneMonsterWaveParam.proto\"U\n\025SceneMo" +
"nsterWaveParam\022\030\n\020hard_level_group\030\003 \001(\r" +
"\022\r\n\005level\030\010 \001(\r\022\023\n\013elite_group\030\n \001(\rB\025\n\023" +
"emu.lunarcore.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_SceneMonsterWaveParam_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_SceneMonsterWaveParam_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_SceneMonsterWaveParam_descriptor,
new java.lang.String[] { "HardLevelGroup", "Level", "EliteGroup", });
descriptor.resolveAllFeatures();
}
// @@protoc_insertion_point(outer_class_scope)
} }

View File

@@ -1,260 +1,493 @@
// Code generated by protocol buffer compiler. Do not edit! // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TakeChallengeRewardCsReq.proto
// Protobuf Java Version: 4.26.0-rc1
package emu.lunarcore.proto; 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 { 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} * Protobuf type {@code TakeChallengeRewardCsReq}
*/ */
public static final class TakeChallengeRewardCsReq extends ProtoMessage<TakeChallengeRewardCsReq> implements Cloneable { public static final class TakeChallengeRewardCsReq extends
private static final long serialVersionUID = 0L; com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:TakeChallengeRewardCsReq)
/** TakeChallengeRewardCsReqOrBuilder {
* <code>optional uint32 group_id = 1;</code> private static final long serialVersionUID = 0L;
*/ static {
private int groupId; 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);
}
private TakeChallengeRewardCsReq() { private TakeChallengeRewardCsReq() {
} }
/** public static final com.google.protobuf.Descriptors.Descriptor
* @return a new empty instance of {@code TakeChallengeRewardCsReq} getDescriptor() {
*/ return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.internal_static_TakeChallengeRewardCsReq_descriptor;
public static TakeChallengeRewardCsReq newInstance() {
return new TakeChallengeRewardCsReq();
} }
/** @java.lang.Override
* <code>optional uint32 group_id = 1;</code> protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
* @return whether the groupId field is set internalGetFieldAccessorTable() {
*/ return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.internal_static_TakeChallengeRewardCsReq_fieldAccessorTable
public boolean hasGroupId() { .ensureFieldAccessorsInitialized(
return (bitField0_ & 0x00000001) != 0; 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>optional uint32 group_id = 1;</code> * <code>uint32 group_id = 1;</code>
* @return this * @return The groupId.
*/
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() { public int getGroupId() {
return groupId; return groupId_;
} }
/** private byte memoizedIsInitialized = -1;
* <code>optional uint32 group_id = 1;</code> @java.lang.Override
* @param value the groupId to set public final boolean isInitialized() {
* @return this byte isInitialized = memoizedIsInitialized;
*/ if (isInitialized == 1) return true;
public TakeChallengeRewardCsReq setGroupId(final int value) { if (isInitialized == 0) return false;
bitField0_ |= 0x00000001;
groupId = value; memoizedIsInitialized = 1;
return this; return true;
} }
@Override @java.lang.Override
public TakeChallengeRewardCsReq copyFrom(final TakeChallengeRewardCsReq other) { public void writeTo(com.google.protobuf.CodedOutputStream output)
cachedSize = other.cachedSize; throws java.io.IOException {
if ((bitField0_ | other.bitField0_) != 0) { if (groupId_ != 0) {
bitField0_ = other.bitField0_; output.writeUInt32(1, groupId_);
groupId = other.groupId;
} }
return this; getUnknownFields().writeTo(output);
} }
@Override @java.lang.Override
public TakeChallengeRewardCsReq mergeFrom(final TakeChallengeRewardCsReq other) { public int getSerializedSize() {
if (other.isEmpty()) { int size = memoizedSize;
return this; if (size != -1) return size;
}
cachedSize = -1;
if (other.hasGroupId()) {
setGroupId(other.groupId);
}
return this;
}
@Override size = 0;
public TakeChallengeRewardCsReq clear() { if (groupId_ != 0) {
if (isEmpty()) { size += com.google.protobuf.CodedOutputStream
return this; .computeUInt32Size(1, groupId_);
}
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; return size;
} }
@Override @java.lang.Override
@SuppressWarnings("fallthrough") public boolean equals(final java.lang.Object obj) {
public TakeChallengeRewardCsReq mergeFrom(final ProtoSource input) throws IOException { if (obj == this) {
// Enabled Fall-Through Optimization (QuickBuffers) return true;
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);
}
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;
} }
@Override @java.lang.Override
public void writeTo(final JsonSink output) throws IOException { public int hashCode() {
output.beginObject(); if (memoizedHashCode != 0) {
if ((bitField0_ & 0x00000001) != 0) { return memoizedHashCode;
output.writeUInt32(FieldNames.groupId, groupId);
} }
output.endObject(); 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;
} }
@Override public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
public TakeChallengeRewardCsReq mergeFrom(final JsonSource input) throws IOException { java.nio.ByteBuffer data)
if (!input.beginObject()) { 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;
return this; return this;
} }
while (!input.isAtEnd()) {
switch (input.readFieldHash()) { @java.lang.Override
case 293428218: public com.google.protobuf.Descriptors.Descriptor
case 506361563: { getDescriptorForType() {
if (input.isAtField(FieldNames.groupId)) { return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.internal_static_TakeChallengeRewardCsReq_descriptor;
if (!input.trySkipNullValue()) { }
groupId = input.readUInt32();
bitField0_ |= 0x00000001; @java.lang.Override
} public emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq getDefaultInstanceForType() {
} else { return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq.getDefaultInstance();
input.skipUnknownField(); }
}
break; @java.lang.Override
} public emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq build() {
default: { emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq result = buildPartial();
input.skipUnknownField(); if (!result.isInitialized()) {
break; 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_;
} }
} }
input.endObject();
return this;
}
@Override @java.lang.Override
public TakeChallengeRewardCsReq clone() { public Builder mergeFrom(com.google.protobuf.Message other) {
return new TakeChallengeRewardCsReq().copyFrom(this); if (other instanceof emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq) {
} return mergeFrom((emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq)other);
} else {
@Override super.mergeFrom(other);
public boolean isEmpty() { return this;
return ((bitField0_) == 0); }
}
public static TakeChallengeRewardCsReq parseFrom(final byte[] data) throws
InvalidProtocolBufferException {
return ProtoMessage.mergeFrom(new TakeChallengeRewardCsReq(), data).checkInitialized();
}
public static TakeChallengeRewardCsReq parseFrom(final ProtoSource input) throws IOException {
return ProtoMessage.mergeFrom(new TakeChallengeRewardCsReq(), input).checkInitialized();
}
public static TakeChallengeRewardCsReq parseFrom(final JsonSource input) throws IOException {
return ProtoMessage.mergeFrom(new TakeChallengeRewardCsReq(), input).checkInitialized();
}
/**
* @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();
} }
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();
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)
* Contains name constants used for serializing JSON private static final emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq DEFAULT_INSTANCE;
*/ static {
static class FieldNames { DEFAULT_INSTANCE = new emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq();
static final FieldName groupId = FieldName.forField("groupId", "group_id");
} }
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());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TakeChallengeRewardCsReq> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TakeChallengeRewardCsReq> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
} }
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 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();
}
// @@protoc_insertion_point(outer_class_scope)
} }

View File

@@ -1,301 +1,686 @@
// Code generated by protocol buffer compiler. Do not edit! // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TakeMailAttachmentCsReq.proto
// Protobuf Java Version: 4.26.0-rc1
package emu.lunarcore.proto; 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;
import us.hebi.quickbuf.RepeatedInt;
public final class TakeMailAttachmentCsReqOuterClass { public final class TakeMailAttachmentCsReqOuterClass {
private TakeMailAttachmentCsReqOuterClass() {}
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 26,
/* patch= */ 0,
/* suffix= */ "-rc1",
TakeMailAttachmentCsReqOuterClass.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 TakeMailAttachmentCsReqOrBuilder extends
// @@protoc_insertion_point(interface_extends:TakeMailAttachmentCsReq)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated uint32 mail_id_list = 12;</code>
* @return A list containing the mailIdList.
*/
java.util.List<java.lang.Integer> getMailIdListList();
/**
* <code>repeated uint32 mail_id_list = 12;</code>
* @return The count of mailIdList.
*/
int getMailIdListCount();
/**
* <code>repeated uint32 mail_id_list = 12;</code>
* @param index The index of the element to return.
* @return The mailIdList at the given index.
*/
int getMailIdList(int index);
/**
* <code>uint32 optional_reward_id = 9;</code>
* @return The optionalRewardId.
*/
int getOptionalRewardId();
}
/** /**
* Protobuf type {@code TakeMailAttachmentCsReq} * Protobuf type {@code TakeMailAttachmentCsReq}
*/ */
public static final class TakeMailAttachmentCsReq extends ProtoMessage<TakeMailAttachmentCsReq> implements Cloneable { public static final class TakeMailAttachmentCsReq extends
private static final long serialVersionUID = 0L; com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:TakeMailAttachmentCsReq)
/** TakeMailAttachmentCsReqOrBuilder {
* <code>repeated uint32 mail_id_list = 12;</code> private static final long serialVersionUID = 0L;
*/ static {
private final RepeatedInt mailIdList = RepeatedInt.newEmptyInstance(); com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 26,
/* patch= */ 0,
/* suffix= */ "-rc1",
TakeMailAttachmentCsReq.class.getName());
}
// Use TakeMailAttachmentCsReq.newBuilder() to construct.
private TakeMailAttachmentCsReq(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}
private TakeMailAttachmentCsReq() { private TakeMailAttachmentCsReq() {
mailIdList_ = emptyIntList();
} }
/** public static final com.google.protobuf.Descriptors.Descriptor
* @return a new empty instance of {@code TakeMailAttachmentCsReq} getDescriptor() {
*/ return emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.internal_static_TakeMailAttachmentCsReq_descriptor;
public static TakeMailAttachmentCsReq newInstance() {
return new TakeMailAttachmentCsReq();
} }
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.internal_static_TakeMailAttachmentCsReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq.class, emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq.Builder.class);
}
public static final int MAIL_ID_LIST_FIELD_NUMBER = 12;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList mailIdList_ =
emptyIntList();
/** /**
* <code>repeated uint32 mail_id_list = 12;</code> * <code>repeated uint32 mail_id_list = 12;</code>
* @return whether the mailIdList field is set * @return A list containing the mailIdList.
*/ */
public boolean hasMailIdList() { @java.lang.Override
return (bitField0_ & 0x00000001) != 0; public java.util.List<java.lang.Integer>
getMailIdListList() {
return mailIdList_;
} }
/** /**
* <code>repeated uint32 mail_id_list = 12;</code> * <code>repeated uint32 mail_id_list = 12;</code>
* @return this * @return The count of mailIdList.
*/ */
public TakeMailAttachmentCsReq clearMailIdList() { public int getMailIdListCount() {
bitField0_ &= ~0x00000001; return mailIdList_.size();
mailIdList.clear();
return this;
} }
/** /**
* <code>repeated uint32 mail_id_list = 12;</code> * <code>repeated uint32 mail_id_list = 12;</code>
* * @param index The index of the element to return.
* This method returns the internal storage object without modifying any has state. * @return The mailIdList at the given index.
* The returned object should not be modified and be treated as read-only.
*
* Use {@link #getMutableMailIdList()} if you want to modify it.
*
* @return internal storage object for reading
*/ */
public RepeatedInt getMailIdList() { public int getMailIdList(int index) {
return mailIdList; return mailIdList_.getInt(index);
} }
private int mailIdListMemoizedSerializedSize = -1;
public static final int OPTIONAL_REWARD_ID_FIELD_NUMBER = 9;
private int optionalRewardId_ = 0;
/** /**
* <code>repeated uint32 mail_id_list = 12;</code> * <code>uint32 optional_reward_id = 9;</code>
* * @return The optionalRewardId.
* 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 RepeatedInt getMutableMailIdList() { @java.lang.Override
bitField0_ |= 0x00000001; public int getOptionalRewardId() {
return mailIdList; return optionalRewardId_;
} }
/** private byte memoizedIsInitialized = -1;
* <code>repeated uint32 mail_id_list = 12;</code> @java.lang.Override
* @param value the mailIdList to add public final boolean isInitialized() {
* @return this byte isInitialized = memoizedIsInitialized;
*/ if (isInitialized == 1) return true;
public TakeMailAttachmentCsReq addMailIdList(final int value) { if (isInitialized == 0) return false;
bitField0_ |= 0x00000001;
mailIdList.add(value); memoizedIsInitialized = 1;
return this; return true;
} }
/** @java.lang.Override
* <code>repeated uint32 mail_id_list = 12;</code> public void writeTo(com.google.protobuf.CodedOutputStream output)
* @param values the mailIdList to add throws java.io.IOException {
* @return this getSerializedSize();
*/ if (optionalRewardId_ != 0) {
public TakeMailAttachmentCsReq addAllMailIdList(final int... values) { output.writeUInt32(9, optionalRewardId_);
bitField0_ |= 0x00000001;
mailIdList.addAll(values);
return this;
}
@Override
public TakeMailAttachmentCsReq copyFrom(final TakeMailAttachmentCsReq other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
mailIdList.copyFrom(other.mailIdList);
} }
return this; if (getMailIdListList().size() > 0) {
output.writeUInt32NoTag(98);
output.writeUInt32NoTag(mailIdListMemoizedSerializedSize);
}
for (int i = 0; i < mailIdList_.size(); i++) {
output.writeUInt32NoTag(mailIdList_.getInt(i));
}
getUnknownFields().writeTo(output);
} }
@Override @java.lang.Override
public TakeMailAttachmentCsReq mergeFrom(final TakeMailAttachmentCsReq other) { public int getSerializedSize() {
if (other.isEmpty()) { int size = memoizedSize;
return this; if (size != -1) return size;
}
cachedSize = -1;
if (other.hasMailIdList()) {
getMutableMailIdList().addAll(other.mailIdList);
}
return this;
}
@Override size = 0;
public TakeMailAttachmentCsReq clear() { if (optionalRewardId_ != 0) {
if (isEmpty()) { size += com.google.protobuf.CodedOutputStream
return this; .computeUInt32Size(9, optionalRewardId_);
} }
cachedSize = -1; {
bitField0_ = 0; int dataSize = 0;
mailIdList.clear(); for (int i = 0; i < mailIdList_.size(); i++) {
return this; dataSize += com.google.protobuf.CodedOutputStream
} .computeUInt32SizeNoTag(mailIdList_.getInt(i));
@Override
public TakeMailAttachmentCsReq clearQuick() {
if (isEmpty()) {
return this;
}
cachedSize = -1;
bitField0_ = 0;
mailIdList.clear();
return this;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (!(o instanceof TakeMailAttachmentCsReq)) {
return false;
}
TakeMailAttachmentCsReq other = (TakeMailAttachmentCsReq) o;
return bitField0_ == other.bitField0_
&& (!hasMailIdList() || mailIdList.equals(other.mailIdList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
for (int i = 0; i < mailIdList.length(); i++) {
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(mailIdList.array()[i]);
} }
size += dataSize;
if (!getMailIdListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
mailIdListMemoizedSerializedSize = dataSize;
} }
} size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@Override
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += (1 * mailIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(mailIdList);
}
return size; return size;
} }
@Override @java.lang.Override
@SuppressWarnings("fallthrough") public boolean equals(final java.lang.Object obj) {
public TakeMailAttachmentCsReq mergeFrom(final ProtoSource input) throws IOException { if (obj == this) {
// Enabled Fall-Through Optimization (QuickBuffers) return true;
int tag = input.readTag();
while (true) {
switch (tag) {
case 98: {
// mailIdList [packed=true]
input.readPackedUInt32(mailIdList, tag);
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 0) {
break;
}
}
case 0: {
return this;
}
default: {
if (!input.skipField(tag)) {
return this;
}
tag = input.readTag();
break;
}
case 96: {
// mailIdList [packed=false]
tag = input.readRepeatedUInt32(mailIdList, tag);
bitField0_ |= 0x00000001;
break;
}
}
} }
if (!(obj instanceof emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq)) {
return super.equals(obj);
}
emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq other = (emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq) obj;
if (!getMailIdListList()
.equals(other.getMailIdListList())) return false;
if (getOptionalRewardId()
!= other.getOptionalRewardId()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
} }
@Override @java.lang.Override
public void writeTo(final JsonSink output) throws IOException { public int hashCode() {
output.beginObject(); if (memoizedHashCode != 0) {
if ((bitField0_ & 0x00000001) != 0) { return memoizedHashCode;
output.writeRepeatedUInt32(FieldNames.mailIdList, mailIdList);
} }
output.endObject(); int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getMailIdListCount() > 0) {
hash = (37 * hash) + MAIL_ID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getMailIdListList().hashCode();
}
hash = (37 * hash) + OPTIONAL_REWARD_ID_FIELD_NUMBER;
hash = (53 * hash) + getOptionalRewardId();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
} }
@Override public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(
public TakeMailAttachmentCsReq mergeFrom(final JsonSource input) throws IOException { java.nio.ByteBuffer data)
if (!input.beginObject()) { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq 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.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq 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.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq 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.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq 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.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq 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.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq 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 TakeMailAttachmentCsReq}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:TakeMailAttachmentCsReq)
emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReqOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.internal_static_TakeMailAttachmentCsReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.internal_static_TakeMailAttachmentCsReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq.class, emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq.Builder.class);
}
// Construct using emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
mailIdList_ = emptyIntList();
optionalRewardId_ = 0;
return this; return this;
} }
while (!input.isAtEnd()) {
switch (input.readFieldHash()) { @java.lang.Override
case -1612269328: public com.google.protobuf.Descriptors.Descriptor
case 1599691450: { getDescriptorForType() {
if (input.isAtField(FieldNames.mailIdList)) { return emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.internal_static_TakeMailAttachmentCsReq_descriptor;
if (!input.trySkipNullValue()) { }
input.readRepeatedUInt32(mailIdList);
bitField0_ |= 0x00000001; @java.lang.Override
} public emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq getDefaultInstanceForType() {
} else { return emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq.getDefaultInstance();
input.skipUnknownField(); }
}
break; @java.lang.Override
} public emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq build() {
default: { emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq result = buildPartial();
input.skipUnknownField(); if (!result.isInitialized()) {
break; throw newUninitializedMessageException(result);
} }
return result;
}
@java.lang.Override
public emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq buildPartial() {
emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq result = new emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
mailIdList_.makeImmutable();
result.mailIdList_ = mailIdList_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.optionalRewardId_ = optionalRewardId_;
} }
} }
input.endObject();
return this;
}
@Override @java.lang.Override
public TakeMailAttachmentCsReq clone() { public Builder mergeFrom(com.google.protobuf.Message other) {
return new TakeMailAttachmentCsReq().copyFrom(this); if (other instanceof emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq) {
} return mergeFrom((emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq)other);
} else {
@Override super.mergeFrom(other);
public boolean isEmpty() { return this;
return ((bitField0_) == 0); }
}
public static TakeMailAttachmentCsReq parseFrom(final byte[] data) throws
InvalidProtocolBufferException {
return ProtoMessage.mergeFrom(new TakeMailAttachmentCsReq(), data).checkInitialized();
}
public static TakeMailAttachmentCsReq parseFrom(final ProtoSource input) throws IOException {
return ProtoMessage.mergeFrom(new TakeMailAttachmentCsReq(), input).checkInitialized();
}
public static TakeMailAttachmentCsReq parseFrom(final JsonSource input) throws IOException {
return ProtoMessage.mergeFrom(new TakeMailAttachmentCsReq(), input).checkInitialized();
}
/**
* @return factory for creating TakeMailAttachmentCsReq messages
*/
public static MessageFactory<TakeMailAttachmentCsReq> getFactory() {
return TakeMailAttachmentCsReqFactory.INSTANCE;
}
private enum TakeMailAttachmentCsReqFactory implements MessageFactory<TakeMailAttachmentCsReq> {
INSTANCE;
@Override
public TakeMailAttachmentCsReq create() {
return TakeMailAttachmentCsReq.newInstance();
} }
public Builder mergeFrom(emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq other) {
if (other == emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq.getDefaultInstance()) return this;
if (!other.mailIdList_.isEmpty()) {
if (mailIdList_.isEmpty()) {
mailIdList_ = other.mailIdList_;
mailIdList_.makeImmutable();
bitField0_ |= 0x00000001;
} else {
ensureMailIdListIsMutable();
mailIdList_.addAll(other.mailIdList_);
}
onChanged();
}
if (other.getOptionalRewardId() != 0) {
setOptionalRewardId(other.getOptionalRewardId());
}
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 72: {
optionalRewardId_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 72
case 96: {
int v = input.readUInt32();
ensureMailIdListIsMutable();
mailIdList_.addInt(v);
break;
} // case 96
case 98: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureMailIdListIsMutable();
while (input.getBytesUntilLimit() > 0) {
mailIdList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
} // case 98
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 com.google.protobuf.Internal.IntList mailIdList_ = emptyIntList();
private void ensureMailIdListIsMutable() {
if (!mailIdList_.isModifiable()) {
mailIdList_ = makeMutableCopy(mailIdList_);
}
bitField0_ |= 0x00000001;
}
/**
* <code>repeated uint32 mail_id_list = 12;</code>
* @return A list containing the mailIdList.
*/
public java.util.List<java.lang.Integer>
getMailIdListList() {
mailIdList_.makeImmutable();
return mailIdList_;
}
/**
* <code>repeated uint32 mail_id_list = 12;</code>
* @return The count of mailIdList.
*/
public int getMailIdListCount() {
return mailIdList_.size();
}
/**
* <code>repeated uint32 mail_id_list = 12;</code>
* @param index The index of the element to return.
* @return The mailIdList at the given index.
*/
public int getMailIdList(int index) {
return mailIdList_.getInt(index);
}
/**
* <code>repeated uint32 mail_id_list = 12;</code>
* @param index The index to set the value at.
* @param value The mailIdList to set.
* @return This builder for chaining.
*/
public Builder setMailIdList(
int index, int value) {
ensureMailIdListIsMutable();
mailIdList_.setInt(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated uint32 mail_id_list = 12;</code>
* @param value The mailIdList to add.
* @return This builder for chaining.
*/
public Builder addMailIdList(int value) {
ensureMailIdListIsMutable();
mailIdList_.addInt(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated uint32 mail_id_list = 12;</code>
* @param values The mailIdList to add.
* @return This builder for chaining.
*/
public Builder addAllMailIdList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureMailIdListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, mailIdList_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated uint32 mail_id_list = 12;</code>
* @return This builder for chaining.
*/
public Builder clearMailIdList() {
mailIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private int optionalRewardId_ ;
/**
* <code>uint32 optional_reward_id = 9;</code>
* @return The optionalRewardId.
*/
@java.lang.Override
public int getOptionalRewardId() {
return optionalRewardId_;
}
/**
* <code>uint32 optional_reward_id = 9;</code>
* @param value The optionalRewardId to set.
* @return This builder for chaining.
*/
public Builder setOptionalRewardId(int value) {
optionalRewardId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>uint32 optional_reward_id = 9;</code>
* @return This builder for chaining.
*/
public Builder clearOptionalRewardId() {
bitField0_ = (bitField0_ & ~0x00000002);
optionalRewardId_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:TakeMailAttachmentCsReq)
} }
/** // @@protoc_insertion_point(class_scope:TakeMailAttachmentCsReq)
* Contains name constants used for serializing JSON private static final emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq DEFAULT_INSTANCE;
*/ static {
static class FieldNames { DEFAULT_INSTANCE = new emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq();
static final FieldName mailIdList = FieldName.forField("mailIdList", "mail_id_list");
} }
public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TakeMailAttachmentCsReq>
PARSER = new com.google.protobuf.AbstractParser<TakeMailAttachmentCsReq>() {
@java.lang.Override
public TakeMailAttachmentCsReq 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());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TakeMailAttachmentCsReq> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TakeMailAttachmentCsReq> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
} }
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_TakeMailAttachmentCsReq_descriptor;
private static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_TakeMailAttachmentCsReq_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\035TakeMailAttachmentCsReq.proto\"K\n\027TakeM" +
"ailAttachmentCsReq\022\024\n\014mail_id_list\030\014 \003(\r" +
"\022\032\n\022optional_reward_id\030\t \001(\rB\025\n\023emu.luna" +
"rcore.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_TakeMailAttachmentCsReq_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_TakeMailAttachmentCsReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_TakeMailAttachmentCsReq_descriptor,
new java.lang.String[] { "MailIdList", "OptionalRewardId", });
descriptor.resolveAllFeatures();
}
// @@protoc_insertion_point(outer_class_scope)
} }

View File

@@ -1,340 +1,565 @@
// Code generated by protocol buffer compiler. Do not edit! // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TextJoinInfo.proto
// Protobuf Java Version: 4.26.0-rc1
package emu.lunarcore.proto; 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 { 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} * Protobuf type {@code TextJoinInfo}
*/ */
public static final class TextJoinInfo extends ProtoMessage<TextJoinInfo> implements Cloneable { public static final class TextJoinInfo extends
private static final long serialVersionUID = 0L; com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:TextJoinInfo)
/** TextJoinInfoOrBuilder {
* <code>optional uint32 text_item_id = 2;</code> private static final long serialVersionUID = 0L;
*/ static {
private int textItemId; com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/** /* major= */ 4,
* <code>optional uint32 text_item_config_id = 3;</code> /* minor= */ 26,
*/ /* patch= */ 0,
private int textItemConfigId; /* suffix= */ "-rc1",
TextJoinInfo.class.getName());
}
// Use TextJoinInfo.newBuilder() to construct.
private TextJoinInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}
private TextJoinInfo() { private TextJoinInfo() {
} }
/** public static final com.google.protobuf.Descriptors.Descriptor
* @return a new empty instance of {@code TextJoinInfo} getDescriptor() {
*/ return emu.lunarcore.proto.TextJoinInfoOuterClass.internal_static_TextJoinInfo_descriptor;
public static TextJoinInfo newInstance() {
return new TextJoinInfo();
} }
/** @java.lang.Override
* <code>optional uint32 text_item_id = 2;</code> protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
* @return whether the textItemId field is set internalGetFieldAccessorTable() {
*/ return emu.lunarcore.proto.TextJoinInfoOuterClass.internal_static_TextJoinInfo_fieldAccessorTable
public boolean hasTextItemId() { .ensureFieldAccessorsInitialized(
return (bitField0_ & 0x00000001) != 0; 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>optional uint32 text_item_id = 2;</code> * <code>uint32 text_item_id = 1;</code>
* @return this * @return The textItemId.
*/
public TextJoinInfo clearTextItemId() {
bitField0_ &= ~0x00000001;
textItemId = 0;
return this;
}
/**
* <code>optional uint32 text_item_id = 2;</code>
* @return the textItemId
*/ */
@java.lang.Override
public int getTextItemId() { public int getTextItemId() {
return textItemId; return textItemId_;
} }
public static final int TEXT_ITEM_CONFIG_ID_FIELD_NUMBER = 6;
private int textItemConfigId_ = 0;
/** /**
* <code>optional uint32 text_item_id = 2;</code> * <code>uint32 text_item_config_id = 6;</code>
* @param value the textItemId to set * @return The textItemConfigId.
* @return this
*/
public TextJoinInfo setTextItemId(final int value) {
bitField0_ |= 0x00000001;
textItemId = value;
return this;
}
/**
* <code>optional uint32 text_item_config_id = 3;</code>
* @return whether the textItemConfigId field is set
*/
public boolean hasTextItemConfigId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 text_item_config_id = 3;</code>
* @return this
*/
public TextJoinInfo clearTextItemConfigId() {
bitField0_ &= ~0x00000002;
textItemConfigId = 0;
return this;
}
/**
* <code>optional uint32 text_item_config_id = 3;</code>
* @return the textItemConfigId
*/ */
@java.lang.Override
public int getTextItemConfigId() { public int getTextItemConfigId() {
return textItemConfigId; return textItemConfigId_;
} }
/** private byte memoizedIsInitialized = -1;
* <code>optional uint32 text_item_config_id = 3;</code> @java.lang.Override
* @param value the textItemConfigId to set public final boolean isInitialized() {
* @return this byte isInitialized = memoizedIsInitialized;
*/ if (isInitialized == 1) return true;
public TextJoinInfo setTextItemConfigId(final int value) { if (isInitialized == 0) return false;
bitField0_ |= 0x00000002;
textItemConfigId = value; memoizedIsInitialized = 1;
return this; return true;
} }
@Override @java.lang.Override
public TextJoinInfo copyFrom(final TextJoinInfo other) { public void writeTo(com.google.protobuf.CodedOutputStream output)
cachedSize = other.cachedSize; throws java.io.IOException {
if ((bitField0_ | other.bitField0_) != 0) { if (textItemId_ != 0) {
bitField0_ = other.bitField0_; output.writeUInt32(1, textItemId_);
textItemId = other.textItemId;
textItemConfigId = other.textItemConfigId;
} }
return this; if (textItemConfigId_ != 0) {
output.writeUInt32(6, textItemConfigId_);
}
getUnknownFields().writeTo(output);
} }
@Override @java.lang.Override
public TextJoinInfo mergeFrom(final TextJoinInfo other) { public int getSerializedSize() {
if (other.isEmpty()) { int size = memoizedSize;
return this; if (size != -1) return size;
}
cachedSize = -1;
if (other.hasTextItemId()) {
setTextItemId(other.textItemId);
}
if (other.hasTextItemConfigId()) {
setTextItemConfigId(other.textItemConfigId);
}
return this;
}
@Override size = 0;
public TextJoinInfo clear() { if (textItemId_ != 0) {
if (isEmpty()) { size += com.google.protobuf.CodedOutputStream
return this; .computeUInt32Size(1, textItemId_);
} }
cachedSize = -1; if (textItemConfigId_ != 0) {
bitField0_ = 0; size += com.google.protobuf.CodedOutputStream
textItemId = 0; .computeUInt32Size(6, textItemConfigId_);
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) 16);
output.writeUInt32NoTag(textItemId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 24);
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; return size;
} }
@Override @java.lang.Override
@SuppressWarnings("fallthrough") public boolean equals(final java.lang.Object obj) {
public TextJoinInfo mergeFrom(final ProtoSource input) throws IOException { if (obj == this) {
// Enabled Fall-Through Optimization (QuickBuffers) return true;
int tag = input.readTag();
while (true) {
switch (tag) {
case 16: {
// textItemId
textItemId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 24) {
break;
}
}
case 24: {
// 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);
}
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;
} }
@Override @java.lang.Override
public void writeTo(final JsonSink output) throws IOException { public int hashCode() {
output.beginObject(); if (memoizedHashCode != 0) {
if ((bitField0_ & 0x00000001) != 0) { return memoizedHashCode;
output.writeUInt32(FieldNames.textItemId, textItemId);
} }
if ((bitField0_ & 0x00000002) != 0) { int hash = 41;
output.writeUInt32(FieldNames.textItemConfigId, textItemConfigId); hash = (19 * hash) + getDescriptor().hashCode();
} hash = (37 * hash) + TEXT_ITEM_ID_FIELD_NUMBER;
output.endObject(); 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;
} }
@Override public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
public TextJoinInfo mergeFrom(final JsonSource input) throws IOException { java.nio.ByteBuffer data)
if (!input.beginObject()) { 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;
return this; return this;
} }
while (!input.isAtEnd()) {
switch (input.readFieldHash()) { @java.lang.Override
case 1565189915: public com.google.protobuf.Descriptors.Descriptor
case -153409355: { getDescriptorForType() {
if (input.isAtField(FieldNames.textItemId)) { return emu.lunarcore.proto.TextJoinInfoOuterClass.internal_static_TextJoinInfo_descriptor;
if (!input.trySkipNullValue()) { }
textItemId = input.readUInt32();
bitField0_ |= 0x00000001; @java.lang.Override
} public emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo getDefaultInstanceForType() {
} else { return emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.getDefaultInstance();
input.skipUnknownField(); }
}
break; @java.lang.Override
} public emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo build() {
case -1448403459: emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo result = buildPartial();
case -1174236578: { if (!result.isInitialized()) {
if (input.isAtField(FieldNames.textItemConfigId)) { throw newUninitializedMessageException(result);
if (!input.trySkipNullValue()) { }
textItemConfigId = input.readUInt32(); return result;
bitField0_ |= 0x00000002; }
}
} else { @java.lang.Override
input.skipUnknownField(); public emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo buildPartial() {
} emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo result = new emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo(this);
break; if (bitField0_ != 0) { buildPartial0(result); }
} onBuilt();
default: { return result;
input.skipUnknownField(); }
break;
} 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_;
} }
} }
input.endObject();
return this;
}
@Override @java.lang.Override
public TextJoinInfo clone() { public Builder mergeFrom(com.google.protobuf.Message other) {
return new TextJoinInfo().copyFrom(this); if (other instanceof emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo) {
} return mergeFrom((emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo)other);
} else {
@Override super.mergeFrom(other);
public boolean isEmpty() { return this;
return ((bitField0_) == 0); }
}
public static TextJoinInfo parseFrom(final byte[] data) throws InvalidProtocolBufferException {
return ProtoMessage.mergeFrom(new TextJoinInfo(), data).checkInitialized();
}
public static TextJoinInfo parseFrom(final ProtoSource input) throws IOException {
return ProtoMessage.mergeFrom(new TextJoinInfo(), input).checkInitialized();
}
public static TextJoinInfo parseFrom(final JsonSource input) throws IOException {
return ProtoMessage.mergeFrom(new TextJoinInfo(), input).checkInitialized();
}
/**
* @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();
} }
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();
bitField0_ |= 0x00000001;
break;
} // case 8
case 48: {
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)
* Contains name constants used for serializing JSON private static final emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo DEFAULT_INSTANCE;
*/ static {
static class FieldNames { DEFAULT_INSTANCE = new emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo();
static final FieldName textItemId = FieldName.forField("textItemId", "text_item_id");
static final FieldName textItemConfigId = FieldName.forField("textItemConfigId", "text_item_config_id");
} }
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());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TextJoinInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TextJoinInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
} }
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 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();
}
// @@protoc_insertion_point(outer_class_scope)
} }