mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-15 14:54:43 +01:00
update protos
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||||
|
com.google.protobuf.GeneratedMessage implements
|
||||||
|
// @@protoc_insertion_point(message_implements:ClientMailAttachmentItem)
|
||||||
|
ClientMailAttachmentItemOrBuilder {
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
static {
|
||||||
/**
|
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||||
* <code>optional uint32 FKIPJPLMBFI = 2;</code>
|
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||||
*/
|
/* major= */ 4,
|
||||||
private int fKIPJPLMBFI;
|
/* minor= */ 26,
|
||||||
|
/* patch= */ 0,
|
||||||
/**
|
/* suffix= */ "-rc1",
|
||||||
* <code>optional uint32 ANAFKBMJOBJ = 12;</code>
|
ClientMailAttachmentItem.class.getName());
|
||||||
*/
|
}
|
||||||
private int aNAFKBMJOBJ;
|
// 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;
|
||||||
* <code>optional uint32 FKIPJPLMBFI = 2;</code>
|
|
||||||
* @return the fKIPJPLMBFI
|
|
||||||
*/
|
|
||||||
public int getFKIPJPLMBFI() {
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public ClientMailAttachmentItem mergeFrom(final ClientMailAttachmentItem other) {
|
|
||||||
if (other.isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
if (other.hasFKIPJPLMBFI()) {
|
|
||||||
setFKIPJPLMBFI(other.fKIPJPLMBFI);
|
|
||||||
}
|
|
||||||
if (other.hasANAFKBMJOBJ()) {
|
|
||||||
setANAFKBMJOBJ(other.aNAFKBMJOBJ);
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public ClientMailAttachmentItem clear() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
fKIPJPLMBFI = 0;
|
|
||||||
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;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(o instanceof ClientMailAttachmentItem)) {
|
|
||||||
return false;
|
@java.lang.Override
|
||||||
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (mailId_ != 0) {
|
||||||
|
output.writeUInt32(1, mailId_);
|
||||||
}
|
}
|
||||||
ClientMailAttachmentItem other = (ClientMailAttachmentItem) o;
|
if (itemId_ != 0) {
|
||||||
return bitField0_ == other.bitField0_
|
output.writeUInt32(8, itemId_);
|
||||||
&& (!hasFKIPJPLMBFI() || fKIPJPLMBFI == other.fKIPJPLMBFI)
|
}
|
||||||
&& (!hasANAFKBMJOBJ() || aNAFKBMJOBJ == other.aNAFKBMJOBJ);
|
getUnknownFields().writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public int getSerializedSize() {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
int size = memoizedSize;
|
||||||
output.writeRawByte((byte) 16);
|
if (size != -1) return size;
|
||||||
output.writeUInt32NoTag(fKIPJPLMBFI);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeRawByte((byte) 96);
|
|
||||||
output.writeUInt32NoTag(aNAFKBMJOBJ);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
size = 0;
|
||||||
protected int computeSerializedSize() {
|
if (mailId_ != 0) {
|
||||||
int size = 0;
|
size += com.google.protobuf.CodedOutputStream
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
.computeUInt32Size(1, mailId_);
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(fKIPJPLMBFI);
|
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if (itemId_ != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(aNAFKBMJOBJ);
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeUInt32Size(8, itemId_);
|
||||||
}
|
}
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public int hashCode() {
|
||||||
|
if (memoizedHashCode != 0) {
|
||||||
|
return memoizedHashCode;
|
||||||
|
}
|
||||||
|
int hash = 41;
|
||||||
|
hash = (19 * hash) + getDescriptor().hashCode();
|
||||||
|
hash = (37 * hash) + ITEM_ID_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getItemId();
|
||||||
|
hash = (37 * hash) + MAIL_ID_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getMailId();
|
||||||
|
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||||
|
memoizedHashCode = hash;
|
||||||
|
return hash;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||||
|
java.nio.ByteBuffer data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||||
|
java.nio.ByteBuffer data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||||
|
com.google.protobuf.ByteString data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||||
|
com.google.protobuf.ByteString data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(byte[] data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||||
|
byte[] data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||||
|
java.io.InputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseDelimitedFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseDelimitedWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseDelimitedFrom(
|
||||||
|
java.io.InputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder newBuilderForType() { return newBuilder(); }
|
||||||
|
public static Builder newBuilder() {
|
||||||
|
return DEFAULT_INSTANCE.toBuilder();
|
||||||
|
}
|
||||||
|
public static Builder newBuilder(emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem prototype) {
|
||||||
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||||
|
}
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder toBuilder() {
|
||||||
|
return this == DEFAULT_INSTANCE
|
||||||
|
? new Builder() : new Builder().mergeFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected Builder newBuilderForType(
|
||||||
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||||
|
Builder builder = new Builder(parent);
|
||||||
|
return builder;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code ClientMailAttachmentItem}
|
||||||
|
*/
|
||||||
|
public static final class Builder extends
|
||||||
|
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||||
|
// @@protoc_insertion_point(builder_implements:ClientMailAttachmentItem)
|
||||||
|
emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItemOrBuilder {
|
||||||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptor() {
|
||||||
|
return emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.internal_static_ClientMailAttachmentItem_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
|
internalGetFieldAccessorTable() {
|
||||||
|
return emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.internal_static_ClientMailAttachmentItem_fieldAccessorTable
|
||||||
|
.ensureFieldAccessorsInitialized(
|
||||||
|
emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.class, emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.Builder.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Construct using emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.newBuilder()
|
||||||
|
private Builder() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private Builder(
|
||||||
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||||
|
super(parent);
|
||||||
|
|
||||||
|
}
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder clear() {
|
||||||
|
super.clear();
|
||||||
|
bitField0_ = 0;
|
||||||
|
itemId_ = 0;
|
||||||
|
mailId_ = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptorForType() {
|
||||||
|
return emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.internal_static_ClientMailAttachmentItem_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem getDefaultInstanceForType() {
|
||||||
|
return emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.getDefaultInstance();
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem build() {
|
||||||
|
emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem result = buildPartial();
|
||||||
|
if (!result.isInitialized()) {
|
||||||
|
throw newUninitializedMessageException(result);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem buildPartial() {
|
||||||
|
emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem result = new emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem(this);
|
||||||
|
if (bitField0_ != 0) { buildPartial0(result); }
|
||||||
|
onBuilt();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buildPartial0(emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem result) {
|
||||||
|
int from_bitField0_ = bitField0_;
|
||||||
|
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||||
|
result.itemId_ = itemId_;
|
||||||
|
}
|
||||||
|
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||||
|
result.mailId_ = mailId_;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||||
|
if (other instanceof emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem) {
|
||||||
|
return mergeFrom((emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem)other);
|
||||||
|
} else {
|
||||||
|
super.mergeFrom(other);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Builder mergeFrom(emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem other) {
|
||||||
|
if (other == emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.getDefaultInstance()) return this;
|
||||||
|
if (other.getItemId() != 0) {
|
||||||
|
setItemId(other.getItemId());
|
||||||
|
}
|
||||||
|
if (other.getMailId() != 0) {
|
||||||
|
setMailId(other.getMailId());
|
||||||
|
}
|
||||||
|
this.mergeUnknownFields(other.getUnknownFields());
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public final boolean isInitialized() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder mergeFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (extensionRegistry == null) {
|
||||||
|
throw new java.lang.NullPointerException();
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
boolean done = false;
|
||||||
|
while (!done) {
|
||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 16: {
|
case 0:
|
||||||
// fKIPJPLMBFI
|
done = true;
|
||||||
fKIPJPLMBFI = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 96) {
|
|
||||||
break;
|
break;
|
||||||
}
|
case 8: {
|
||||||
}
|
mailId_ = input.readUInt32();
|
||||||
case 96: {
|
|
||||||
// aNAFKBMJOBJ
|
|
||||||
aNAFKBMJOBJ = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 0) {
|
|
||||||
break;
|
break;
|
||||||
}
|
} // case 8
|
||||||
}
|
case 64: {
|
||||||
case 0: {
|
itemId_ = input.readUInt32();
|
||||||
return this;
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
if (!input.skipField(tag)) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
tag = input.readTag();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void writeTo(final JsonSink output) throws IOException {
|
|
||||||
output.beginObject();
|
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
|
||||||
output.writeUInt32(FieldNames.fKIPJPLMBFI, fKIPJPLMBFI);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeUInt32(FieldNames.aNAFKBMJOBJ, aNAFKBMJOBJ);
|
|
||||||
}
|
|
||||||
output.endObject();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public ClientMailAttachmentItem mergeFrom(final JsonSource input) throws IOException {
|
|
||||||
if (!input.beginObject()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
while (!input.isAtEnd()) {
|
|
||||||
switch (input.readFieldHash()) {
|
|
||||||
case -581795918: {
|
|
||||||
if (input.isAtField(FieldNames.fKIPJPLMBFI)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
fKIPJPLMBFI = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
} // case 64
|
||||||
case 1037527505: {
|
|
||||||
if (input.isAtField(FieldNames.aNAFKBMJOBJ)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
aNAFKBMJOBJ = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
default: {
|
default: {
|
||||||
input.skipUnknownField();
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||||
|
done = true; // was an endgroup tag
|
||||||
|
}
|
||||||
break;
|
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;
|
||||||
}
|
}
|
||||||
input.endObject();
|
/**
|
||||||
|
* <code>uint32 item_id = 8;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearItemId() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000001);
|
||||||
|
itemId_ = 0;
|
||||||
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
private int mailId_ ;
|
||||||
public ClientMailAttachmentItem clone() {
|
|
||||||
return new ClientMailAttachmentItem().copyFrom(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isEmpty() {
|
|
||||||
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
|
* <code>uint32 mail_id = 1;</code>
|
||||||
|
* @return The mailId.
|
||||||
*/
|
*/
|
||||||
public static MessageFactory<ClientMailAttachmentItem> getFactory() {
|
@java.lang.Override
|
||||||
return ClientMailAttachmentItemFactory.INSTANCE;
|
public int getMailId() {
|
||||||
|
return mailId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
private enum ClientMailAttachmentItemFactory implements MessageFactory<ClientMailAttachmentItem> {
|
|
||||||
INSTANCE;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public ClientMailAttachmentItem create() {
|
|
||||||
return ClientMailAttachmentItem.newInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains name constants used for serializing JSON
|
* <code>uint32 mail_id = 1;</code>
|
||||||
|
* @param value The mailId to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
public Builder setMailId(int value) {
|
||||||
static final FieldName fKIPJPLMBFI = FieldName.forField("FKIPJPLMBFI");
|
|
||||||
|
|
||||||
static final FieldName aNAFKBMJOBJ = FieldName.forField("ANAFKBMJOBJ");
|
mailId_ = value;
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* <code>uint32 mail_id = 1;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearMailId() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000002);
|
||||||
|
mailId_ = 0;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(builder_scope:ClientMailAttachmentItem)
|
||||||
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:ClientMailAttachmentItem)
|
||||||
|
private static final emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem DEFAULT_INSTANCE;
|
||||||
|
static {
|
||||||
|
DEFAULT_INSTANCE = new emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem getDefaultInstance() {
|
||||||
|
return DEFAULT_INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static final com.google.protobuf.Parser<ClientMailAttachmentItem>
|
||||||
|
PARSER = new com.google.protobuf.AbstractParser<ClientMailAttachmentItem>() {
|
||||||
|
@java.lang.Override
|
||||||
|
public ClientMailAttachmentItem parsePartialFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
Builder builder = newBuilder();
|
||||||
|
try {
|
||||||
|
builder.mergeFrom(input, extensionRegistry);
|
||||||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||||
|
throw e.setUnfinishedMessage(builder.buildPartial());
|
||||||
|
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||||
|
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
||||||
|
} catch (java.io.IOException e) {
|
||||||
|
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
||||||
|
.setUnfinishedMessage(builder.buildPartial());
|
||||||
|
}
|
||||||
|
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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
com.google.protobuf.GeneratedMessage implements
|
||||||
|
// @@protoc_insertion_point(message_implements:DiscardRelicCsReq)
|
||||||
|
DiscardRelicCsReqOrBuilder {
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
static {
|
||||||
/**
|
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||||
* <code>optional uint32 relic_unique_id = 13;</code>
|
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||||
*/
|
/* major= */ 4,
|
||||||
private int relicUniqueId;
|
/* minor= */ 26,
|
||||||
|
/* patch= */ 0,
|
||||||
/**
|
/* suffix= */ "-rc1",
|
||||||
* <code>optional bool is_discard = 1;</code>
|
DiscardRelicCsReq.class.getName());
|
||||||
*/
|
}
|
||||||
private boolean isDiscard;
|
// 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;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
memoizedIsInitialized = 1;
|
||||||
public DiscardRelicCsReq copyFrom(final DiscardRelicCsReq other) {
|
|
||||||
cachedSize = other.cachedSize;
|
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
|
||||||
bitField0_ = other.bitField0_;
|
|
||||||
relicUniqueId = other.relicUniqueId;
|
|
||||||
isDiscard = other.isDiscard;
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public DiscardRelicCsReq mergeFrom(final DiscardRelicCsReq other) {
|
|
||||||
if (other.isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
if (other.hasRelicUniqueId()) {
|
|
||||||
setRelicUniqueId(other.relicUniqueId);
|
|
||||||
}
|
|
||||||
if (other.hasIsDiscard()) {
|
|
||||||
setIsDiscard(other.isDiscard);
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public DiscardRelicCsReq clear() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
relicUniqueId = 0;
|
|
||||||
isDiscard = false;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public DiscardRelicCsReq clearQuick() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean equals(Object o) {
|
|
||||||
if (o == this) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(o instanceof DiscardRelicCsReq)) {
|
|
||||||
return false;
|
@java.lang.Override
|
||||||
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (isDiscard_ != false) {
|
||||||
|
output.writeBool(1, isDiscard_);
|
||||||
}
|
}
|
||||||
DiscardRelicCsReq other = (DiscardRelicCsReq) o;
|
if (relicUniqueId_ != 0) {
|
||||||
return bitField0_ == other.bitField0_
|
output.writeUInt32(13, relicUniqueId_);
|
||||||
&& (!hasRelicUniqueId() || relicUniqueId == other.relicUniqueId)
|
}
|
||||||
&& (!hasIsDiscard() || isDiscard == other.isDiscard);
|
getUnknownFields().writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public int getSerializedSize() {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
int size = memoizedSize;
|
||||||
output.writeRawByte((byte) 104);
|
if (size != -1) return size;
|
||||||
output.writeUInt32NoTag(relicUniqueId);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeRawByte((byte) 8);
|
|
||||||
output.writeBoolNoTag(isDiscard);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
size = 0;
|
||||||
protected int computeSerializedSize() {
|
if (isDiscard_ != false) {
|
||||||
int size = 0;
|
size += com.google.protobuf.CodedOutputStream
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
.computeBoolSize(1, isDiscard_);
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(relicUniqueId);
|
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if (relicUniqueId_ != 0) {
|
||||||
size += 2;
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeUInt32Size(13, relicUniqueId_);
|
||||||
}
|
}
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public int hashCode() {
|
||||||
|
if (memoizedHashCode != 0) {
|
||||||
|
return memoizedHashCode;
|
||||||
|
}
|
||||||
|
int hash = 41;
|
||||||
|
hash = (19 * hash) + getDescriptor().hashCode();
|
||||||
|
hash = (37 * hash) + RELIC_UNIQUE_ID_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getRelicUniqueId();
|
||||||
|
hash = (37 * hash) + IS_DISCARD_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||||
|
getIsDiscard());
|
||||||
|
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||||
|
memoizedHashCode = hash;
|
||||||
|
return hash;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||||
|
java.nio.ByteBuffer data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||||
|
java.nio.ByteBuffer data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||||
|
com.google.protobuf.ByteString data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||||
|
com.google.protobuf.ByteString data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(byte[] data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||||
|
byte[] data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||||
|
java.io.InputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseDelimitedFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseDelimitedWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseDelimitedFrom(
|
||||||
|
java.io.InputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder newBuilderForType() { return newBuilder(); }
|
||||||
|
public static Builder newBuilder() {
|
||||||
|
return DEFAULT_INSTANCE.toBuilder();
|
||||||
|
}
|
||||||
|
public static Builder newBuilder(emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq prototype) {
|
||||||
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||||
|
}
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder toBuilder() {
|
||||||
|
return this == DEFAULT_INSTANCE
|
||||||
|
? new Builder() : new Builder().mergeFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected Builder newBuilderForType(
|
||||||
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||||
|
Builder builder = new Builder(parent);
|
||||||
|
return builder;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code DiscardRelicCsReq}
|
||||||
|
*/
|
||||||
|
public static final class Builder extends
|
||||||
|
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||||
|
// @@protoc_insertion_point(builder_implements:DiscardRelicCsReq)
|
||||||
|
emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReqOrBuilder {
|
||||||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptor() {
|
||||||
|
return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.internal_static_DiscardRelicCsReq_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
|
internalGetFieldAccessorTable() {
|
||||||
|
return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.internal_static_DiscardRelicCsReq_fieldAccessorTable
|
||||||
|
.ensureFieldAccessorsInitialized(
|
||||||
|
emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.class, emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.Builder.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Construct using emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.newBuilder()
|
||||||
|
private Builder() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private Builder(
|
||||||
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||||
|
super(parent);
|
||||||
|
|
||||||
|
}
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder clear() {
|
||||||
|
super.clear();
|
||||||
|
bitField0_ = 0;
|
||||||
|
relicUniqueId_ = 0;
|
||||||
|
isDiscard_ = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptorForType() {
|
||||||
|
return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.internal_static_DiscardRelicCsReq_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq getDefaultInstanceForType() {
|
||||||
|
return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.getDefaultInstance();
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq build() {
|
||||||
|
emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq result = buildPartial();
|
||||||
|
if (!result.isInitialized()) {
|
||||||
|
throw newUninitializedMessageException(result);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq buildPartial() {
|
||||||
|
emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq result = new emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq(this);
|
||||||
|
if (bitField0_ != 0) { buildPartial0(result); }
|
||||||
|
onBuilt();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buildPartial0(emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq result) {
|
||||||
|
int from_bitField0_ = bitField0_;
|
||||||
|
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||||
|
result.relicUniqueId_ = relicUniqueId_;
|
||||||
|
}
|
||||||
|
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||||
|
result.isDiscard_ = isDiscard_;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||||
|
if (other instanceof emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq) {
|
||||||
|
return mergeFrom((emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq)other);
|
||||||
|
} else {
|
||||||
|
super.mergeFrom(other);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Builder mergeFrom(emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq other) {
|
||||||
|
if (other == emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.getDefaultInstance()) return this;
|
||||||
|
if (other.getRelicUniqueId() != 0) {
|
||||||
|
setRelicUniqueId(other.getRelicUniqueId());
|
||||||
|
}
|
||||||
|
if (other.getIsDiscard() != false) {
|
||||||
|
setIsDiscard(other.getIsDiscard());
|
||||||
|
}
|
||||||
|
this.mergeUnknownFields(other.getUnknownFields());
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public final boolean isInitialized() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder mergeFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (extensionRegistry == null) {
|
||||||
|
throw new java.lang.NullPointerException();
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
boolean done = false;
|
||||||
|
while (!done) {
|
||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 104: {
|
case 0:
|
||||||
// relicUniqueId
|
done = true;
|
||||||
relicUniqueId = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 8) {
|
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
}
|
|
||||||
case 8: {
|
case 8: {
|
||||||
// isDiscard
|
isDiscard_ = input.readBool();
|
||||||
isDiscard = input.readBool();
|
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 0) {
|
|
||||||
break;
|
break;
|
||||||
}
|
} // case 8
|
||||||
}
|
case 104: {
|
||||||
case 0: {
|
relicUniqueId_ = input.readUInt32();
|
||||||
return this;
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
if (!input.skipField(tag)) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
tag = input.readTag();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void writeTo(final JsonSink output) throws IOException {
|
|
||||||
output.beginObject();
|
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
|
||||||
output.writeUInt32(FieldNames.relicUniqueId, relicUniqueId);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeBool(FieldNames.isDiscard, isDiscard);
|
|
||||||
}
|
|
||||||
output.endObject();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public DiscardRelicCsReq mergeFrom(final JsonSource input) throws IOException {
|
|
||||||
if (!input.beginObject()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
while (!input.isAtEnd()) {
|
|
||||||
switch (input.readFieldHash()) {
|
|
||||||
case -1966200481:
|
|
||||||
case 49648253: {
|
|
||||||
if (input.isAtField(FieldNames.relicUniqueId)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
relicUniqueId = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
} // case 104
|
||||||
case 1091588116:
|
|
||||||
case -1123290487: {
|
|
||||||
if (input.isAtField(FieldNames.isDiscard)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
isDiscard = input.readBool();
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
default: {
|
default: {
|
||||||
input.skipUnknownField();
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||||
|
done = true; // was an endgroup tag
|
||||||
|
}
|
||||||
break;
|
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;
|
||||||
}
|
}
|
||||||
input.endObject();
|
/**
|
||||||
|
* <code>uint32 relic_unique_id = 13;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearRelicUniqueId() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000001);
|
||||||
|
relicUniqueId_ = 0;
|
||||||
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
private boolean isDiscard_ ;
|
||||||
public DiscardRelicCsReq clone() {
|
|
||||||
return new DiscardRelicCsReq().copyFrom(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isEmpty() {
|
|
||||||
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
|
* <code>bool is_discard = 1;</code>
|
||||||
|
* @return The isDiscard.
|
||||||
*/
|
*/
|
||||||
public static MessageFactory<DiscardRelicCsReq> getFactory() {
|
@java.lang.Override
|
||||||
return DiscardRelicCsReqFactory.INSTANCE;
|
public boolean getIsDiscard() {
|
||||||
|
return isDiscard_;
|
||||||
}
|
}
|
||||||
|
|
||||||
private enum DiscardRelicCsReqFactory implements MessageFactory<DiscardRelicCsReq> {
|
|
||||||
INSTANCE;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public DiscardRelicCsReq create() {
|
|
||||||
return DiscardRelicCsReq.newInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains name constants used for serializing JSON
|
* <code>bool is_discard = 1;</code>
|
||||||
|
* @param value The isDiscard to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
public Builder setIsDiscard(boolean value) {
|
||||||
static final FieldName relicUniqueId = FieldName.forField("relicUniqueId", "relic_unique_id");
|
|
||||||
|
|
||||||
static final FieldName isDiscard = FieldName.forField("isDiscard", "is_discard");
|
isDiscard_ = value;
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* <code>bool is_discard = 1;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearIsDiscard() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000002);
|
||||||
|
isDiscard_ = false;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(builder_scope:DiscardRelicCsReq)
|
||||||
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:DiscardRelicCsReq)
|
||||||
|
private static final emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq DEFAULT_INSTANCE;
|
||||||
|
static {
|
||||||
|
DEFAULT_INSTANCE = new emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq getDefaultInstance() {
|
||||||
|
return DEFAULT_INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static final com.google.protobuf.Parser<DiscardRelicCsReq>
|
||||||
|
PARSER = new com.google.protobuf.AbstractParser<DiscardRelicCsReq>() {
|
||||||
|
@java.lang.Override
|
||||||
|
public DiscardRelicCsReq parsePartialFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
Builder builder = newBuilder();
|
||||||
|
try {
|
||||||
|
builder.mergeFrom(input, extensionRegistry);
|
||||||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||||
|
throw e.setUnfinishedMessage(builder.buildPartial());
|
||||||
|
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||||
|
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
||||||
|
} catch (java.io.IOException e) {
|
||||||
|
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
||||||
|
.setUnfinishedMessage(builder.buildPartial());
|
||||||
|
}
|
||||||
|
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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
com.google.protobuf.GeneratedMessage implements
|
||||||
|
// @@protoc_insertion_point(message_implements:EnableRogueTalentCsReq)
|
||||||
|
EnableRogueTalentCsReqOrBuilder {
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
static {
|
||||||
/**
|
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||||
* <code>optional uint32 talent_id = 13;</code>
|
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||||
*/
|
/* major= */ 4,
|
||||||
private int talentId;
|
/* 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;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
memoizedIsInitialized = 1;
|
||||||
public EnableRogueTalentCsReq copyFrom(final EnableRogueTalentCsReq other) {
|
|
||||||
cachedSize = other.cachedSize;
|
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
|
||||||
bitField0_ = other.bitField0_;
|
|
||||||
talentId = other.talentId;
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public EnableRogueTalentCsReq mergeFrom(final EnableRogueTalentCsReq other) {
|
|
||||||
if (other.isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
if (other.hasTalentId()) {
|
|
||||||
setTalentId(other.talentId);
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public EnableRogueTalentCsReq clear() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
talentId = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public EnableRogueTalentCsReq clearQuick() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean equals(Object o) {
|
|
||||||
if (o == this) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(o instanceof EnableRogueTalentCsReq)) {
|
|
||||||
return false;
|
@java.lang.Override
|
||||||
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (talentId_ != 0) {
|
||||||
|
output.writeUInt32(3, talentId_);
|
||||||
}
|
}
|
||||||
EnableRogueTalentCsReq other = (EnableRogueTalentCsReq) o;
|
getUnknownFields().writeTo(output);
|
||||||
return bitField0_ == other.bitField0_
|
|
||||||
&& (!hasTalentId() || talentId == other.talentId);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public int getSerializedSize() {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
int size = memoizedSize;
|
||||||
output.writeRawByte((byte) 104);
|
if (size != -1) return size;
|
||||||
output.writeUInt32NoTag(talentId);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
size = 0;
|
||||||
protected int computeSerializedSize() {
|
if (talentId_ != 0) {
|
||||||
int size = 0;
|
size += com.google.protobuf.CodedOutputStream
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
.computeUInt32Size(3, talentId_);
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
|
if (!(obj instanceof emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq)) {
|
||||||
|
return super.equals(obj);
|
||||||
}
|
}
|
||||||
case 0: {
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public int hashCode() {
|
||||||
|
if (memoizedHashCode != 0) {
|
||||||
|
return memoizedHashCode;
|
||||||
|
}
|
||||||
|
int hash = 41;
|
||||||
|
hash = (19 * hash) + getDescriptor().hashCode();
|
||||||
|
hash = (37 * hash) + TALENT_ID_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getTalentId();
|
||||||
|
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||||
|
memoizedHashCode = hash;
|
||||||
|
return hash;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||||
|
java.nio.ByteBuffer data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||||
|
java.nio.ByteBuffer data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||||
|
com.google.protobuf.ByteString data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||||
|
com.google.protobuf.ByteString data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(byte[] data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||||
|
byte[] data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||||
|
java.io.InputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseDelimitedFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseDelimitedWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseDelimitedFrom(
|
||||||
|
java.io.InputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder newBuilderForType() { return newBuilder(); }
|
||||||
|
public static Builder newBuilder() {
|
||||||
|
return DEFAULT_INSTANCE.toBuilder();
|
||||||
|
}
|
||||||
|
public static Builder newBuilder(emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq prototype) {
|
||||||
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||||
|
}
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder toBuilder() {
|
||||||
|
return this == DEFAULT_INSTANCE
|
||||||
|
? new Builder() : new Builder().mergeFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected Builder newBuilderForType(
|
||||||
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||||
|
Builder builder = new Builder(parent);
|
||||||
|
return builder;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code EnableRogueTalentCsReq}
|
||||||
|
*/
|
||||||
|
public static final class Builder extends
|
||||||
|
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||||
|
// @@protoc_insertion_point(builder_implements:EnableRogueTalentCsReq)
|
||||||
|
emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReqOrBuilder {
|
||||||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptor() {
|
||||||
|
return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.internal_static_EnableRogueTalentCsReq_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
|
internalGetFieldAccessorTable() {
|
||||||
|
return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.internal_static_EnableRogueTalentCsReq_fieldAccessorTable
|
||||||
|
.ensureFieldAccessorsInitialized(
|
||||||
|
emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq.class, emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq.Builder.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Construct using emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq.newBuilder()
|
||||||
|
private Builder() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private Builder(
|
||||||
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||||
|
super(parent);
|
||||||
|
|
||||||
|
}
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder clear() {
|
||||||
|
super.clear();
|
||||||
|
bitField0_ = 0;
|
||||||
|
talentId_ = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
default: {
|
|
||||||
if (!input.skipField(tag)) {
|
@java.lang.Override
|
||||||
return this;
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptorForType() {
|
||||||
|
return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.internal_static_EnableRogueTalentCsReq_descriptor;
|
||||||
}
|
}
|
||||||
tag = input.readTag();
|
|
||||||
break;
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq getDefaultInstanceForType() {
|
||||||
|
return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq.getDefaultInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq build() {
|
||||||
|
emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq result = buildPartial();
|
||||||
|
if (!result.isInitialized()) {
|
||||||
|
throw newUninitializedMessageException(result);
|
||||||
}
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq buildPartial() {
|
||||||
|
emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq result = new emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq(this);
|
||||||
|
if (bitField0_ != 0) { buildPartial0(result); }
|
||||||
|
onBuilt();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buildPartial0(emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq result) {
|
||||||
|
int from_bitField0_ = bitField0_;
|
||||||
|
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||||
|
result.talentId_ = talentId_;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final JsonSink output) throws IOException {
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||||
output.beginObject();
|
if (other instanceof emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq) {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
return mergeFrom((emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq)other);
|
||||||
output.writeUInt32(FieldNames.talentId, talentId);
|
|
||||||
}
|
|
||||||
output.endObject();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public EnableRogueTalentCsReq mergeFrom(final JsonSource input) throws IOException {
|
|
||||||
if (!input.beginObject()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
while (!input.isAtEnd()) {
|
|
||||||
switch (input.readFieldHash()) {
|
|
||||||
case -615305433:
|
|
||||||
case -1894577842: {
|
|
||||||
if (input.isAtField(FieldNames.talentId)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
talentId = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
super.mergeFrom(other);
|
||||||
}
|
return this;
|
||||||
break;
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
input.skipUnknownField();
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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());
|
||||||
}
|
}
|
||||||
input.endObject();
|
this.mergeUnknownFields(other.getUnknownFields());
|
||||||
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public EnableRogueTalentCsReq clone() {
|
public final boolean isInitialized() {
|
||||||
return new EnableRogueTalentCsReq().copyFrom(this);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public boolean isEmpty() {
|
public Builder mergeFrom(
|
||||||
return ((bitField0_) == 0);
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (extensionRegistry == null) {
|
||||||
|
throw new java.lang.NullPointerException();
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
public static EnableRogueTalentCsReq parseFrom(final byte[] data) throws
|
boolean done = false;
|
||||||
InvalidProtocolBufferException {
|
while (!done) {
|
||||||
return ProtoMessage.mergeFrom(new EnableRogueTalentCsReq(), data).checkInitialized();
|
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;
|
||||||
public static EnableRogueTalentCsReq parseFrom(final ProtoSource input) throws IOException {
|
} // default:
|
||||||
return ProtoMessage.mergeFrom(new EnableRogueTalentCsReq(), input).checkInitialized();
|
} // switch (tag)
|
||||||
}
|
} // while (!done)
|
||||||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||||
public static EnableRogueTalentCsReq parseFrom(final JsonSource input) throws IOException {
|
throw e.unwrapIOException();
|
||||||
return ProtoMessage.mergeFrom(new EnableRogueTalentCsReq(), input).checkInitialized();
|
} finally {
|
||||||
|
onChanged();
|
||||||
|
} // finally
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
private int bitField0_;
|
||||||
|
|
||||||
|
private int talentId_ ;
|
||||||
/**
|
/**
|
||||||
* @return factory for creating EnableRogueTalentCsReq messages
|
* <code>uint32 talent_id = 3;</code>
|
||||||
|
* @return The talentId.
|
||||||
*/
|
*/
|
||||||
public static MessageFactory<EnableRogueTalentCsReq> getFactory() {
|
@java.lang.Override
|
||||||
return EnableRogueTalentCsReqFactory.INSTANCE;
|
public int getTalentId() {
|
||||||
|
return talentId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
private enum EnableRogueTalentCsReqFactory implements MessageFactory<EnableRogueTalentCsReq> {
|
|
||||||
INSTANCE;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public EnableRogueTalentCsReq create() {
|
|
||||||
return EnableRogueTalentCsReq.newInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains name constants used for serializing JSON
|
* <code>uint32 talent_id = 3;</code>
|
||||||
|
* @param value The talentId to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
public Builder setTalentId(int value) {
|
||||||
static final FieldName talentId = FieldName.forField("talentId", "talent_id");
|
|
||||||
|
talentId_ = value;
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* <code>uint32 talent_id = 3;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearTalentId() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000001);
|
||||||
|
talentId_ = 0;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(builder_scope:EnableRogueTalentCsReq)
|
||||||
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:EnableRogueTalentCsReq)
|
||||||
|
private static final emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq DEFAULT_INSTANCE;
|
||||||
|
static {
|
||||||
|
DEFAULT_INSTANCE = new emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq getDefaultInstance() {
|
||||||
|
return DEFAULT_INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static final com.google.protobuf.Parser<EnableRogueTalentCsReq>
|
||||||
|
PARSER = new com.google.protobuf.AbstractParser<EnableRogueTalentCsReq>() {
|
||||||
|
@java.lang.Override
|
||||||
|
public EnableRogueTalentCsReq parsePartialFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
Builder builder = newBuilder();
|
||||||
|
try {
|
||||||
|
builder.mergeFrom(input, extensionRegistry);
|
||||||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||||
|
throw e.setUnfinishedMessage(builder.buildPartial());
|
||||||
|
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||||
|
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
||||||
|
} catch (java.io.IOException e) {
|
||||||
|
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
||||||
|
.setUnfinishedMessage(builder.buildPartial());
|
||||||
|
}
|
||||||
|
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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,364 +1,705 @@
|
|||||||
// Code generated by protocol buffer compiler. Do not edit!
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
|
// source: GetRogueScoreRewardInfoScRsp.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 GetRogueScoreRewardInfoScRspOuterClass {
|
public final class GetRogueScoreRewardInfoScRspOuterClass {
|
||||||
|
private GetRogueScoreRewardInfoScRspOuterClass() {}
|
||||||
|
static {
|
||||||
|
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||||
|
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||||
|
/* major= */ 4,
|
||||||
|
/* minor= */ 26,
|
||||||
|
/* patch= */ 0,
|
||||||
|
/* suffix= */ "-rc1",
|
||||||
|
GetRogueScoreRewardInfoScRspOuterClass.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 GetRogueScoreRewardInfoScRspOrBuilder extends
|
||||||
|
// @@protoc_insertion_point(interface_extends:GetRogueScoreRewardInfoScRsp)
|
||||||
|
com.google.protobuf.MessageOrBuilder {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
|
* @return Whether the scoreRewardInfo field is set.
|
||||||
|
*/
|
||||||
|
boolean hasScoreRewardInfo();
|
||||||
|
/**
|
||||||
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
|
* @return The scoreRewardInfo.
|
||||||
|
*/
|
||||||
|
emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo getScoreRewardInfo();
|
||||||
|
/**
|
||||||
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
|
*/
|
||||||
|
emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfoOrBuilder getScoreRewardInfoOrBuilder();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>uint32 retcode = 4;</code>
|
||||||
|
* @return The retcode.
|
||||||
|
*/
|
||||||
|
int getRetcode();
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Protobuf type {@code GetRogueScoreRewardInfoScRsp}
|
* Protobuf type {@code GetRogueScoreRewardInfoScRsp}
|
||||||
*/
|
*/
|
||||||
public static final class GetRogueScoreRewardInfoScRsp extends ProtoMessage<GetRogueScoreRewardInfoScRsp> implements Cloneable {
|
public static final class GetRogueScoreRewardInfoScRsp extends
|
||||||
|
com.google.protobuf.GeneratedMessage implements
|
||||||
|
// @@protoc_insertion_point(message_implements:GetRogueScoreRewardInfoScRsp)
|
||||||
|
GetRogueScoreRewardInfoScRspOrBuilder {
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
static {
|
||||||
/**
|
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||||
* <code>optional uint32 retcode = 8;</code>
|
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||||
*/
|
/* major= */ 4,
|
||||||
private int retcode;
|
/* minor= */ 26,
|
||||||
|
/* patch= */ 0,
|
||||||
/**
|
/* suffix= */ "-rc1",
|
||||||
* <code>optional .RogueScoreRewardInfo score_reward_info = 15;</code>
|
GetRogueScoreRewardInfoScRsp.class.getName());
|
||||||
*/
|
}
|
||||||
private final RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo scoreRewardInfo = RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.newInstance();
|
// Use GetRogueScoreRewardInfoScRsp.newBuilder() to construct.
|
||||||
|
private GetRogueScoreRewardInfoScRsp(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||||
|
super(builder);
|
||||||
|
}
|
||||||
private GetRogueScoreRewardInfoScRsp() {
|
private GetRogueScoreRewardInfoScRsp() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||||||
* @return a new empty instance of {@code GetRogueScoreRewardInfoScRsp}
|
getDescriptor() {
|
||||||
*/
|
return emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.internal_static_GetRogueScoreRewardInfoScRsp_descriptor;
|
||||||
public static GetRogueScoreRewardInfoScRsp newInstance() {
|
|
||||||
return new GetRogueScoreRewardInfoScRsp();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
@java.lang.Override
|
||||||
* <code>optional uint32 retcode = 8;</code>
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
* @return whether the retcode field is set
|
internalGetFieldAccessorTable() {
|
||||||
*/
|
return emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.internal_static_GetRogueScoreRewardInfoScRsp_fieldAccessorTable
|
||||||
public boolean hasRetcode() {
|
.ensureFieldAccessorsInitialized(
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp.class, emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp.Builder.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private int bitField0_;
|
||||||
|
public static final int SCORE_REWARD_INFO_FIELD_NUMBER = 13;
|
||||||
|
private emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo scoreRewardInfo_;
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 8;</code>
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
* @return this
|
* @return Whether the scoreRewardInfo field is set.
|
||||||
*/
|
|
||||||
public GetRogueScoreRewardInfoScRsp clearRetcode() {
|
|
||||||
bitField0_ &= ~0x00000001;
|
|
||||||
retcode = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 retcode = 8;</code>
|
|
||||||
* @return the retcode
|
|
||||||
*/
|
|
||||||
public int getRetcode() {
|
|
||||||
return retcode;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 retcode = 8;</code>
|
|
||||||
* @param value the retcode to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public GetRogueScoreRewardInfoScRsp setRetcode(final int value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
retcode = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .RogueScoreRewardInfo score_reward_info = 15;</code>
|
|
||||||
* @return whether the scoreRewardInfo field is set
|
|
||||||
*/
|
*/
|
||||||
|
@java.lang.Override
|
||||||
public boolean hasScoreRewardInfo() {
|
public boolean hasScoreRewardInfo() {
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
return ((bitField0_ & 0x00000001) != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueScoreRewardInfo score_reward_info = 15;</code>
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
* @return this
|
* @return The scoreRewardInfo.
|
||||||
*/
|
*/
|
||||||
public GetRogueScoreRewardInfoScRsp clearScoreRewardInfo() {
|
@java.lang.Override
|
||||||
bitField0_ &= ~0x00000002;
|
public emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo getScoreRewardInfo() {
|
||||||
scoreRewardInfo.clear();
|
return scoreRewardInfo_ == null ? emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.getDefaultInstance() : scoreRewardInfo_;
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueScoreRewardInfo score_reward_info = 15;</code>
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
*
|
|
||||||
* This method returns the internal storage object without modifying any has state.
|
|
||||||
* The returned object should not be modified and be treated as read-only.
|
|
||||||
*
|
|
||||||
* Use {@link #getMutableScoreRewardInfo()} if you want to modify it.
|
|
||||||
*
|
|
||||||
* @return internal storage object for reading
|
|
||||||
*/
|
*/
|
||||||
public RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo getScoreRewardInfo() {
|
@java.lang.Override
|
||||||
return scoreRewardInfo;
|
public emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfoOrBuilder getScoreRewardInfoOrBuilder() {
|
||||||
|
return scoreRewardInfo_ == null ? emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.getDefaultInstance() : scoreRewardInfo_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static final int RETCODE_FIELD_NUMBER = 4;
|
||||||
|
private int retcode_ = 0;
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueScoreRewardInfo score_reward_info = 15;</code>
|
* <code>uint32 retcode = 4;</code>
|
||||||
*
|
* @return The retcode.
|
||||||
* 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 RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo getMutableScoreRewardInfo() {
|
@java.lang.Override
|
||||||
bitField0_ |= 0x00000002;
|
public int getRetcode() {
|
||||||
return scoreRewardInfo;
|
return retcode_;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
private byte memoizedIsInitialized = -1;
|
||||||
* <code>optional .RogueScoreRewardInfo score_reward_info = 15;</code>
|
@java.lang.Override
|
||||||
* @param value the scoreRewardInfo to set
|
public final boolean isInitialized() {
|
||||||
* @return this
|
byte isInitialized = memoizedIsInitialized;
|
||||||
*/
|
if (isInitialized == 1) return true;
|
||||||
public GetRogueScoreRewardInfoScRsp setScoreRewardInfo(
|
if (isInitialized == 0) return false;
|
||||||
final RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo value) {
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
scoreRewardInfo.copyFrom(value);
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
memoizedIsInitialized = 1;
|
||||||
public GetRogueScoreRewardInfoScRsp copyFrom(final GetRogueScoreRewardInfoScRsp other) {
|
|
||||||
cachedSize = other.cachedSize;
|
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
|
||||||
bitField0_ = other.bitField0_;
|
|
||||||
retcode = other.retcode;
|
|
||||||
scoreRewardInfo.copyFrom(other.scoreRewardInfo);
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public GetRogueScoreRewardInfoScRsp mergeFrom(final GetRogueScoreRewardInfoScRsp other) {
|
|
||||||
if (other.isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
if (other.hasRetcode()) {
|
|
||||||
setRetcode(other.retcode);
|
|
||||||
}
|
|
||||||
if (other.hasScoreRewardInfo()) {
|
|
||||||
getMutableScoreRewardInfo().mergeFrom(other.scoreRewardInfo);
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public GetRogueScoreRewardInfoScRsp clear() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
retcode = 0;
|
|
||||||
scoreRewardInfo.clear();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public GetRogueScoreRewardInfoScRsp clearQuick() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
scoreRewardInfo.clearQuick();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean equals(Object o) {
|
|
||||||
if (o == this) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(o instanceof GetRogueScoreRewardInfoScRsp)) {
|
|
||||||
return false;
|
@java.lang.Override
|
||||||
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (retcode_ != 0) {
|
||||||
|
output.writeUInt32(4, retcode_);
|
||||||
}
|
}
|
||||||
GetRogueScoreRewardInfoScRsp other = (GetRogueScoreRewardInfoScRsp) o;
|
if (((bitField0_ & 0x00000001) != 0)) {
|
||||||
return bitField0_ == other.bitField0_
|
output.writeMessage(13, getScoreRewardInfo());
|
||||||
&& (!hasRetcode() || retcode == other.retcode)
|
}
|
||||||
&& (!hasScoreRewardInfo() || scoreRewardInfo.equals(other.scoreRewardInfo));
|
getUnknownFields().writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public int getSerializedSize() {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
int size = memoizedSize;
|
||||||
output.writeRawByte((byte) 64);
|
if (size != -1) return size;
|
||||||
output.writeUInt32NoTag(retcode);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeRawByte((byte) 122);
|
|
||||||
output.writeMessageNoTag(scoreRewardInfo);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
size = 0;
|
||||||
protected int computeSerializedSize() {
|
if (retcode_ != 0) {
|
||||||
int size = 0;
|
size += com.google.protobuf.CodedOutputStream
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
.computeUInt32Size(4, retcode_);
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if (((bitField0_ & 0x00000001) != 0)) {
|
||||||
size += 1 + ProtoSink.computeMessageSizeNoTag(scoreRewardInfo);
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeMessageSize(13, getScoreRewardInfo());
|
||||||
}
|
}
|
||||||
|
size += getUnknownFields().getSerializedSize();
|
||||||
|
memoizedSize = size;
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
@SuppressWarnings("fallthrough")
|
public boolean equals(final java.lang.Object obj) {
|
||||||
public GetRogueScoreRewardInfoScRsp mergeFrom(final ProtoSource input) throws IOException {
|
if (obj == this) {
|
||||||
// Enabled Fall-Through Optimization (QuickBuffers)
|
return true;
|
||||||
|
}
|
||||||
|
if (!(obj instanceof emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp)) {
|
||||||
|
return super.equals(obj);
|
||||||
|
}
|
||||||
|
emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp other = (emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp) obj;
|
||||||
|
|
||||||
|
if (hasScoreRewardInfo() != other.hasScoreRewardInfo()) return false;
|
||||||
|
if (hasScoreRewardInfo()) {
|
||||||
|
if (!getScoreRewardInfo()
|
||||||
|
.equals(other.getScoreRewardInfo())) return false;
|
||||||
|
}
|
||||||
|
if (getRetcode()
|
||||||
|
!= other.getRetcode()) return false;
|
||||||
|
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public int hashCode() {
|
||||||
|
if (memoizedHashCode != 0) {
|
||||||
|
return memoizedHashCode;
|
||||||
|
}
|
||||||
|
int hash = 41;
|
||||||
|
hash = (19 * hash) + getDescriptor().hashCode();
|
||||||
|
if (hasScoreRewardInfo()) {
|
||||||
|
hash = (37 * hash) + SCORE_REWARD_INFO_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getScoreRewardInfo().hashCode();
|
||||||
|
}
|
||||||
|
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getRetcode();
|
||||||
|
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||||
|
memoizedHashCode = hash;
|
||||||
|
return hash;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(
|
||||||
|
java.nio.ByteBuffer data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp 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.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(
|
||||||
|
com.google.protobuf.ByteString data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp 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.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(byte[] data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(
|
||||||
|
byte[] data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp 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.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseDelimitedFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseDelimitedWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp 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.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp 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.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp 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 GetRogueScoreRewardInfoScRsp}
|
||||||
|
*/
|
||||||
|
public static final class Builder extends
|
||||||
|
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||||
|
// @@protoc_insertion_point(builder_implements:GetRogueScoreRewardInfoScRsp)
|
||||||
|
emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRspOrBuilder {
|
||||||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptor() {
|
||||||
|
return emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.internal_static_GetRogueScoreRewardInfoScRsp_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
|
internalGetFieldAccessorTable() {
|
||||||
|
return emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.internal_static_GetRogueScoreRewardInfoScRsp_fieldAccessorTable
|
||||||
|
.ensureFieldAccessorsInitialized(
|
||||||
|
emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp.class, emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp.Builder.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Construct using emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp.newBuilder()
|
||||||
|
private Builder() {
|
||||||
|
maybeForceBuilderInitialization();
|
||||||
|
}
|
||||||
|
|
||||||
|
private Builder(
|
||||||
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||||
|
super(parent);
|
||||||
|
maybeForceBuilderInitialization();
|
||||||
|
}
|
||||||
|
private void maybeForceBuilderInitialization() {
|
||||||
|
if (com.google.protobuf.GeneratedMessage
|
||||||
|
.alwaysUseFieldBuilders) {
|
||||||
|
getScoreRewardInfoFieldBuilder();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder clear() {
|
||||||
|
super.clear();
|
||||||
|
bitField0_ = 0;
|
||||||
|
scoreRewardInfo_ = null;
|
||||||
|
if (scoreRewardInfoBuilder_ != null) {
|
||||||
|
scoreRewardInfoBuilder_.dispose();
|
||||||
|
scoreRewardInfoBuilder_ = null;
|
||||||
|
}
|
||||||
|
retcode_ = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptorForType() {
|
||||||
|
return emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.internal_static_GetRogueScoreRewardInfoScRsp_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp getDefaultInstanceForType() {
|
||||||
|
return emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp.getDefaultInstance();
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp build() {
|
||||||
|
emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp result = buildPartial();
|
||||||
|
if (!result.isInitialized()) {
|
||||||
|
throw newUninitializedMessageException(result);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp buildPartial() {
|
||||||
|
emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp result = new emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp(this);
|
||||||
|
if (bitField0_ != 0) { buildPartial0(result); }
|
||||||
|
onBuilt();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buildPartial0(emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp result) {
|
||||||
|
int from_bitField0_ = bitField0_;
|
||||||
|
int to_bitField0_ = 0;
|
||||||
|
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||||
|
result.scoreRewardInfo_ = scoreRewardInfoBuilder_ == null
|
||||||
|
? scoreRewardInfo_
|
||||||
|
: scoreRewardInfoBuilder_.build();
|
||||||
|
to_bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||||
|
result.retcode_ = retcode_;
|
||||||
|
}
|
||||||
|
result.bitField0_ |= to_bitField0_;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||||
|
if (other instanceof emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp) {
|
||||||
|
return mergeFrom((emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp)other);
|
||||||
|
} else {
|
||||||
|
super.mergeFrom(other);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Builder mergeFrom(emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp other) {
|
||||||
|
if (other == emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp.getDefaultInstance()) return this;
|
||||||
|
if (other.hasScoreRewardInfo()) {
|
||||||
|
mergeScoreRewardInfo(other.getScoreRewardInfo());
|
||||||
|
}
|
||||||
|
if (other.getRetcode() != 0) {
|
||||||
|
setRetcode(other.getRetcode());
|
||||||
|
}
|
||||||
|
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();
|
int tag = input.readTag();
|
||||||
while (true) {
|
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 64: {
|
case 0:
|
||||||
// retcode
|
done = true;
|
||||||
retcode = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 122) {
|
|
||||||
break;
|
break;
|
||||||
}
|
case 32: {
|
||||||
}
|
retcode_ = input.readUInt32();
|
||||||
case 122: {
|
|
||||||
// scoreRewardInfo
|
|
||||||
input.readMessage(scoreRewardInfo);
|
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 0) {
|
|
||||||
break;
|
break;
|
||||||
}
|
} // case 32
|
||||||
}
|
case 106: {
|
||||||
case 0: {
|
input.readMessage(
|
||||||
return this;
|
getScoreRewardInfoFieldBuilder().getBuilder(),
|
||||||
}
|
extensionRegistry);
|
||||||
default: {
|
|
||||||
if (!input.skipField(tag)) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
tag = input.readTag();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void writeTo(final JsonSink output) throws IOException {
|
|
||||||
output.beginObject();
|
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
|
||||||
output.writeUInt32(FieldNames.retcode, retcode);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeMessage(FieldNames.scoreRewardInfo, scoreRewardInfo);
|
|
||||||
}
|
|
||||||
output.endObject();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public GetRogueScoreRewardInfoScRsp mergeFrom(final JsonSource input) throws IOException {
|
|
||||||
if (!input.beginObject()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
while (!input.isAtEnd()) {
|
|
||||||
switch (input.readFieldHash()) {
|
|
||||||
case 1097936398: {
|
|
||||||
if (input.isAtField(FieldNames.retcode)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
retcode = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
|
break;
|
||||||
|
} // case 106
|
||||||
|
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 emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo scoreRewardInfo_;
|
||||||
|
private com.google.protobuf.SingleFieldBuilder<
|
||||||
|
emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo, emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.Builder, emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfoOrBuilder> scoreRewardInfoBuilder_;
|
||||||
|
/**
|
||||||
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
|
* @return Whether the scoreRewardInfo field is set.
|
||||||
|
*/
|
||||||
|
public boolean hasScoreRewardInfo() {
|
||||||
|
return ((bitField0_ & 0x00000001) != 0);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
|
* @return The scoreRewardInfo.
|
||||||
|
*/
|
||||||
|
public emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo getScoreRewardInfo() {
|
||||||
|
if (scoreRewardInfoBuilder_ == null) {
|
||||||
|
return scoreRewardInfo_ == null ? emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.getDefaultInstance() : scoreRewardInfo_;
|
||||||
|
} else {
|
||||||
|
return scoreRewardInfoBuilder_.getMessage();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
|
*/
|
||||||
|
public Builder setScoreRewardInfo(emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo value) {
|
||||||
|
if (scoreRewardInfoBuilder_ == null) {
|
||||||
|
if (value == null) {
|
||||||
|
throw new NullPointerException();
|
||||||
|
}
|
||||||
|
scoreRewardInfo_ = value;
|
||||||
|
} else {
|
||||||
|
scoreRewardInfoBuilder_.setMessage(value);
|
||||||
|
}
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
|
*/
|
||||||
|
public Builder setScoreRewardInfo(
|
||||||
|
emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.Builder builderForValue) {
|
||||||
|
if (scoreRewardInfoBuilder_ == null) {
|
||||||
|
scoreRewardInfo_ = builderForValue.build();
|
||||||
|
} else {
|
||||||
|
scoreRewardInfoBuilder_.setMessage(builderForValue.build());
|
||||||
|
}
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
|
*/
|
||||||
|
public Builder mergeScoreRewardInfo(emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo value) {
|
||||||
|
if (scoreRewardInfoBuilder_ == null) {
|
||||||
|
if (((bitField0_ & 0x00000001) != 0) &&
|
||||||
|
scoreRewardInfo_ != null &&
|
||||||
|
scoreRewardInfo_ != emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.getDefaultInstance()) {
|
||||||
|
getScoreRewardInfoBuilder().mergeFrom(value);
|
||||||
|
} else {
|
||||||
|
scoreRewardInfo_ = value;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
scoreRewardInfoBuilder_.mergeFrom(value);
|
||||||
}
|
}
|
||||||
break;
|
if (scoreRewardInfo_ != null) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
onChanged();
|
||||||
}
|
}
|
||||||
case 672564399:
|
return this;
|
||||||
case 751191441: {
|
|
||||||
if (input.isAtField(FieldNames.scoreRewardInfo)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
input.readMessage(scoreRewardInfo);
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
|
*/
|
||||||
|
public Builder clearScoreRewardInfo() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000001);
|
||||||
|
scoreRewardInfo_ = null;
|
||||||
|
if (scoreRewardInfoBuilder_ != null) {
|
||||||
|
scoreRewardInfoBuilder_.dispose();
|
||||||
|
scoreRewardInfoBuilder_ = null;
|
||||||
|
}
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
|
*/
|
||||||
|
public emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.Builder getScoreRewardInfoBuilder() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
onChanged();
|
||||||
|
return getScoreRewardInfoFieldBuilder().getBuilder();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
|
*/
|
||||||
|
public emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfoOrBuilder getScoreRewardInfoOrBuilder() {
|
||||||
|
if (scoreRewardInfoBuilder_ != null) {
|
||||||
|
return scoreRewardInfoBuilder_.getMessageOrBuilder();
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
return scoreRewardInfo_ == null ?
|
||||||
}
|
emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.getDefaultInstance() : scoreRewardInfo_;
|
||||||
break;
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
input.skipUnknownField();
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* <code>.RogueScoreRewardInfo score_reward_info = 13;</code>
|
||||||
|
*/
|
||||||
|
private com.google.protobuf.SingleFieldBuilder<
|
||||||
|
emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo, emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.Builder, emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfoOrBuilder>
|
||||||
|
getScoreRewardInfoFieldBuilder() {
|
||||||
|
if (scoreRewardInfoBuilder_ == null) {
|
||||||
|
scoreRewardInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
||||||
|
emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo, emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.Builder, emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfoOrBuilder>(
|
||||||
|
getScoreRewardInfo(),
|
||||||
|
getParentForChildren(),
|
||||||
|
isClean());
|
||||||
|
scoreRewardInfo_ = null;
|
||||||
}
|
}
|
||||||
input.endObject();
|
return scoreRewardInfoBuilder_;
|
||||||
|
}
|
||||||
|
|
||||||
|
private int retcode_ ;
|
||||||
|
/**
|
||||||
|
* <code>uint32 retcode = 4;</code>
|
||||||
|
* @return The retcode.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public int getRetcode() {
|
||||||
|
return retcode_;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>uint32 retcode = 4;</code>
|
||||||
|
* @param value The retcode to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder setRetcode(int value) {
|
||||||
|
|
||||||
|
retcode_ = value;
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>uint32 retcode = 4;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearRetcode() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000002);
|
||||||
|
retcode_ = 0;
|
||||||
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
// @@protoc_insertion_point(builder_scope:GetRogueScoreRewardInfoScRsp)
|
||||||
public GetRogueScoreRewardInfoScRsp clone() {
|
|
||||||
return new GetRogueScoreRewardInfoScRsp().copyFrom(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
// @@protoc_insertion_point(class_scope:GetRogueScoreRewardInfoScRsp)
|
||||||
public boolean isEmpty() {
|
private static final emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp DEFAULT_INSTANCE;
|
||||||
return ((bitField0_) == 0);
|
static {
|
||||||
|
DEFAULT_INSTANCE = new emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static GetRogueScoreRewardInfoScRsp parseFrom(final byte[] data) throws
|
public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp getDefaultInstance() {
|
||||||
InvalidProtocolBufferException {
|
return DEFAULT_INSTANCE;
|
||||||
return ProtoMessage.mergeFrom(new GetRogueScoreRewardInfoScRsp(), data).checkInitialized();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static GetRogueScoreRewardInfoScRsp parseFrom(final ProtoSource input) throws
|
private static final com.google.protobuf.Parser<GetRogueScoreRewardInfoScRsp>
|
||||||
IOException {
|
PARSER = new com.google.protobuf.AbstractParser<GetRogueScoreRewardInfoScRsp>() {
|
||||||
return ProtoMessage.mergeFrom(new GetRogueScoreRewardInfoScRsp(), input).checkInitialized();
|
@java.lang.Override
|
||||||
|
public GetRogueScoreRewardInfoScRsp 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<GetRogueScoreRewardInfoScRsp> parser() {
|
||||||
|
return PARSER;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static GetRogueScoreRewardInfoScRsp parseFrom(final JsonSource input) throws
|
@java.lang.Override
|
||||||
IOException {
|
public com.google.protobuf.Parser<GetRogueScoreRewardInfoScRsp> getParserForType() {
|
||||||
return ProtoMessage.mergeFrom(new GetRogueScoreRewardInfoScRsp(), input).checkInitialized();
|
return PARSER;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
@java.lang.Override
|
||||||
* @return factory for creating GetRogueScoreRewardInfoScRsp messages
|
public emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp getDefaultInstanceForType() {
|
||||||
*/
|
return DEFAULT_INSTANCE;
|
||||||
public static MessageFactory<GetRogueScoreRewardInfoScRsp> getFactory() {
|
|
||||||
return GetRogueScoreRewardInfoScRspFactory.INSTANCE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private enum GetRogueScoreRewardInfoScRspFactory implements MessageFactory<GetRogueScoreRewardInfoScRsp> {
|
|
||||||
INSTANCE;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public GetRogueScoreRewardInfoScRsp create() {
|
|
||||||
return GetRogueScoreRewardInfoScRsp.newInstance();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
private static final com.google.protobuf.Descriptors.Descriptor
|
||||||
* Contains name constants used for serializing JSON
|
internal_static_GetRogueScoreRewardInfoScRsp_descriptor;
|
||||||
*/
|
private static final
|
||||||
static class FieldNames {
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
static final FieldName retcode = FieldName.forField("retcode");
|
internal_static_GetRogueScoreRewardInfoScRsp_fieldAccessorTable;
|
||||||
|
|
||||||
static final FieldName scoreRewardInfo = FieldName.forField("scoreRewardInfo", "score_reward_info");
|
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||||
|
getDescriptor() {
|
||||||
|
return descriptor;
|
||||||
}
|
}
|
||||||
|
private static com.google.protobuf.Descriptors.FileDescriptor
|
||||||
|
descriptor;
|
||||||
|
static {
|
||||||
|
java.lang.String[] descriptorData = {
|
||||||
|
"\n\"GetRogueScoreRewardInfoScRsp.proto\032\032Ro" +
|
||||||
|
"gueScoreRewardInfo.proto\"a\n\034GetRogueScor" +
|
||||||
|
"eRewardInfoScRsp\0220\n\021score_reward_info\030\r " +
|
||||||
|
"\001(\0132\025.RogueScoreRewardInfo\022\017\n\007retcode\030\004 " +
|
||||||
|
"\001(\rB\025\n\023emu.lunarcore.protob\006proto3"
|
||||||
|
};
|
||||||
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||||
|
.internalBuildGeneratedFileFrom(descriptorData,
|
||||||
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||||
|
emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.getDescriptor(),
|
||||||
|
});
|
||||||
|
internal_static_GetRogueScoreRewardInfoScRsp_descriptor =
|
||||||
|
getDescriptor().getMessageTypes().get(0);
|
||||||
|
internal_static_GetRogueScoreRewardInfoScRsp_fieldAccessorTable = new
|
||||||
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||||
|
internal_static_GetRogueScoreRewardInfoScRsp_descriptor,
|
||||||
|
new java.lang.String[] { "ScoreRewardInfo", "Retcode", });
|
||||||
|
descriptor.resolveAllFeatures();
|
||||||
|
emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.getDescriptor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(outer_class_scope)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
com.google.protobuf.GeneratedMessage implements
|
||||||
|
// @@protoc_insertion_point(message_implements:MazeGroup)
|
||||||
|
MazeGroupOrBuilder {
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
static {
|
||||||
/**
|
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||||
* <code>optional uint32 group_id = 6;</code>
|
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||||
*/
|
/* major= */ 4,
|
||||||
private int groupId;
|
/* 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
memoizedIsInitialized = 1;
|
||||||
public MazeGroup mergeFrom(final MazeGroup other) {
|
|
||||||
if (other.isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
if (other.hasGroupId()) {
|
|
||||||
setGroupId(other.groupId);
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public MazeGroup clear() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
groupId = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public MazeGroup clearQuick() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean equals(Object o) {
|
|
||||||
if (o == this) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(o instanceof MazeGroup)) {
|
|
||||||
return false;
|
@java.lang.Override
|
||||||
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (modifyTime_ != 0L) {
|
||||||
|
output.writeInt64(2, modifyTime_);
|
||||||
}
|
}
|
||||||
MazeGroup other = (MazeGroup) o;
|
if (groupId_ != 0) {
|
||||||
return bitField0_ == other.bitField0_
|
output.writeUInt32(6, groupId_);
|
||||||
&& (!hasGroupId() || groupId == other.groupId);
|
}
|
||||||
|
getUnknownFields().writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public int getSerializedSize() {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
int size = memoizedSize;
|
||||||
output.writeRawByte((byte) 48);
|
if (size != -1) return size;
|
||||||
output.writeUInt32NoTag(groupId);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
size = 0;
|
||||||
protected int computeSerializedSize() {
|
if (modifyTime_ != 0L) {
|
||||||
int size = 0;
|
size += com.google.protobuf.CodedOutputStream
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
.computeInt64Size(2, modifyTime_);
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(groupId);
|
|
||||||
}
|
}
|
||||||
|
if (groupId_ != 0) {
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeUInt32Size(6, 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;
|
|
||||||
}
|
}
|
||||||
|
if (!(obj instanceof emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup)) {
|
||||||
|
return super.equals(obj);
|
||||||
}
|
}
|
||||||
case 0: {
|
emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup other = (emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup) obj;
|
||||||
|
|
||||||
|
if (getGroupId()
|
||||||
|
!= other.getGroupId()) return false;
|
||||||
|
if (getModifyTime()
|
||||||
|
!= other.getModifyTime()) return false;
|
||||||
|
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public int hashCode() {
|
||||||
|
if (memoizedHashCode != 0) {
|
||||||
|
return memoizedHashCode;
|
||||||
|
}
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||||
|
java.nio.ByteBuffer data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||||
|
java.nio.ByteBuffer data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||||
|
com.google.protobuf.ByteString data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||||
|
com.google.protobuf.ByteString data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(byte[] data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||||
|
byte[] data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||||
|
java.io.InputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseDelimitedFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseDelimitedWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseDelimitedFrom(
|
||||||
|
java.io.InputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder newBuilderForType() { return newBuilder(); }
|
||||||
|
public static Builder newBuilder() {
|
||||||
|
return DEFAULT_INSTANCE.toBuilder();
|
||||||
|
}
|
||||||
|
public static Builder newBuilder(emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup prototype) {
|
||||||
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||||
|
}
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder toBuilder() {
|
||||||
|
return this == DEFAULT_INSTANCE
|
||||||
|
? new Builder() : new Builder().mergeFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected Builder newBuilderForType(
|
||||||
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||||
|
Builder builder = new Builder(parent);
|
||||||
|
return builder;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code MazeGroup}
|
||||||
|
*/
|
||||||
|
public static final class Builder extends
|
||||||
|
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||||
|
// @@protoc_insertion_point(builder_implements:MazeGroup)
|
||||||
|
emu.lunarcore.proto.MazeGroupOuterClass.MazeGroupOrBuilder {
|
||||||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptor() {
|
||||||
|
return emu.lunarcore.proto.MazeGroupOuterClass.internal_static_MazeGroup_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
|
internalGetFieldAccessorTable() {
|
||||||
|
return emu.lunarcore.proto.MazeGroupOuterClass.internal_static_MazeGroup_fieldAccessorTable
|
||||||
|
.ensureFieldAccessorsInitialized(
|
||||||
|
emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup.class, emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup.Builder.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Construct using emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup.newBuilder()
|
||||||
|
private Builder() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private Builder(
|
||||||
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||||
|
super(parent);
|
||||||
|
|
||||||
|
}
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder clear() {
|
||||||
|
super.clear();
|
||||||
|
bitField0_ = 0;
|
||||||
|
groupId_ = 0;
|
||||||
|
modifyTime_ = 0L;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
default: {
|
|
||||||
if (!input.skipField(tag)) {
|
@java.lang.Override
|
||||||
return this;
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptorForType() {
|
||||||
|
return emu.lunarcore.proto.MazeGroupOuterClass.internal_static_MazeGroup_descriptor;
|
||||||
}
|
}
|
||||||
tag = input.readTag();
|
|
||||||
break;
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup getDefaultInstanceForType() {
|
||||||
|
return emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup.getDefaultInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup build() {
|
||||||
|
emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup result = buildPartial();
|
||||||
|
if (!result.isInitialized()) {
|
||||||
|
throw newUninitializedMessageException(result);
|
||||||
}
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup buildPartial() {
|
||||||
|
emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup result = new emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup(this);
|
||||||
|
if (bitField0_ != 0) { buildPartial0(result); }
|
||||||
|
onBuilt();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buildPartial0(emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup result) {
|
||||||
|
int from_bitField0_ = bitField0_;
|
||||||
|
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||||
|
result.groupId_ = groupId_;
|
||||||
|
}
|
||||||
|
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||||
|
result.modifyTime_ = modifyTime_;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final JsonSink output) throws IOException {
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||||
output.beginObject();
|
if (other instanceof emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup) {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
return mergeFrom((emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup)other);
|
||||||
output.writeUInt32(FieldNames.groupId, groupId);
|
|
||||||
}
|
|
||||||
output.endObject();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public MazeGroup mergeFrom(final JsonSource input) throws IOException {
|
|
||||||
if (!input.beginObject()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
while (!input.isAtEnd()) {
|
|
||||||
switch (input.readFieldHash()) {
|
|
||||||
case 293428218:
|
|
||||||
case 506361563: {
|
|
||||||
if (input.isAtField(FieldNames.groupId)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
groupId = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
super.mergeFrom(other);
|
||||||
}
|
return this;
|
||||||
break;
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
input.skipUnknownField();
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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());
|
||||||
}
|
}
|
||||||
input.endObject();
|
if (other.getModifyTime() != 0L) {
|
||||||
|
setModifyTime(other.getModifyTime());
|
||||||
|
}
|
||||||
|
this.mergeUnknownFields(other.getUnknownFields());
|
||||||
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public MazeGroup clone() {
|
public final boolean isInitialized() {
|
||||||
return new MazeGroup().copyFrom(this);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public boolean isEmpty() {
|
public Builder mergeFrom(
|
||||||
return ((bitField0_) == 0);
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (extensionRegistry == null) {
|
||||||
|
throw new java.lang.NullPointerException();
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
public static MazeGroup parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
boolean done = false;
|
||||||
return ProtoMessage.mergeFrom(new MazeGroup(), data).checkInitialized();
|
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;
|
||||||
public static MazeGroup parseFrom(final ProtoSource input) throws IOException {
|
} // default:
|
||||||
return ProtoMessage.mergeFrom(new MazeGroup(), input).checkInitialized();
|
} // switch (tag)
|
||||||
}
|
} // while (!done)
|
||||||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||||
public static MazeGroup parseFrom(final JsonSource input) throws IOException {
|
throw e.unwrapIOException();
|
||||||
return ProtoMessage.mergeFrom(new MazeGroup(), input).checkInitialized();
|
} finally {
|
||||||
|
onChanged();
|
||||||
|
} // finally
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
private int bitField0_;
|
||||||
|
|
||||||
|
private int groupId_ ;
|
||||||
/**
|
/**
|
||||||
* @return factory for creating MazeGroup messages
|
* <code>uint32 group_id = 6;</code>
|
||||||
|
* @return The groupId.
|
||||||
*/
|
*/
|
||||||
public static MessageFactory<MazeGroup> getFactory() {
|
@java.lang.Override
|
||||||
return MazeGroupFactory.INSTANCE;
|
public int getGroupId() {
|
||||||
|
return groupId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
private enum MazeGroupFactory implements MessageFactory<MazeGroup> {
|
|
||||||
INSTANCE;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public MazeGroup create() {
|
|
||||||
return MazeGroup.newInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains name constants used for serializing JSON
|
* <code>uint32 group_id = 6;</code>
|
||||||
|
* @param value The groupId to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
public Builder setGroupId(int value) {
|
||||||
static final FieldName groupId = FieldName.forField("groupId", "group_id");
|
|
||||||
|
groupId_ = value;
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* <code>uint32 group_id = 6;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearGroupId() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000001);
|
||||||
|
groupId_ = 0;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private long modifyTime_ ;
|
||||||
|
/**
|
||||||
|
* <code>int64 modify_time = 2;</code>
|
||||||
|
* @return The modifyTime.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public long getModifyTime() {
|
||||||
|
return modifyTime_;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int64 modify_time = 2;</code>
|
||||||
|
* @param value The modifyTime to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder setModifyTime(long value) {
|
||||||
|
|
||||||
|
modifyTime_ = value;
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int64 modify_time = 2;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearModifyTime() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000002);
|
||||||
|
modifyTime_ = 0L;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(builder_scope:MazeGroup)
|
||||||
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:MazeGroup)
|
||||||
|
private static final emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup DEFAULT_INSTANCE;
|
||||||
|
static {
|
||||||
|
DEFAULT_INSTANCE = new emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup getDefaultInstance() {
|
||||||
|
return DEFAULT_INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static final com.google.protobuf.Parser<MazeGroup>
|
||||||
|
PARSER = new com.google.protobuf.AbstractParser<MazeGroup>() {
|
||||||
|
@java.lang.Override
|
||||||
|
public MazeGroup parsePartialFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
Builder builder = newBuilder();
|
||||||
|
try {
|
||||||
|
builder.mergeFrom(input, extensionRegistry);
|
||||||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||||
|
throw e.setUnfinishedMessage(builder.buildPartial());
|
||||||
|
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||||
|
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
||||||
|
} catch (java.io.IOException e) {
|
||||||
|
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
||||||
|
.setUnfinishedMessage(builder.buildPartial());
|
||||||
|
}
|
||||||
|
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
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,420 +1,639 @@
|
|||||||
// Code generated by protocol buffer compiler. Do not edit!
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
|
// source: RogueUnlockProgress.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 RogueUnlockProgressOuterClass {
|
public final class RogueUnlockProgressOuterClass {
|
||||||
|
private RogueUnlockProgressOuterClass() {}
|
||||||
|
static {
|
||||||
|
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||||
|
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||||
|
/* major= */ 4,
|
||||||
|
/* minor= */ 26,
|
||||||
|
/* patch= */ 0,
|
||||||
|
/* suffix= */ "-rc1",
|
||||||
|
RogueUnlockProgressOuterClass.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 RogueUnlockProgressOrBuilder extends
|
||||||
|
// @@protoc_insertion_point(interface_extends:RogueUnlockProgress)
|
||||||
|
com.google.protobuf.MessageOrBuilder {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>bool finish = 12;</code>
|
||||||
|
* @return The finish.
|
||||||
|
*/
|
||||||
|
boolean getFinish();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>uint32 progress = 9;</code>
|
||||||
|
* @return The progress.
|
||||||
|
*/
|
||||||
|
int getProgress();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>uint32 unlock_id = 8;</code>
|
||||||
|
* @return The unlockId.
|
||||||
|
*/
|
||||||
|
int getUnlockId();
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Protobuf type {@code RogueUnlockProgress}
|
* Protobuf type {@code RogueUnlockProgress}
|
||||||
*/
|
*/
|
||||||
public static final class RogueUnlockProgress extends ProtoMessage<RogueUnlockProgress> implements Cloneable {
|
public static final class RogueUnlockProgress extends
|
||||||
|
com.google.protobuf.GeneratedMessage implements
|
||||||
|
// @@protoc_insertion_point(message_implements:RogueUnlockProgress)
|
||||||
|
RogueUnlockProgressOrBuilder {
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
static {
|
||||||
/**
|
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||||
* <code>optional uint32 unlock_id = 11;</code>
|
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||||
*/
|
/* major= */ 4,
|
||||||
private int unlockId;
|
/* minor= */ 26,
|
||||||
|
/* patch= */ 0,
|
||||||
/**
|
/* suffix= */ "-rc1",
|
||||||
* <code>optional uint32 progress = 13;</code>
|
RogueUnlockProgress.class.getName());
|
||||||
*/
|
}
|
||||||
private int progress;
|
// Use RogueUnlockProgress.newBuilder() to construct.
|
||||||
|
private RogueUnlockProgress(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||||
/**
|
super(builder);
|
||||||
* <code>optional bool finish = 4;</code>
|
}
|
||||||
*/
|
|
||||||
private boolean finish;
|
|
||||||
|
|
||||||
private RogueUnlockProgress() {
|
private RogueUnlockProgress() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||||||
* @return a new empty instance of {@code RogueUnlockProgress}
|
getDescriptor() {
|
||||||
*/
|
return emu.lunarcore.proto.RogueUnlockProgressOuterClass.internal_static_RogueUnlockProgress_descriptor;
|
||||||
public static RogueUnlockProgress newInstance() {
|
|
||||||
return new RogueUnlockProgress();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
@java.lang.Override
|
||||||
* <code>optional uint32 unlock_id = 11;</code>
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
* @return whether the unlockId field is set
|
internalGetFieldAccessorTable() {
|
||||||
*/
|
return emu.lunarcore.proto.RogueUnlockProgressOuterClass.internal_static_RogueUnlockProgress_fieldAccessorTable
|
||||||
public boolean hasUnlockId() {
|
.ensureFieldAccessorsInitialized(
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress.class, emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress.Builder.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static final int FINISH_FIELD_NUMBER = 12;
|
||||||
|
private boolean finish_ = false;
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 unlock_id = 11;</code>
|
* <code>bool finish = 12;</code>
|
||||||
* @return this
|
* @return The finish.
|
||||||
*/
|
|
||||||
public RogueUnlockProgress clearUnlockId() {
|
|
||||||
bitField0_ &= ~0x00000001;
|
|
||||||
unlockId = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 unlock_id = 11;</code>
|
|
||||||
* @return the unlockId
|
|
||||||
*/
|
|
||||||
public int getUnlockId() {
|
|
||||||
return unlockId;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 unlock_id = 11;</code>
|
|
||||||
* @param value the unlockId to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueUnlockProgress setUnlockId(final int value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
unlockId = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 progress = 13;</code>
|
|
||||||
* @return whether the progress field is set
|
|
||||||
*/
|
|
||||||
public boolean hasProgress() {
|
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 progress = 13;</code>
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueUnlockProgress clearProgress() {
|
|
||||||
bitField0_ &= ~0x00000002;
|
|
||||||
progress = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 progress = 13;</code>
|
|
||||||
* @return the progress
|
|
||||||
*/
|
|
||||||
public int getProgress() {
|
|
||||||
return progress;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 progress = 13;</code>
|
|
||||||
* @param value the progress to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueUnlockProgress setProgress(final int value) {
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
progress = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional bool finish = 4;</code>
|
|
||||||
* @return whether the finish field is set
|
|
||||||
*/
|
|
||||||
public boolean hasFinish() {
|
|
||||||
return (bitField0_ & 0x00000004) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional bool finish = 4;</code>
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueUnlockProgress clearFinish() {
|
|
||||||
bitField0_ &= ~0x00000004;
|
|
||||||
finish = false;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional bool finish = 4;</code>
|
|
||||||
* @return the finish
|
|
||||||
*/
|
*/
|
||||||
|
@java.lang.Override
|
||||||
public boolean getFinish() {
|
public boolean getFinish() {
|
||||||
return finish;
|
return finish_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static final int PROGRESS_FIELD_NUMBER = 9;
|
||||||
|
private int progress_ = 0;
|
||||||
/**
|
/**
|
||||||
* <code>optional bool finish = 4;</code>
|
* <code>uint32 progress = 9;</code>
|
||||||
* @param value the finish to set
|
* @return The progress.
|
||||||
* @return this
|
|
||||||
*/
|
*/
|
||||||
public RogueUnlockProgress setFinish(final boolean value) {
|
@java.lang.Override
|
||||||
bitField0_ |= 0x00000004;
|
public int getProgress() {
|
||||||
finish = value;
|
return progress_;
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
public static final int UNLOCK_ID_FIELD_NUMBER = 8;
|
||||||
public RogueUnlockProgress copyFrom(final RogueUnlockProgress other) {
|
private int unlockId_ = 0;
|
||||||
cachedSize = other.cachedSize;
|
/**
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
* <code>uint32 unlock_id = 8;</code>
|
||||||
bitField0_ = other.bitField0_;
|
* @return The unlockId.
|
||||||
unlockId = other.unlockId;
|
*/
|
||||||
progress = other.progress;
|
@java.lang.Override
|
||||||
finish = other.finish;
|
public int getUnlockId() {
|
||||||
}
|
return unlockId_;
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
private byte memoizedIsInitialized = -1;
|
||||||
public RogueUnlockProgress mergeFrom(final RogueUnlockProgress other) {
|
@java.lang.Override
|
||||||
if (other.isEmpty()) {
|
public final boolean isInitialized() {
|
||||||
return this;
|
byte isInitialized = memoizedIsInitialized;
|
||||||
}
|
if (isInitialized == 1) return true;
|
||||||
cachedSize = -1;
|
if (isInitialized == 0) return false;
|
||||||
if (other.hasUnlockId()) {
|
|
||||||
setUnlockId(other.unlockId);
|
|
||||||
}
|
|
||||||
if (other.hasProgress()) {
|
|
||||||
setProgress(other.progress);
|
|
||||||
}
|
|
||||||
if (other.hasFinish()) {
|
|
||||||
setFinish(other.finish);
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
memoizedIsInitialized = 1;
|
||||||
public RogueUnlockProgress clear() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
unlockId = 0;
|
|
||||||
progress = 0;
|
|
||||||
finish = false;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public RogueUnlockProgress clearQuick() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean equals(Object o) {
|
|
||||||
if (o == this) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(o instanceof RogueUnlockProgress)) {
|
|
||||||
return false;
|
@java.lang.Override
|
||||||
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (unlockId_ != 0) {
|
||||||
|
output.writeUInt32(8, unlockId_);
|
||||||
}
|
}
|
||||||
RogueUnlockProgress other = (RogueUnlockProgress) o;
|
if (progress_ != 0) {
|
||||||
return bitField0_ == other.bitField0_
|
output.writeUInt32(9, progress_);
|
||||||
&& (!hasUnlockId() || unlockId == other.unlockId)
|
}
|
||||||
&& (!hasProgress() || progress == other.progress)
|
if (finish_ != false) {
|
||||||
&& (!hasFinish() || finish == other.finish);
|
output.writeBool(12, finish_);
|
||||||
|
}
|
||||||
|
getUnknownFields().writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public int getSerializedSize() {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
int size = memoizedSize;
|
||||||
output.writeRawByte((byte) 88);
|
if (size != -1) return size;
|
||||||
output.writeUInt32NoTag(unlockId);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeRawByte((byte) 104);
|
|
||||||
output.writeUInt32NoTag(progress);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
|
||||||
output.writeRawByte((byte) 32);
|
|
||||||
output.writeBoolNoTag(finish);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
size = 0;
|
||||||
protected int computeSerializedSize() {
|
if (unlockId_ != 0) {
|
||||||
int size = 0;
|
size += com.google.protobuf.CodedOutputStream
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
.computeUInt32Size(8, unlockId_);
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(unlockId);
|
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if (progress_ != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(progress);
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeUInt32Size(9, progress_);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if (finish_ != false) {
|
||||||
size += 2;
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeBoolSize(12, finish_);
|
||||||
}
|
}
|
||||||
|
size += getUnknownFields().getSerializedSize();
|
||||||
|
memoizedSize = size;
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
@SuppressWarnings("fallthrough")
|
public boolean equals(final java.lang.Object obj) {
|
||||||
public RogueUnlockProgress mergeFrom(final ProtoSource input) throws IOException {
|
if (obj == this) {
|
||||||
// Enabled Fall-Through Optimization (QuickBuffers)
|
return true;
|
||||||
|
}
|
||||||
|
if (!(obj instanceof emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress)) {
|
||||||
|
return super.equals(obj);
|
||||||
|
}
|
||||||
|
emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress other = (emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress) obj;
|
||||||
|
|
||||||
|
if (getFinish()
|
||||||
|
!= other.getFinish()) return false;
|
||||||
|
if (getProgress()
|
||||||
|
!= other.getProgress()) return false;
|
||||||
|
if (getUnlockId()
|
||||||
|
!= other.getUnlockId()) return false;
|
||||||
|
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public int hashCode() {
|
||||||
|
if (memoizedHashCode != 0) {
|
||||||
|
return memoizedHashCode;
|
||||||
|
}
|
||||||
|
int hash = 41;
|
||||||
|
hash = (19 * hash) + getDescriptor().hashCode();
|
||||||
|
hash = (37 * hash) + FINISH_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||||
|
getFinish());
|
||||||
|
hash = (37 * hash) + PROGRESS_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getProgress();
|
||||||
|
hash = (37 * hash) + UNLOCK_ID_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getUnlockId();
|
||||||
|
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||||
|
memoizedHashCode = hash;
|
||||||
|
return hash;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(
|
||||||
|
java.nio.ByteBuffer data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress 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.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(
|
||||||
|
com.google.protobuf.ByteString data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress 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.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(byte[] data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(
|
||||||
|
byte[] data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress 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.RogueUnlockProgressOuterClass.RogueUnlockProgress parseDelimitedFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseDelimitedWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress 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.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress 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.RogueUnlockProgressOuterClass.RogueUnlockProgress 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 RogueUnlockProgress}
|
||||||
|
*/
|
||||||
|
public static final class Builder extends
|
||||||
|
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||||
|
// @@protoc_insertion_point(builder_implements:RogueUnlockProgress)
|
||||||
|
emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgressOrBuilder {
|
||||||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptor() {
|
||||||
|
return emu.lunarcore.proto.RogueUnlockProgressOuterClass.internal_static_RogueUnlockProgress_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
|
internalGetFieldAccessorTable() {
|
||||||
|
return emu.lunarcore.proto.RogueUnlockProgressOuterClass.internal_static_RogueUnlockProgress_fieldAccessorTable
|
||||||
|
.ensureFieldAccessorsInitialized(
|
||||||
|
emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress.class, emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress.Builder.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Construct using emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress.newBuilder()
|
||||||
|
private Builder() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private Builder(
|
||||||
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||||
|
super(parent);
|
||||||
|
|
||||||
|
}
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder clear() {
|
||||||
|
super.clear();
|
||||||
|
bitField0_ = 0;
|
||||||
|
finish_ = false;
|
||||||
|
progress_ = 0;
|
||||||
|
unlockId_ = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptorForType() {
|
||||||
|
return emu.lunarcore.proto.RogueUnlockProgressOuterClass.internal_static_RogueUnlockProgress_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress getDefaultInstanceForType() {
|
||||||
|
return emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress.getDefaultInstance();
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress build() {
|
||||||
|
emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress result = buildPartial();
|
||||||
|
if (!result.isInitialized()) {
|
||||||
|
throw newUninitializedMessageException(result);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress buildPartial() {
|
||||||
|
emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress result = new emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress(this);
|
||||||
|
if (bitField0_ != 0) { buildPartial0(result); }
|
||||||
|
onBuilt();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buildPartial0(emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress result) {
|
||||||
|
int from_bitField0_ = bitField0_;
|
||||||
|
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||||
|
result.finish_ = finish_;
|
||||||
|
}
|
||||||
|
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||||
|
result.progress_ = progress_;
|
||||||
|
}
|
||||||
|
if (((from_bitField0_ & 0x00000004) != 0)) {
|
||||||
|
result.unlockId_ = unlockId_;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||||
|
if (other instanceof emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress) {
|
||||||
|
return mergeFrom((emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress)other);
|
||||||
|
} else {
|
||||||
|
super.mergeFrom(other);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Builder mergeFrom(emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress other) {
|
||||||
|
if (other == emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress.getDefaultInstance()) return this;
|
||||||
|
if (other.getFinish() != false) {
|
||||||
|
setFinish(other.getFinish());
|
||||||
|
}
|
||||||
|
if (other.getProgress() != 0) {
|
||||||
|
setProgress(other.getProgress());
|
||||||
|
}
|
||||||
|
if (other.getUnlockId() != 0) {
|
||||||
|
setUnlockId(other.getUnlockId());
|
||||||
|
}
|
||||||
|
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();
|
int tag = input.readTag();
|
||||||
while (true) {
|
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 88: {
|
case 0:
|
||||||
// unlockId
|
done = true;
|
||||||
unlockId = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 104) {
|
|
||||||
break;
|
break;
|
||||||
}
|
case 64: {
|
||||||
}
|
unlockId_ = input.readUInt32();
|
||||||
case 104: {
|
|
||||||
// progress
|
|
||||||
progress = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 32) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 32: {
|
|
||||||
// finish
|
|
||||||
finish = input.readBool();
|
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 0) {
|
|
||||||
break;
|
break;
|
||||||
}
|
} // case 64
|
||||||
}
|
case 72: {
|
||||||
case 0: {
|
progress_ = input.readUInt32();
|
||||||
return this;
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
if (!input.skipField(tag)) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
tag = input.readTag();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void writeTo(final JsonSink output) throws IOException {
|
|
||||||
output.beginObject();
|
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
|
||||||
output.writeUInt32(FieldNames.unlockId, unlockId);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeUInt32(FieldNames.progress, progress);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
|
||||||
output.writeBool(FieldNames.finish, finish);
|
|
||||||
}
|
|
||||||
output.endObject();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public RogueUnlockProgress mergeFrom(final JsonSource input) throws IOException {
|
|
||||||
if (!input.beginObject()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
while (!input.isAtEnd()) {
|
|
||||||
switch (input.readFieldHash()) {
|
|
||||||
case -210950273:
|
|
||||||
case 2050497526: {
|
|
||||||
if (input.isAtField(FieldNames.unlockId)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
unlockId = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case -1001078227: {
|
|
||||||
if (input.isAtField(FieldNames.progress)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
progress = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
} // case 72
|
||||||
case -1274442605: {
|
case 96: {
|
||||||
if (input.isAtField(FieldNames.finish)) {
|
finish_ = input.readBool();
|
||||||
if (!input.trySkipNullValue()) {
|
bitField0_ |= 0x00000001;
|
||||||
finish = input.readBool();
|
|
||||||
bitField0_ |= 0x00000004;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
} // case 96
|
||||||
default: {
|
default: {
|
||||||
input.skipUnknownField();
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||||
|
done = true; // was an endgroup tag
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
} // default:
|
||||||
|
} // switch (tag)
|
||||||
|
} // while (!done)
|
||||||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||||
|
throw e.unwrapIOException();
|
||||||
|
} finally {
|
||||||
|
onChanged();
|
||||||
|
} // finally
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
private int bitField0_;
|
||||||
|
|
||||||
|
private boolean finish_ ;
|
||||||
|
/**
|
||||||
|
* <code>bool finish = 12;</code>
|
||||||
|
* @return The finish.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public boolean getFinish() {
|
||||||
|
return finish_;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* <code>bool finish = 12;</code>
|
||||||
|
* @param value The finish to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder setFinish(boolean value) {
|
||||||
|
|
||||||
|
finish_ = value;
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
input.endObject();
|
/**
|
||||||
|
* <code>bool finish = 12;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearFinish() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000001);
|
||||||
|
finish_ = false;
|
||||||
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
private int progress_ ;
|
||||||
public RogueUnlockProgress clone() {
|
|
||||||
return new RogueUnlockProgress().copyFrom(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isEmpty() {
|
|
||||||
return ((bitField0_) == 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static RogueUnlockProgress parseFrom(final byte[] data) throws
|
|
||||||
InvalidProtocolBufferException {
|
|
||||||
return ProtoMessage.mergeFrom(new RogueUnlockProgress(), data).checkInitialized();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static RogueUnlockProgress parseFrom(final ProtoSource input) throws IOException {
|
|
||||||
return ProtoMessage.mergeFrom(new RogueUnlockProgress(), input).checkInitialized();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static RogueUnlockProgress parseFrom(final JsonSource input) throws IOException {
|
|
||||||
return ProtoMessage.mergeFrom(new RogueUnlockProgress(), input).checkInitialized();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return factory for creating RogueUnlockProgress messages
|
* <code>uint32 progress = 9;</code>
|
||||||
|
* @return The progress.
|
||||||
*/
|
*/
|
||||||
public static MessageFactory<RogueUnlockProgress> getFactory() {
|
@java.lang.Override
|
||||||
return RogueUnlockProgressFactory.INSTANCE;
|
public int getProgress() {
|
||||||
|
return progress_;
|
||||||
}
|
}
|
||||||
|
|
||||||
private enum RogueUnlockProgressFactory implements MessageFactory<RogueUnlockProgress> {
|
|
||||||
INSTANCE;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public RogueUnlockProgress create() {
|
|
||||||
return RogueUnlockProgress.newInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains name constants used for serializing JSON
|
* <code>uint32 progress = 9;</code>
|
||||||
|
* @param value The progress to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
public Builder setProgress(int value) {
|
||||||
static final FieldName unlockId = FieldName.forField("unlockId", "unlock_id");
|
|
||||||
|
|
||||||
static final FieldName progress = FieldName.forField("progress");
|
progress_ = value;
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>uint32 progress = 9;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearProgress() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000002);
|
||||||
|
progress_ = 0;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
static final FieldName finish = FieldName.forField("finish");
|
private int unlockId_ ;
|
||||||
|
/**
|
||||||
|
* <code>uint32 unlock_id = 8;</code>
|
||||||
|
* @return The unlockId.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public int getUnlockId() {
|
||||||
|
return unlockId_;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* <code>uint32 unlock_id = 8;</code>
|
||||||
|
* @param value The unlockId to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder setUnlockId(int value) {
|
||||||
|
|
||||||
|
unlockId_ = value;
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* <code>uint32 unlock_id = 8;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearUnlockId() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000004);
|
||||||
|
unlockId_ = 0;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(builder_scope:RogueUnlockProgress)
|
||||||
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:RogueUnlockProgress)
|
||||||
|
private static final emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress DEFAULT_INSTANCE;
|
||||||
|
static {
|
||||||
|
DEFAULT_INSTANCE = new emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress getDefaultInstance() {
|
||||||
|
return DEFAULT_INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static final com.google.protobuf.Parser<RogueUnlockProgress>
|
||||||
|
PARSER = new com.google.protobuf.AbstractParser<RogueUnlockProgress>() {
|
||||||
|
@java.lang.Override
|
||||||
|
public RogueUnlockProgress 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<RogueUnlockProgress> parser() {
|
||||||
|
return PARSER;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public com.google.protobuf.Parser<RogueUnlockProgress> getParserForType() {
|
||||||
|
return PARSER;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress getDefaultInstanceForType() {
|
||||||
|
return DEFAULT_INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private static final com.google.protobuf.Descriptors.Descriptor
|
||||||
|
internal_static_RogueUnlockProgress_descriptor;
|
||||||
|
private static final
|
||||||
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
|
internal_static_RogueUnlockProgress_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\031RogueUnlockProgress.proto\"J\n\023RogueUnlo" +
|
||||||
|
"ckProgress\022\016\n\006finish\030\014 \001(\010\022\020\n\010progress\030\t" +
|
||||||
|
" \001(\r\022\021\n\tunlock_id\030\010 \001(\rB\025\n\023emu.lunarcore" +
|
||||||
|
".protob\006proto3"
|
||||||
|
};
|
||||||
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||||
|
.internalBuildGeneratedFileFrom(descriptorData,
|
||||||
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||||
|
});
|
||||||
|
internal_static_RogueUnlockProgress_descriptor =
|
||||||
|
getDescriptor().getMessageTypes().get(0);
|
||||||
|
internal_static_RogueUnlockProgress_fieldAccessorTable = new
|
||||||
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||||
|
internal_static_RogueUnlockProgress_descriptor,
|
||||||
|
new java.lang.String[] { "Finish", "Progress", "UnlockId", });
|
||||||
|
descriptor.resolveAllFeatures();
|
||||||
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(outer_class_scope)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
com.google.protobuf.GeneratedMessage implements
|
||||||
|
// @@protoc_insertion_point(message_implements:SceneMonsterWaveParam)
|
||||||
|
SceneMonsterWaveParamOrBuilder {
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
static {
|
||||||
/**
|
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||||
* <code>optional uint32 level = 8;</code>
|
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||||
*/
|
/* major= */ 4,
|
||||||
private int level;
|
/* 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
memoizedIsInitialized = 1;
|
||||||
public SceneMonsterWaveParam mergeFrom(final SceneMonsterWaveParam other) {
|
|
||||||
if (other.isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
if (other.hasLevel()) {
|
|
||||||
setLevel(other.level);
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public SceneMonsterWaveParam clear() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
level = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public SceneMonsterWaveParam clearQuick() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean equals(Object o) {
|
|
||||||
if (o == this) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(o instanceof SceneMonsterWaveParam)) {
|
|
||||||
return false;
|
@java.lang.Override
|
||||||
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (hardLevelGroup_ != 0) {
|
||||||
|
output.writeUInt32(3, hardLevelGroup_);
|
||||||
}
|
}
|
||||||
SceneMonsterWaveParam other = (SceneMonsterWaveParam) o;
|
if (level_ != 0) {
|
||||||
return bitField0_ == other.bitField0_
|
output.writeUInt32(8, level_);
|
||||||
&& (!hasLevel() || level == other.level);
|
}
|
||||||
|
if (eliteGroup_ != 0) {
|
||||||
|
output.writeUInt32(10, eliteGroup_);
|
||||||
|
}
|
||||||
|
getUnknownFields().writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public int getSerializedSize() {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
int size = memoizedSize;
|
||||||
output.writeRawByte((byte) 64);
|
if (size != -1) return size;
|
||||||
output.writeUInt32NoTag(level);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
size = 0;
|
||||||
protected int computeSerializedSize() {
|
if (hardLevelGroup_ != 0) {
|
||||||
int size = 0;
|
size += com.google.protobuf.CodedOutputStream
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
.computeUInt32Size(3, hardLevelGroup_);
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
|
|
||||||
}
|
}
|
||||||
|
if (level_ != 0) {
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeUInt32Size(8, level_);
|
||||||
|
}
|
||||||
|
if (eliteGroup_ != 0) {
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeUInt32Size(10, eliteGroup_);
|
||||||
|
}
|
||||||
|
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;
|
|
||||||
}
|
}
|
||||||
|
if (!(obj instanceof emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam)) {
|
||||||
|
return super.equals(obj);
|
||||||
}
|
}
|
||||||
case 0: {
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public int hashCode() {
|
||||||
|
if (memoizedHashCode != 0) {
|
||||||
|
return memoizedHashCode;
|
||||||
|
}
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(
|
||||||
|
java.nio.ByteBuffer data)
|
||||||
|
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;
|
||||||
}
|
}
|
||||||
default: {
|
|
||||||
if (!input.skipField(tag)) {
|
@java.lang.Override
|
||||||
return this;
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptorForType() {
|
||||||
|
return emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.internal_static_SceneMonsterWaveParam_descriptor;
|
||||||
}
|
}
|
||||||
tag = input.readTag();
|
|
||||||
break;
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam getDefaultInstanceForType() {
|
||||||
|
return emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam.getDefaultInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam build() {
|
||||||
|
emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam result = buildPartial();
|
||||||
|
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_;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final JsonSink output) throws IOException {
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||||
output.beginObject();
|
if (other instanceof emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam) {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
return mergeFrom((emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam)other);
|
||||||
output.writeUInt32(FieldNames.level, level);
|
|
||||||
}
|
|
||||||
output.endObject();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public SceneMonsterWaveParam mergeFrom(final JsonSource input) throws IOException {
|
|
||||||
if (!input.beginObject()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
while (!input.isAtEnd()) {
|
|
||||||
switch (input.readFieldHash()) {
|
|
||||||
case 102865796: {
|
|
||||||
if (input.isAtField(FieldNames.level)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
level = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
super.mergeFrom(other);
|
||||||
}
|
return this;
|
||||||
break;
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
input.skipUnknownField();
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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());
|
||||||
}
|
}
|
||||||
input.endObject();
|
if (other.getLevel() != 0) {
|
||||||
|
setLevel(other.getLevel());
|
||||||
|
}
|
||||||
|
if (other.getEliteGroup() != 0) {
|
||||||
|
setEliteGroup(other.getEliteGroup());
|
||||||
|
}
|
||||||
|
this.mergeUnknownFields(other.getUnknownFields());
|
||||||
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public SceneMonsterWaveParam clone() {
|
public final boolean isInitialized() {
|
||||||
return new SceneMonsterWaveParam().copyFrom(this);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public boolean isEmpty() {
|
public Builder mergeFrom(
|
||||||
return ((bitField0_) == 0);
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (extensionRegistry == null) {
|
||||||
|
throw new java.lang.NullPointerException();
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
public static SceneMonsterWaveParam parseFrom(final byte[] data) throws
|
boolean done = false;
|
||||||
InvalidProtocolBufferException {
|
while (!done) {
|
||||||
return ProtoMessage.mergeFrom(new SceneMonsterWaveParam(), data).checkInitialized();
|
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;
|
||||||
public static SceneMonsterWaveParam parseFrom(final ProtoSource input) throws IOException {
|
} // default:
|
||||||
return ProtoMessage.mergeFrom(new SceneMonsterWaveParam(), input).checkInitialized();
|
} // switch (tag)
|
||||||
}
|
} // while (!done)
|
||||||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||||
public static SceneMonsterWaveParam parseFrom(final JsonSource input) throws IOException {
|
throw e.unwrapIOException();
|
||||||
return ProtoMessage.mergeFrom(new SceneMonsterWaveParam(), input).checkInitialized();
|
} finally {
|
||||||
|
onChanged();
|
||||||
|
} // finally
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
private int bitField0_;
|
||||||
|
|
||||||
|
private int hardLevelGroup_ ;
|
||||||
/**
|
/**
|
||||||
* @return factory for creating SceneMonsterWaveParam messages
|
* <code>uint32 hard_level_group = 3;</code>
|
||||||
|
* @return The hardLevelGroup.
|
||||||
*/
|
*/
|
||||||
public static MessageFactory<SceneMonsterWaveParam> getFactory() {
|
@java.lang.Override
|
||||||
return SceneMonsterWaveParamFactory.INSTANCE;
|
public int getHardLevelGroup() {
|
||||||
|
return hardLevelGroup_;
|
||||||
}
|
}
|
||||||
|
|
||||||
private enum SceneMonsterWaveParamFactory implements MessageFactory<SceneMonsterWaveParam> {
|
|
||||||
INSTANCE;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public SceneMonsterWaveParam create() {
|
|
||||||
return SceneMonsterWaveParam.newInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains name constants used for serializing JSON
|
* <code>uint32 hard_level_group = 3;</code>
|
||||||
|
* @param value The hardLevelGroup to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
public Builder setHardLevelGroup(int value) {
|
||||||
static final FieldName level = FieldName.forField("level");
|
|
||||||
|
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)
|
||||||
|
private static final emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam DEFAULT_INSTANCE;
|
||||||
|
static {
|
||||||
|
DEFAULT_INSTANCE = new emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam();
|
||||||
|
}
|
||||||
|
|
||||||
|
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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
com.google.protobuf.GeneratedMessage implements
|
||||||
|
// @@protoc_insertion_point(message_implements:TakeChallengeRewardCsReq)
|
||||||
|
TakeChallengeRewardCsReqOrBuilder {
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
static {
|
||||||
/**
|
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||||
* <code>optional uint32 group_id = 1;</code>
|
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||||
*/
|
/* major= */ 4,
|
||||||
private int groupId;
|
/* 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;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
memoizedIsInitialized = 1;
|
||||||
public TakeChallengeRewardCsReq copyFrom(final TakeChallengeRewardCsReq other) {
|
|
||||||
cachedSize = other.cachedSize;
|
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
|
||||||
bitField0_ = other.bitField0_;
|
|
||||||
groupId = other.groupId;
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public TakeChallengeRewardCsReq mergeFrom(final TakeChallengeRewardCsReq other) {
|
|
||||||
if (other.isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
if (other.hasGroupId()) {
|
|
||||||
setGroupId(other.groupId);
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public TakeChallengeRewardCsReq clear() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
groupId = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public TakeChallengeRewardCsReq clearQuick() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean equals(Object o) {
|
|
||||||
if (o == this) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(o instanceof TakeChallengeRewardCsReq)) {
|
|
||||||
return false;
|
@java.lang.Override
|
||||||
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (groupId_ != 0) {
|
||||||
|
output.writeUInt32(1, groupId_);
|
||||||
}
|
}
|
||||||
TakeChallengeRewardCsReq other = (TakeChallengeRewardCsReq) o;
|
getUnknownFields().writeTo(output);
|
||||||
return bitField0_ == other.bitField0_
|
|
||||||
&& (!hasGroupId() || groupId == other.groupId);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public int getSerializedSize() {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
int size = memoizedSize;
|
||||||
output.writeRawByte((byte) 8);
|
if (size != -1) return size;
|
||||||
output.writeUInt32NoTag(groupId);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
size = 0;
|
||||||
protected int computeSerializedSize() {
|
if (groupId_ != 0) {
|
||||||
int size = 0;
|
size += com.google.protobuf.CodedOutputStream
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
.computeUInt32Size(1, groupId_);
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
|
if (!(obj instanceof emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq)) {
|
||||||
|
return super.equals(obj);
|
||||||
}
|
}
|
||||||
case 0: {
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public int hashCode() {
|
||||||
|
if (memoizedHashCode != 0) {
|
||||||
|
return memoizedHashCode;
|
||||||
|
}
|
||||||
|
int hash = 41;
|
||||||
|
hash = (19 * hash) + getDescriptor().hashCode();
|
||||||
|
hash = (37 * hash) + GROUP_ID_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getGroupId();
|
||||||
|
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||||
|
memoizedHashCode = hash;
|
||||||
|
return hash;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||||
|
java.nio.ByteBuffer data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||||
|
java.nio.ByteBuffer data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||||
|
com.google.protobuf.ByteString data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||||
|
com.google.protobuf.ByteString data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(byte[] data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||||
|
byte[] data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||||
|
java.io.InputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseDelimitedFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseDelimitedWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseDelimitedFrom(
|
||||||
|
java.io.InputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder newBuilderForType() { return newBuilder(); }
|
||||||
|
public static Builder newBuilder() {
|
||||||
|
return DEFAULT_INSTANCE.toBuilder();
|
||||||
|
}
|
||||||
|
public static Builder newBuilder(emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq prototype) {
|
||||||
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||||
|
}
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder toBuilder() {
|
||||||
|
return this == DEFAULT_INSTANCE
|
||||||
|
? new Builder() : new Builder().mergeFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected Builder newBuilderForType(
|
||||||
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||||
|
Builder builder = new Builder(parent);
|
||||||
|
return builder;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code TakeChallengeRewardCsReq}
|
||||||
|
*/
|
||||||
|
public static final class Builder extends
|
||||||
|
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||||
|
// @@protoc_insertion_point(builder_implements:TakeChallengeRewardCsReq)
|
||||||
|
emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReqOrBuilder {
|
||||||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptor() {
|
||||||
|
return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.internal_static_TakeChallengeRewardCsReq_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
|
internalGetFieldAccessorTable() {
|
||||||
|
return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.internal_static_TakeChallengeRewardCsReq_fieldAccessorTable
|
||||||
|
.ensureFieldAccessorsInitialized(
|
||||||
|
emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq.class, emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq.Builder.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Construct using emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq.newBuilder()
|
||||||
|
private Builder() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private Builder(
|
||||||
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||||
|
super(parent);
|
||||||
|
|
||||||
|
}
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder clear() {
|
||||||
|
super.clear();
|
||||||
|
bitField0_ = 0;
|
||||||
|
groupId_ = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
default: {
|
|
||||||
if (!input.skipField(tag)) {
|
@java.lang.Override
|
||||||
return this;
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptorForType() {
|
||||||
|
return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.internal_static_TakeChallengeRewardCsReq_descriptor;
|
||||||
}
|
}
|
||||||
tag = input.readTag();
|
|
||||||
break;
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq getDefaultInstanceForType() {
|
||||||
|
return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq.getDefaultInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq build() {
|
||||||
|
emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq result = buildPartial();
|
||||||
|
if (!result.isInitialized()) {
|
||||||
|
throw newUninitializedMessageException(result);
|
||||||
}
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq buildPartial() {
|
||||||
|
emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq result = new emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq(this);
|
||||||
|
if (bitField0_ != 0) { buildPartial0(result); }
|
||||||
|
onBuilt();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buildPartial0(emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq result) {
|
||||||
|
int from_bitField0_ = bitField0_;
|
||||||
|
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||||
|
result.groupId_ = groupId_;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final JsonSink output) throws IOException {
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||||
output.beginObject();
|
if (other instanceof emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq) {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
return mergeFrom((emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq)other);
|
||||||
output.writeUInt32(FieldNames.groupId, groupId);
|
|
||||||
}
|
|
||||||
output.endObject();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public TakeChallengeRewardCsReq mergeFrom(final JsonSource input) throws IOException {
|
|
||||||
if (!input.beginObject()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
while (!input.isAtEnd()) {
|
|
||||||
switch (input.readFieldHash()) {
|
|
||||||
case 293428218:
|
|
||||||
case 506361563: {
|
|
||||||
if (input.isAtField(FieldNames.groupId)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
groupId = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
super.mergeFrom(other);
|
||||||
}
|
return this;
|
||||||
break;
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
input.skipUnknownField();
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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());
|
||||||
}
|
}
|
||||||
input.endObject();
|
this.mergeUnknownFields(other.getUnknownFields());
|
||||||
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public TakeChallengeRewardCsReq clone() {
|
public final boolean isInitialized() {
|
||||||
return new TakeChallengeRewardCsReq().copyFrom(this);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public boolean isEmpty() {
|
public Builder mergeFrom(
|
||||||
return ((bitField0_) == 0);
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (extensionRegistry == null) {
|
||||||
|
throw new java.lang.NullPointerException();
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
public static TakeChallengeRewardCsReq parseFrom(final byte[] data) throws
|
boolean done = false;
|
||||||
InvalidProtocolBufferException {
|
while (!done) {
|
||||||
return ProtoMessage.mergeFrom(new TakeChallengeRewardCsReq(), data).checkInitialized();
|
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;
|
||||||
public static TakeChallengeRewardCsReq parseFrom(final ProtoSource input) throws IOException {
|
} // default:
|
||||||
return ProtoMessage.mergeFrom(new TakeChallengeRewardCsReq(), input).checkInitialized();
|
} // switch (tag)
|
||||||
}
|
} // while (!done)
|
||||||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||||
public static TakeChallengeRewardCsReq parseFrom(final JsonSource input) throws IOException {
|
throw e.unwrapIOException();
|
||||||
return ProtoMessage.mergeFrom(new TakeChallengeRewardCsReq(), input).checkInitialized();
|
} finally {
|
||||||
|
onChanged();
|
||||||
|
} // finally
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
private int bitField0_;
|
||||||
|
|
||||||
|
private int groupId_ ;
|
||||||
/**
|
/**
|
||||||
* @return factory for creating TakeChallengeRewardCsReq messages
|
* <code>uint32 group_id = 1;</code>
|
||||||
|
* @return The groupId.
|
||||||
*/
|
*/
|
||||||
public static MessageFactory<TakeChallengeRewardCsReq> getFactory() {
|
@java.lang.Override
|
||||||
return TakeChallengeRewardCsReqFactory.INSTANCE;
|
public int getGroupId() {
|
||||||
|
return groupId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
private enum TakeChallengeRewardCsReqFactory implements MessageFactory<TakeChallengeRewardCsReq> {
|
|
||||||
INSTANCE;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public TakeChallengeRewardCsReq create() {
|
|
||||||
return TakeChallengeRewardCsReq.newInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains name constants used for serializing JSON
|
* <code>uint32 group_id = 1;</code>
|
||||||
|
* @param value The groupId to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
public Builder setGroupId(int value) {
|
||||||
static final FieldName groupId = FieldName.forField("groupId", "group_id");
|
|
||||||
|
groupId_ = value;
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* <code>uint32 group_id = 1;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearGroupId() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000001);
|
||||||
|
groupId_ = 0;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(builder_scope:TakeChallengeRewardCsReq)
|
||||||
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:TakeChallengeRewardCsReq)
|
||||||
|
private static final emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq DEFAULT_INSTANCE;
|
||||||
|
static {
|
||||||
|
DEFAULT_INSTANCE = new emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq getDefaultInstance() {
|
||||||
|
return DEFAULT_INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static final com.google.protobuf.Parser<TakeChallengeRewardCsReq>
|
||||||
|
PARSER = new com.google.protobuf.AbstractParser<TakeChallengeRewardCsReq>() {
|
||||||
|
@java.lang.Override
|
||||||
|
public TakeChallengeRewardCsReq parsePartialFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
Builder builder = newBuilder();
|
||||||
|
try {
|
||||||
|
builder.mergeFrom(input, extensionRegistry);
|
||||||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||||
|
throw e.setUnfinishedMessage(builder.buildPartial());
|
||||||
|
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||||
|
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
||||||
|
} catch (java.io.IOException e) {
|
||||||
|
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
||||||
|
.setUnfinishedMessage(builder.buildPartial());
|
||||||
|
}
|
||||||
|
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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
com.google.protobuf.GeneratedMessage implements
|
||||||
|
// @@protoc_insertion_point(message_implements:TakeMailAttachmentCsReq)
|
||||||
|
TakeMailAttachmentCsReqOrBuilder {
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
static {
|
||||||
/**
|
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||||
* <code>repeated uint32 mail_id_list = 12;</code>
|
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||||
*/
|
/* major= */ 4,
|
||||||
private final RepeatedInt mailIdList = RepeatedInt.newEmptyInstance();
|
/* 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);
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
memoizedIsInitialized = 1;
|
||||||
* <code>repeated uint32 mail_id_list = 12;</code>
|
|
||||||
* @param values the mailIdList to add
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public TakeMailAttachmentCsReq addAllMailIdList(final int... values) {
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public TakeMailAttachmentCsReq mergeFrom(final TakeMailAttachmentCsReq other) {
|
|
||||||
if (other.isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
if (other.hasMailIdList()) {
|
|
||||||
getMutableMailIdList().addAll(other.mailIdList);
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public TakeMailAttachmentCsReq clear() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
mailIdList.clear();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@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;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(o instanceof TakeMailAttachmentCsReq)) {
|
|
||||||
return false;
|
@java.lang.Override
|
||||||
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
|
throws java.io.IOException {
|
||||||
|
getSerializedSize();
|
||||||
|
if (optionalRewardId_ != 0) {
|
||||||
|
output.writeUInt32(9, optionalRewardId_);
|
||||||
}
|
}
|
||||||
TakeMailAttachmentCsReq other = (TakeMailAttachmentCsReq) o;
|
if (getMailIdListList().size() > 0) {
|
||||||
return bitField0_ == other.bitField0_
|
output.writeUInt32NoTag(98);
|
||||||
&& (!hasMailIdList() || mailIdList.equals(other.mailIdList));
|
output.writeUInt32NoTag(mailIdListMemoizedSerializedSize);
|
||||||
|
}
|
||||||
|
for (int i = 0; i < mailIdList_.size(); i++) {
|
||||||
|
output.writeUInt32NoTag(mailIdList_.getInt(i));
|
||||||
|
}
|
||||||
|
getUnknownFields().writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public int getSerializedSize() {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
int size = memoizedSize;
|
||||||
for (int i = 0; i < mailIdList.length(); i++) {
|
if (size != -1) return size;
|
||||||
output.writeRawByte((byte) 96);
|
|
||||||
output.writeUInt32NoTag(mailIdList.array()[i]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
size = 0;
|
||||||
protected int computeSerializedSize() {
|
if (optionalRewardId_ != 0) {
|
||||||
int size = 0;
|
size += com.google.protobuf.CodedOutputStream
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
.computeUInt32Size(9, optionalRewardId_);
|
||||||
size += (1 * mailIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(mailIdList);
|
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
int dataSize = 0;
|
||||||
|
for (int i = 0; i < mailIdList_.size(); i++) {
|
||||||
|
dataSize += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeUInt32SizeNoTag(mailIdList_.getInt(i));
|
||||||
|
}
|
||||||
|
size += dataSize;
|
||||||
|
if (!getMailIdListList().isEmpty()) {
|
||||||
|
size += 1;
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeInt32SizeNoTag(dataSize);
|
||||||
|
}
|
||||||
|
mailIdListMemoizedSerializedSize = dataSize;
|
||||||
|
}
|
||||||
|
size += getUnknownFields().getSerializedSize();
|
||||||
|
memoizedSize = size;
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
|
if (!(obj instanceof emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq)) {
|
||||||
|
return super.equals(obj);
|
||||||
}
|
}
|
||||||
case 0: {
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public int hashCode() {
|
||||||
|
if (memoizedHashCode != 0) {
|
||||||
|
return memoizedHashCode;
|
||||||
|
}
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(
|
||||||
|
java.nio.ByteBuffer data)
|
||||||
|
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;
|
||||||
}
|
}
|
||||||
default: {
|
|
||||||
if (!input.skipField(tag)) {
|
@java.lang.Override
|
||||||
return this;
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptorForType() {
|
||||||
|
return emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.internal_static_TakeMailAttachmentCsReq_descriptor;
|
||||||
}
|
}
|
||||||
tag = input.readTag();
|
|
||||||
break;
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq getDefaultInstanceForType() {
|
||||||
|
return emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq.getDefaultInstance();
|
||||||
}
|
}
|
||||||
case 96: {
|
|
||||||
// mailIdList [packed=false]
|
@java.lang.Override
|
||||||
tag = input.readRepeatedUInt32(mailIdList, tag);
|
public emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq build() {
|
||||||
bitField0_ |= 0x00000001;
|
emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq result = buildPartial();
|
||||||
break;
|
if (!result.isInitialized()) {
|
||||||
|
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_;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final JsonSink output) throws IOException {
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||||
output.beginObject();
|
if (other instanceof emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq) {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
return mergeFrom((emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq)other);
|
||||||
output.writeRepeatedUInt32(FieldNames.mailIdList, mailIdList);
|
|
||||||
}
|
|
||||||
output.endObject();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public TakeMailAttachmentCsReq mergeFrom(final JsonSource input) throws IOException {
|
|
||||||
if (!input.beginObject()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
while (!input.isAtEnd()) {
|
|
||||||
switch (input.readFieldHash()) {
|
|
||||||
case -1612269328:
|
|
||||||
case 1599691450: {
|
|
||||||
if (input.isAtField(FieldNames.mailIdList)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
input.readRepeatedUInt32(mailIdList);
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
super.mergeFrom(other);
|
||||||
}
|
return this;
|
||||||
break;
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
input.skipUnknownField();
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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_);
|
||||||
}
|
}
|
||||||
input.endObject();
|
onChanged();
|
||||||
|
}
|
||||||
|
if (other.getOptionalRewardId() != 0) {
|
||||||
|
setOptionalRewardId(other.getOptionalRewardId());
|
||||||
|
}
|
||||||
|
this.mergeUnknownFields(other.getUnknownFields());
|
||||||
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public TakeMailAttachmentCsReq clone() {
|
public final boolean isInitialized() {
|
||||||
return new TakeMailAttachmentCsReq().copyFrom(this);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public boolean isEmpty() {
|
public Builder mergeFrom(
|
||||||
return ((bitField0_) == 0);
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (extensionRegistry == null) {
|
||||||
|
throw new java.lang.NullPointerException();
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
public static TakeMailAttachmentCsReq parseFrom(final byte[] data) throws
|
boolean done = false;
|
||||||
InvalidProtocolBufferException {
|
while (!done) {
|
||||||
return ProtoMessage.mergeFrom(new TakeMailAttachmentCsReq(), data).checkInitialized();
|
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);
|
||||||
public static TakeMailAttachmentCsReq parseFrom(final ProtoSource input) throws IOException {
|
break;
|
||||||
return ProtoMessage.mergeFrom(new TakeMailAttachmentCsReq(), input).checkInitialized();
|
} // case 98
|
||||||
|
default: {
|
||||||
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||||
|
done = true; // was an endgroup tag
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
public static TakeMailAttachmentCsReq parseFrom(final JsonSource input) throws IOException {
|
} // default:
|
||||||
return ProtoMessage.mergeFrom(new TakeMailAttachmentCsReq(), input).checkInitialized();
|
} // 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;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @return factory for creating TakeMailAttachmentCsReq messages
|
* <code>repeated uint32 mail_id_list = 12;</code>
|
||||||
|
* @return A list containing the mailIdList.
|
||||||
*/
|
*/
|
||||||
public static MessageFactory<TakeMailAttachmentCsReq> getFactory() {
|
public java.util.List<java.lang.Integer>
|
||||||
return TakeMailAttachmentCsReqFactory.INSTANCE;
|
getMailIdListList() {
|
||||||
|
mailIdList_.makeImmutable();
|
||||||
|
return mailIdList_;
|
||||||
}
|
}
|
||||||
|
|
||||||
private enum TakeMailAttachmentCsReqFactory implements MessageFactory<TakeMailAttachmentCsReq> {
|
|
||||||
INSTANCE;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public TakeMailAttachmentCsReq create() {
|
|
||||||
return TakeMailAttachmentCsReq.newInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains name constants used for serializing JSON
|
* <code>repeated uint32 mail_id_list = 12;</code>
|
||||||
|
* @return The count of mailIdList.
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
public int getMailIdListCount() {
|
||||||
static final FieldName mailIdList = FieldName.forField("mailIdList", "mail_id_list");
|
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)
|
||||||
|
private static final emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq DEFAULT_INSTANCE;
|
||||||
|
static {
|
||||||
|
DEFAULT_INSTANCE = new emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq();
|
||||||
|
}
|
||||||
|
|
||||||
|
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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
com.google.protobuf.GeneratedMessage implements
|
||||||
|
// @@protoc_insertion_point(message_implements:TextJoinInfo)
|
||||||
|
TextJoinInfoOrBuilder {
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
static {
|
||||||
/**
|
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
|
||||||
* <code>optional uint32 text_item_id = 2;</code>
|
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
|
||||||
*/
|
/* major= */ 4,
|
||||||
private int textItemId;
|
/* minor= */ 26,
|
||||||
|
/* patch= */ 0,
|
||||||
/**
|
/* suffix= */ "-rc1",
|
||||||
* <code>optional uint32 text_item_config_id = 3;</code>
|
TextJoinInfo.class.getName());
|
||||||
*/
|
}
|
||||||
private int textItemConfigId;
|
// 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;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
memoizedIsInitialized = 1;
|
||||||
public TextJoinInfo copyFrom(final TextJoinInfo other) {
|
|
||||||
cachedSize = other.cachedSize;
|
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
|
||||||
bitField0_ = other.bitField0_;
|
|
||||||
textItemId = other.textItemId;
|
|
||||||
textItemConfigId = other.textItemConfigId;
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public TextJoinInfo mergeFrom(final TextJoinInfo other) {
|
|
||||||
if (other.isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
if (other.hasTextItemId()) {
|
|
||||||
setTextItemId(other.textItemId);
|
|
||||||
}
|
|
||||||
if (other.hasTextItemConfigId()) {
|
|
||||||
setTextItemConfigId(other.textItemConfigId);
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public TextJoinInfo clear() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
textItemId = 0;
|
|
||||||
textItemConfigId = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public TextJoinInfo clearQuick() {
|
|
||||||
if (isEmpty()) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
cachedSize = -1;
|
|
||||||
bitField0_ = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean equals(Object o) {
|
|
||||||
if (o == this) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(o instanceof TextJoinInfo)) {
|
|
||||||
return false;
|
@java.lang.Override
|
||||||
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (textItemId_ != 0) {
|
||||||
|
output.writeUInt32(1, textItemId_);
|
||||||
}
|
}
|
||||||
TextJoinInfo other = (TextJoinInfo) o;
|
if (textItemConfigId_ != 0) {
|
||||||
return bitField0_ == other.bitField0_
|
output.writeUInt32(6, textItemConfigId_);
|
||||||
&& (!hasTextItemId() || textItemId == other.textItemId)
|
}
|
||||||
&& (!hasTextItemConfigId() || textItemConfigId == other.textItemConfigId);
|
getUnknownFields().writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@java.lang.Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public int getSerializedSize() {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
int size = memoizedSize;
|
||||||
output.writeRawByte((byte) 16);
|
if (size != -1) return size;
|
||||||
output.writeUInt32NoTag(textItemId);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeRawByte((byte) 24);
|
|
||||||
output.writeUInt32NoTag(textItemConfigId);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
size = 0;
|
||||||
protected int computeSerializedSize() {
|
if (textItemId_ != 0) {
|
||||||
int size = 0;
|
size += com.google.protobuf.CodedOutputStream
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
.computeUInt32Size(1, textItemId_);
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(textItemId);
|
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if (textItemConfigId_ != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(textItemConfigId);
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeUInt32Size(6, 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;
|
||||||
|
}
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public int hashCode() {
|
||||||
|
if (memoizedHashCode != 0) {
|
||||||
|
return memoizedHashCode;
|
||||||
|
}
|
||||||
|
int hash = 41;
|
||||||
|
hash = (19 * hash) + getDescriptor().hashCode();
|
||||||
|
hash = (37 * hash) + TEXT_ITEM_ID_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getTextItemId();
|
||||||
|
hash = (37 * hash) + TEXT_ITEM_CONFIG_ID_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getTextItemConfigId();
|
||||||
|
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||||
|
memoizedHashCode = hash;
|
||||||
|
return hash;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||||
|
java.nio.ByteBuffer data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||||
|
java.nio.ByteBuffer data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||||
|
com.google.protobuf.ByteString data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||||
|
com.google.protobuf.ByteString data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(byte[] data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||||
|
byte[] data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||||
|
java.io.InputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseDelimitedFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseDelimitedWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseDelimitedFrom(
|
||||||
|
java.io.InputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessage
|
||||||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder newBuilderForType() { return newBuilder(); }
|
||||||
|
public static Builder newBuilder() {
|
||||||
|
return DEFAULT_INSTANCE.toBuilder();
|
||||||
|
}
|
||||||
|
public static Builder newBuilder(emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo prototype) {
|
||||||
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||||
|
}
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder toBuilder() {
|
||||||
|
return this == DEFAULT_INSTANCE
|
||||||
|
? new Builder() : new Builder().mergeFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected Builder newBuilderForType(
|
||||||
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||||
|
Builder builder = new Builder(parent);
|
||||||
|
return builder;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code TextJoinInfo}
|
||||||
|
*/
|
||||||
|
public static final class Builder extends
|
||||||
|
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||||
|
// @@protoc_insertion_point(builder_implements:TextJoinInfo)
|
||||||
|
emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfoOrBuilder {
|
||||||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptor() {
|
||||||
|
return emu.lunarcore.proto.TextJoinInfoOuterClass.internal_static_TextJoinInfo_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
|
internalGetFieldAccessorTable() {
|
||||||
|
return emu.lunarcore.proto.TextJoinInfoOuterClass.internal_static_TextJoinInfo_fieldAccessorTable
|
||||||
|
.ensureFieldAccessorsInitialized(
|
||||||
|
emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.class, emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.Builder.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Construct using emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.newBuilder()
|
||||||
|
private Builder() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private Builder(
|
||||||
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||||
|
super(parent);
|
||||||
|
|
||||||
|
}
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder clear() {
|
||||||
|
super.clear();
|
||||||
|
bitField0_ = 0;
|
||||||
|
textItemId_ = 0;
|
||||||
|
textItemConfigId_ = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptorForType() {
|
||||||
|
return emu.lunarcore.proto.TextJoinInfoOuterClass.internal_static_TextJoinInfo_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo getDefaultInstanceForType() {
|
||||||
|
return emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.getDefaultInstance();
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo build() {
|
||||||
|
emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo result = buildPartial();
|
||||||
|
if (!result.isInitialized()) {
|
||||||
|
throw newUninitializedMessageException(result);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo buildPartial() {
|
||||||
|
emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo result = new emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo(this);
|
||||||
|
if (bitField0_ != 0) { buildPartial0(result); }
|
||||||
|
onBuilt();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buildPartial0(emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo result) {
|
||||||
|
int from_bitField0_ = bitField0_;
|
||||||
|
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||||
|
result.textItemId_ = textItemId_;
|
||||||
|
}
|
||||||
|
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||||
|
result.textItemConfigId_ = textItemConfigId_;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||||
|
if (other instanceof emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo) {
|
||||||
|
return mergeFrom((emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo)other);
|
||||||
|
} else {
|
||||||
|
super.mergeFrom(other);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Builder mergeFrom(emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo other) {
|
||||||
|
if (other == emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.getDefaultInstance()) return this;
|
||||||
|
if (other.getTextItemId() != 0) {
|
||||||
|
setTextItemId(other.getTextItemId());
|
||||||
|
}
|
||||||
|
if (other.getTextItemConfigId() != 0) {
|
||||||
|
setTextItemConfigId(other.getTextItemConfigId());
|
||||||
|
}
|
||||||
|
this.mergeUnknownFields(other.getUnknownFields());
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public final boolean isInitialized() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public Builder mergeFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws java.io.IOException {
|
||||||
|
if (extensionRegistry == null) {
|
||||||
|
throw new java.lang.NullPointerException();
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
boolean done = false;
|
||||||
|
while (!done) {
|
||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 16: {
|
case 0:
|
||||||
// textItemId
|
done = true;
|
||||||
textItemId = input.readUInt32();
|
break;
|
||||||
|
case 8: {
|
||||||
|
textItemId_ = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 24) {
|
|
||||||
break;
|
break;
|
||||||
}
|
} // case 8
|
||||||
}
|
case 48: {
|
||||||
case 24: {
|
textItemConfigId_ = input.readUInt32();
|
||||||
// textItemConfigId
|
|
||||||
textItemConfigId = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 0) {
|
|
||||||
break;
|
break;
|
||||||
}
|
} // case 48
|
||||||
}
|
|
||||||
case 0: {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
default: {
|
default: {
|
||||||
if (!input.skipField(tag)) {
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||||
return this;
|
done = true; // was an endgroup tag
|
||||||
}
|
}
|
||||||
tag = input.readTag();
|
|
||||||
break;
|
break;
|
||||||
}
|
} // default:
|
||||||
}
|
} // switch (tag)
|
||||||
}
|
} // while (!done)
|
||||||
}
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||||
|
throw e.unwrapIOException();
|
||||||
@Override
|
} finally {
|
||||||
public void writeTo(final JsonSink output) throws IOException {
|
onChanged();
|
||||||
output.beginObject();
|
} // finally
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
|
||||||
output.writeUInt32(FieldNames.textItemId, textItemId);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeUInt32(FieldNames.textItemConfigId, textItemConfigId);
|
|
||||||
}
|
|
||||||
output.endObject();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public TextJoinInfo mergeFrom(final JsonSource input) throws IOException {
|
|
||||||
if (!input.beginObject()) {
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
private int bitField0_;
|
||||||
switch (input.readFieldHash()) {
|
|
||||||
case 1565189915:
|
private int textItemId_ ;
|
||||||
case -153409355: {
|
/**
|
||||||
if (input.isAtField(FieldNames.textItemId)) {
|
* <code>uint32 text_item_id = 1;</code>
|
||||||
if (!input.trySkipNullValue()) {
|
* @return The textItemId.
|
||||||
textItemId = input.readUInt32();
|
*/
|
||||||
|
@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;
|
bitField0_ |= 0x00000001;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
} else {
|
/**
|
||||||
input.skipUnknownField();
|
* <code>uint32 text_item_id = 1;</code>
|
||||||
}
|
* @return This builder for chaining.
|
||||||
break;
|
*/
|
||||||
}
|
public Builder clearTextItemId() {
|
||||||
case -1448403459:
|
bitField0_ = (bitField0_ & ~0x00000001);
|
||||||
case -1174236578: {
|
textItemId_ = 0;
|
||||||
if (input.isAtField(FieldNames.textItemConfigId)) {
|
onChanged();
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
textItemConfigId = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
input.skipUnknownField();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
input.endObject();
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
private int textItemConfigId_ ;
|
||||||
public TextJoinInfo clone() {
|
|
||||||
return new TextJoinInfo().copyFrom(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isEmpty() {
|
|
||||||
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
|
* <code>uint32 text_item_config_id = 6;</code>
|
||||||
|
* @return The textItemConfigId.
|
||||||
*/
|
*/
|
||||||
public static MessageFactory<TextJoinInfo> getFactory() {
|
@java.lang.Override
|
||||||
return TextJoinInfoFactory.INSTANCE;
|
public int getTextItemConfigId() {
|
||||||
|
return textItemConfigId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
private enum TextJoinInfoFactory implements MessageFactory<TextJoinInfo> {
|
|
||||||
INSTANCE;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public TextJoinInfo create() {
|
|
||||||
return TextJoinInfo.newInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains name constants used for serializing JSON
|
* <code>uint32 text_item_config_id = 6;</code>
|
||||||
|
* @param value The textItemConfigId to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
public Builder setTextItemConfigId(int value) {
|
||||||
static final FieldName textItemId = FieldName.forField("textItemId", "text_item_id");
|
|
||||||
|
|
||||||
static final FieldName textItemConfigId = FieldName.forField("textItemConfigId", "text_item_config_id");
|
textItemConfigId_ = value;
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* <code>uint32 text_item_config_id = 6;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearTextItemConfigId() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000002);
|
||||||
|
textItemConfigId_ = 0;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(builder_scope:TextJoinInfo)
|
||||||
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:TextJoinInfo)
|
||||||
|
private static final emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo DEFAULT_INSTANCE;
|
||||||
|
static {
|
||||||
|
DEFAULT_INSTANCE = new emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo getDefaultInstance() {
|
||||||
|
return DEFAULT_INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static final com.google.protobuf.Parser<TextJoinInfo>
|
||||||
|
PARSER = new com.google.protobuf.AbstractParser<TextJoinInfo>() {
|
||||||
|
@java.lang.Override
|
||||||
|
public TextJoinInfo parsePartialFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
Builder builder = newBuilder();
|
||||||
|
try {
|
||||||
|
builder.mergeFrom(input, extensionRegistry);
|
||||||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||||
|
throw e.setUnfinishedMessage(builder.buildPartial());
|
||||||
|
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||||
|
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
||||||
|
} catch (java.io.IOException e) {
|
||||||
|
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
||||||
|
.setUnfinishedMessage(builder.buildPartial());
|
||||||
|
}
|
||||||
|
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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user