
wechat.protobuf.SendEmojiReq Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: wechat.proto
package wechat.protobuf;
/**
*
*发送emoji请求
*
*
* Protobuf type {@code wechat_proto.SendEmojiReq}
*/
public final class SendEmojiReq extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SendEmojiReq)
SendEmojiReqOrBuilder {
private static final long serialVersionUID = 0L;
// Use SendEmojiReq.newBuilder() to construct.
private SendEmojiReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SendEmojiReq() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SendEmojiReq();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SendEmojiReq(
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 10: {
wechat.protobuf.BaseRequest.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = baseRequest_.toBuilder();
}
baseRequest_ = input.readMessage(wechat.protobuf.BaseRequest.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseRequest_);
baseRequest_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
tag2_ = input.readInt32();
break;
}
case 26: {
wechat.protobuf.SendEmojiReq.emoji_info.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = emoji_.toBuilder();
}
emoji_ = input.readMessage(wechat.protobuf.SendEmojiReq.emoji_info.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(emoji_);
emoji_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 32: {
bitField0_ |= 0x00000008;
tag4_ = 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_SendEmojiReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.SendEmojiReq.class, wechat.protobuf.SendEmojiReq.Builder.class);
}
public interface emoji_infoOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SendEmojiReq.emoji_info)
com.google.protobuf.MessageOrBuilder {
/**
*
*emoji加密文件名;发送游戏emoji时该参数无效
*
*
* optional string animation_id = 1;
* @return Whether the animationId field is set.
*/
boolean hasAnimationId();
/**
*
*emoji加密文件名;发送游戏emoji时该参数无效
*
*
* optional string animation_id = 1;
* @return The animationId.
*/
java.lang.String getAnimationId();
/**
*
*emoji加密文件名;发送游戏emoji时该参数无效
*
*
* optional string animation_id = 1;
* @return The bytes for animationId.
*/
com.google.protobuf.ByteString
getAnimationIdBytes();
/**
* 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 .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
* @return Whether the tag4 field is set.
*/
boolean hasTag4();
/**
* optional .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
* @return The tag4.
*/
wechat.protobuf.SendEmojiReq.emoji_info.TAG4 getTag4();
/**
* optional .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
*/
wechat.protobuf.SendEmojiReq.emoji_info.TAG4OrBuilder getTag4OrBuilder();
/**
* optional int32 tag5 = 5;
* @return Whether the tag5 field is set.
*/
boolean hasTag5();
/**
* optional int32 tag5 = 5;
* @return The tag5.
*/
int getTag5();
/**
* optional string to_wxid = 6;
* @return Whether the toWxid field is set.
*/
boolean hasToWxid();
/**
* optional string to_wxid = 6;
* @return The toWxid.
*/
java.lang.String getToWxid();
/**
* optional string to_wxid = 6;
* @return The bytes for toWxid.
*/
com.google.protobuf.ByteString
getToWxidBytes();
/**
*
*游戏参数:<gameext type="2" content="8" ></gameext>
*
*
* optional string game_ext = 7;
* @return Whether the gameExt field is set.
*/
boolean hasGameExt();
/**
*
*游戏参数:<gameext type="2" content="8" ></gameext>
*
*
* optional string game_ext = 7;
* @return The gameExt.
*/
java.lang.String getGameExt();
/**
*
*游戏参数:<gameext type="2" content="8" ></gameext>
*
*
* optional string game_ext = 7;
* @return The bytes for gameExt.
*/
com.google.protobuf.ByteString
getGameExtBytes();
/**
* optional string tag8 = 8;
* @return Whether the tag8 field is set.
*/
boolean hasTag8();
/**
* optional string tag8 = 8;
* @return The tag8.
*/
java.lang.String getTag8();
/**
* optional string tag8 = 8;
* @return The bytes for tag8.
*/
com.google.protobuf.ByteString
getTag8Bytes();
/**
*
*ms
*
*
* optional string utc = 9;
* @return Whether the utc field is set.
*/
boolean hasUtc();
/**
*
*ms
*
*
* optional string utc = 9;
* @return The utc.
*/
java.lang.String getUtc();
/**
*
*ms
*
*
* optional string utc = 9;
* @return The bytes for utc.
*/
com.google.protobuf.ByteString
getUtcBytes();
/**
* optional int32 tag11 = 11;
* @return Whether the tag11 field is set.
*/
boolean hasTag11();
/**
* optional int32 tag11 = 11;
* @return The tag11.
*/
int getTag11();
}
/**
* Protobuf type {@code wechat_proto.SendEmojiReq.emoji_info}
*/
public static final class emoji_info extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SendEmojiReq.emoji_info)
emoji_infoOrBuilder {
private static final long serialVersionUID = 0L;
// Use emoji_info.newBuilder() to construct.
private emoji_info(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private emoji_info() {
animationId_ = "";
toWxid_ = "";
gameExt_ = "";
tag8_ = "";
utc_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new emoji_info();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private emoji_info(
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 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
animationId_ = bs;
break;
}
case 16: {
bitField0_ |= 0x00000002;
tag2_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
tag3_ = input.readInt32();
break;
}
case 34: {
wechat.protobuf.SendEmojiReq.emoji_info.TAG4.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) != 0)) {
subBuilder = tag4_.toBuilder();
}
tag4_ = input.readMessage(wechat.protobuf.SendEmojiReq.emoji_info.TAG4.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(tag4_);
tag4_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 40: {
bitField0_ |= 0x00000010;
tag5_ = input.readInt32();
break;
}
case 50: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
toWxid_ = bs;
break;
}
case 58: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000040;
gameExt_ = bs;
break;
}
case 66: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000080;
tag8_ = bs;
break;
}
case 74: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000100;
utc_ = bs;
break;
}
case 88: {
bitField0_ |= 0x00000200;
tag11_ = 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_SendEmojiReq_emoji_info_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiReq_emoji_info_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.SendEmojiReq.emoji_info.class, wechat.protobuf.SendEmojiReq.emoji_info.Builder.class);
}
public interface TAG4OrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SendEmojiReq.emoji_info.TAG4)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 tag1 = 1;
* @return Whether the tag1 field is set.
*/
boolean hasTag1();
/**
* optional int32 tag1 = 1;
* @return The tag1.
*/
int getTag1();
}
/**
* Protobuf type {@code wechat_proto.SendEmojiReq.emoji_info.TAG4}
*/
public static final class TAG4 extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SendEmojiReq.emoji_info.TAG4)
TAG4OrBuilder {
private static final long serialVersionUID = 0L;
// Use TAG4.newBuilder() to construct.
private TAG4(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TAG4() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TAG4();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TAG4(
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;
tag1_ = 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_SendEmojiReq_emoji_info_TAG4_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiReq_emoji_info_TAG4_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.SendEmojiReq.emoji_info.TAG4.class, wechat.protobuf.SendEmojiReq.emoji_info.TAG4.Builder.class);
}
private int bitField0_;
public static final int TAG1_FIELD_NUMBER = 1;
private int tag1_;
/**
* optional int32 tag1 = 1;
* @return Whether the tag1 field is set.
*/
@java.lang.Override
public boolean hasTag1() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 tag1 = 1;
* @return The tag1.
*/
@java.lang.Override
public int getTag1() {
return tag1_;
}
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, tag1_);
}
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, tag1_);
}
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.SendEmojiReq.emoji_info.TAG4)) {
return super.equals(obj);
}
wechat.protobuf.SendEmojiReq.emoji_info.TAG4 other = (wechat.protobuf.SendEmojiReq.emoji_info.TAG4) obj;
if (hasTag1() != other.hasTag1()) return false;
if (hasTag1()) {
if (getTag1()
!= other.getTag1()) 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 (hasTag1()) {
hash = (37 * hash) + TAG1_FIELD_NUMBER;
hash = (53 * hash) + getTag1();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.SendEmojiReq.emoji_info.TAG4 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiReq.emoji_info.TAG4 parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.SendEmojiReq.emoji_info.TAG4 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiReq.emoji_info.TAG4 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.SendEmojiReq.emoji_info.TAG4 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiReq.emoji_info.TAG4 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.SendEmojiReq.emoji_info.TAG4 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiReq.emoji_info.TAG4 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.SendEmojiReq.emoji_info.TAG4 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiReq.emoji_info.TAG4 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.SendEmojiReq.emoji_info.TAG4 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiReq.emoji_info.TAG4 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.SendEmojiReq.emoji_info.TAG4 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.SendEmojiReq.emoji_info.TAG4}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SendEmojiReq.emoji_info.TAG4)
wechat.protobuf.SendEmojiReq.emoji_info.TAG4OrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiReq_emoji_info_TAG4_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiReq_emoji_info_TAG4_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.SendEmojiReq.emoji_info.TAG4.class, wechat.protobuf.SendEmojiReq.emoji_info.TAG4.Builder.class);
}
// Construct using wechat.protobuf.SendEmojiReq.emoji_info.TAG4.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();
tag1_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiReq_emoji_info_TAG4_descriptor;
}
@java.lang.Override
public wechat.protobuf.SendEmojiReq.emoji_info.TAG4 getDefaultInstanceForType() {
return wechat.protobuf.SendEmojiReq.emoji_info.TAG4.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.SendEmojiReq.emoji_info.TAG4 build() {
wechat.protobuf.SendEmojiReq.emoji_info.TAG4 result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.SendEmojiReq.emoji_info.TAG4 buildPartial() {
wechat.protobuf.SendEmojiReq.emoji_info.TAG4 result = new wechat.protobuf.SendEmojiReq.emoji_info.TAG4(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.tag1_ = tag1_;
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.SendEmojiReq.emoji_info.TAG4) {
return mergeFrom((wechat.protobuf.SendEmojiReq.emoji_info.TAG4)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.SendEmojiReq.emoji_info.TAG4 other) {
if (other == wechat.protobuf.SendEmojiReq.emoji_info.TAG4.getDefaultInstance()) return this;
if (other.hasTag1()) {
setTag1(other.getTag1());
}
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.SendEmojiReq.emoji_info.TAG4 parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.SendEmojiReq.emoji_info.TAG4) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int tag1_ ;
/**
* optional int32 tag1 = 1;
* @return Whether the tag1 field is set.
*/
@java.lang.Override
public boolean hasTag1() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 tag1 = 1;
* @return The tag1.
*/
@java.lang.Override
public int getTag1() {
return tag1_;
}
/**
* optional int32 tag1 = 1;
* @param value The tag1 to set.
* @return This builder for chaining.
*/
public Builder setTag1(int value) {
bitField0_ |= 0x00000001;
tag1_ = value;
onChanged();
return this;
}
/**
* optional int32 tag1 = 1;
* @return This builder for chaining.
*/
public Builder clearTag1() {
bitField0_ = (bitField0_ & ~0x00000001);
tag1_ = 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.SendEmojiReq.emoji_info.TAG4)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SendEmojiReq.emoji_info.TAG4)
private static final wechat.protobuf.SendEmojiReq.emoji_info.TAG4 DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.SendEmojiReq.emoji_info.TAG4();
}
public static wechat.protobuf.SendEmojiReq.emoji_info.TAG4 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TAG4 parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TAG4(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.SendEmojiReq.emoji_info.TAG4 getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int ANIMATION_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object animationId_;
/**
*
*emoji加密文件名;发送游戏emoji时该参数无效
*
*
* optional string animation_id = 1;
* @return Whether the animationId field is set.
*/
@java.lang.Override
public boolean hasAnimationId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
*emoji加密文件名;发送游戏emoji时该参数无效
*
*
* optional string animation_id = 1;
* @return The animationId.
*/
@java.lang.Override
public java.lang.String getAnimationId() {
java.lang.Object ref = animationId_;
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()) {
animationId_ = s;
}
return s;
}
}
/**
*
*emoji加密文件名;发送游戏emoji时该参数无效
*
*
* optional string animation_id = 1;
* @return The bytes for animationId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAnimationIdBytes() {
java.lang.Object ref = animationId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
animationId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 TAG4_FIELD_NUMBER = 4;
private wechat.protobuf.SendEmojiReq.emoji_info.TAG4 tag4_;
/**
* optional .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
* @return Whether the tag4 field is set.
*/
@java.lang.Override
public boolean hasTag4() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
* @return The tag4.
*/
@java.lang.Override
public wechat.protobuf.SendEmojiReq.emoji_info.TAG4 getTag4() {
return tag4_ == null ? wechat.protobuf.SendEmojiReq.emoji_info.TAG4.getDefaultInstance() : tag4_;
}
/**
* optional .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
*/
@java.lang.Override
public wechat.protobuf.SendEmojiReq.emoji_info.TAG4OrBuilder getTag4OrBuilder() {
return tag4_ == null ? wechat.protobuf.SendEmojiReq.emoji_info.TAG4.getDefaultInstance() : tag4_;
}
public static final int TAG5_FIELD_NUMBER = 5;
private int tag5_;
/**
* optional int32 tag5 = 5;
* @return Whether the tag5 field is set.
*/
@java.lang.Override
public boolean hasTag5() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional int32 tag5 = 5;
* @return The tag5.
*/
@java.lang.Override
public int getTag5() {
return tag5_;
}
public static final int TO_WXID_FIELD_NUMBER = 6;
private volatile java.lang.Object toWxid_;
/**
* optional string to_wxid = 6;
* @return Whether the toWxid field is set.
*/
@java.lang.Override
public boolean hasToWxid() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string to_wxid = 6;
* @return The toWxid.
*/
@java.lang.Override
public java.lang.String getToWxid() {
java.lang.Object ref = toWxid_;
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()) {
toWxid_ = s;
}
return s;
}
}
/**
* optional string to_wxid = 6;
* @return The bytes for toWxid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getToWxidBytes() {
java.lang.Object ref = toWxid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
toWxid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GAME_EXT_FIELD_NUMBER = 7;
private volatile java.lang.Object gameExt_;
/**
*
*游戏参数:<gameext type="2" content="8" ></gameext>
*
*
* optional string game_ext = 7;
* @return Whether the gameExt field is set.
*/
@java.lang.Override
public boolean hasGameExt() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
*游戏参数:<gameext type="2" content="8" ></gameext>
*
*
* optional string game_ext = 7;
* @return The gameExt.
*/
@java.lang.Override
public java.lang.String getGameExt() {
java.lang.Object ref = gameExt_;
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()) {
gameExt_ = s;
}
return s;
}
}
/**
*
*游戏参数:<gameext type="2" content="8" ></gameext>
*
*
* optional string game_ext = 7;
* @return The bytes for gameExt.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGameExtBytes() {
java.lang.Object ref = gameExt_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gameExt_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TAG8_FIELD_NUMBER = 8;
private volatile java.lang.Object tag8_;
/**
* optional string tag8 = 8;
* @return Whether the tag8 field is set.
*/
@java.lang.Override
public boolean hasTag8() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional string tag8 = 8;
* @return The tag8.
*/
@java.lang.Override
public java.lang.String getTag8() {
java.lang.Object ref = tag8_;
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()) {
tag8_ = s;
}
return s;
}
}
/**
* optional string tag8 = 8;
* @return The bytes for tag8.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTag8Bytes() {
java.lang.Object ref = tag8_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tag8_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UTC_FIELD_NUMBER = 9;
private volatile java.lang.Object utc_;
/**
*
*ms
*
*
* optional string utc = 9;
* @return Whether the utc field is set.
*/
@java.lang.Override
public boolean hasUtc() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
*ms
*
*
* optional string utc = 9;
* @return The utc.
*/
@java.lang.Override
public java.lang.String getUtc() {
java.lang.Object ref = utc_;
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()) {
utc_ = s;
}
return s;
}
}
/**
*
*ms
*
*
* optional string utc = 9;
* @return The bytes for utc.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUtcBytes() {
java.lang.Object ref = utc_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
utc_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TAG11_FIELD_NUMBER = 11;
private int tag11_;
/**
* optional int32 tag11 = 11;
* @return Whether the tag11 field is set.
*/
@java.lang.Override
public boolean hasTag11() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional int32 tag11 = 11;
* @return The tag11.
*/
@java.lang.Override
public int getTag11() {
return tag11_;
}
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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, animationId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(2, tag2_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt32(3, tag3_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getTag4());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt32(5, tag5_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, toWxid_);
}
if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, gameExt_);
}
if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, tag8_);
}
if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, utc_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeInt32(11, tag11_);
}
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.GeneratedMessageV3.computeStringSize(1, animationId_);
}
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.CodedOutputStream
.computeMessageSize(4, getTag4());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, tag5_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, toWxid_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, gameExt_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, tag8_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, utc_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(11, tag11_);
}
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.SendEmojiReq.emoji_info)) {
return super.equals(obj);
}
wechat.protobuf.SendEmojiReq.emoji_info other = (wechat.protobuf.SendEmojiReq.emoji_info) obj;
if (hasAnimationId() != other.hasAnimationId()) return false;
if (hasAnimationId()) {
if (!getAnimationId()
.equals(other.getAnimationId())) 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 (hasTag4() != other.hasTag4()) return false;
if (hasTag4()) {
if (!getTag4()
.equals(other.getTag4())) return false;
}
if (hasTag5() != other.hasTag5()) return false;
if (hasTag5()) {
if (getTag5()
!= other.getTag5()) return false;
}
if (hasToWxid() != other.hasToWxid()) return false;
if (hasToWxid()) {
if (!getToWxid()
.equals(other.getToWxid())) return false;
}
if (hasGameExt() != other.hasGameExt()) return false;
if (hasGameExt()) {
if (!getGameExt()
.equals(other.getGameExt())) return false;
}
if (hasTag8() != other.hasTag8()) return false;
if (hasTag8()) {
if (!getTag8()
.equals(other.getTag8())) return false;
}
if (hasUtc() != other.hasUtc()) return false;
if (hasUtc()) {
if (!getUtc()
.equals(other.getUtc())) return false;
}
if (hasTag11() != other.hasTag11()) return false;
if (hasTag11()) {
if (getTag11()
!= other.getTag11()) 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 (hasAnimationId()) {
hash = (37 * hash) + ANIMATION_ID_FIELD_NUMBER;
hash = (53 * hash) + getAnimationId().hashCode();
}
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 (hasTag4()) {
hash = (37 * hash) + TAG4_FIELD_NUMBER;
hash = (53 * hash) + getTag4().hashCode();
}
if (hasTag5()) {
hash = (37 * hash) + TAG5_FIELD_NUMBER;
hash = (53 * hash) + getTag5();
}
if (hasToWxid()) {
hash = (37 * hash) + TO_WXID_FIELD_NUMBER;
hash = (53 * hash) + getToWxid().hashCode();
}
if (hasGameExt()) {
hash = (37 * hash) + GAME_EXT_FIELD_NUMBER;
hash = (53 * hash) + getGameExt().hashCode();
}
if (hasTag8()) {
hash = (37 * hash) + TAG8_FIELD_NUMBER;
hash = (53 * hash) + getTag8().hashCode();
}
if (hasUtc()) {
hash = (37 * hash) + UTC_FIELD_NUMBER;
hash = (53 * hash) + getUtc().hashCode();
}
if (hasTag11()) {
hash = (37 * hash) + TAG11_FIELD_NUMBER;
hash = (53 * hash) + getTag11();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.SendEmojiReq.emoji_info parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiReq.emoji_info parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.SendEmojiReq.emoji_info parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiReq.emoji_info 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.SendEmojiReq.emoji_info parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiReq.emoji_info parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.SendEmojiReq.emoji_info parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiReq.emoji_info 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.SendEmojiReq.emoji_info parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiReq.emoji_info 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.SendEmojiReq.emoji_info parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiReq.emoji_info 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.SendEmojiReq.emoji_info 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.SendEmojiReq.emoji_info}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SendEmojiReq.emoji_info)
wechat.protobuf.SendEmojiReq.emoji_infoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiReq_emoji_info_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiReq_emoji_info_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.SendEmojiReq.emoji_info.class, wechat.protobuf.SendEmojiReq.emoji_info.Builder.class);
}
// Construct using wechat.protobuf.SendEmojiReq.emoji_info.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTag4FieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
animationId_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
tag2_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
tag3_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
if (tag4Builder_ == null) {
tag4_ = null;
} else {
tag4Builder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
tag5_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
toWxid_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
gameExt_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
tag8_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
utc_ = "";
bitField0_ = (bitField0_ & ~0x00000100);
tag11_ = 0;
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiReq_emoji_info_descriptor;
}
@java.lang.Override
public wechat.protobuf.SendEmojiReq.emoji_info getDefaultInstanceForType() {
return wechat.protobuf.SendEmojiReq.emoji_info.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.SendEmojiReq.emoji_info build() {
wechat.protobuf.SendEmojiReq.emoji_info result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.SendEmojiReq.emoji_info buildPartial() {
wechat.protobuf.SendEmojiReq.emoji_info result = new wechat.protobuf.SendEmojiReq.emoji_info(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.animationId_ = animationId_;
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)) {
if (tag4Builder_ == null) {
result.tag4_ = tag4_;
} else {
result.tag4_ = tag4Builder_.build();
}
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.tag5_ = tag5_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.toWxid_ = toWxid_;
if (((from_bitField0_ & 0x00000040) != 0)) {
to_bitField0_ |= 0x00000040;
}
result.gameExt_ = gameExt_;
if (((from_bitField0_ & 0x00000080) != 0)) {
to_bitField0_ |= 0x00000080;
}
result.tag8_ = tag8_;
if (((from_bitField0_ & 0x00000100) != 0)) {
to_bitField0_ |= 0x00000100;
}
result.utc_ = utc_;
if (((from_bitField0_ & 0x00000200) != 0)) {
result.tag11_ = tag11_;
to_bitField0_ |= 0x00000200;
}
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.SendEmojiReq.emoji_info) {
return mergeFrom((wechat.protobuf.SendEmojiReq.emoji_info)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.SendEmojiReq.emoji_info other) {
if (other == wechat.protobuf.SendEmojiReq.emoji_info.getDefaultInstance()) return this;
if (other.hasAnimationId()) {
bitField0_ |= 0x00000001;
animationId_ = other.animationId_;
onChanged();
}
if (other.hasTag2()) {
setTag2(other.getTag2());
}
if (other.hasTag3()) {
setTag3(other.getTag3());
}
if (other.hasTag4()) {
mergeTag4(other.getTag4());
}
if (other.hasTag5()) {
setTag5(other.getTag5());
}
if (other.hasToWxid()) {
bitField0_ |= 0x00000020;
toWxid_ = other.toWxid_;
onChanged();
}
if (other.hasGameExt()) {
bitField0_ |= 0x00000040;
gameExt_ = other.gameExt_;
onChanged();
}
if (other.hasTag8()) {
bitField0_ |= 0x00000080;
tag8_ = other.tag8_;
onChanged();
}
if (other.hasUtc()) {
bitField0_ |= 0x00000100;
utc_ = other.utc_;
onChanged();
}
if (other.hasTag11()) {
setTag11(other.getTag11());
}
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.SendEmojiReq.emoji_info parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.SendEmojiReq.emoji_info) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object animationId_ = "";
/**
*
*emoji加密文件名;发送游戏emoji时该参数无效
*
*
* optional string animation_id = 1;
* @return Whether the animationId field is set.
*/
public boolean hasAnimationId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
*emoji加密文件名;发送游戏emoji时该参数无效
*
*
* optional string animation_id = 1;
* @return The animationId.
*/
public java.lang.String getAnimationId() {
java.lang.Object ref = animationId_;
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()) {
animationId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*emoji加密文件名;发送游戏emoji时该参数无效
*
*
* optional string animation_id = 1;
* @return The bytes for animationId.
*/
public com.google.protobuf.ByteString
getAnimationIdBytes() {
java.lang.Object ref = animationId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
animationId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*emoji加密文件名;发送游戏emoji时该参数无效
*
*
* optional string animation_id = 1;
* @param value The animationId to set.
* @return This builder for chaining.
*/
public Builder setAnimationId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
animationId_ = value;
onChanged();
return this;
}
/**
*
*emoji加密文件名;发送游戏emoji时该参数无效
*
*
* optional string animation_id = 1;
* @return This builder for chaining.
*/
public Builder clearAnimationId() {
bitField0_ = (bitField0_ & ~0x00000001);
animationId_ = getDefaultInstance().getAnimationId();
onChanged();
return this;
}
/**
*
*emoji加密文件名;发送游戏emoji时该参数无效
*
*
* optional string animation_id = 1;
* @param value The bytes for animationId to set.
* @return This builder for chaining.
*/
public Builder setAnimationIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
animationId_ = value;
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 wechat.protobuf.SendEmojiReq.emoji_info.TAG4 tag4_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SendEmojiReq.emoji_info.TAG4, wechat.protobuf.SendEmojiReq.emoji_info.TAG4.Builder, wechat.protobuf.SendEmojiReq.emoji_info.TAG4OrBuilder> tag4Builder_;
/**
* optional .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
* @return Whether the tag4 field is set.
*/
public boolean hasTag4() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
* @return The tag4.
*/
public wechat.protobuf.SendEmojiReq.emoji_info.TAG4 getTag4() {
if (tag4Builder_ == null) {
return tag4_ == null ? wechat.protobuf.SendEmojiReq.emoji_info.TAG4.getDefaultInstance() : tag4_;
} else {
return tag4Builder_.getMessage();
}
}
/**
* optional .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
*/
public Builder setTag4(wechat.protobuf.SendEmojiReq.emoji_info.TAG4 value) {
if (tag4Builder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tag4_ = value;
onChanged();
} else {
tag4Builder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
*/
public Builder setTag4(
wechat.protobuf.SendEmojiReq.emoji_info.TAG4.Builder builderForValue) {
if (tag4Builder_ == null) {
tag4_ = builderForValue.build();
onChanged();
} else {
tag4Builder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
*/
public Builder mergeTag4(wechat.protobuf.SendEmojiReq.emoji_info.TAG4 value) {
if (tag4Builder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
tag4_ != null &&
tag4_ != wechat.protobuf.SendEmojiReq.emoji_info.TAG4.getDefaultInstance()) {
tag4_ =
wechat.protobuf.SendEmojiReq.emoji_info.TAG4.newBuilder(tag4_).mergeFrom(value).buildPartial();
} else {
tag4_ = value;
}
onChanged();
} else {
tag4Builder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
*/
public Builder clearTag4() {
if (tag4Builder_ == null) {
tag4_ = null;
onChanged();
} else {
tag4Builder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
*/
public wechat.protobuf.SendEmojiReq.emoji_info.TAG4.Builder getTag4Builder() {
bitField0_ |= 0x00000008;
onChanged();
return getTag4FieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
*/
public wechat.protobuf.SendEmojiReq.emoji_info.TAG4OrBuilder getTag4OrBuilder() {
if (tag4Builder_ != null) {
return tag4Builder_.getMessageOrBuilder();
} else {
return tag4_ == null ?
wechat.protobuf.SendEmojiReq.emoji_info.TAG4.getDefaultInstance() : tag4_;
}
}
/**
* optional .wechat_proto.SendEmojiReq.emoji_info.TAG4 tag4 = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SendEmojiReq.emoji_info.TAG4, wechat.protobuf.SendEmojiReq.emoji_info.TAG4.Builder, wechat.protobuf.SendEmojiReq.emoji_info.TAG4OrBuilder>
getTag4FieldBuilder() {
if (tag4Builder_ == null) {
tag4Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SendEmojiReq.emoji_info.TAG4, wechat.protobuf.SendEmojiReq.emoji_info.TAG4.Builder, wechat.protobuf.SendEmojiReq.emoji_info.TAG4OrBuilder>(
getTag4(),
getParentForChildren(),
isClean());
tag4_ = null;
}
return tag4Builder_;
}
private int tag5_ ;
/**
* optional int32 tag5 = 5;
* @return Whether the tag5 field is set.
*/
@java.lang.Override
public boolean hasTag5() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional int32 tag5 = 5;
* @return The tag5.
*/
@java.lang.Override
public int getTag5() {
return tag5_;
}
/**
* optional int32 tag5 = 5;
* @param value The tag5 to set.
* @return This builder for chaining.
*/
public Builder setTag5(int value) {
bitField0_ |= 0x00000010;
tag5_ = value;
onChanged();
return this;
}
/**
* optional int32 tag5 = 5;
* @return This builder for chaining.
*/
public Builder clearTag5() {
bitField0_ = (bitField0_ & ~0x00000010);
tag5_ = 0;
onChanged();
return this;
}
private java.lang.Object toWxid_ = "";
/**
* optional string to_wxid = 6;
* @return Whether the toWxid field is set.
*/
public boolean hasToWxid() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string to_wxid = 6;
* @return The toWxid.
*/
public java.lang.String getToWxid() {
java.lang.Object ref = toWxid_;
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()) {
toWxid_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string to_wxid = 6;
* @return The bytes for toWxid.
*/
public com.google.protobuf.ByteString
getToWxidBytes() {
java.lang.Object ref = toWxid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
toWxid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string to_wxid = 6;
* @param value The toWxid to set.
* @return This builder for chaining.
*/
public Builder setToWxid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
toWxid_ = value;
onChanged();
return this;
}
/**
* optional string to_wxid = 6;
* @return This builder for chaining.
*/
public Builder clearToWxid() {
bitField0_ = (bitField0_ & ~0x00000020);
toWxid_ = getDefaultInstance().getToWxid();
onChanged();
return this;
}
/**
* optional string to_wxid = 6;
* @param value The bytes for toWxid to set.
* @return This builder for chaining.
*/
public Builder setToWxidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
toWxid_ = value;
onChanged();
return this;
}
private java.lang.Object gameExt_ = "";
/**
*
*游戏参数:<gameext type="2" content="8" ></gameext>
*
*
* optional string game_ext = 7;
* @return Whether the gameExt field is set.
*/
public boolean hasGameExt() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
*游戏参数:<gameext type="2" content="8" ></gameext>
*
*
* optional string game_ext = 7;
* @return The gameExt.
*/
public java.lang.String getGameExt() {
java.lang.Object ref = gameExt_;
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()) {
gameExt_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*游戏参数:<gameext type="2" content="8" ></gameext>
*
*
* optional string game_ext = 7;
* @return The bytes for gameExt.
*/
public com.google.protobuf.ByteString
getGameExtBytes() {
java.lang.Object ref = gameExt_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gameExt_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*游戏参数:<gameext type="2" content="8" ></gameext>
*
*
* optional string game_ext = 7;
* @param value The gameExt to set.
* @return This builder for chaining.
*/
public Builder setGameExt(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
gameExt_ = value;
onChanged();
return this;
}
/**
*
*游戏参数:<gameext type="2" content="8" ></gameext>
*
*
* optional string game_ext = 7;
* @return This builder for chaining.
*/
public Builder clearGameExt() {
bitField0_ = (bitField0_ & ~0x00000040);
gameExt_ = getDefaultInstance().getGameExt();
onChanged();
return this;
}
/**
*
*游戏参数:<gameext type="2" content="8" ></gameext>
*
*
* optional string game_ext = 7;
* @param value The bytes for gameExt to set.
* @return This builder for chaining.
*/
public Builder setGameExtBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
gameExt_ = value;
onChanged();
return this;
}
private java.lang.Object tag8_ = "";
/**
* optional string tag8 = 8;
* @return Whether the tag8 field is set.
*/
public boolean hasTag8() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional string tag8 = 8;
* @return The tag8.
*/
public java.lang.String getTag8() {
java.lang.Object ref = tag8_;
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()) {
tag8_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string tag8 = 8;
* @return The bytes for tag8.
*/
public com.google.protobuf.ByteString
getTag8Bytes() {
java.lang.Object ref = tag8_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tag8_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string tag8 = 8;
* @param value The tag8 to set.
* @return This builder for chaining.
*/
public Builder setTag8(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
tag8_ = value;
onChanged();
return this;
}
/**
* optional string tag8 = 8;
* @return This builder for chaining.
*/
public Builder clearTag8() {
bitField0_ = (bitField0_ & ~0x00000080);
tag8_ = getDefaultInstance().getTag8();
onChanged();
return this;
}
/**
* optional string tag8 = 8;
* @param value The bytes for tag8 to set.
* @return This builder for chaining.
*/
public Builder setTag8Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
tag8_ = value;
onChanged();
return this;
}
private java.lang.Object utc_ = "";
/**
*
*ms
*
*
* optional string utc = 9;
* @return Whether the utc field is set.
*/
public boolean hasUtc() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
*ms
*
*
* optional string utc = 9;
* @return The utc.
*/
public java.lang.String getUtc() {
java.lang.Object ref = utc_;
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()) {
utc_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*ms
*
*
* optional string utc = 9;
* @return The bytes for utc.
*/
public com.google.protobuf.ByteString
getUtcBytes() {
java.lang.Object ref = utc_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
utc_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*ms
*
*
* optional string utc = 9;
* @param value The utc to set.
* @return This builder for chaining.
*/
public Builder setUtc(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
utc_ = value;
onChanged();
return this;
}
/**
*
*ms
*
*
* optional string utc = 9;
* @return This builder for chaining.
*/
public Builder clearUtc() {
bitField0_ = (bitField0_ & ~0x00000100);
utc_ = getDefaultInstance().getUtc();
onChanged();
return this;
}
/**
*
*ms
*
*
* optional string utc = 9;
* @param value The bytes for utc to set.
* @return This builder for chaining.
*/
public Builder setUtcBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
utc_ = value;
onChanged();
return this;
}
private int tag11_ ;
/**
* optional int32 tag11 = 11;
* @return Whether the tag11 field is set.
*/
@java.lang.Override
public boolean hasTag11() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional int32 tag11 = 11;
* @return The tag11.
*/
@java.lang.Override
public int getTag11() {
return tag11_;
}
/**
* optional int32 tag11 = 11;
* @param value The tag11 to set.
* @return This builder for chaining.
*/
public Builder setTag11(int value) {
bitField0_ |= 0x00000200;
tag11_ = value;
onChanged();
return this;
}
/**
* optional int32 tag11 = 11;
* @return This builder for chaining.
*/
public Builder clearTag11() {
bitField0_ = (bitField0_ & ~0x00000200);
tag11_ = 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.SendEmojiReq.emoji_info)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SendEmojiReq.emoji_info)
private static final wechat.protobuf.SendEmojiReq.emoji_info DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.SendEmojiReq.emoji_info();
}
public static wechat.protobuf.SendEmojiReq.emoji_info getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public emoji_info parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new emoji_info(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.SendEmojiReq.emoji_info getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int BASEREQUEST_FIELD_NUMBER = 1;
private wechat.protobuf.BaseRequest baseRequest_;
/**
* optional .wechat_proto.BaseRequest BaseRequest = 1;
* @return Whether the baseRequest field is set.
*/
@java.lang.Override
public boolean hasBaseRequest() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseRequest BaseRequest = 1;
* @return The baseRequest.
*/
@java.lang.Override
public wechat.protobuf.BaseRequest getBaseRequest() {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
/**
* optional .wechat_proto.BaseRequest BaseRequest = 1;
*/
@java.lang.Override
public wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder() {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
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 EMOJI_FIELD_NUMBER = 3;
private wechat.protobuf.SendEmojiReq.emoji_info emoji_;
/**
*
*发送表情详细信息
*
*
* optional .wechat_proto.SendEmojiReq.emoji_info emoji = 3;
* @return Whether the emoji field is set.
*/
@java.lang.Override
public boolean hasEmoji() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
*发送表情详细信息
*
*
* optional .wechat_proto.SendEmojiReq.emoji_info emoji = 3;
* @return The emoji.
*/
@java.lang.Override
public wechat.protobuf.SendEmojiReq.emoji_info getEmoji() {
return emoji_ == null ? wechat.protobuf.SendEmojiReq.emoji_info.getDefaultInstance() : emoji_;
}
/**
*
*发送表情详细信息
*
*
* optional .wechat_proto.SendEmojiReq.emoji_info emoji = 3;
*/
@java.lang.Override
public wechat.protobuf.SendEmojiReq.emoji_infoOrBuilder getEmojiOrBuilder() {
return emoji_ == null ? wechat.protobuf.SendEmojiReq.emoji_info.getDefaultInstance() : emoji_;
}
public static final int TAG4_FIELD_NUMBER = 4;
private int tag4_;
/**
* optional int32 tag4 = 4;
* @return Whether the tag4 field is set.
*/
@java.lang.Override
public boolean hasTag4() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int32 tag4 = 4;
* @return The tag4.
*/
@java.lang.Override
public int getTag4() {
return tag4_;
}
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(1, getBaseRequest());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(2, tag2_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getEmoji());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt32(4, tag4_);
}
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(1, getBaseRequest());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, tag2_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getEmoji());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, tag4_);
}
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.SendEmojiReq)) {
return super.equals(obj);
}
wechat.protobuf.SendEmojiReq other = (wechat.protobuf.SendEmojiReq) obj;
if (hasBaseRequest() != other.hasBaseRequest()) return false;
if (hasBaseRequest()) {
if (!getBaseRequest()
.equals(other.getBaseRequest())) return false;
}
if (hasTag2() != other.hasTag2()) return false;
if (hasTag2()) {
if (getTag2()
!= other.getTag2()) return false;
}
if (hasEmoji() != other.hasEmoji()) return false;
if (hasEmoji()) {
if (!getEmoji()
.equals(other.getEmoji())) return false;
}
if (hasTag4() != other.hasTag4()) return false;
if (hasTag4()) {
if (getTag4()
!= other.getTag4()) 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 (hasBaseRequest()) {
hash = (37 * hash) + BASEREQUEST_FIELD_NUMBER;
hash = (53 * hash) + getBaseRequest().hashCode();
}
if (hasTag2()) {
hash = (37 * hash) + TAG2_FIELD_NUMBER;
hash = (53 * hash) + getTag2();
}
if (hasEmoji()) {
hash = (37 * hash) + EMOJI_FIELD_NUMBER;
hash = (53 * hash) + getEmoji().hashCode();
}
if (hasTag4()) {
hash = (37 * hash) + TAG4_FIELD_NUMBER;
hash = (53 * hash) + getTag4();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.SendEmojiReq parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiReq parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.SendEmojiReq parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiReq 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.SendEmojiReq parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.SendEmojiReq parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.SendEmojiReq parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiReq 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.SendEmojiReq parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiReq 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.SendEmojiReq parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.SendEmojiReq 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.SendEmojiReq 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.SendEmojiReq}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SendEmojiReq)
wechat.protobuf.SendEmojiReqOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.SendEmojiReq.class, wechat.protobuf.SendEmojiReq.Builder.class);
}
// Construct using wechat.protobuf.SendEmojiReq.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBaseRequestFieldBuilder();
getEmojiFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
tag2_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (emojiBuilder_ == null) {
emoji_ = null;
} else {
emojiBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
tag4_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_SendEmojiReq_descriptor;
}
@java.lang.Override
public wechat.protobuf.SendEmojiReq getDefaultInstanceForType() {
return wechat.protobuf.SendEmojiReq.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.SendEmojiReq build() {
wechat.protobuf.SendEmojiReq result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.SendEmojiReq buildPartial() {
wechat.protobuf.SendEmojiReq result = new wechat.protobuf.SendEmojiReq(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (baseRequestBuilder_ == null) {
result.baseRequest_ = baseRequest_;
} else {
result.baseRequest_ = baseRequestBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.tag2_ = tag2_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
if (emojiBuilder_ == null) {
result.emoji_ = emoji_;
} else {
result.emoji_ = emojiBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.tag4_ = tag4_;
to_bitField0_ |= 0x00000008;
}
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.SendEmojiReq) {
return mergeFrom((wechat.protobuf.SendEmojiReq)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.SendEmojiReq other) {
if (other == wechat.protobuf.SendEmojiReq.getDefaultInstance()) return this;
if (other.hasBaseRequest()) {
mergeBaseRequest(other.getBaseRequest());
}
if (other.hasTag2()) {
setTag2(other.getTag2());
}
if (other.hasEmoji()) {
mergeEmoji(other.getEmoji());
}
if (other.hasTag4()) {
setTag4(other.getTag4());
}
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.SendEmojiReq parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.SendEmojiReq) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private wechat.protobuf.BaseRequest baseRequest_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder> baseRequestBuilder_;
/**
* optional .wechat_proto.BaseRequest BaseRequest = 1;
* @return Whether the baseRequest field is set.
*/
public boolean hasBaseRequest() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseRequest BaseRequest = 1;
* @return The baseRequest.
*/
public wechat.protobuf.BaseRequest getBaseRequest() {
if (baseRequestBuilder_ == null) {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
} else {
return baseRequestBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.BaseRequest BaseRequest = 1;
*/
public Builder setBaseRequest(wechat.protobuf.BaseRequest value) {
if (baseRequestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseRequest_ = value;
onChanged();
} else {
baseRequestBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest BaseRequest = 1;
*/
public Builder setBaseRequest(
wechat.protobuf.BaseRequest.Builder builderForValue) {
if (baseRequestBuilder_ == null) {
baseRequest_ = builderForValue.build();
onChanged();
} else {
baseRequestBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest BaseRequest = 1;
*/
public Builder mergeBaseRequest(wechat.protobuf.BaseRequest value) {
if (baseRequestBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
baseRequest_ != null &&
baseRequest_ != wechat.protobuf.BaseRequest.getDefaultInstance()) {
baseRequest_ =
wechat.protobuf.BaseRequest.newBuilder(baseRequest_).mergeFrom(value).buildPartial();
} else {
baseRequest_ = value;
}
onChanged();
} else {
baseRequestBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest BaseRequest = 1;
*/
public Builder clearBaseRequest() {
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
onChanged();
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .wechat_proto.BaseRequest BaseRequest = 1;
*/
public wechat.protobuf.BaseRequest.Builder getBaseRequestBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getBaseRequestFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.BaseRequest BaseRequest = 1;
*/
public wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder() {
if (baseRequestBuilder_ != null) {
return baseRequestBuilder_.getMessageOrBuilder();
} else {
return baseRequest_ == null ?
wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
}
/**
* optional .wechat_proto.BaseRequest BaseRequest = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder>
getBaseRequestFieldBuilder() {
if (baseRequestBuilder_ == null) {
baseRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder>(
getBaseRequest(),
getParentForChildren(),
isClean());
baseRequest_ = null;
}
return baseRequestBuilder_;
}
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 wechat.protobuf.SendEmojiReq.emoji_info emoji_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SendEmojiReq.emoji_info, wechat.protobuf.SendEmojiReq.emoji_info.Builder, wechat.protobuf.SendEmojiReq.emoji_infoOrBuilder> emojiBuilder_;
/**
*
*发送表情详细信息
*
*
* optional .wechat_proto.SendEmojiReq.emoji_info emoji = 3;
* @return Whether the emoji field is set.
*/
public boolean hasEmoji() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
*发送表情详细信息
*
*
* optional .wechat_proto.SendEmojiReq.emoji_info emoji = 3;
* @return The emoji.
*/
public wechat.protobuf.SendEmojiReq.emoji_info getEmoji() {
if (emojiBuilder_ == null) {
return emoji_ == null ? wechat.protobuf.SendEmojiReq.emoji_info.getDefaultInstance() : emoji_;
} else {
return emojiBuilder_.getMessage();
}
}
/**
*
*发送表情详细信息
*
*
* optional .wechat_proto.SendEmojiReq.emoji_info emoji = 3;
*/
public Builder setEmoji(wechat.protobuf.SendEmojiReq.emoji_info value) {
if (emojiBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
emoji_ = value;
onChanged();
} else {
emojiBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
*
*发送表情详细信息
*
*
* optional .wechat_proto.SendEmojiReq.emoji_info emoji = 3;
*/
public Builder setEmoji(
wechat.protobuf.SendEmojiReq.emoji_info.Builder builderForValue) {
if (emojiBuilder_ == null) {
emoji_ = builderForValue.build();
onChanged();
} else {
emojiBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
*
*发送表情详细信息
*
*
* optional .wechat_proto.SendEmojiReq.emoji_info emoji = 3;
*/
public Builder mergeEmoji(wechat.protobuf.SendEmojiReq.emoji_info value) {
if (emojiBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
emoji_ != null &&
emoji_ != wechat.protobuf.SendEmojiReq.emoji_info.getDefaultInstance()) {
emoji_ =
wechat.protobuf.SendEmojiReq.emoji_info.newBuilder(emoji_).mergeFrom(value).buildPartial();
} else {
emoji_ = value;
}
onChanged();
} else {
emojiBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
*
*发送表情详细信息
*
*
* optional .wechat_proto.SendEmojiReq.emoji_info emoji = 3;
*/
public Builder clearEmoji() {
if (emojiBuilder_ == null) {
emoji_ = null;
onChanged();
} else {
emojiBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
*
*发送表情详细信息
*
*
* optional .wechat_proto.SendEmojiReq.emoji_info emoji = 3;
*/
public wechat.protobuf.SendEmojiReq.emoji_info.Builder getEmojiBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getEmojiFieldBuilder().getBuilder();
}
/**
*
*发送表情详细信息
*
*
* optional .wechat_proto.SendEmojiReq.emoji_info emoji = 3;
*/
public wechat.protobuf.SendEmojiReq.emoji_infoOrBuilder getEmojiOrBuilder() {
if (emojiBuilder_ != null) {
return emojiBuilder_.getMessageOrBuilder();
} else {
return emoji_ == null ?
wechat.protobuf.SendEmojiReq.emoji_info.getDefaultInstance() : emoji_;
}
}
/**
*
*发送表情详细信息
*
*
* optional .wechat_proto.SendEmojiReq.emoji_info emoji = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SendEmojiReq.emoji_info, wechat.protobuf.SendEmojiReq.emoji_info.Builder, wechat.protobuf.SendEmojiReq.emoji_infoOrBuilder>
getEmojiFieldBuilder() {
if (emojiBuilder_ == null) {
emojiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SendEmojiReq.emoji_info, wechat.protobuf.SendEmojiReq.emoji_info.Builder, wechat.protobuf.SendEmojiReq.emoji_infoOrBuilder>(
getEmoji(),
getParentForChildren(),
isClean());
emoji_ = null;
}
return emojiBuilder_;
}
private int tag4_ ;
/**
* optional int32 tag4 = 4;
* @return Whether the tag4 field is set.
*/
@java.lang.Override
public boolean hasTag4() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int32 tag4 = 4;
* @return The tag4.
*/
@java.lang.Override
public int getTag4() {
return tag4_;
}
/**
* optional int32 tag4 = 4;
* @param value The tag4 to set.
* @return This builder for chaining.
*/
public Builder setTag4(int value) {
bitField0_ |= 0x00000008;
tag4_ = value;
onChanged();
return this;
}
/**
* optional int32 tag4 = 4;
* @return This builder for chaining.
*/
public Builder clearTag4() {
bitField0_ = (bitField0_ & ~0x00000008);
tag4_ = 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.SendEmojiReq)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SendEmojiReq)
private static final wechat.protobuf.SendEmojiReq DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.SendEmojiReq();
}
public static wechat.protobuf.SendEmojiReq getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SendEmojiReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SendEmojiReq(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.SendEmojiReq getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy