
wechat.protobuf.SendEmojiResp Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: wechat.proto
package wechat.protobuf;
/**
*
*发送emoji响应
*
*
* Protobuf type {@code wechat_proto.SendEmojiResp}
*/
public final class SendEmojiResp extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SendEmojiResp)
SendEmojiRespOrBuilder {
private static final long serialVersionUID = 0L;
// Use SendEmojiResp.newBuilder() to construct.
private SendEmojiResp(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SendEmojiResp() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SendEmojiResp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SendEmojiResp(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 26: {
wechat.protobuf.SendEmojiResp.result.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = res_.toBuilder();
}
res_ = input.readMessage(wechat.protobuf.SendEmojiResp.result.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(res_);
res_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
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 wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiResp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiResp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.SendEmojiResp.class, wechat.protobuf.SendEmojiResp.Builder.class);
}
public interface resultOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SendEmojiResp.result)
com.google.protobuf.MessageOrBuilder {
/**
*
*错误码;返回0表示发送成功
*
*
* optional int32 code = 1;
* @return Whether the code field is set.
*/
boolean hasCode();
/**
*
*错误码;返回0表示发送成功
*
*
* optional int32 code = 1;
* @return The code.
*/
int getCode();
/**
*
*小游戏随机种子?
*
*
* optional int32 tag2 = 2;
* @return Whether the tag2 field is set.
*/
boolean hasTag2();
/**
*
*小游戏随机种子?
*
*
* optional int32 tag2 = 2;
* @return The tag2.
*/
int getTag2();
/**
*
*小游戏随机种子?
*
*
* optional int32 tag3 = 3;
* @return Whether the tag3 field is set.
*/
boolean hasTag3();
/**
*
*小游戏随机种子?
*
*
* optional int32 tag3 = 3;
* @return The tag3.
*/
int getTag3();
/**
* optional string file_name = 4;
* @return Whether the fileName field is set.
*/
boolean hasFileName();
/**
* optional string file_name = 4;
* @return The fileName.
*/
java.lang.String getFileName();
/**
* optional string file_name = 4;
* @return The bytes for fileName.
*/
com.google.protobuf.ByteString
getFileNameBytes();
/**
*
*sync_key中id
*
*
* optional int32 sync_key = 5;
* @return Whether the syncKey field is set.
*/
boolean hasSyncKey();
/**
*
*sync_key中id
*
*
* optional int32 sync_key = 5;
* @return The syncKey.
*/
int getSyncKey();
/**
*
*服务器唯一id
*
*
* optional int32 svrid = 6;
* @return Whether the svrid field is set.
*/
boolean hasSvrid();
/**
*
*服务器唯一id
*
*
* optional int32 svrid = 6;
* @return The svrid.
*/
int getSvrid();
}
/**
* Protobuf type {@code wechat_proto.SendEmojiResp.result}
*/
public static final class result extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SendEmojiResp.result)
resultOrBuilder {
private static final long serialVersionUID = 0L;
// Use result.newBuilder() to construct.
private result(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private result() {
fileName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new result();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private result(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
bitField0_ |= 0x00000001;
code_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
tag2_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
tag3_ = input.readInt32();
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
fileName_ = bs;
break;
}
case 40: {
bitField0_ |= 0x00000010;
syncKey_ = input.readInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
svrid_ = input.readInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiResp_result_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiResp_result_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.SendEmojiResp.result.class, wechat.protobuf.SendEmojiResp.result.Builder.class);
}
private int bitField0_;
public static final int CODE_FIELD_NUMBER = 1;
private int code_;
/**
*
*错误码;返回0表示发送成功
*
*
* optional int32 code = 1;
* @return Whether the code field is set.
*/
@java.lang.Override
public boolean hasCode() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
*错误码;返回0表示发送成功
*
*
* optional int32 code = 1;
* @return The code.
*/
@java.lang.Override
public int getCode() {
return code_;
}
public static final int TAG2_FIELD_NUMBER = 2;
private int tag2_;
/**
*
*小游戏随机种子?
*
*
* optional int32 tag2 = 2;
* @return Whether the tag2 field is set.
*/
@java.lang.Override
public boolean hasTag2() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
*小游戏随机种子?
*
*
* optional int32 tag2 = 2;
* @return The tag2.
*/
@java.lang.Override
public int getTag2() {
return tag2_;
}
public static final int TAG3_FIELD_NUMBER = 3;
private int tag3_;
/**
*
*小游戏随机种子?
*
*
* optional int32 tag3 = 3;
* @return Whether the tag3 field is set.
*/
@java.lang.Override
public boolean hasTag3() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
*小游戏随机种子?
*
*
* optional int32 tag3 = 3;
* @return The tag3.
*/
@java.lang.Override
public int getTag3() {
return tag3_;
}
public static final int FILE_NAME_FIELD_NUMBER = 4;
private volatile java.lang.Object fileName_;
/**
* optional string file_name = 4;
* @return Whether the fileName field is set.
*/
@java.lang.Override
public boolean hasFileName() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string file_name = 4;
* @return The fileName.
*/
@java.lang.Override
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
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()) {
fileName_ = s;
}
return s;
}
}
/**
* optional string file_name = 4;
* @return The bytes for fileName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SYNC_KEY_FIELD_NUMBER = 5;
private int syncKey_;
/**
*
*sync_key中id
*
*
* optional int32 sync_key = 5;
* @return Whether the syncKey field is set.
*/
@java.lang.Override
public boolean hasSyncKey() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
*sync_key中id
*
*
* optional int32 sync_key = 5;
* @return The syncKey.
*/
@java.lang.Override
public int getSyncKey() {
return syncKey_;
}
public static final int SVRID_FIELD_NUMBER = 6;
private int svrid_;
/**
*
*服务器唯一id
*
*
* optional int32 svrid = 6;
* @return Whether the svrid field is set.
*/
@java.lang.Override
public boolean hasSvrid() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
*服务器唯一id
*
*
* optional int32 svrid = 6;
* @return The svrid.
*/
@java.lang.Override
public int getSvrid() {
return svrid_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(1, code_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(2, tag2_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt32(3, tag3_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, fileName_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt32(5, syncKey_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt32(6, svrid_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, code_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, tag2_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, tag3_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, fileName_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, syncKey_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, svrid_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof wechat.protobuf.SendEmojiResp.result)) {
return super.equals(obj);
}
wechat.protobuf.SendEmojiResp.result other = (wechat.protobuf.SendEmojiResp.result) obj;
if (hasCode() != other.hasCode()) return false;
if (hasCode()) {
if (getCode()
!= other.getCode()) return false;
}
if (hasTag2() != other.hasTag2()) return false;
if (hasTag2()) {
if (getTag2()
!= other.getTag2()) return false;
}
if (hasTag3() != other.hasTag3()) return false;
if (hasTag3()) {
if (getTag3()
!= other.getTag3()) return false;
}
if (hasFileName() != other.hasFileName()) return false;
if (hasFileName()) {
if (!getFileName()
.equals(other.getFileName())) return false;
}
if (hasSyncKey() != other.hasSyncKey()) return false;
if (hasSyncKey()) {
if (getSyncKey()
!= other.getSyncKey()) return false;
}
if (hasSvrid() != other.hasSvrid()) return false;
if (hasSvrid()) {
if (getSvrid()
!= other.getSvrid()) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCode()) {
hash = (37 * hash) + CODE_FIELD_NUMBER;
hash = (53 * hash) + getCode();
}
if (hasTag2()) {
hash = (37 * hash) + TAG2_FIELD_NUMBER;
hash = (53 * hash) + getTag2();
}
if (hasTag3()) {
hash = (37 * hash) + TAG3_FIELD_NUMBER;
hash = (53 * hash) + getTag3();
}
if (hasFileName()) {
hash = (37 * hash) + FILE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFileName().hashCode();
}
if (hasSyncKey()) {
hash = (37 * hash) + SYNC_KEY_FIELD_NUMBER;
hash = (53 * hash) + getSyncKey();
}
if (hasSvrid()) {
hash = (37 * hash) + SVRID_FIELD_NUMBER;
hash = (53 * hash) + getSvrid();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.SendEmojiResp.result parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiResp.result parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.SendEmojiResp.result parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiResp.result parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.SendEmojiResp.result parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiResp.result parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.SendEmojiResp.result parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiResp.result 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 wechat.protobuf.SendEmojiResp.result parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiResp.result 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 wechat.protobuf.SendEmojiResp.result parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiResp.result parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(wechat.protobuf.SendEmojiResp.result prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code wechat_proto.SendEmojiResp.result}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SendEmojiResp.result)
wechat.protobuf.SendEmojiResp.resultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiResp_result_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiResp_result_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.SendEmojiResp.result.class, wechat.protobuf.SendEmojiResp.result.Builder.class);
}
// Construct using wechat.protobuf.SendEmojiResp.result.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
code_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
tag2_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
tag3_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
fileName_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
syncKey_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
svrid_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiResp_result_descriptor;
}
@java.lang.Override
public wechat.protobuf.SendEmojiResp.result getDefaultInstanceForType() {
return wechat.protobuf.SendEmojiResp.result.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.SendEmojiResp.result build() {
wechat.protobuf.SendEmojiResp.result result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.SendEmojiResp.result buildPartial() {
wechat.protobuf.SendEmojiResp.result result = new wechat.protobuf.SendEmojiResp.result(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.code_ = code_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.tag2_ = tag2_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.tag3_ = tag3_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.fileName_ = fileName_;
if (((from_bitField0_ & 0x00000010) != 0)) {
result.syncKey_ = syncKey_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.svrid_ = svrid_;
to_bitField0_ |= 0x00000020;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof wechat.protobuf.SendEmojiResp.result) {
return mergeFrom((wechat.protobuf.SendEmojiResp.result)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.SendEmojiResp.result other) {
if (other == wechat.protobuf.SendEmojiResp.result.getDefaultInstance()) return this;
if (other.hasCode()) {
setCode(other.getCode());
}
if (other.hasTag2()) {
setTag2(other.getTag2());
}
if (other.hasTag3()) {
setTag3(other.getTag3());
}
if (other.hasFileName()) {
bitField0_ |= 0x00000008;
fileName_ = other.fileName_;
onChanged();
}
if (other.hasSyncKey()) {
setSyncKey(other.getSyncKey());
}
if (other.hasSvrid()) {
setSvrid(other.getSvrid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
wechat.protobuf.SendEmojiResp.result parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.SendEmojiResp.result) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int code_ ;
/**
*
*错误码;返回0表示发送成功
*
*
* optional int32 code = 1;
* @return Whether the code field is set.
*/
@java.lang.Override
public boolean hasCode() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
*错误码;返回0表示发送成功
*
*
* optional int32 code = 1;
* @return The code.
*/
@java.lang.Override
public int getCode() {
return code_;
}
/**
*
*错误码;返回0表示发送成功
*
*
* optional int32 code = 1;
* @param value The code to set.
* @return This builder for chaining.
*/
public Builder setCode(int value) {
bitField0_ |= 0x00000001;
code_ = value;
onChanged();
return this;
}
/**
*
*错误码;返回0表示发送成功
*
*
* optional int32 code = 1;
* @return This builder for chaining.
*/
public Builder clearCode() {
bitField0_ = (bitField0_ & ~0x00000001);
code_ = 0;
onChanged();
return this;
}
private int tag2_ ;
/**
*
*小游戏随机种子?
*
*
* optional int32 tag2 = 2;
* @return Whether the tag2 field is set.
*/
@java.lang.Override
public boolean hasTag2() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
*小游戏随机种子?
*
*
* optional int32 tag2 = 2;
* @return The tag2.
*/
@java.lang.Override
public int getTag2() {
return tag2_;
}
/**
*
*小游戏随机种子?
*
*
* optional int32 tag2 = 2;
* @param value The tag2 to set.
* @return This builder for chaining.
*/
public Builder setTag2(int value) {
bitField0_ |= 0x00000002;
tag2_ = value;
onChanged();
return this;
}
/**
*
*小游戏随机种子?
*
*
* optional int32 tag2 = 2;
* @return This builder for chaining.
*/
public Builder clearTag2() {
bitField0_ = (bitField0_ & ~0x00000002);
tag2_ = 0;
onChanged();
return this;
}
private int tag3_ ;
/**
*
*小游戏随机种子?
*
*
* optional int32 tag3 = 3;
* @return Whether the tag3 field is set.
*/
@java.lang.Override
public boolean hasTag3() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
*小游戏随机种子?
*
*
* optional int32 tag3 = 3;
* @return The tag3.
*/
@java.lang.Override
public int getTag3() {
return tag3_;
}
/**
*
*小游戏随机种子?
*
*
* optional int32 tag3 = 3;
* @param value The tag3 to set.
* @return This builder for chaining.
*/
public Builder setTag3(int value) {
bitField0_ |= 0x00000004;
tag3_ = value;
onChanged();
return this;
}
/**
*
*小游戏随机种子?
*
*
* optional int32 tag3 = 3;
* @return This builder for chaining.
*/
public Builder clearTag3() {
bitField0_ = (bitField0_ & ~0x00000004);
tag3_ = 0;
onChanged();
return this;
}
private java.lang.Object fileName_ = "";
/**
* optional string file_name = 4;
* @return Whether the fileName field is set.
*/
public boolean hasFileName() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string file_name = 4;
* @return The fileName.
*/
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
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()) {
fileName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string file_name = 4;
* @return The bytes for fileName.
*/
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string file_name = 4;
* @param value The fileName to set.
* @return This builder for chaining.
*/
public Builder setFileName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
fileName_ = value;
onChanged();
return this;
}
/**
* optional string file_name = 4;
* @return This builder for chaining.
*/
public Builder clearFileName() {
bitField0_ = (bitField0_ & ~0x00000008);
fileName_ = getDefaultInstance().getFileName();
onChanged();
return this;
}
/**
* optional string file_name = 4;
* @param value The bytes for fileName to set.
* @return This builder for chaining.
*/
public Builder setFileNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
fileName_ = value;
onChanged();
return this;
}
private int syncKey_ ;
/**
*
*sync_key中id
*
*
* optional int32 sync_key = 5;
* @return Whether the syncKey field is set.
*/
@java.lang.Override
public boolean hasSyncKey() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
*sync_key中id
*
*
* optional int32 sync_key = 5;
* @return The syncKey.
*/
@java.lang.Override
public int getSyncKey() {
return syncKey_;
}
/**
*
*sync_key中id
*
*
* optional int32 sync_key = 5;
* @param value The syncKey to set.
* @return This builder for chaining.
*/
public Builder setSyncKey(int value) {
bitField0_ |= 0x00000010;
syncKey_ = value;
onChanged();
return this;
}
/**
*
*sync_key中id
*
*
* optional int32 sync_key = 5;
* @return This builder for chaining.
*/
public Builder clearSyncKey() {
bitField0_ = (bitField0_ & ~0x00000010);
syncKey_ = 0;
onChanged();
return this;
}
private int svrid_ ;
/**
*
*服务器唯一id
*
*
* optional int32 svrid = 6;
* @return Whether the svrid field is set.
*/
@java.lang.Override
public boolean hasSvrid() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
*服务器唯一id
*
*
* optional int32 svrid = 6;
* @return The svrid.
*/
@java.lang.Override
public int getSvrid() {
return svrid_;
}
/**
*
*服务器唯一id
*
*
* optional int32 svrid = 6;
* @param value The svrid to set.
* @return This builder for chaining.
*/
public Builder setSvrid(int value) {
bitField0_ |= 0x00000020;
svrid_ = value;
onChanged();
return this;
}
/**
*
*服务器唯一id
*
*
* optional int32 svrid = 6;
* @return This builder for chaining.
*/
public Builder clearSvrid() {
bitField0_ = (bitField0_ & ~0x00000020);
svrid_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:wechat_proto.SendEmojiResp.result)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SendEmojiResp.result)
private static final wechat.protobuf.SendEmojiResp.result DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.SendEmojiResp.result();
}
public static wechat.protobuf.SendEmojiResp.result getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public result parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new result(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public wechat.protobuf.SendEmojiResp.result getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int RES_FIELD_NUMBER = 3;
private wechat.protobuf.SendEmojiResp.result res_;
/**
*
*发送结果
*
*
* optional .wechat_proto.SendEmojiResp.result res = 3;
* @return Whether the res field is set.
*/
@java.lang.Override
public boolean hasRes() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
*发送结果
*
*
* optional .wechat_proto.SendEmojiResp.result res = 3;
* @return The res.
*/
@java.lang.Override
public wechat.protobuf.SendEmojiResp.result getRes() {
return res_ == null ? wechat.protobuf.SendEmojiResp.result.getDefaultInstance() : res_;
}
/**
*
*发送结果
*
*
* optional .wechat_proto.SendEmojiResp.result res = 3;
*/
@java.lang.Override
public wechat.protobuf.SendEmojiResp.resultOrBuilder getResOrBuilder() {
return res_ == null ? wechat.protobuf.SendEmojiResp.result.getDefaultInstance() : res_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(3, getRes());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getRes());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof wechat.protobuf.SendEmojiResp)) {
return super.equals(obj);
}
wechat.protobuf.SendEmojiResp other = (wechat.protobuf.SendEmojiResp) obj;
if (hasRes() != other.hasRes()) return false;
if (hasRes()) {
if (!getRes()
.equals(other.getRes())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasRes()) {
hash = (37 * hash) + RES_FIELD_NUMBER;
hash = (53 * hash) + getRes().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.SendEmojiResp parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiResp parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.SendEmojiResp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiResp parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.SendEmojiResp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiResp parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.SendEmojiResp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiResp 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 wechat.protobuf.SendEmojiResp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiResp 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 wechat.protobuf.SendEmojiResp parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiResp parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(wechat.protobuf.SendEmojiResp prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
*发送emoji响应
*
*
* Protobuf type {@code wechat_proto.SendEmojiResp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SendEmojiResp)
wechat.protobuf.SendEmojiRespOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiResp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiResp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.SendEmojiResp.class, wechat.protobuf.SendEmojiResp.Builder.class);
}
// Construct using wechat.protobuf.SendEmojiResp.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getResFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (resBuilder_ == null) {
res_ = null;
} else {
resBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiResp_descriptor;
}
@java.lang.Override
public wechat.protobuf.SendEmojiResp getDefaultInstanceForType() {
return wechat.protobuf.SendEmojiResp.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.SendEmojiResp build() {
wechat.protobuf.SendEmojiResp result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.SendEmojiResp buildPartial() {
wechat.protobuf.SendEmojiResp result = new wechat.protobuf.SendEmojiResp(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (resBuilder_ == null) {
result.res_ = res_;
} else {
result.res_ = resBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof wechat.protobuf.SendEmojiResp) {
return mergeFrom((wechat.protobuf.SendEmojiResp)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.SendEmojiResp other) {
if (other == wechat.protobuf.SendEmojiResp.getDefaultInstance()) return this;
if (other.hasRes()) {
mergeRes(other.getRes());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
wechat.protobuf.SendEmojiResp parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.SendEmojiResp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private wechat.protobuf.SendEmojiResp.result res_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SendEmojiResp.result, wechat.protobuf.SendEmojiResp.result.Builder, wechat.protobuf.SendEmojiResp.resultOrBuilder> resBuilder_;
/**
*
*发送结果
*
*
* optional .wechat_proto.SendEmojiResp.result res = 3;
* @return Whether the res field is set.
*/
public boolean hasRes() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
*发送结果
*
*
* optional .wechat_proto.SendEmojiResp.result res = 3;
* @return The res.
*/
public wechat.protobuf.SendEmojiResp.result getRes() {
if (resBuilder_ == null) {
return res_ == null ? wechat.protobuf.SendEmojiResp.result.getDefaultInstance() : res_;
} else {
return resBuilder_.getMessage();
}
}
/**
*
*发送结果
*
*
* optional .wechat_proto.SendEmojiResp.result res = 3;
*/
public Builder setRes(wechat.protobuf.SendEmojiResp.result value) {
if (resBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
res_ = value;
onChanged();
} else {
resBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
*
*发送结果
*
*
* optional .wechat_proto.SendEmojiResp.result res = 3;
*/
public Builder setRes(
wechat.protobuf.SendEmojiResp.result.Builder builderForValue) {
if (resBuilder_ == null) {
res_ = builderForValue.build();
onChanged();
} else {
resBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
*
*发送结果
*
*
* optional .wechat_proto.SendEmojiResp.result res = 3;
*/
public Builder mergeRes(wechat.protobuf.SendEmojiResp.result value) {
if (resBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
res_ != null &&
res_ != wechat.protobuf.SendEmojiResp.result.getDefaultInstance()) {
res_ =
wechat.protobuf.SendEmojiResp.result.newBuilder(res_).mergeFrom(value).buildPartial();
} else {
res_ = value;
}
onChanged();
} else {
resBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
*
*发送结果
*
*
* optional .wechat_proto.SendEmojiResp.result res = 3;
*/
public Builder clearRes() {
if (resBuilder_ == null) {
res_ = null;
onChanged();
} else {
resBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
*
*发送结果
*
*
* optional .wechat_proto.SendEmojiResp.result res = 3;
*/
public wechat.protobuf.SendEmojiResp.result.Builder getResBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getResFieldBuilder().getBuilder();
}
/**
*
*发送结果
*
*
* optional .wechat_proto.SendEmojiResp.result res = 3;
*/
public wechat.protobuf.SendEmojiResp.resultOrBuilder getResOrBuilder() {
if (resBuilder_ != null) {
return resBuilder_.getMessageOrBuilder();
} else {
return res_ == null ?
wechat.protobuf.SendEmojiResp.result.getDefaultInstance() : res_;
}
}
/**
*
*发送结果
*
*
* optional .wechat_proto.SendEmojiResp.result res = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SendEmojiResp.result, wechat.protobuf.SendEmojiResp.result.Builder, wechat.protobuf.SendEmojiResp.resultOrBuilder>
getResFieldBuilder() {
if (resBuilder_ == null) {
resBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SendEmojiResp.result, wechat.protobuf.SendEmojiResp.result.Builder, wechat.protobuf.SendEmojiResp.resultOrBuilder>(
getRes(),
getParentForChildren(),
isClean());
res_ = null;
}
return resBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:wechat_proto.SendEmojiResp)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SendEmojiResp)
private static final wechat.protobuf.SendEmojiResp DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.SendEmojiResp();
}
public static wechat.protobuf.SendEmojiResp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SendEmojiResp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SendEmojiResp(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public wechat.protobuf.SendEmojiResp getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy