// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: common.proto
package com.snowcattle.game.message.auto.common;
public final class CommonMessageProBuf {
private CommonMessageProBuf() {}
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 CommonResponseServerProBufOrBuilder extends
// @@protoc_insertion_point(interface_extends:CommonResponseServerProBuf)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code CommonResponseServerProBuf}
*/
public static final class CommonResponseServerProBuf extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:CommonResponseServerProBuf)
CommonResponseServerProBufOrBuilder {
// Use CommonResponseServerProBuf.newBuilder() to construct.
private CommonResponseServerProBuf(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CommonResponseServerProBuf() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CommonResponseServerProBuf(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.snowcattle.game.message.auto.common.CommonMessageProBuf.internal_static_CommonResponseServerProBuf_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.snowcattle.game.message.auto.common.CommonMessageProBuf.internal_static_CommonResponseServerProBuf_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf.class, com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf.Builder.class);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf)) {
return super.equals(obj);
}
com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf other = (com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf) obj;
boolean result = true;
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CommonResponseServerProBuf}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:CommonResponseServerProBuf)
com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBufOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.snowcattle.game.message.auto.common.CommonMessageProBuf.internal_static_CommonResponseServerProBuf_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.snowcattle.game.message.auto.common.CommonMessageProBuf.internal_static_CommonResponseServerProBuf_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf.class, com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf.Builder.class);
}
// Construct using com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.snowcattle.game.message.auto.common.CommonMessageProBuf.internal_static_CommonResponseServerProBuf_descriptor;
}
public com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf getDefaultInstanceForType() {
return com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf.getDefaultInstance();
}
public com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf build() {
com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf buildPartial() {
com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf result = new com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf(this);
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf) {
return mergeFrom((com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf other) {
if (other == com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:CommonResponseServerProBuf)
}
// @@protoc_insertion_point(class_scope:CommonResponseServerProBuf)
private static final com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf();
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CommonResponseServerProBuf>
PARSER = new com.google.protobuf.AbstractParser<CommonResponseServerProBuf>() {
public CommonResponseServerProBuf parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CommonResponseServerProBuf(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<CommonResponseServerProBuf> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CommonResponseServerProBuf> getParserForType() {
return PARSER;
}
public com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonResponseServerProBuf getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CommonErrorResponseServerProBufOrBuilder extends
// @@protoc_insertion_point(interface_extends:CommonErrorResponseServerProBuf)
com.google.protobuf.MessageOrBuilder {
/**
* <code>required int32 state = 1;</code>
*/
boolean hasState();
/**
* <code>required int32 state = 1;</code>
*/
int getState();
/**
* <pre>
*错误参数,格式:xx,xxx,xxxx
* </pre>
*
* <code>optional string arg = 2;</code>
*/
boolean hasArg();
/**
* <pre>
*错误参数,格式:xx,xxx,xxxx
* </pre>
*
* <code>optional string arg = 2;</code>
*/
java.lang.String getArg();
/**
* <pre>
*错误参数,格式:xx,xxx,xxxx
* </pre>
*
* <code>optional string arg = 2;</code>
*/
com.google.protobuf.ByteString
getArgBytes();
}
/**
* Protobuf type {@code CommonErrorResponseServerProBuf}
*/
public static final class CommonErrorResponseServerProBuf extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:CommonErrorResponseServerProBuf)
CommonErrorResponseServerProBufOrBuilder {
// Use CommonErrorResponseServerProBuf.newBuilder() to construct.
private CommonErrorResponseServerProBuf(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CommonErrorResponseServerProBuf() {
state_ = 0;
arg_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CommonErrorResponseServerProBuf(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
state_ = input.readInt32();
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
arg_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.snowcattle.game.message.auto.common.CommonMessageProBuf.internal_static_CommonErrorResponseServerProBuf_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.snowcattle.game.message.auto.common.CommonMessageProBuf.internal_static_CommonErrorResponseServerProBuf_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf.class, com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf.Builder.class);
}
private int bitField0_;
public static final int STATE_FIELD_NUMBER = 1;
private int state_;
/**
* <code>required int32 state = 1;</code>
*/
public boolean hasState() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>required int32 state = 1;</code>
*/
public int getState() {
return state_;
}
public static final int ARG_FIELD_NUMBER = 2;
private volatile java.lang.Object arg_;
/**
* <pre>
*错误参数,格式:xx,xxx,xxxx
* </pre>
*
* <code>optional string arg = 2;</code>
*/
public boolean hasArg() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <pre>
*错误参数,格式:xx,xxx,xxxx
* </pre>
*
* <code>optional string arg = 2;</code>
*/
public java.lang.String getArg() {
java.lang.Object ref = arg_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
arg_ = s;
}
return s;
}
}
/**
* <pre>
*错误参数,格式:xx,xxx,xxxx
* </pre>
*
* <code>optional string arg = 2;</code>
*/
public com.google.protobuf.ByteString
getArgBytes() {
java.lang.Object ref = arg_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
arg_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasState()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, state_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, arg_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, state_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, arg_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf)) {
return super.equals(obj);
}
com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf other = (com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf) obj;
boolean result = true;
result = result && (hasState() == other.hasState());
if (hasState()) {
result = result && (getState()
== other.getState());
}
result = result && (hasArg() == other.hasArg());
if (hasArg()) {
result = result && getArg()
.equals(other.getArg());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasState()) {
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + getState();
}
if (hasArg()) {
hash = (37 * hash) + ARG_FIELD_NUMBER;
hash = (53 * hash) + getArg().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CommonErrorResponseServerProBuf}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:CommonErrorResponseServerProBuf)
com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBufOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.snowcattle.game.message.auto.common.CommonMessageProBuf.internal_static_CommonErrorResponseServerProBuf_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.snowcattle.game.message.auto.common.CommonMessageProBuf.internal_static_CommonErrorResponseServerProBuf_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf.class, com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf.Builder.class);
}
// Construct using com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
state_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
arg_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.snowcattle.game.message.auto.common.CommonMessageProBuf.internal_static_CommonErrorResponseServerProBuf_descriptor;
}
public com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf getDefaultInstanceForType() {
return com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf.getDefaultInstance();
}
public com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf build() {
com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf buildPartial() {
com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf result = new com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.state_ = state_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.arg_ = arg_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf) {
return mergeFrom((com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf other) {
if (other == com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf.getDefaultInstance()) return this;
if (other.hasState()) {
setState(other.getState());
}
if (other.hasArg()) {
bitField0_ |= 0x00000002;
arg_ = other.arg_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (!hasState()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int state_ ;
/**
* <code>required int32 state = 1;</code>
*/
public boolean hasState() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>required int32 state = 1;</code>
*/
public int getState() {
return state_;
}
/**
* <code>required int32 state = 1;</code>
*/
public Builder setState(int value) {
bitField0_ |= 0x00000001;
state_ = value;
onChanged();
return this;
}
/**
* <code>required int32 state = 1;</code>
*/
public Builder clearState() {
bitField0_ = (bitField0_ & ~0x00000001);
state_ = 0;
onChanged();
return this;
}
private java.lang.Object arg_ = "";
/**
* <pre>
*错误参数,格式:xx,xxx,xxxx
* </pre>
*
* <code>optional string arg = 2;</code>
*/
public boolean hasArg() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <pre>
*错误参数,格式:xx,xxx,xxxx
* </pre>
*
* <code>optional string arg = 2;</code>
*/
public java.lang.String getArg() {
java.lang.Object ref = arg_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
arg_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
*错误参数,格式:xx,xxx,xxxx
* </pre>
*
* <code>optional string arg = 2;</code>
*/
public com.google.protobuf.ByteString
getArgBytes() {
java.lang.Object ref = arg_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
arg_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
*错误参数,格式:xx,xxx,xxxx
* </pre>
*
* <code>optional string arg = 2;</code>
*/
public Builder setArg(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
arg_ = value;
onChanged();
return this;
}
/**
* <pre>
*错误参数,格式:xx,xxx,xxxx
* </pre>
*
* <code>optional string arg = 2;</code>
*/
public Builder clearArg() {
bitField0_ = (bitField0_ & ~0x00000002);
arg_ = getDefaultInstance().getArg();
onChanged();
return this;
}
/**
* <pre>
*错误参数,格式:xx,xxx,xxxx
* </pre>
*
* <code>optional string arg = 2;</code>
*/
public Builder setArgBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
arg_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:CommonErrorResponseServerProBuf)
}
// @@protoc_insertion_point(class_scope:CommonErrorResponseServerProBuf)
private static final com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf();
}
public static com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CommonErrorResponseServerProBuf>
PARSER = new com.google.protobuf.AbstractParser<CommonErrorResponseServerProBuf>() {
public CommonErrorResponseServerProBuf parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CommonErrorResponseServerProBuf(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<CommonErrorResponseServerProBuf> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CommonErrorResponseServerProBuf> getParserForType() {
return PARSER;
}
public com.snowcattle.game.message.auto.common.CommonMessageProBuf.CommonErrorResponseServerProBuf getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CommonResponseServerProBuf_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_CommonResponseServerProBuf_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CommonErrorResponseServerProBuf_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_CommonErrorResponseServerProBuf_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\014common.proto\"\034\n\032CommonResponseServerPr" +
"oBuf\"=\n\037CommonErrorResponseServerProBuf\022" +
"\r\n\005state\030\001 \002(\005\022\013\n\003arg\030\002 \001(\tB>\n\'com.snowc" +
"attle.game.message.auto.commonB\023CommonMe" +
"ssageProBuf"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
internal_static_CommonResponseServerProBuf_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_CommonResponseServerProBuf_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_CommonResponseServerProBuf_descriptor,
new java.lang.String[] { });
internal_static_CommonErrorResponseServerProBuf_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_CommonErrorResponseServerProBuf_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_CommonErrorResponseServerProBuf_descriptor,
new java.lang.String[] { "State", "Arg", });
}
// @@protoc_insertion_point(outer_class_scope)
}