
wechat.protobuf.Favitem Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: favitem.proto
package wechat.protobuf;
public final class Favitem {
private Favitem() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface FavSyncRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.FavSyncRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 selector = 1;
* @return Whether the selector field is set.
*/
boolean hasSelector();
/**
* optional uint32 selector = 1;
* @return The selector.
*/
int getSelector();
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
* @return Whether the keyBuf field is set.
*/
boolean hasKeyBuf();
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
* @return The keyBuf.
*/
wechat.protobuf.SKBuiltinString_ getKeyBuf();
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
wechat.protobuf.SKBuiltinString_OrBuilder getKeyBufOrBuilder();
}
/**
* Protobuf type {@code wechat_proto.FavSyncRequest}
*/
public static final class FavSyncRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.FavSyncRequest)
FavSyncRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use FavSyncRequest.newBuilder() to construct.
private FavSyncRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FavSyncRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FavSyncRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FavSyncRequest(
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;
selector_ = input.readUInt32();
break;
}
case 26: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = keyBuf_.toBuilder();
}
keyBuf_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(keyBuf_);
keyBuf_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
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.Favitem.internal_static_wechat_proto_FavSyncRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_FavSyncRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.FavSyncRequest.class, wechat.protobuf.Favitem.FavSyncRequest.Builder.class);
}
private int bitField0_;
public static final int SELECTOR_FIELD_NUMBER = 1;
private int selector_;
/**
* optional uint32 selector = 1;
* @return Whether the selector field is set.
*/
@java.lang.Override
public boolean hasSelector() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 selector = 1;
* @return The selector.
*/
@java.lang.Override
public int getSelector() {
return selector_;
}
public static final int KEYBUF_FIELD_NUMBER = 3;
private wechat.protobuf.SKBuiltinString_ keyBuf_;
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
* @return Whether the keyBuf field is set.
*/
@java.lang.Override
public boolean hasKeyBuf() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
* @return The keyBuf.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getKeyBuf() {
return keyBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : keyBuf_;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getKeyBufOrBuilder() {
return keyBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : keyBuf_;
}
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.writeUInt32(1, selector_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(3, getKeyBuf());
}
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
.computeUInt32Size(1, selector_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getKeyBuf());
}
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.Favitem.FavSyncRequest)) {
return super.equals(obj);
}
wechat.protobuf.Favitem.FavSyncRequest other = (wechat.protobuf.Favitem.FavSyncRequest) obj;
if (hasSelector() != other.hasSelector()) return false;
if (hasSelector()) {
if (getSelector()
!= other.getSelector()) return false;
}
if (hasKeyBuf() != other.hasKeyBuf()) return false;
if (hasKeyBuf()) {
if (!getKeyBuf()
.equals(other.getKeyBuf())) 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 (hasSelector()) {
hash = (37 * hash) + SELECTOR_FIELD_NUMBER;
hash = (53 * hash) + getSelector();
}
if (hasKeyBuf()) {
hash = (37 * hash) + KEYBUF_FIELD_NUMBER;
hash = (53 * hash) + getKeyBuf().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Favitem.FavSyncRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.FavSyncRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.FavSyncRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.FavSyncRequest 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.Favitem.FavSyncRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.FavSyncRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.FavSyncRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.FavSyncRequest 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.Favitem.FavSyncRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.FavSyncRequest 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.Favitem.FavSyncRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.FavSyncRequest 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.Favitem.FavSyncRequest 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.FavSyncRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.FavSyncRequest)
wechat.protobuf.Favitem.FavSyncRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_FavSyncRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_FavSyncRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.FavSyncRequest.class, wechat.protobuf.Favitem.FavSyncRequest.Builder.class);
}
// Construct using wechat.protobuf.Favitem.FavSyncRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getKeyBufFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
selector_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
if (keyBufBuilder_ == null) {
keyBuf_ = null;
} else {
keyBufBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_FavSyncRequest_descriptor;
}
@java.lang.Override
public wechat.protobuf.Favitem.FavSyncRequest getDefaultInstanceForType() {
return wechat.protobuf.Favitem.FavSyncRequest.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Favitem.FavSyncRequest build() {
wechat.protobuf.Favitem.FavSyncRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Favitem.FavSyncRequest buildPartial() {
wechat.protobuf.Favitem.FavSyncRequest result = new wechat.protobuf.Favitem.FavSyncRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.selector_ = selector_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
if (keyBufBuilder_ == null) {
result.keyBuf_ = keyBuf_;
} else {
result.keyBuf_ = keyBufBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
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.Favitem.FavSyncRequest) {
return mergeFrom((wechat.protobuf.Favitem.FavSyncRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Favitem.FavSyncRequest other) {
if (other == wechat.protobuf.Favitem.FavSyncRequest.getDefaultInstance()) return this;
if (other.hasSelector()) {
setSelector(other.getSelector());
}
if (other.hasKeyBuf()) {
mergeKeyBuf(other.getKeyBuf());
}
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.Favitem.FavSyncRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Favitem.FavSyncRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int selector_ ;
/**
* optional uint32 selector = 1;
* @return Whether the selector field is set.
*/
@java.lang.Override
public boolean hasSelector() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 selector = 1;
* @return The selector.
*/
@java.lang.Override
public int getSelector() {
return selector_;
}
/**
* optional uint32 selector = 1;
* @param value The selector to set.
* @return This builder for chaining.
*/
public Builder setSelector(int value) {
bitField0_ |= 0x00000001;
selector_ = value;
onChanged();
return this;
}
/**
* optional uint32 selector = 1;
* @return This builder for chaining.
*/
public Builder clearSelector() {
bitField0_ = (bitField0_ & ~0x00000001);
selector_ = 0;
onChanged();
return this;
}
private wechat.protobuf.SKBuiltinString_ keyBuf_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> keyBufBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
* @return Whether the keyBuf field is set.
*/
public boolean hasKeyBuf() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
* @return The keyBuf.
*/
public wechat.protobuf.SKBuiltinString_ getKeyBuf() {
if (keyBufBuilder_ == null) {
return keyBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : keyBuf_;
} else {
return keyBufBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
public Builder setKeyBuf(wechat.protobuf.SKBuiltinString_ value) {
if (keyBufBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
keyBuf_ = value;
onChanged();
} else {
keyBufBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
public Builder setKeyBuf(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (keyBufBuilder_ == null) {
keyBuf_ = builderForValue.build();
onChanged();
} else {
keyBufBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
public Builder mergeKeyBuf(wechat.protobuf.SKBuiltinString_ value) {
if (keyBufBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
keyBuf_ != null &&
keyBuf_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
keyBuf_ =
wechat.protobuf.SKBuiltinString_.newBuilder(keyBuf_).mergeFrom(value).buildPartial();
} else {
keyBuf_ = value;
}
onChanged();
} else {
keyBufBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
public Builder clearKeyBuf() {
if (keyBufBuilder_ == null) {
keyBuf_ = null;
onChanged();
} else {
keyBufBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
public wechat.protobuf.SKBuiltinString_.Builder getKeyBufBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getKeyBufFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getKeyBufOrBuilder() {
if (keyBufBuilder_ != null) {
return keyBufBuilder_.getMessageOrBuilder();
} else {
return keyBuf_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : keyBuf_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getKeyBufFieldBuilder() {
if (keyBufBuilder_ == null) {
keyBufBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getKeyBuf(),
getParentForChildren(),
isClean());
keyBuf_ = null;
}
return keyBufBuilder_;
}
@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.FavSyncRequest)
}
// @@protoc_insertion_point(class_scope:wechat_proto.FavSyncRequest)
private static final wechat.protobuf.Favitem.FavSyncRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Favitem.FavSyncRequest();
}
public static wechat.protobuf.Favitem.FavSyncRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FavSyncRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FavSyncRequest(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.Favitem.FavSyncRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FavSyncResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.FavSyncResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 ret = 1;
* @return Whether the ret field is set.
*/
boolean hasRet();
/**
* optional int32 ret = 1;
* @return The ret.
*/
int getRet();
/**
* optional .wechat_proto.CmdList cmdList = 2;
* @return Whether the cmdList field is set.
*/
boolean hasCmdList();
/**
* optional .wechat_proto.CmdList cmdList = 2;
* @return The cmdList.
*/
wechat.protobuf.CmdList getCmdList();
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
wechat.protobuf.CmdListOrBuilder getCmdListOrBuilder();
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
* @return Whether the keyBuf field is set.
*/
boolean hasKeyBuf();
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
* @return The keyBuf.
*/
wechat.protobuf.SKBuiltinString_ getKeyBuf();
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
wechat.protobuf.SKBuiltinString_OrBuilder getKeyBufOrBuilder();
/**
* optional uint32 continueFlag = 4;
* @return Whether the continueFlag field is set.
*/
boolean hasContinueFlag();
/**
* optional uint32 continueFlag = 4;
* @return The continueFlag.
*/
int getContinueFlag();
}
/**
* Protobuf type {@code wechat_proto.FavSyncResponse}
*/
public static final class FavSyncResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.FavSyncResponse)
FavSyncResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use FavSyncResponse.newBuilder() to construct.
private FavSyncResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FavSyncResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FavSyncResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FavSyncResponse(
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;
ret_ = input.readInt32();
break;
}
case 18: {
wechat.protobuf.CmdList.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = cmdList_.toBuilder();
}
cmdList_ = input.readMessage(wechat.protobuf.CmdList.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(cmdList_);
cmdList_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = keyBuf_.toBuilder();
}
keyBuf_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(keyBuf_);
keyBuf_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 32: {
bitField0_ |= 0x00000008;
continueFlag_ = input.readUInt32();
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.Favitem.internal_static_wechat_proto_FavSyncResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_FavSyncResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.FavSyncResponse.class, wechat.protobuf.Favitem.FavSyncResponse.Builder.class);
}
private int bitField0_;
public static final int RET_FIELD_NUMBER = 1;
private int ret_;
/**
* optional int32 ret = 1;
* @return Whether the ret field is set.
*/
@java.lang.Override
public boolean hasRet() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 ret = 1;
* @return The ret.
*/
@java.lang.Override
public int getRet() {
return ret_;
}
public static final int CMDLIST_FIELD_NUMBER = 2;
private wechat.protobuf.CmdList cmdList_;
/**
* optional .wechat_proto.CmdList cmdList = 2;
* @return Whether the cmdList field is set.
*/
@java.lang.Override
public boolean hasCmdList() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
* @return The cmdList.
*/
@java.lang.Override
public wechat.protobuf.CmdList getCmdList() {
return cmdList_ == null ? wechat.protobuf.CmdList.getDefaultInstance() : cmdList_;
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
@java.lang.Override
public wechat.protobuf.CmdListOrBuilder getCmdListOrBuilder() {
return cmdList_ == null ? wechat.protobuf.CmdList.getDefaultInstance() : cmdList_;
}
public static final int KEYBUF_FIELD_NUMBER = 3;
private wechat.protobuf.SKBuiltinString_ keyBuf_;
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
* @return Whether the keyBuf field is set.
*/
@java.lang.Override
public boolean hasKeyBuf() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
* @return The keyBuf.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getKeyBuf() {
return keyBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : keyBuf_;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getKeyBufOrBuilder() {
return keyBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : keyBuf_;
}
public static final int CONTINUEFLAG_FIELD_NUMBER = 4;
private int continueFlag_;
/**
* optional uint32 continueFlag = 4;
* @return Whether the continueFlag field is set.
*/
@java.lang.Override
public boolean hasContinueFlag() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 continueFlag = 4;
* @return The continueFlag.
*/
@java.lang.Override
public int getContinueFlag() {
return continueFlag_;
}
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, ret_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getCmdList());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getKeyBuf());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, continueFlag_);
}
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, ret_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getCmdList());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getKeyBuf());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, continueFlag_);
}
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.Favitem.FavSyncResponse)) {
return super.equals(obj);
}
wechat.protobuf.Favitem.FavSyncResponse other = (wechat.protobuf.Favitem.FavSyncResponse) obj;
if (hasRet() != other.hasRet()) return false;
if (hasRet()) {
if (getRet()
!= other.getRet()) return false;
}
if (hasCmdList() != other.hasCmdList()) return false;
if (hasCmdList()) {
if (!getCmdList()
.equals(other.getCmdList())) return false;
}
if (hasKeyBuf() != other.hasKeyBuf()) return false;
if (hasKeyBuf()) {
if (!getKeyBuf()
.equals(other.getKeyBuf())) return false;
}
if (hasContinueFlag() != other.hasContinueFlag()) return false;
if (hasContinueFlag()) {
if (getContinueFlag()
!= other.getContinueFlag()) 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 (hasRet()) {
hash = (37 * hash) + RET_FIELD_NUMBER;
hash = (53 * hash) + getRet();
}
if (hasCmdList()) {
hash = (37 * hash) + CMDLIST_FIELD_NUMBER;
hash = (53 * hash) + getCmdList().hashCode();
}
if (hasKeyBuf()) {
hash = (37 * hash) + KEYBUF_FIELD_NUMBER;
hash = (53 * hash) + getKeyBuf().hashCode();
}
if (hasContinueFlag()) {
hash = (37 * hash) + CONTINUEFLAG_FIELD_NUMBER;
hash = (53 * hash) + getContinueFlag();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Favitem.FavSyncResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.FavSyncResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.FavSyncResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.FavSyncResponse 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.Favitem.FavSyncResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.FavSyncResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.FavSyncResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.FavSyncResponse 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.Favitem.FavSyncResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.FavSyncResponse 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.Favitem.FavSyncResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.FavSyncResponse 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.Favitem.FavSyncResponse 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.FavSyncResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.FavSyncResponse)
wechat.protobuf.Favitem.FavSyncResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_FavSyncResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_FavSyncResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.FavSyncResponse.class, wechat.protobuf.Favitem.FavSyncResponse.Builder.class);
}
// Construct using wechat.protobuf.Favitem.FavSyncResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getCmdListFieldBuilder();
getKeyBufFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
ret_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
if (cmdListBuilder_ == null) {
cmdList_ = null;
} else {
cmdListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (keyBufBuilder_ == null) {
keyBuf_ = null;
} else {
keyBufBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
continueFlag_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_FavSyncResponse_descriptor;
}
@java.lang.Override
public wechat.protobuf.Favitem.FavSyncResponse getDefaultInstanceForType() {
return wechat.protobuf.Favitem.FavSyncResponse.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Favitem.FavSyncResponse build() {
wechat.protobuf.Favitem.FavSyncResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Favitem.FavSyncResponse buildPartial() {
wechat.protobuf.Favitem.FavSyncResponse result = new wechat.protobuf.Favitem.FavSyncResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.ret_ = ret_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
if (cmdListBuilder_ == null) {
result.cmdList_ = cmdList_;
} else {
result.cmdList_ = cmdListBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
if (keyBufBuilder_ == null) {
result.keyBuf_ = keyBuf_;
} else {
result.keyBuf_ = keyBufBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.continueFlag_ = continueFlag_;
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.Favitem.FavSyncResponse) {
return mergeFrom((wechat.protobuf.Favitem.FavSyncResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Favitem.FavSyncResponse other) {
if (other == wechat.protobuf.Favitem.FavSyncResponse.getDefaultInstance()) return this;
if (other.hasRet()) {
setRet(other.getRet());
}
if (other.hasCmdList()) {
mergeCmdList(other.getCmdList());
}
if (other.hasKeyBuf()) {
mergeKeyBuf(other.getKeyBuf());
}
if (other.hasContinueFlag()) {
setContinueFlag(other.getContinueFlag());
}
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.Favitem.FavSyncResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Favitem.FavSyncResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int ret_ ;
/**
* optional int32 ret = 1;
* @return Whether the ret field is set.
*/
@java.lang.Override
public boolean hasRet() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 ret = 1;
* @return The ret.
*/
@java.lang.Override
public int getRet() {
return ret_;
}
/**
* optional int32 ret = 1;
* @param value The ret to set.
* @return This builder for chaining.
*/
public Builder setRet(int value) {
bitField0_ |= 0x00000001;
ret_ = value;
onChanged();
return this;
}
/**
* optional int32 ret = 1;
* @return This builder for chaining.
*/
public Builder clearRet() {
bitField0_ = (bitField0_ & ~0x00000001);
ret_ = 0;
onChanged();
return this;
}
private wechat.protobuf.CmdList cmdList_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CmdList, wechat.protobuf.CmdList.Builder, wechat.protobuf.CmdListOrBuilder> cmdListBuilder_;
/**
* optional .wechat_proto.CmdList cmdList = 2;
* @return Whether the cmdList field is set.
*/
public boolean hasCmdList() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
* @return The cmdList.
*/
public wechat.protobuf.CmdList getCmdList() {
if (cmdListBuilder_ == null) {
return cmdList_ == null ? wechat.protobuf.CmdList.getDefaultInstance() : cmdList_;
} else {
return cmdListBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
public Builder setCmdList(wechat.protobuf.CmdList value) {
if (cmdListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
cmdList_ = value;
onChanged();
} else {
cmdListBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
public Builder setCmdList(
wechat.protobuf.CmdList.Builder builderForValue) {
if (cmdListBuilder_ == null) {
cmdList_ = builderForValue.build();
onChanged();
} else {
cmdListBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
public Builder mergeCmdList(wechat.protobuf.CmdList value) {
if (cmdListBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
cmdList_ != null &&
cmdList_ != wechat.protobuf.CmdList.getDefaultInstance()) {
cmdList_ =
wechat.protobuf.CmdList.newBuilder(cmdList_).mergeFrom(value).buildPartial();
} else {
cmdList_ = value;
}
onChanged();
} else {
cmdListBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
public Builder clearCmdList() {
if (cmdListBuilder_ == null) {
cmdList_ = null;
onChanged();
} else {
cmdListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
public wechat.protobuf.CmdList.Builder getCmdListBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getCmdListFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
public wechat.protobuf.CmdListOrBuilder getCmdListOrBuilder() {
if (cmdListBuilder_ != null) {
return cmdListBuilder_.getMessageOrBuilder();
} else {
return cmdList_ == null ?
wechat.protobuf.CmdList.getDefaultInstance() : cmdList_;
}
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CmdList, wechat.protobuf.CmdList.Builder, wechat.protobuf.CmdListOrBuilder>
getCmdListFieldBuilder() {
if (cmdListBuilder_ == null) {
cmdListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CmdList, wechat.protobuf.CmdList.Builder, wechat.protobuf.CmdListOrBuilder>(
getCmdList(),
getParentForChildren(),
isClean());
cmdList_ = null;
}
return cmdListBuilder_;
}
private wechat.protobuf.SKBuiltinString_ keyBuf_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> keyBufBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
* @return Whether the keyBuf field is set.
*/
public boolean hasKeyBuf() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
* @return The keyBuf.
*/
public wechat.protobuf.SKBuiltinString_ getKeyBuf() {
if (keyBufBuilder_ == null) {
return keyBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : keyBuf_;
} else {
return keyBufBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
public Builder setKeyBuf(wechat.protobuf.SKBuiltinString_ value) {
if (keyBufBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
keyBuf_ = value;
onChanged();
} else {
keyBufBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
public Builder setKeyBuf(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (keyBufBuilder_ == null) {
keyBuf_ = builderForValue.build();
onChanged();
} else {
keyBufBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
public Builder mergeKeyBuf(wechat.protobuf.SKBuiltinString_ value) {
if (keyBufBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
keyBuf_ != null &&
keyBuf_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
keyBuf_ =
wechat.protobuf.SKBuiltinString_.newBuilder(keyBuf_).mergeFrom(value).buildPartial();
} else {
keyBuf_ = value;
}
onChanged();
} else {
keyBufBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
public Builder clearKeyBuf() {
if (keyBufBuilder_ == null) {
keyBuf_ = null;
onChanged();
} else {
keyBufBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
public wechat.protobuf.SKBuiltinString_.Builder getKeyBufBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getKeyBufFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getKeyBufOrBuilder() {
if (keyBufBuilder_ != null) {
return keyBufBuilder_.getMessageOrBuilder();
} else {
return keyBuf_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : keyBuf_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getKeyBufFieldBuilder() {
if (keyBufBuilder_ == null) {
keyBufBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getKeyBuf(),
getParentForChildren(),
isClean());
keyBuf_ = null;
}
return keyBufBuilder_;
}
private int continueFlag_ ;
/**
* optional uint32 continueFlag = 4;
* @return Whether the continueFlag field is set.
*/
@java.lang.Override
public boolean hasContinueFlag() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 continueFlag = 4;
* @return The continueFlag.
*/
@java.lang.Override
public int getContinueFlag() {
return continueFlag_;
}
/**
* optional uint32 continueFlag = 4;
* @param value The continueFlag to set.
* @return This builder for chaining.
*/
public Builder setContinueFlag(int value) {
bitField0_ |= 0x00000008;
continueFlag_ = value;
onChanged();
return this;
}
/**
* optional uint32 continueFlag = 4;
* @return This builder for chaining.
*/
public Builder clearContinueFlag() {
bitField0_ = (bitField0_ & ~0x00000008);
continueFlag_ = 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.FavSyncResponse)
}
// @@protoc_insertion_point(class_scope:wechat_proto.FavSyncResponse)
private static final wechat.protobuf.Favitem.FavSyncResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Favitem.FavSyncResponse();
}
public static wechat.protobuf.Favitem.FavSyncResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FavSyncResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FavSyncResponse(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.Favitem.FavSyncResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BatchDelFavItemRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.BatchDelFavItemRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
boolean hasBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
wechat.protobuf.BaseRequest getBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder();
/**
* optional uint32 count = 2;
* @return Whether the count field is set.
*/
boolean hasCount();
/**
* optional uint32 count = 2;
* @return The count.
*/
int getCount();
/**
* optional bytes favIdList = 3;
* @return Whether the favIdList field is set.
*/
boolean hasFavIdList();
/**
* optional bytes favIdList = 3;
* @return The favIdList.
*/
com.google.protobuf.ByteString getFavIdList();
}
/**
* Protobuf type {@code wechat_proto.BatchDelFavItemRequest}
*/
public static final class BatchDelFavItemRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.BatchDelFavItemRequest)
BatchDelFavItemRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use BatchDelFavItemRequest.newBuilder() to construct.
private BatchDelFavItemRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BatchDelFavItemRequest() {
favIdList_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BatchDelFavItemRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BatchDelFavItemRequest(
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;
count_ = input.readUInt32();
break;
}
case 26: {
bitField0_ |= 0x00000004;
favIdList_ = input.readBytes();
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.Favitem.internal_static_wechat_proto_BatchDelFavItemRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchDelFavItemRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.BatchDelFavItemRequest.class, wechat.protobuf.Favitem.BatchDelFavItemRequest.Builder.class);
}
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 COUNT_FIELD_NUMBER = 2;
private int count_;
/**
* optional uint32 count = 2;
* @return Whether the count field is set.
*/
@java.lang.Override
public boolean hasCount() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 count = 2;
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
public static final int FAVIDLIST_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString favIdList_;
/**
* optional bytes favIdList = 3;
* @return Whether the favIdList field is set.
*/
@java.lang.Override
public boolean hasFavIdList() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bytes favIdList = 3;
* @return The favIdList.
*/
@java.lang.Override
public com.google.protobuf.ByteString getFavIdList() {
return favIdList_;
}
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.writeUInt32(2, count_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBytes(3, favIdList_);
}
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
.computeUInt32Size(2, count_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, favIdList_);
}
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.Favitem.BatchDelFavItemRequest)) {
return super.equals(obj);
}
wechat.protobuf.Favitem.BatchDelFavItemRequest other = (wechat.protobuf.Favitem.BatchDelFavItemRequest) obj;
if (hasBaseRequest() != other.hasBaseRequest()) return false;
if (hasBaseRequest()) {
if (!getBaseRequest()
.equals(other.getBaseRequest())) return false;
}
if (hasCount() != other.hasCount()) return false;
if (hasCount()) {
if (getCount()
!= other.getCount()) return false;
}
if (hasFavIdList() != other.hasFavIdList()) return false;
if (hasFavIdList()) {
if (!getFavIdList()
.equals(other.getFavIdList())) 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 (hasCount()) {
hash = (37 * hash) + COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCount();
}
if (hasFavIdList()) {
hash = (37 * hash) + FAVIDLIST_FIELD_NUMBER;
hash = (53 * hash) + getFavIdList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Favitem.BatchDelFavItemRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.BatchDelFavItemRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.BatchDelFavItemRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.BatchDelFavItemRequest 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.Favitem.BatchDelFavItemRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.BatchDelFavItemRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.BatchDelFavItemRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.BatchDelFavItemRequest 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.Favitem.BatchDelFavItemRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.BatchDelFavItemRequest 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.Favitem.BatchDelFavItemRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.BatchDelFavItemRequest 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.Favitem.BatchDelFavItemRequest 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.BatchDelFavItemRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.BatchDelFavItemRequest)
wechat.protobuf.Favitem.BatchDelFavItemRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchDelFavItemRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchDelFavItemRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.BatchDelFavItemRequest.class, wechat.protobuf.Favitem.BatchDelFavItemRequest.Builder.class);
}
// Construct using wechat.protobuf.Favitem.BatchDelFavItemRequest.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();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
count_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
favIdList_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchDelFavItemRequest_descriptor;
}
@java.lang.Override
public wechat.protobuf.Favitem.BatchDelFavItemRequest getDefaultInstanceForType() {
return wechat.protobuf.Favitem.BatchDelFavItemRequest.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Favitem.BatchDelFavItemRequest build() {
wechat.protobuf.Favitem.BatchDelFavItemRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Favitem.BatchDelFavItemRequest buildPartial() {
wechat.protobuf.Favitem.BatchDelFavItemRequest result = new wechat.protobuf.Favitem.BatchDelFavItemRequest(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.count_ = count_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.favIdList_ = favIdList_;
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.Favitem.BatchDelFavItemRequest) {
return mergeFrom((wechat.protobuf.Favitem.BatchDelFavItemRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Favitem.BatchDelFavItemRequest other) {
if (other == wechat.protobuf.Favitem.BatchDelFavItemRequest.getDefaultInstance()) return this;
if (other.hasBaseRequest()) {
mergeBaseRequest(other.getBaseRequest());
}
if (other.hasCount()) {
setCount(other.getCount());
}
if (other.hasFavIdList()) {
setFavIdList(other.getFavIdList());
}
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.Favitem.BatchDelFavItemRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Favitem.BatchDelFavItemRequest) 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 count_ ;
/**
* optional uint32 count = 2;
* @return Whether the count field is set.
*/
@java.lang.Override
public boolean hasCount() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 count = 2;
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
/**
* optional uint32 count = 2;
* @param value The count to set.
* @return This builder for chaining.
*/
public Builder setCount(int value) {
bitField0_ |= 0x00000002;
count_ = value;
onChanged();
return this;
}
/**
* optional uint32 count = 2;
* @return This builder for chaining.
*/
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000002);
count_ = 0;
onChanged();
return this;
}
private com.google.protobuf.ByteString favIdList_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes favIdList = 3;
* @return Whether the favIdList field is set.
*/
@java.lang.Override
public boolean hasFavIdList() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bytes favIdList = 3;
* @return The favIdList.
*/
@java.lang.Override
public com.google.protobuf.ByteString getFavIdList() {
return favIdList_;
}
/**
* optional bytes favIdList = 3;
* @param value The favIdList to set.
* @return This builder for chaining.
*/
public Builder setFavIdList(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
favIdList_ = value;
onChanged();
return this;
}
/**
* optional bytes favIdList = 3;
* @return This builder for chaining.
*/
public Builder clearFavIdList() {
bitField0_ = (bitField0_ & ~0x00000004);
favIdList_ = getDefaultInstance().getFavIdList();
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.BatchDelFavItemRequest)
}
// @@protoc_insertion_point(class_scope:wechat_proto.BatchDelFavItemRequest)
private static final wechat.protobuf.Favitem.BatchDelFavItemRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Favitem.BatchDelFavItemRequest();
}
public static wechat.protobuf.Favitem.BatchDelFavItemRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BatchDelFavItemRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BatchDelFavItemRequest(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.Favitem.BatchDelFavItemRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BatchDelFavItemResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.BatchDelFavItemResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
boolean hasBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
wechat.protobuf.BaseResponse getBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder();
/**
* optional uint32 count = 2;
* @return Whether the count field is set.
*/
boolean hasCount();
/**
* optional uint32 count = 2;
* @return The count.
*/
int getCount();
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
java.util.List
getListList();
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
wechat.protobuf.Favitem.DelFavItemRsp getList(int index);
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
int getListCount();
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
java.util.List extends wechat.protobuf.Favitem.DelFavItemRspOrBuilder>
getListOrBuilderList();
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
wechat.protobuf.Favitem.DelFavItemRspOrBuilder getListOrBuilder(
int index);
}
/**
* Protobuf type {@code wechat_proto.BatchDelFavItemResponse}
*/
public static final class BatchDelFavItemResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.BatchDelFavItemResponse)
BatchDelFavItemResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use BatchDelFavItemResponse.newBuilder() to construct.
private BatchDelFavItemResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BatchDelFavItemResponse() {
list_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BatchDelFavItemResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BatchDelFavItemResponse(
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.BaseResponse.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = baseResponse_.toBuilder();
}
baseResponse_ = input.readMessage(wechat.protobuf.BaseResponse.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseResponse_);
baseResponse_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
count_ = input.readUInt32();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
list_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
list_.add(
input.readMessage(wechat.protobuf.Favitem.DelFavItemRsp.PARSER, extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000004) != 0)) {
list_ = java.util.Collections.unmodifiableList(list_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchDelFavItemResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchDelFavItemResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.BatchDelFavItemResponse.class, wechat.protobuf.Favitem.BatchDelFavItemResponse.Builder.class);
}
private int bitField0_;
public static final int BASERESPONSE_FIELD_NUMBER = 1;
private wechat.protobuf.BaseResponse baseResponse_;
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
@java.lang.Override
public boolean hasBaseResponse() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
@java.lang.Override
public wechat.protobuf.BaseResponse getBaseResponse() {
return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
@java.lang.Override
public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() {
return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
}
public static final int COUNT_FIELD_NUMBER = 2;
private int count_;
/**
* optional uint32 count = 2;
* @return Whether the count field is set.
*/
@java.lang.Override
public boolean hasCount() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 count = 2;
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
public static final int LIST_FIELD_NUMBER = 3;
private java.util.List list_;
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
@java.lang.Override
public java.util.List getListList() {
return list_;
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.Favitem.DelFavItemRspOrBuilder>
getListOrBuilderList() {
return list_;
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
@java.lang.Override
public int getListCount() {
return list_.size();
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
@java.lang.Override
public wechat.protobuf.Favitem.DelFavItemRsp getList(int index) {
return list_.get(index);
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
@java.lang.Override
public wechat.protobuf.Favitem.DelFavItemRspOrBuilder getListOrBuilder(
int index) {
return list_.get(index);
}
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, getBaseResponse());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, count_);
}
for (int i = 0; i < list_.size(); i++) {
output.writeMessage(3, list_.get(i));
}
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, getBaseResponse());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, count_);
}
for (int i = 0; i < list_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, list_.get(i));
}
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.Favitem.BatchDelFavItemResponse)) {
return super.equals(obj);
}
wechat.protobuf.Favitem.BatchDelFavItemResponse other = (wechat.protobuf.Favitem.BatchDelFavItemResponse) obj;
if (hasBaseResponse() != other.hasBaseResponse()) return false;
if (hasBaseResponse()) {
if (!getBaseResponse()
.equals(other.getBaseResponse())) return false;
}
if (hasCount() != other.hasCount()) return false;
if (hasCount()) {
if (getCount()
!= other.getCount()) return false;
}
if (!getListList()
.equals(other.getListList())) 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 (hasBaseResponse()) {
hash = (37 * hash) + BASERESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getBaseResponse().hashCode();
}
if (hasCount()) {
hash = (37 * hash) + COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCount();
}
if (getListCount() > 0) {
hash = (37 * hash) + LIST_FIELD_NUMBER;
hash = (53 * hash) + getListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Favitem.BatchDelFavItemResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.BatchDelFavItemResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.BatchDelFavItemResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.BatchDelFavItemResponse 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.Favitem.BatchDelFavItemResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.BatchDelFavItemResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.BatchDelFavItemResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.BatchDelFavItemResponse 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.Favitem.BatchDelFavItemResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.BatchDelFavItemResponse 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.Favitem.BatchDelFavItemResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.BatchDelFavItemResponse 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.Favitem.BatchDelFavItemResponse 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.BatchDelFavItemResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.BatchDelFavItemResponse)
wechat.protobuf.Favitem.BatchDelFavItemResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchDelFavItemResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchDelFavItemResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.BatchDelFavItemResponse.class, wechat.protobuf.Favitem.BatchDelFavItemResponse.Builder.class);
}
// Construct using wechat.protobuf.Favitem.BatchDelFavItemResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBaseResponseFieldBuilder();
getListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
count_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (listBuilder_ == null) {
list_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
listBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchDelFavItemResponse_descriptor;
}
@java.lang.Override
public wechat.protobuf.Favitem.BatchDelFavItemResponse getDefaultInstanceForType() {
return wechat.protobuf.Favitem.BatchDelFavItemResponse.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Favitem.BatchDelFavItemResponse build() {
wechat.protobuf.Favitem.BatchDelFavItemResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Favitem.BatchDelFavItemResponse buildPartial() {
wechat.protobuf.Favitem.BatchDelFavItemResponse result = new wechat.protobuf.Favitem.BatchDelFavItemResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (baseResponseBuilder_ == null) {
result.baseResponse_ = baseResponse_;
} else {
result.baseResponse_ = baseResponseBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.count_ = count_;
to_bitField0_ |= 0x00000002;
}
if (listBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
list_ = java.util.Collections.unmodifiableList(list_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.list_ = list_;
} else {
result.list_ = listBuilder_.build();
}
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.Favitem.BatchDelFavItemResponse) {
return mergeFrom((wechat.protobuf.Favitem.BatchDelFavItemResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Favitem.BatchDelFavItemResponse other) {
if (other == wechat.protobuf.Favitem.BatchDelFavItemResponse.getDefaultInstance()) return this;
if (other.hasBaseResponse()) {
mergeBaseResponse(other.getBaseResponse());
}
if (other.hasCount()) {
setCount(other.getCount());
}
if (listBuilder_ == null) {
if (!other.list_.isEmpty()) {
if (list_.isEmpty()) {
list_ = other.list_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureListIsMutable();
list_.addAll(other.list_);
}
onChanged();
}
} else {
if (!other.list_.isEmpty()) {
if (listBuilder_.isEmpty()) {
listBuilder_.dispose();
listBuilder_ = null;
list_ = other.list_;
bitField0_ = (bitField0_ & ~0x00000004);
listBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getListFieldBuilder() : null;
} else {
listBuilder_.addAllMessages(other.list_);
}
}
}
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.Favitem.BatchDelFavItemResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Favitem.BatchDelFavItemResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private wechat.protobuf.BaseResponse baseResponse_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder> baseResponseBuilder_;
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
public boolean hasBaseResponse() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
public wechat.protobuf.BaseResponse getBaseResponse() {
if (baseResponseBuilder_ == null) {
return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
} else {
return baseResponseBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder setBaseResponse(wechat.protobuf.BaseResponse value) {
if (baseResponseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseResponse_ = value;
onChanged();
} else {
baseResponseBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder setBaseResponse(
wechat.protobuf.BaseResponse.Builder builderForValue) {
if (baseResponseBuilder_ == null) {
baseResponse_ = builderForValue.build();
onChanged();
} else {
baseResponseBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder mergeBaseResponse(wechat.protobuf.BaseResponse value) {
if (baseResponseBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
baseResponse_ != null &&
baseResponse_ != wechat.protobuf.BaseResponse.getDefaultInstance()) {
baseResponse_ =
wechat.protobuf.BaseResponse.newBuilder(baseResponse_).mergeFrom(value).buildPartial();
} else {
baseResponse_ = value;
}
onChanged();
} else {
baseResponseBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder clearBaseResponse() {
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
onChanged();
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public wechat.protobuf.BaseResponse.Builder getBaseResponseBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getBaseResponseFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() {
if (baseResponseBuilder_ != null) {
return baseResponseBuilder_.getMessageOrBuilder();
} else {
return baseResponse_ == null ?
wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
}
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder>
getBaseResponseFieldBuilder() {
if (baseResponseBuilder_ == null) {
baseResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder>(
getBaseResponse(),
getParentForChildren(),
isClean());
baseResponse_ = null;
}
return baseResponseBuilder_;
}
private int count_ ;
/**
* optional uint32 count = 2;
* @return Whether the count field is set.
*/
@java.lang.Override
public boolean hasCount() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 count = 2;
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
/**
* optional uint32 count = 2;
* @param value The count to set.
* @return This builder for chaining.
*/
public Builder setCount(int value) {
bitField0_ |= 0x00000002;
count_ = value;
onChanged();
return this;
}
/**
* optional uint32 count = 2;
* @return This builder for chaining.
*/
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000002);
count_ = 0;
onChanged();
return this;
}
private java.util.List list_ =
java.util.Collections.emptyList();
private void ensureListIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
list_ = new java.util.ArrayList(list_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Favitem.DelFavItemRsp, wechat.protobuf.Favitem.DelFavItemRsp.Builder, wechat.protobuf.Favitem.DelFavItemRspOrBuilder> listBuilder_;
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public java.util.List getListList() {
if (listBuilder_ == null) {
return java.util.Collections.unmodifiableList(list_);
} else {
return listBuilder_.getMessageList();
}
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public int getListCount() {
if (listBuilder_ == null) {
return list_.size();
} else {
return listBuilder_.getCount();
}
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public wechat.protobuf.Favitem.DelFavItemRsp getList(int index) {
if (listBuilder_ == null) {
return list_.get(index);
} else {
return listBuilder_.getMessage(index);
}
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public Builder setList(
int index, wechat.protobuf.Favitem.DelFavItemRsp value) {
if (listBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListIsMutable();
list_.set(index, value);
onChanged();
} else {
listBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public Builder setList(
int index, wechat.protobuf.Favitem.DelFavItemRsp.Builder builderForValue) {
if (listBuilder_ == null) {
ensureListIsMutable();
list_.set(index, builderForValue.build());
onChanged();
} else {
listBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public Builder addList(wechat.protobuf.Favitem.DelFavItemRsp value) {
if (listBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListIsMutable();
list_.add(value);
onChanged();
} else {
listBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public Builder addList(
int index, wechat.protobuf.Favitem.DelFavItemRsp value) {
if (listBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListIsMutable();
list_.add(index, value);
onChanged();
} else {
listBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public Builder addList(
wechat.protobuf.Favitem.DelFavItemRsp.Builder builderForValue) {
if (listBuilder_ == null) {
ensureListIsMutable();
list_.add(builderForValue.build());
onChanged();
} else {
listBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public Builder addList(
int index, wechat.protobuf.Favitem.DelFavItemRsp.Builder builderForValue) {
if (listBuilder_ == null) {
ensureListIsMutable();
list_.add(index, builderForValue.build());
onChanged();
} else {
listBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public Builder addAllList(
java.lang.Iterable extends wechat.protobuf.Favitem.DelFavItemRsp> values) {
if (listBuilder_ == null) {
ensureListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, list_);
onChanged();
} else {
listBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public Builder clearList() {
if (listBuilder_ == null) {
list_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
listBuilder_.clear();
}
return this;
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public Builder removeList(int index) {
if (listBuilder_ == null) {
ensureListIsMutable();
list_.remove(index);
onChanged();
} else {
listBuilder_.remove(index);
}
return this;
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public wechat.protobuf.Favitem.DelFavItemRsp.Builder getListBuilder(
int index) {
return getListFieldBuilder().getBuilder(index);
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public wechat.protobuf.Favitem.DelFavItemRspOrBuilder getListOrBuilder(
int index) {
if (listBuilder_ == null) {
return list_.get(index); } else {
return listBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public java.util.List extends wechat.protobuf.Favitem.DelFavItemRspOrBuilder>
getListOrBuilderList() {
if (listBuilder_ != null) {
return listBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(list_);
}
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public wechat.protobuf.Favitem.DelFavItemRsp.Builder addListBuilder() {
return getListFieldBuilder().addBuilder(
wechat.protobuf.Favitem.DelFavItemRsp.getDefaultInstance());
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public wechat.protobuf.Favitem.DelFavItemRsp.Builder addListBuilder(
int index) {
return getListFieldBuilder().addBuilder(
index, wechat.protobuf.Favitem.DelFavItemRsp.getDefaultInstance());
}
/**
* repeated .wechat_proto.DelFavItemRsp list = 3;
*/
public java.util.List
getListBuilderList() {
return getListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Favitem.DelFavItemRsp, wechat.protobuf.Favitem.DelFavItemRsp.Builder, wechat.protobuf.Favitem.DelFavItemRspOrBuilder>
getListFieldBuilder() {
if (listBuilder_ == null) {
listBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Favitem.DelFavItemRsp, wechat.protobuf.Favitem.DelFavItemRsp.Builder, wechat.protobuf.Favitem.DelFavItemRspOrBuilder>(
list_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
list_ = null;
}
return listBuilder_;
}
@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.BatchDelFavItemResponse)
}
// @@protoc_insertion_point(class_scope:wechat_proto.BatchDelFavItemResponse)
private static final wechat.protobuf.Favitem.BatchDelFavItemResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Favitem.BatchDelFavItemResponse();
}
public static wechat.protobuf.Favitem.BatchDelFavItemResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BatchDelFavItemResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BatchDelFavItemResponse(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.Favitem.BatchDelFavItemResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BatchGetFavItemRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.BatchGetFavItemRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
boolean hasBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
wechat.protobuf.BaseRequest getBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder();
/**
* optional uint32 count = 2;
* @return Whether the count field is set.
*/
boolean hasCount();
/**
* optional uint32 count = 2;
* @return The count.
*/
int getCount();
/**
* optional bytes favIdList = 3;
* @return Whether the favIdList field is set.
*/
boolean hasFavIdList();
/**
* optional bytes favIdList = 3;
* @return The favIdList.
*/
com.google.protobuf.ByteString getFavIdList();
}
/**
* Protobuf type {@code wechat_proto.BatchGetFavItemRequest}
*/
public static final class BatchGetFavItemRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.BatchGetFavItemRequest)
BatchGetFavItemRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use BatchGetFavItemRequest.newBuilder() to construct.
private BatchGetFavItemRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BatchGetFavItemRequest() {
favIdList_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BatchGetFavItemRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BatchGetFavItemRequest(
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;
count_ = input.readUInt32();
break;
}
case 26: {
bitField0_ |= 0x00000004;
favIdList_ = input.readBytes();
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.Favitem.internal_static_wechat_proto_BatchGetFavItemRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchGetFavItemRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.BatchGetFavItemRequest.class, wechat.protobuf.Favitem.BatchGetFavItemRequest.Builder.class);
}
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 COUNT_FIELD_NUMBER = 2;
private int count_;
/**
* optional uint32 count = 2;
* @return Whether the count field is set.
*/
@java.lang.Override
public boolean hasCount() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 count = 2;
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
public static final int FAVIDLIST_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString favIdList_;
/**
* optional bytes favIdList = 3;
* @return Whether the favIdList field is set.
*/
@java.lang.Override
public boolean hasFavIdList() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bytes favIdList = 3;
* @return The favIdList.
*/
@java.lang.Override
public com.google.protobuf.ByteString getFavIdList() {
return favIdList_;
}
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.writeUInt32(2, count_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBytes(3, favIdList_);
}
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
.computeUInt32Size(2, count_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, favIdList_);
}
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.Favitem.BatchGetFavItemRequest)) {
return super.equals(obj);
}
wechat.protobuf.Favitem.BatchGetFavItemRequest other = (wechat.protobuf.Favitem.BatchGetFavItemRequest) obj;
if (hasBaseRequest() != other.hasBaseRequest()) return false;
if (hasBaseRequest()) {
if (!getBaseRequest()
.equals(other.getBaseRequest())) return false;
}
if (hasCount() != other.hasCount()) return false;
if (hasCount()) {
if (getCount()
!= other.getCount()) return false;
}
if (hasFavIdList() != other.hasFavIdList()) return false;
if (hasFavIdList()) {
if (!getFavIdList()
.equals(other.getFavIdList())) 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 (hasCount()) {
hash = (37 * hash) + COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCount();
}
if (hasFavIdList()) {
hash = (37 * hash) + FAVIDLIST_FIELD_NUMBER;
hash = (53 * hash) + getFavIdList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Favitem.BatchGetFavItemRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.BatchGetFavItemRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.BatchGetFavItemRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.BatchGetFavItemRequest 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.Favitem.BatchGetFavItemRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.BatchGetFavItemRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.BatchGetFavItemRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.BatchGetFavItemRequest 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.Favitem.BatchGetFavItemRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.BatchGetFavItemRequest 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.Favitem.BatchGetFavItemRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.BatchGetFavItemRequest 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.Favitem.BatchGetFavItemRequest 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.BatchGetFavItemRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.BatchGetFavItemRequest)
wechat.protobuf.Favitem.BatchGetFavItemRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchGetFavItemRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchGetFavItemRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.BatchGetFavItemRequest.class, wechat.protobuf.Favitem.BatchGetFavItemRequest.Builder.class);
}
// Construct using wechat.protobuf.Favitem.BatchGetFavItemRequest.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();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
count_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
favIdList_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchGetFavItemRequest_descriptor;
}
@java.lang.Override
public wechat.protobuf.Favitem.BatchGetFavItemRequest getDefaultInstanceForType() {
return wechat.protobuf.Favitem.BatchGetFavItemRequest.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Favitem.BatchGetFavItemRequest build() {
wechat.protobuf.Favitem.BatchGetFavItemRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Favitem.BatchGetFavItemRequest buildPartial() {
wechat.protobuf.Favitem.BatchGetFavItemRequest result = new wechat.protobuf.Favitem.BatchGetFavItemRequest(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.count_ = count_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.favIdList_ = favIdList_;
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.Favitem.BatchGetFavItemRequest) {
return mergeFrom((wechat.protobuf.Favitem.BatchGetFavItemRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Favitem.BatchGetFavItemRequest other) {
if (other == wechat.protobuf.Favitem.BatchGetFavItemRequest.getDefaultInstance()) return this;
if (other.hasBaseRequest()) {
mergeBaseRequest(other.getBaseRequest());
}
if (other.hasCount()) {
setCount(other.getCount());
}
if (other.hasFavIdList()) {
setFavIdList(other.getFavIdList());
}
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.Favitem.BatchGetFavItemRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Favitem.BatchGetFavItemRequest) 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 count_ ;
/**
* optional uint32 count = 2;
* @return Whether the count field is set.
*/
@java.lang.Override
public boolean hasCount() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 count = 2;
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
/**
* optional uint32 count = 2;
* @param value The count to set.
* @return This builder for chaining.
*/
public Builder setCount(int value) {
bitField0_ |= 0x00000002;
count_ = value;
onChanged();
return this;
}
/**
* optional uint32 count = 2;
* @return This builder for chaining.
*/
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000002);
count_ = 0;
onChanged();
return this;
}
private com.google.protobuf.ByteString favIdList_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes favIdList = 3;
* @return Whether the favIdList field is set.
*/
@java.lang.Override
public boolean hasFavIdList() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bytes favIdList = 3;
* @return The favIdList.
*/
@java.lang.Override
public com.google.protobuf.ByteString getFavIdList() {
return favIdList_;
}
/**
* optional bytes favIdList = 3;
* @param value The favIdList to set.
* @return This builder for chaining.
*/
public Builder setFavIdList(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
favIdList_ = value;
onChanged();
return this;
}
/**
* optional bytes favIdList = 3;
* @return This builder for chaining.
*/
public Builder clearFavIdList() {
bitField0_ = (bitField0_ & ~0x00000004);
favIdList_ = getDefaultInstance().getFavIdList();
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.BatchGetFavItemRequest)
}
// @@protoc_insertion_point(class_scope:wechat_proto.BatchGetFavItemRequest)
private static final wechat.protobuf.Favitem.BatchGetFavItemRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Favitem.BatchGetFavItemRequest();
}
public static wechat.protobuf.Favitem.BatchGetFavItemRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BatchGetFavItemRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BatchGetFavItemRequest(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.Favitem.BatchGetFavItemRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BatchGetFavItemResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.BatchGetFavItemResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
boolean hasBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
wechat.protobuf.BaseResponse getBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder();
/**
* optional uint32 count = 2;
* @return Whether the count field is set.
*/
boolean hasCount();
/**
* optional uint32 count = 2;
* @return The count.
*/
int getCount();
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
java.util.List
getObjectListList();
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
wechat.protobuf.Favitem.FavObject getObjectList(int index);
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
int getObjectListCount();
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
java.util.List extends wechat.protobuf.Favitem.FavObjectOrBuilder>
getObjectListOrBuilderList();
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
wechat.protobuf.Favitem.FavObjectOrBuilder getObjectListOrBuilder(
int index);
}
/**
* Protobuf type {@code wechat_proto.BatchGetFavItemResponse}
*/
public static final class BatchGetFavItemResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.BatchGetFavItemResponse)
BatchGetFavItemResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use BatchGetFavItemResponse.newBuilder() to construct.
private BatchGetFavItemResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BatchGetFavItemResponse() {
objectList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BatchGetFavItemResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BatchGetFavItemResponse(
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.BaseResponse.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = baseResponse_.toBuilder();
}
baseResponse_ = input.readMessage(wechat.protobuf.BaseResponse.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseResponse_);
baseResponse_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
count_ = input.readUInt32();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
objectList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
objectList_.add(
input.readMessage(wechat.protobuf.Favitem.FavObject.PARSER, extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000004) != 0)) {
objectList_ = java.util.Collections.unmodifiableList(objectList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchGetFavItemResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchGetFavItemResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.BatchGetFavItemResponse.class, wechat.protobuf.Favitem.BatchGetFavItemResponse.Builder.class);
}
private int bitField0_;
public static final int BASERESPONSE_FIELD_NUMBER = 1;
private wechat.protobuf.BaseResponse baseResponse_;
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
@java.lang.Override
public boolean hasBaseResponse() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
@java.lang.Override
public wechat.protobuf.BaseResponse getBaseResponse() {
return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
@java.lang.Override
public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() {
return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
}
public static final int COUNT_FIELD_NUMBER = 2;
private int count_;
/**
* optional uint32 count = 2;
* @return Whether the count field is set.
*/
@java.lang.Override
public boolean hasCount() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 count = 2;
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
public static final int OBJECTLIST_FIELD_NUMBER = 3;
private java.util.List objectList_;
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
@java.lang.Override
public java.util.List getObjectListList() {
return objectList_;
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.Favitem.FavObjectOrBuilder>
getObjectListOrBuilderList() {
return objectList_;
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
@java.lang.Override
public int getObjectListCount() {
return objectList_.size();
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
@java.lang.Override
public wechat.protobuf.Favitem.FavObject getObjectList(int index) {
return objectList_.get(index);
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
@java.lang.Override
public wechat.protobuf.Favitem.FavObjectOrBuilder getObjectListOrBuilder(
int index) {
return objectList_.get(index);
}
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, getBaseResponse());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, count_);
}
for (int i = 0; i < objectList_.size(); i++) {
output.writeMessage(3, objectList_.get(i));
}
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, getBaseResponse());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, count_);
}
for (int i = 0; i < objectList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, objectList_.get(i));
}
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.Favitem.BatchGetFavItemResponse)) {
return super.equals(obj);
}
wechat.protobuf.Favitem.BatchGetFavItemResponse other = (wechat.protobuf.Favitem.BatchGetFavItemResponse) obj;
if (hasBaseResponse() != other.hasBaseResponse()) return false;
if (hasBaseResponse()) {
if (!getBaseResponse()
.equals(other.getBaseResponse())) return false;
}
if (hasCount() != other.hasCount()) return false;
if (hasCount()) {
if (getCount()
!= other.getCount()) return false;
}
if (!getObjectListList()
.equals(other.getObjectListList())) 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 (hasBaseResponse()) {
hash = (37 * hash) + BASERESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getBaseResponse().hashCode();
}
if (hasCount()) {
hash = (37 * hash) + COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCount();
}
if (getObjectListCount() > 0) {
hash = (37 * hash) + OBJECTLIST_FIELD_NUMBER;
hash = (53 * hash) + getObjectListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Favitem.BatchGetFavItemResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.BatchGetFavItemResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.BatchGetFavItemResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.BatchGetFavItemResponse 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.Favitem.BatchGetFavItemResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.BatchGetFavItemResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.BatchGetFavItemResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.BatchGetFavItemResponse 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.Favitem.BatchGetFavItemResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.BatchGetFavItemResponse 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.Favitem.BatchGetFavItemResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.BatchGetFavItemResponse 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.Favitem.BatchGetFavItemResponse 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.BatchGetFavItemResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.BatchGetFavItemResponse)
wechat.protobuf.Favitem.BatchGetFavItemResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchGetFavItemResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchGetFavItemResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.BatchGetFavItemResponse.class, wechat.protobuf.Favitem.BatchGetFavItemResponse.Builder.class);
}
// Construct using wechat.protobuf.Favitem.BatchGetFavItemResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBaseResponseFieldBuilder();
getObjectListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
count_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (objectListBuilder_ == null) {
objectList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
objectListBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_BatchGetFavItemResponse_descriptor;
}
@java.lang.Override
public wechat.protobuf.Favitem.BatchGetFavItemResponse getDefaultInstanceForType() {
return wechat.protobuf.Favitem.BatchGetFavItemResponse.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Favitem.BatchGetFavItemResponse build() {
wechat.protobuf.Favitem.BatchGetFavItemResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Favitem.BatchGetFavItemResponse buildPartial() {
wechat.protobuf.Favitem.BatchGetFavItemResponse result = new wechat.protobuf.Favitem.BatchGetFavItemResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (baseResponseBuilder_ == null) {
result.baseResponse_ = baseResponse_;
} else {
result.baseResponse_ = baseResponseBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.count_ = count_;
to_bitField0_ |= 0x00000002;
}
if (objectListBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
objectList_ = java.util.Collections.unmodifiableList(objectList_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.objectList_ = objectList_;
} else {
result.objectList_ = objectListBuilder_.build();
}
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.Favitem.BatchGetFavItemResponse) {
return mergeFrom((wechat.protobuf.Favitem.BatchGetFavItemResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Favitem.BatchGetFavItemResponse other) {
if (other == wechat.protobuf.Favitem.BatchGetFavItemResponse.getDefaultInstance()) return this;
if (other.hasBaseResponse()) {
mergeBaseResponse(other.getBaseResponse());
}
if (other.hasCount()) {
setCount(other.getCount());
}
if (objectListBuilder_ == null) {
if (!other.objectList_.isEmpty()) {
if (objectList_.isEmpty()) {
objectList_ = other.objectList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureObjectListIsMutable();
objectList_.addAll(other.objectList_);
}
onChanged();
}
} else {
if (!other.objectList_.isEmpty()) {
if (objectListBuilder_.isEmpty()) {
objectListBuilder_.dispose();
objectListBuilder_ = null;
objectList_ = other.objectList_;
bitField0_ = (bitField0_ & ~0x00000004);
objectListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getObjectListFieldBuilder() : null;
} else {
objectListBuilder_.addAllMessages(other.objectList_);
}
}
}
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.Favitem.BatchGetFavItemResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Favitem.BatchGetFavItemResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private wechat.protobuf.BaseResponse baseResponse_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder> baseResponseBuilder_;
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
public boolean hasBaseResponse() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
public wechat.protobuf.BaseResponse getBaseResponse() {
if (baseResponseBuilder_ == null) {
return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
} else {
return baseResponseBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder setBaseResponse(wechat.protobuf.BaseResponse value) {
if (baseResponseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseResponse_ = value;
onChanged();
} else {
baseResponseBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder setBaseResponse(
wechat.protobuf.BaseResponse.Builder builderForValue) {
if (baseResponseBuilder_ == null) {
baseResponse_ = builderForValue.build();
onChanged();
} else {
baseResponseBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder mergeBaseResponse(wechat.protobuf.BaseResponse value) {
if (baseResponseBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
baseResponse_ != null &&
baseResponse_ != wechat.protobuf.BaseResponse.getDefaultInstance()) {
baseResponse_ =
wechat.protobuf.BaseResponse.newBuilder(baseResponse_).mergeFrom(value).buildPartial();
} else {
baseResponse_ = value;
}
onChanged();
} else {
baseResponseBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder clearBaseResponse() {
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
onChanged();
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public wechat.protobuf.BaseResponse.Builder getBaseResponseBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getBaseResponseFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() {
if (baseResponseBuilder_ != null) {
return baseResponseBuilder_.getMessageOrBuilder();
} else {
return baseResponse_ == null ?
wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
}
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder>
getBaseResponseFieldBuilder() {
if (baseResponseBuilder_ == null) {
baseResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder>(
getBaseResponse(),
getParentForChildren(),
isClean());
baseResponse_ = null;
}
return baseResponseBuilder_;
}
private int count_ ;
/**
* optional uint32 count = 2;
* @return Whether the count field is set.
*/
@java.lang.Override
public boolean hasCount() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 count = 2;
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
/**
* optional uint32 count = 2;
* @param value The count to set.
* @return This builder for chaining.
*/
public Builder setCount(int value) {
bitField0_ |= 0x00000002;
count_ = value;
onChanged();
return this;
}
/**
* optional uint32 count = 2;
* @return This builder for chaining.
*/
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000002);
count_ = 0;
onChanged();
return this;
}
private java.util.List objectList_ =
java.util.Collections.emptyList();
private void ensureObjectListIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
objectList_ = new java.util.ArrayList(objectList_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Favitem.FavObject, wechat.protobuf.Favitem.FavObject.Builder, wechat.protobuf.Favitem.FavObjectOrBuilder> objectListBuilder_;
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public java.util.List getObjectListList() {
if (objectListBuilder_ == null) {
return java.util.Collections.unmodifiableList(objectList_);
} else {
return objectListBuilder_.getMessageList();
}
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public int getObjectListCount() {
if (objectListBuilder_ == null) {
return objectList_.size();
} else {
return objectListBuilder_.getCount();
}
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public wechat.protobuf.Favitem.FavObject getObjectList(int index) {
if (objectListBuilder_ == null) {
return objectList_.get(index);
} else {
return objectListBuilder_.getMessage(index);
}
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public Builder setObjectList(
int index, wechat.protobuf.Favitem.FavObject value) {
if (objectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectListIsMutable();
objectList_.set(index, value);
onChanged();
} else {
objectListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public Builder setObjectList(
int index, wechat.protobuf.Favitem.FavObject.Builder builderForValue) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
objectList_.set(index, builderForValue.build());
onChanged();
} else {
objectListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public Builder addObjectList(wechat.protobuf.Favitem.FavObject value) {
if (objectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectListIsMutable();
objectList_.add(value);
onChanged();
} else {
objectListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public Builder addObjectList(
int index, wechat.protobuf.Favitem.FavObject value) {
if (objectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectListIsMutable();
objectList_.add(index, value);
onChanged();
} else {
objectListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public Builder addObjectList(
wechat.protobuf.Favitem.FavObject.Builder builderForValue) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
objectList_.add(builderForValue.build());
onChanged();
} else {
objectListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public Builder addObjectList(
int index, wechat.protobuf.Favitem.FavObject.Builder builderForValue) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
objectList_.add(index, builderForValue.build());
onChanged();
} else {
objectListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public Builder addAllObjectList(
java.lang.Iterable extends wechat.protobuf.Favitem.FavObject> values) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, objectList_);
onChanged();
} else {
objectListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public Builder clearObjectList() {
if (objectListBuilder_ == null) {
objectList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
objectListBuilder_.clear();
}
return this;
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public Builder removeObjectList(int index) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
objectList_.remove(index);
onChanged();
} else {
objectListBuilder_.remove(index);
}
return this;
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public wechat.protobuf.Favitem.FavObject.Builder getObjectListBuilder(
int index) {
return getObjectListFieldBuilder().getBuilder(index);
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public wechat.protobuf.Favitem.FavObjectOrBuilder getObjectListOrBuilder(
int index) {
if (objectListBuilder_ == null) {
return objectList_.get(index); } else {
return objectListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public java.util.List extends wechat.protobuf.Favitem.FavObjectOrBuilder>
getObjectListOrBuilderList() {
if (objectListBuilder_ != null) {
return objectListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(objectList_);
}
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public wechat.protobuf.Favitem.FavObject.Builder addObjectListBuilder() {
return getObjectListFieldBuilder().addBuilder(
wechat.protobuf.Favitem.FavObject.getDefaultInstance());
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public wechat.protobuf.Favitem.FavObject.Builder addObjectListBuilder(
int index) {
return getObjectListFieldBuilder().addBuilder(
index, wechat.protobuf.Favitem.FavObject.getDefaultInstance());
}
/**
* repeated .wechat_proto.FavObject objectList = 3;
*/
public java.util.List
getObjectListBuilderList() {
return getObjectListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Favitem.FavObject, wechat.protobuf.Favitem.FavObject.Builder, wechat.protobuf.Favitem.FavObjectOrBuilder>
getObjectListFieldBuilder() {
if (objectListBuilder_ == null) {
objectListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Favitem.FavObject, wechat.protobuf.Favitem.FavObject.Builder, wechat.protobuf.Favitem.FavObjectOrBuilder>(
objectList_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
objectList_ = null;
}
return objectListBuilder_;
}
@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.BatchGetFavItemResponse)
}
// @@protoc_insertion_point(class_scope:wechat_proto.BatchGetFavItemResponse)
private static final wechat.protobuf.Favitem.BatchGetFavItemResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Favitem.BatchGetFavItemResponse();
}
public static wechat.protobuf.Favitem.BatchGetFavItemResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BatchGetFavItemResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BatchGetFavItemResponse(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.Favitem.BatchGetFavItemResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AddFavItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.AddFavItem)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 favId = 1;
* @return Whether the favId field is set.
*/
boolean hasFavId();
/**
* optional uint32 favId = 1;
* @return The favId.
*/
int getFavId();
/**
* optional uint32 type = 2;
* @return Whether the type field is set.
*/
boolean hasType();
/**
* optional uint32 type = 2;
* @return The type.
*/
int getType();
/**
* optional uint32 flag = 3;
* @return Whether the flag field is set.
*/
boolean hasFlag();
/**
* optional uint32 flag = 3;
* @return The flag.
*/
int getFlag();
/**
* optional uint32 updateTime = 4;
* @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
* optional uint32 updateTime = 4;
* @return The updateTime.
*/
int getUpdateTime();
/**
* optional uint32 updateSeq = 5;
* @return Whether the updateSeq field is set.
*/
boolean hasUpdateSeq();
/**
* optional uint32 updateSeq = 5;
* @return The updateSeq.
*/
int getUpdateSeq();
}
/**
* Protobuf type {@code wechat_proto.AddFavItem}
*/
public static final class AddFavItem extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.AddFavItem)
AddFavItemOrBuilder {
private static final long serialVersionUID = 0L;
// Use AddFavItem.newBuilder() to construct.
private AddFavItem(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AddFavItem() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AddFavItem();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AddFavItem(
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;
favId_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
type_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
flag_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
updateTime_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
updateSeq_ = input.readUInt32();
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.Favitem.internal_static_wechat_proto_AddFavItem_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_AddFavItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.AddFavItem.class, wechat.protobuf.Favitem.AddFavItem.Builder.class);
}
private int bitField0_;
public static final int FAVID_FIELD_NUMBER = 1;
private int favId_;
/**
* optional uint32 favId = 1;
* @return Whether the favId field is set.
*/
@java.lang.Override
public boolean hasFavId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 favId = 1;
* @return The favId.
*/
@java.lang.Override
public int getFavId() {
return favId_;
}
public static final int TYPE_FIELD_NUMBER = 2;
private int type_;
/**
* optional uint32 type = 2;
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 type = 2;
* @return The type.
*/
@java.lang.Override
public int getType() {
return type_;
}
public static final int FLAG_FIELD_NUMBER = 3;
private int flag_;
/**
* optional uint32 flag = 3;
* @return Whether the flag field is set.
*/
@java.lang.Override
public boolean hasFlag() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 flag = 3;
* @return The flag.
*/
@java.lang.Override
public int getFlag() {
return flag_;
}
public static final int UPDATETIME_FIELD_NUMBER = 4;
private int updateTime_;
/**
* optional uint32 updateTime = 4;
* @return Whether the updateTime field is set.
*/
@java.lang.Override
public boolean hasUpdateTime() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 updateTime = 4;
* @return The updateTime.
*/
@java.lang.Override
public int getUpdateTime() {
return updateTime_;
}
public static final int UPDATESEQ_FIELD_NUMBER = 5;
private int updateSeq_;
/**
* optional uint32 updateSeq = 5;
* @return Whether the updateSeq field is set.
*/
@java.lang.Override
public boolean hasUpdateSeq() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 updateSeq = 5;
* @return The updateSeq.
*/
@java.lang.Override
public int getUpdateSeq() {
return updateSeq_;
}
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.writeUInt32(1, favId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, type_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, flag_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, updateTime_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, updateSeq_);
}
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
.computeUInt32Size(1, favId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, type_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, flag_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, updateTime_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, updateSeq_);
}
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.Favitem.AddFavItem)) {
return super.equals(obj);
}
wechat.protobuf.Favitem.AddFavItem other = (wechat.protobuf.Favitem.AddFavItem) obj;
if (hasFavId() != other.hasFavId()) return false;
if (hasFavId()) {
if (getFavId()
!= other.getFavId()) return false;
}
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (getType()
!= other.getType()) return false;
}
if (hasFlag() != other.hasFlag()) return false;
if (hasFlag()) {
if (getFlag()
!= other.getFlag()) return false;
}
if (hasUpdateTime() != other.hasUpdateTime()) return false;
if (hasUpdateTime()) {
if (getUpdateTime()
!= other.getUpdateTime()) return false;
}
if (hasUpdateSeq() != other.hasUpdateSeq()) return false;
if (hasUpdateSeq()) {
if (getUpdateSeq()
!= other.getUpdateSeq()) 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 (hasFavId()) {
hash = (37 * hash) + FAVID_FIELD_NUMBER;
hash = (53 * hash) + getFavId();
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType();
}
if (hasFlag()) {
hash = (37 * hash) + FLAG_FIELD_NUMBER;
hash = (53 * hash) + getFlag();
}
if (hasUpdateTime()) {
hash = (37 * hash) + UPDATETIME_FIELD_NUMBER;
hash = (53 * hash) + getUpdateTime();
}
if (hasUpdateSeq()) {
hash = (37 * hash) + UPDATESEQ_FIELD_NUMBER;
hash = (53 * hash) + getUpdateSeq();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Favitem.AddFavItem parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.AddFavItem parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.AddFavItem parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.AddFavItem 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.Favitem.AddFavItem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.AddFavItem parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.AddFavItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.AddFavItem 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.Favitem.AddFavItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.AddFavItem 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.Favitem.AddFavItem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.AddFavItem 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.Favitem.AddFavItem 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.AddFavItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.AddFavItem)
wechat.protobuf.Favitem.AddFavItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_AddFavItem_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_AddFavItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.AddFavItem.class, wechat.protobuf.Favitem.AddFavItem.Builder.class);
}
// Construct using wechat.protobuf.Favitem.AddFavItem.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();
favId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
flag_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
updateTime_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
updateSeq_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_AddFavItem_descriptor;
}
@java.lang.Override
public wechat.protobuf.Favitem.AddFavItem getDefaultInstanceForType() {
return wechat.protobuf.Favitem.AddFavItem.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Favitem.AddFavItem build() {
wechat.protobuf.Favitem.AddFavItem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Favitem.AddFavItem buildPartial() {
wechat.protobuf.Favitem.AddFavItem result = new wechat.protobuf.Favitem.AddFavItem(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.favId_ = favId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.type_ = type_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.flag_ = flag_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.updateTime_ = updateTime_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.updateSeq_ = updateSeq_;
to_bitField0_ |= 0x00000010;
}
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.Favitem.AddFavItem) {
return mergeFrom((wechat.protobuf.Favitem.AddFavItem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Favitem.AddFavItem other) {
if (other == wechat.protobuf.Favitem.AddFavItem.getDefaultInstance()) return this;
if (other.hasFavId()) {
setFavId(other.getFavId());
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasFlag()) {
setFlag(other.getFlag());
}
if (other.hasUpdateTime()) {
setUpdateTime(other.getUpdateTime());
}
if (other.hasUpdateSeq()) {
setUpdateSeq(other.getUpdateSeq());
}
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.Favitem.AddFavItem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Favitem.AddFavItem) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int favId_ ;
/**
* optional uint32 favId = 1;
* @return Whether the favId field is set.
*/
@java.lang.Override
public boolean hasFavId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 favId = 1;
* @return The favId.
*/
@java.lang.Override
public int getFavId() {
return favId_;
}
/**
* optional uint32 favId = 1;
* @param value The favId to set.
* @return This builder for chaining.
*/
public Builder setFavId(int value) {
bitField0_ |= 0x00000001;
favId_ = value;
onChanged();
return this;
}
/**
* optional uint32 favId = 1;
* @return This builder for chaining.
*/
public Builder clearFavId() {
bitField0_ = (bitField0_ & ~0x00000001);
favId_ = 0;
onChanged();
return this;
}
private int type_ ;
/**
* optional uint32 type = 2;
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 type = 2;
* @return The type.
*/
@java.lang.Override
public int getType() {
return type_;
}
/**
* optional uint32 type = 2;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(int value) {
bitField0_ |= 0x00000002;
type_ = value;
onChanged();
return this;
}
/**
* optional uint32 type = 2;
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000002);
type_ = 0;
onChanged();
return this;
}
private int flag_ ;
/**
* optional uint32 flag = 3;
* @return Whether the flag field is set.
*/
@java.lang.Override
public boolean hasFlag() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 flag = 3;
* @return The flag.
*/
@java.lang.Override
public int getFlag() {
return flag_;
}
/**
* optional uint32 flag = 3;
* @param value The flag to set.
* @return This builder for chaining.
*/
public Builder setFlag(int value) {
bitField0_ |= 0x00000004;
flag_ = value;
onChanged();
return this;
}
/**
* optional uint32 flag = 3;
* @return This builder for chaining.
*/
public Builder clearFlag() {
bitField0_ = (bitField0_ & ~0x00000004);
flag_ = 0;
onChanged();
return this;
}
private int updateTime_ ;
/**
* optional uint32 updateTime = 4;
* @return Whether the updateTime field is set.
*/
@java.lang.Override
public boolean hasUpdateTime() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 updateTime = 4;
* @return The updateTime.
*/
@java.lang.Override
public int getUpdateTime() {
return updateTime_;
}
/**
* optional uint32 updateTime = 4;
* @param value The updateTime to set.
* @return This builder for chaining.
*/
public Builder setUpdateTime(int value) {
bitField0_ |= 0x00000008;
updateTime_ = value;
onChanged();
return this;
}
/**
* optional uint32 updateTime = 4;
* @return This builder for chaining.
*/
public Builder clearUpdateTime() {
bitField0_ = (bitField0_ & ~0x00000008);
updateTime_ = 0;
onChanged();
return this;
}
private int updateSeq_ ;
/**
* optional uint32 updateSeq = 5;
* @return Whether the updateSeq field is set.
*/
@java.lang.Override
public boolean hasUpdateSeq() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 updateSeq = 5;
* @return The updateSeq.
*/
@java.lang.Override
public int getUpdateSeq() {
return updateSeq_;
}
/**
* optional uint32 updateSeq = 5;
* @param value The updateSeq to set.
* @return This builder for chaining.
*/
public Builder setUpdateSeq(int value) {
bitField0_ |= 0x00000010;
updateSeq_ = value;
onChanged();
return this;
}
/**
* optional uint32 updateSeq = 5;
* @return This builder for chaining.
*/
public Builder clearUpdateSeq() {
bitField0_ = (bitField0_ & ~0x00000010);
updateSeq_ = 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.AddFavItem)
}
// @@protoc_insertion_point(class_scope:wechat_proto.AddFavItem)
private static final wechat.protobuf.Favitem.AddFavItem DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Favitem.AddFavItem();
}
public static wechat.protobuf.Favitem.AddFavItem getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AddFavItem parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AddFavItem(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.Favitem.AddFavItem getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetFavInfoRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.GetFavInfoRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
boolean hasBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
wechat.protobuf.BaseRequest getBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder();
}
/**
* Protobuf type {@code wechat_proto.GetFavInfoRequest}
*/
public static final class GetFavInfoRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.GetFavInfoRequest)
GetFavInfoRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetFavInfoRequest.newBuilder() to construct.
private GetFavInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetFavInfoRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetFavInfoRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetFavInfoRequest(
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;
}
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.Favitem.internal_static_wechat_proto_GetFavInfoRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_GetFavInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.GetFavInfoRequest.class, wechat.protobuf.Favitem.GetFavInfoRequest.Builder.class);
}
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_;
}
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());
}
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());
}
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.Favitem.GetFavInfoRequest)) {
return super.equals(obj);
}
wechat.protobuf.Favitem.GetFavInfoRequest other = (wechat.protobuf.Favitem.GetFavInfoRequest) obj;
if (hasBaseRequest() != other.hasBaseRequest()) return false;
if (hasBaseRequest()) {
if (!getBaseRequest()
.equals(other.getBaseRequest())) 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();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Favitem.GetFavInfoRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.GetFavInfoRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.GetFavInfoRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.GetFavInfoRequest 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.Favitem.GetFavInfoRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.GetFavInfoRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.GetFavInfoRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.GetFavInfoRequest 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.Favitem.GetFavInfoRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.GetFavInfoRequest 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.Favitem.GetFavInfoRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.GetFavInfoRequest 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.Favitem.GetFavInfoRequest 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.GetFavInfoRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.GetFavInfoRequest)
wechat.protobuf.Favitem.GetFavInfoRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_GetFavInfoRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_GetFavInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.GetFavInfoRequest.class, wechat.protobuf.Favitem.GetFavInfoRequest.Builder.class);
}
// Construct using wechat.protobuf.Favitem.GetFavInfoRequest.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();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_GetFavInfoRequest_descriptor;
}
@java.lang.Override
public wechat.protobuf.Favitem.GetFavInfoRequest getDefaultInstanceForType() {
return wechat.protobuf.Favitem.GetFavInfoRequest.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Favitem.GetFavInfoRequest build() {
wechat.protobuf.Favitem.GetFavInfoRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Favitem.GetFavInfoRequest buildPartial() {
wechat.protobuf.Favitem.GetFavInfoRequest result = new wechat.protobuf.Favitem.GetFavInfoRequest(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;
}
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.Favitem.GetFavInfoRequest) {
return mergeFrom((wechat.protobuf.Favitem.GetFavInfoRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Favitem.GetFavInfoRequest other) {
if (other == wechat.protobuf.Favitem.GetFavInfoRequest.getDefaultInstance()) return this;
if (other.hasBaseRequest()) {
mergeBaseRequest(other.getBaseRequest());
}
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.Favitem.GetFavInfoRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Favitem.GetFavInfoRequest) 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_;
}
@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.GetFavInfoRequest)
}
// @@protoc_insertion_point(class_scope:wechat_proto.GetFavInfoRequest)
private static final wechat.protobuf.Favitem.GetFavInfoRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Favitem.GetFavInfoRequest();
}
public static wechat.protobuf.Favitem.GetFavInfoRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetFavInfoRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetFavInfoRequest(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.Favitem.GetFavInfoRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetFavInfoResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.GetFavInfoResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
boolean hasBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
wechat.protobuf.BaseResponse getBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder();
/**
* optional uint64 usedSize = 2;
* @return Whether the usedSize field is set.
*/
boolean hasUsedSize();
/**
* optional uint64 usedSize = 2;
* @return The usedSize.
*/
long getUsedSize();
/**
* optional uint64 totalSize = 3;
* @return Whether the totalSize field is set.
*/
boolean hasTotalSize();
/**
* optional uint64 totalSize = 3;
* @return The totalSize.
*/
long getTotalSize();
/**
* optional uint32 mxFavFileSize = 4;
* @return Whether the mxFavFileSize field is set.
*/
boolean hasMxFavFileSize();
/**
* optional uint32 mxFavFileSize = 4;
* @return The mxFavFileSize.
*/
int getMxFavFileSize();
/**
* optional uint32 mxAutoUploadSize = 5;
* @return Whether the mxAutoUploadSize field is set.
*/
boolean hasMxAutoUploadSize();
/**
* optional uint32 mxAutoUploadSize = 5;
* @return The mxAutoUploadSize.
*/
int getMxAutoUploadSize();
/**
* optional uint32 mxAutoDownloadSize = 6;
* @return Whether the mxAutoDownloadSize field is set.
*/
boolean hasMxAutoDownloadSize();
/**
* optional uint32 mxAutoDownloadSize = 6;
* @return The mxAutoDownloadSize.
*/
int getMxAutoDownloadSize();
}
/**
* Protobuf type {@code wechat_proto.GetFavInfoResponse}
*/
public static final class GetFavInfoResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.GetFavInfoResponse)
GetFavInfoResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetFavInfoResponse.newBuilder() to construct.
private GetFavInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetFavInfoResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetFavInfoResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetFavInfoResponse(
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.BaseResponse.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = baseResponse_.toBuilder();
}
baseResponse_ = input.readMessage(wechat.protobuf.BaseResponse.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseResponse_);
baseResponse_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
usedSize_ = input.readUInt64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
totalSize_ = input.readUInt64();
break;
}
case 32: {
bitField0_ |= 0x00000008;
mxFavFileSize_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
mxAutoUploadSize_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
mxAutoDownloadSize_ = input.readUInt32();
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.Favitem.internal_static_wechat_proto_GetFavInfoResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_GetFavInfoResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.GetFavInfoResponse.class, wechat.protobuf.Favitem.GetFavInfoResponse.Builder.class);
}
private int bitField0_;
public static final int BASERESPONSE_FIELD_NUMBER = 1;
private wechat.protobuf.BaseResponse baseResponse_;
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
@java.lang.Override
public boolean hasBaseResponse() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
@java.lang.Override
public wechat.protobuf.BaseResponse getBaseResponse() {
return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
@java.lang.Override
public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() {
return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
}
public static final int USEDSIZE_FIELD_NUMBER = 2;
private long usedSize_;
/**
* optional uint64 usedSize = 2;
* @return Whether the usedSize field is set.
*/
@java.lang.Override
public boolean hasUsedSize() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint64 usedSize = 2;
* @return The usedSize.
*/
@java.lang.Override
public long getUsedSize() {
return usedSize_;
}
public static final int TOTALSIZE_FIELD_NUMBER = 3;
private long totalSize_;
/**
* optional uint64 totalSize = 3;
* @return Whether the totalSize field is set.
*/
@java.lang.Override
public boolean hasTotalSize() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint64 totalSize = 3;
* @return The totalSize.
*/
@java.lang.Override
public long getTotalSize() {
return totalSize_;
}
public static final int MXFAVFILESIZE_FIELD_NUMBER = 4;
private int mxFavFileSize_;
/**
* optional uint32 mxFavFileSize = 4;
* @return Whether the mxFavFileSize field is set.
*/
@java.lang.Override
public boolean hasMxFavFileSize() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 mxFavFileSize = 4;
* @return The mxFavFileSize.
*/
@java.lang.Override
public int getMxFavFileSize() {
return mxFavFileSize_;
}
public static final int MXAUTOUPLOADSIZE_FIELD_NUMBER = 5;
private int mxAutoUploadSize_;
/**
* optional uint32 mxAutoUploadSize = 5;
* @return Whether the mxAutoUploadSize field is set.
*/
@java.lang.Override
public boolean hasMxAutoUploadSize() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 mxAutoUploadSize = 5;
* @return The mxAutoUploadSize.
*/
@java.lang.Override
public int getMxAutoUploadSize() {
return mxAutoUploadSize_;
}
public static final int MXAUTODOWNLOADSIZE_FIELD_NUMBER = 6;
private int mxAutoDownloadSize_;
/**
* optional uint32 mxAutoDownloadSize = 6;
* @return Whether the mxAutoDownloadSize field is set.
*/
@java.lang.Override
public boolean hasMxAutoDownloadSize() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 mxAutoDownloadSize = 6;
* @return The mxAutoDownloadSize.
*/
@java.lang.Override
public int getMxAutoDownloadSize() {
return mxAutoDownloadSize_;
}
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, getBaseResponse());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt64(2, usedSize_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt64(3, totalSize_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, mxFavFileSize_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, mxAutoUploadSize_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(6, mxAutoDownloadSize_);
}
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, getBaseResponse());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, usedSize_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, totalSize_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, mxFavFileSize_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, mxAutoUploadSize_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, mxAutoDownloadSize_);
}
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.Favitem.GetFavInfoResponse)) {
return super.equals(obj);
}
wechat.protobuf.Favitem.GetFavInfoResponse other = (wechat.protobuf.Favitem.GetFavInfoResponse) obj;
if (hasBaseResponse() != other.hasBaseResponse()) return false;
if (hasBaseResponse()) {
if (!getBaseResponse()
.equals(other.getBaseResponse())) return false;
}
if (hasUsedSize() != other.hasUsedSize()) return false;
if (hasUsedSize()) {
if (getUsedSize()
!= other.getUsedSize()) return false;
}
if (hasTotalSize() != other.hasTotalSize()) return false;
if (hasTotalSize()) {
if (getTotalSize()
!= other.getTotalSize()) return false;
}
if (hasMxFavFileSize() != other.hasMxFavFileSize()) return false;
if (hasMxFavFileSize()) {
if (getMxFavFileSize()
!= other.getMxFavFileSize()) return false;
}
if (hasMxAutoUploadSize() != other.hasMxAutoUploadSize()) return false;
if (hasMxAutoUploadSize()) {
if (getMxAutoUploadSize()
!= other.getMxAutoUploadSize()) return false;
}
if (hasMxAutoDownloadSize() != other.hasMxAutoDownloadSize()) return false;
if (hasMxAutoDownloadSize()) {
if (getMxAutoDownloadSize()
!= other.getMxAutoDownloadSize()) 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 (hasBaseResponse()) {
hash = (37 * hash) + BASERESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getBaseResponse().hashCode();
}
if (hasUsedSize()) {
hash = (37 * hash) + USEDSIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getUsedSize());
}
if (hasTotalSize()) {
hash = (37 * hash) + TOTALSIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTotalSize());
}
if (hasMxFavFileSize()) {
hash = (37 * hash) + MXFAVFILESIZE_FIELD_NUMBER;
hash = (53 * hash) + getMxFavFileSize();
}
if (hasMxAutoUploadSize()) {
hash = (37 * hash) + MXAUTOUPLOADSIZE_FIELD_NUMBER;
hash = (53 * hash) + getMxAutoUploadSize();
}
if (hasMxAutoDownloadSize()) {
hash = (37 * hash) + MXAUTODOWNLOADSIZE_FIELD_NUMBER;
hash = (53 * hash) + getMxAutoDownloadSize();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Favitem.GetFavInfoResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.GetFavInfoResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.GetFavInfoResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.GetFavInfoResponse 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.Favitem.GetFavInfoResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.GetFavInfoResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.GetFavInfoResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.GetFavInfoResponse 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.Favitem.GetFavInfoResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.GetFavInfoResponse 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.Favitem.GetFavInfoResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.GetFavInfoResponse 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.Favitem.GetFavInfoResponse 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.GetFavInfoResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.GetFavInfoResponse)
wechat.protobuf.Favitem.GetFavInfoResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_GetFavInfoResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_GetFavInfoResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.GetFavInfoResponse.class, wechat.protobuf.Favitem.GetFavInfoResponse.Builder.class);
}
// Construct using wechat.protobuf.Favitem.GetFavInfoResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBaseResponseFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
usedSize_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
totalSize_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
mxFavFileSize_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
mxAutoUploadSize_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
mxAutoDownloadSize_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_GetFavInfoResponse_descriptor;
}
@java.lang.Override
public wechat.protobuf.Favitem.GetFavInfoResponse getDefaultInstanceForType() {
return wechat.protobuf.Favitem.GetFavInfoResponse.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Favitem.GetFavInfoResponse build() {
wechat.protobuf.Favitem.GetFavInfoResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Favitem.GetFavInfoResponse buildPartial() {
wechat.protobuf.Favitem.GetFavInfoResponse result = new wechat.protobuf.Favitem.GetFavInfoResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (baseResponseBuilder_ == null) {
result.baseResponse_ = baseResponse_;
} else {
result.baseResponse_ = baseResponseBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.usedSize_ = usedSize_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.totalSize_ = totalSize_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.mxFavFileSize_ = mxFavFileSize_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.mxAutoUploadSize_ = mxAutoUploadSize_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.mxAutoDownloadSize_ = mxAutoDownloadSize_;
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.Favitem.GetFavInfoResponse) {
return mergeFrom((wechat.protobuf.Favitem.GetFavInfoResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Favitem.GetFavInfoResponse other) {
if (other == wechat.protobuf.Favitem.GetFavInfoResponse.getDefaultInstance()) return this;
if (other.hasBaseResponse()) {
mergeBaseResponse(other.getBaseResponse());
}
if (other.hasUsedSize()) {
setUsedSize(other.getUsedSize());
}
if (other.hasTotalSize()) {
setTotalSize(other.getTotalSize());
}
if (other.hasMxFavFileSize()) {
setMxFavFileSize(other.getMxFavFileSize());
}
if (other.hasMxAutoUploadSize()) {
setMxAutoUploadSize(other.getMxAutoUploadSize());
}
if (other.hasMxAutoDownloadSize()) {
setMxAutoDownloadSize(other.getMxAutoDownloadSize());
}
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.Favitem.GetFavInfoResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Favitem.GetFavInfoResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private wechat.protobuf.BaseResponse baseResponse_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder> baseResponseBuilder_;
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
public boolean hasBaseResponse() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
public wechat.protobuf.BaseResponse getBaseResponse() {
if (baseResponseBuilder_ == null) {
return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
} else {
return baseResponseBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder setBaseResponse(wechat.protobuf.BaseResponse value) {
if (baseResponseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseResponse_ = value;
onChanged();
} else {
baseResponseBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder setBaseResponse(
wechat.protobuf.BaseResponse.Builder builderForValue) {
if (baseResponseBuilder_ == null) {
baseResponse_ = builderForValue.build();
onChanged();
} else {
baseResponseBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder mergeBaseResponse(wechat.protobuf.BaseResponse value) {
if (baseResponseBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
baseResponse_ != null &&
baseResponse_ != wechat.protobuf.BaseResponse.getDefaultInstance()) {
baseResponse_ =
wechat.protobuf.BaseResponse.newBuilder(baseResponse_).mergeFrom(value).buildPartial();
} else {
baseResponse_ = value;
}
onChanged();
} else {
baseResponseBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder clearBaseResponse() {
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
onChanged();
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public wechat.protobuf.BaseResponse.Builder getBaseResponseBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getBaseResponseFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() {
if (baseResponseBuilder_ != null) {
return baseResponseBuilder_.getMessageOrBuilder();
} else {
return baseResponse_ == null ?
wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
}
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder>
getBaseResponseFieldBuilder() {
if (baseResponseBuilder_ == null) {
baseResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder>(
getBaseResponse(),
getParentForChildren(),
isClean());
baseResponse_ = null;
}
return baseResponseBuilder_;
}
private long usedSize_ ;
/**
* optional uint64 usedSize = 2;
* @return Whether the usedSize field is set.
*/
@java.lang.Override
public boolean hasUsedSize() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint64 usedSize = 2;
* @return The usedSize.
*/
@java.lang.Override
public long getUsedSize() {
return usedSize_;
}
/**
* optional uint64 usedSize = 2;
* @param value The usedSize to set.
* @return This builder for chaining.
*/
public Builder setUsedSize(long value) {
bitField0_ |= 0x00000002;
usedSize_ = value;
onChanged();
return this;
}
/**
* optional uint64 usedSize = 2;
* @return This builder for chaining.
*/
public Builder clearUsedSize() {
bitField0_ = (bitField0_ & ~0x00000002);
usedSize_ = 0L;
onChanged();
return this;
}
private long totalSize_ ;
/**
* optional uint64 totalSize = 3;
* @return Whether the totalSize field is set.
*/
@java.lang.Override
public boolean hasTotalSize() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint64 totalSize = 3;
* @return The totalSize.
*/
@java.lang.Override
public long getTotalSize() {
return totalSize_;
}
/**
* optional uint64 totalSize = 3;
* @param value The totalSize to set.
* @return This builder for chaining.
*/
public Builder setTotalSize(long value) {
bitField0_ |= 0x00000004;
totalSize_ = value;
onChanged();
return this;
}
/**
* optional uint64 totalSize = 3;
* @return This builder for chaining.
*/
public Builder clearTotalSize() {
bitField0_ = (bitField0_ & ~0x00000004);
totalSize_ = 0L;
onChanged();
return this;
}
private int mxFavFileSize_ ;
/**
* optional uint32 mxFavFileSize = 4;
* @return Whether the mxFavFileSize field is set.
*/
@java.lang.Override
public boolean hasMxFavFileSize() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 mxFavFileSize = 4;
* @return The mxFavFileSize.
*/
@java.lang.Override
public int getMxFavFileSize() {
return mxFavFileSize_;
}
/**
* optional uint32 mxFavFileSize = 4;
* @param value The mxFavFileSize to set.
* @return This builder for chaining.
*/
public Builder setMxFavFileSize(int value) {
bitField0_ |= 0x00000008;
mxFavFileSize_ = value;
onChanged();
return this;
}
/**
* optional uint32 mxFavFileSize = 4;
* @return This builder for chaining.
*/
public Builder clearMxFavFileSize() {
bitField0_ = (bitField0_ & ~0x00000008);
mxFavFileSize_ = 0;
onChanged();
return this;
}
private int mxAutoUploadSize_ ;
/**
* optional uint32 mxAutoUploadSize = 5;
* @return Whether the mxAutoUploadSize field is set.
*/
@java.lang.Override
public boolean hasMxAutoUploadSize() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 mxAutoUploadSize = 5;
* @return The mxAutoUploadSize.
*/
@java.lang.Override
public int getMxAutoUploadSize() {
return mxAutoUploadSize_;
}
/**
* optional uint32 mxAutoUploadSize = 5;
* @param value The mxAutoUploadSize to set.
* @return This builder for chaining.
*/
public Builder setMxAutoUploadSize(int value) {
bitField0_ |= 0x00000010;
mxAutoUploadSize_ = value;
onChanged();
return this;
}
/**
* optional uint32 mxAutoUploadSize = 5;
* @return This builder for chaining.
*/
public Builder clearMxAutoUploadSize() {
bitField0_ = (bitField0_ & ~0x00000010);
mxAutoUploadSize_ = 0;
onChanged();
return this;
}
private int mxAutoDownloadSize_ ;
/**
* optional uint32 mxAutoDownloadSize = 6;
* @return Whether the mxAutoDownloadSize field is set.
*/
@java.lang.Override
public boolean hasMxAutoDownloadSize() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 mxAutoDownloadSize = 6;
* @return The mxAutoDownloadSize.
*/
@java.lang.Override
public int getMxAutoDownloadSize() {
return mxAutoDownloadSize_;
}
/**
* optional uint32 mxAutoDownloadSize = 6;
* @param value The mxAutoDownloadSize to set.
* @return This builder for chaining.
*/
public Builder setMxAutoDownloadSize(int value) {
bitField0_ |= 0x00000020;
mxAutoDownloadSize_ = value;
onChanged();
return this;
}
/**
* optional uint32 mxAutoDownloadSize = 6;
* @return This builder for chaining.
*/
public Builder clearMxAutoDownloadSize() {
bitField0_ = (bitField0_ & ~0x00000020);
mxAutoDownloadSize_ = 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.GetFavInfoResponse)
}
// @@protoc_insertion_point(class_scope:wechat_proto.GetFavInfoResponse)
private static final wechat.protobuf.Favitem.GetFavInfoResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Favitem.GetFavInfoResponse();
}
public static wechat.protobuf.Favitem.GetFavInfoResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetFavInfoResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetFavInfoResponse(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.Favitem.GetFavInfoResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AddFavItemRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.AddFavItemRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
boolean hasBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
wechat.protobuf.BaseRequest getBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder();
/**
* optional string clientId = 2;
* @return Whether the clientId field is set.
*/
boolean hasClientId();
/**
* optional string clientId = 2;
* @return The clientId.
*/
java.lang.String getClientId();
/**
* optional string clientId = 2;
* @return The bytes for clientId.
*/
com.google.protobuf.ByteString
getClientIdBytes();
/**
* optional uint32 type = 3;
* @return Whether the type field is set.
*/
boolean hasType();
/**
* optional uint32 type = 3;
* @return The type.
*/
int getType();
/**
* optional uint32 sourceType = 4;
* @return Whether the sourceType field is set.
*/
boolean hasSourceType();
/**
* optional uint32 sourceType = 4;
* @return The sourceType.
*/
int getSourceType();
/**
* optional string sourceId = 5;
* @return Whether the sourceId field is set.
*/
boolean hasSourceId();
/**
* optional string sourceId = 5;
* @return The sourceId.
*/
java.lang.String getSourceId();
/**
* optional string sourceId = 5;
* @return The bytes for sourceId.
*/
com.google.protobuf.ByteString
getSourceIdBytes();
/**
* optional string object = 6;
* @return Whether the object field is set.
*/
boolean hasObject();
/**
* optional string object = 6;
* @return The object.
*/
java.lang.String getObject();
/**
* optional string object = 6;
* @return The bytes for object.
*/
com.google.protobuf.ByteString
getObjectBytes();
}
/**
* Protobuf type {@code wechat_proto.AddFavItemRequest}
*/
public static final class AddFavItemRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.AddFavItemRequest)
AddFavItemRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AddFavItemRequest.newBuilder() to construct.
private AddFavItemRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AddFavItemRequest() {
clientId_ = "";
sourceId_ = "";
object_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AddFavItemRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AddFavItemRequest(
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 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
clientId_ = bs;
break;
}
case 24: {
bitField0_ |= 0x00000004;
type_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
sourceType_ = input.readUInt32();
break;
}
case 42: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
sourceId_ = bs;
break;
}
case 50: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
object_ = bs;
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.Favitem.internal_static_wechat_proto_AddFavItemRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_AddFavItemRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.AddFavItemRequest.class, wechat.protobuf.Favitem.AddFavItemRequest.Builder.class);
}
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 CLIENTID_FIELD_NUMBER = 2;
private volatile java.lang.Object clientId_;
/**
* optional string clientId = 2;
* @return Whether the clientId field is set.
*/
@java.lang.Override
public boolean hasClientId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string clientId = 2;
* @return The clientId.
*/
@java.lang.Override
public java.lang.String getClientId() {
java.lang.Object ref = clientId_;
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()) {
clientId_ = s;
}
return s;
}
}
/**
* optional string clientId = 2;
* @return The bytes for clientId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClientIdBytes() {
java.lang.Object ref = clientId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TYPE_FIELD_NUMBER = 3;
private int type_;
/**
* optional uint32 type = 3;
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 type = 3;
* @return The type.
*/
@java.lang.Override
public int getType() {
return type_;
}
public static final int SOURCETYPE_FIELD_NUMBER = 4;
private int sourceType_;
/**
* optional uint32 sourceType = 4;
* @return Whether the sourceType field is set.
*/
@java.lang.Override
public boolean hasSourceType() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 sourceType = 4;
* @return The sourceType.
*/
@java.lang.Override
public int getSourceType() {
return sourceType_;
}
public static final int SOURCEID_FIELD_NUMBER = 5;
private volatile java.lang.Object sourceId_;
/**
* optional string sourceId = 5;
* @return Whether the sourceId field is set.
*/
@java.lang.Override
public boolean hasSourceId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string sourceId = 5;
* @return The sourceId.
*/
@java.lang.Override
public java.lang.String getSourceId() {
java.lang.Object ref = sourceId_;
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()) {
sourceId_ = s;
}
return s;
}
}
/**
* optional string sourceId = 5;
* @return The bytes for sourceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourceIdBytes() {
java.lang.Object ref = sourceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sourceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OBJECT_FIELD_NUMBER = 6;
private volatile java.lang.Object object_;
/**
* optional string object = 6;
* @return Whether the object field is set.
*/
@java.lang.Override
public boolean hasObject() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string object = 6;
* @return The object.
*/
@java.lang.Override
public java.lang.String getObject() {
java.lang.Object ref = object_;
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()) {
object_ = s;
}
return s;
}
}
/**
* optional string object = 6;
* @return The bytes for object.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getObjectBytes() {
java.lang.Object ref = object_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
object_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clientId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, type_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, sourceType_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, sourceId_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, object_);
}
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.GeneratedMessageV3.computeStringSize(2, clientId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, type_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, sourceType_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, sourceId_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, object_);
}
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.Favitem.AddFavItemRequest)) {
return super.equals(obj);
}
wechat.protobuf.Favitem.AddFavItemRequest other = (wechat.protobuf.Favitem.AddFavItemRequest) obj;
if (hasBaseRequest() != other.hasBaseRequest()) return false;
if (hasBaseRequest()) {
if (!getBaseRequest()
.equals(other.getBaseRequest())) return false;
}
if (hasClientId() != other.hasClientId()) return false;
if (hasClientId()) {
if (!getClientId()
.equals(other.getClientId())) return false;
}
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (getType()
!= other.getType()) return false;
}
if (hasSourceType() != other.hasSourceType()) return false;
if (hasSourceType()) {
if (getSourceType()
!= other.getSourceType()) return false;
}
if (hasSourceId() != other.hasSourceId()) return false;
if (hasSourceId()) {
if (!getSourceId()
.equals(other.getSourceId())) return false;
}
if (hasObject() != other.hasObject()) return false;
if (hasObject()) {
if (!getObject()
.equals(other.getObject())) 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 (hasClientId()) {
hash = (37 * hash) + CLIENTID_FIELD_NUMBER;
hash = (53 * hash) + getClientId().hashCode();
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType();
}
if (hasSourceType()) {
hash = (37 * hash) + SOURCETYPE_FIELD_NUMBER;
hash = (53 * hash) + getSourceType();
}
if (hasSourceId()) {
hash = (37 * hash) + SOURCEID_FIELD_NUMBER;
hash = (53 * hash) + getSourceId().hashCode();
}
if (hasObject()) {
hash = (37 * hash) + OBJECT_FIELD_NUMBER;
hash = (53 * hash) + getObject().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Favitem.AddFavItemRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.AddFavItemRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.AddFavItemRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.AddFavItemRequest 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.Favitem.AddFavItemRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.AddFavItemRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.AddFavItemRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.AddFavItemRequest 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.Favitem.AddFavItemRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.AddFavItemRequest 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.Favitem.AddFavItemRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.AddFavItemRequest 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.Favitem.AddFavItemRequest 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.AddFavItemRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.AddFavItemRequest)
wechat.protobuf.Favitem.AddFavItemRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_AddFavItemRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_AddFavItemRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.AddFavItemRequest.class, wechat.protobuf.Favitem.AddFavItemRequest.Builder.class);
}
// Construct using wechat.protobuf.Favitem.AddFavItemRequest.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();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
clientId_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
type_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
sourceType_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
sourceId_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
object_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_AddFavItemRequest_descriptor;
}
@java.lang.Override
public wechat.protobuf.Favitem.AddFavItemRequest getDefaultInstanceForType() {
return wechat.protobuf.Favitem.AddFavItemRequest.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Favitem.AddFavItemRequest build() {
wechat.protobuf.Favitem.AddFavItemRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Favitem.AddFavItemRequest buildPartial() {
wechat.protobuf.Favitem.AddFavItemRequest result = new wechat.protobuf.Favitem.AddFavItemRequest(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)) {
to_bitField0_ |= 0x00000002;
}
result.clientId_ = clientId_;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.type_ = type_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.sourceType_ = sourceType_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.sourceId_ = sourceId_;
if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.object_ = object_;
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.Favitem.AddFavItemRequest) {
return mergeFrom((wechat.protobuf.Favitem.AddFavItemRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Favitem.AddFavItemRequest other) {
if (other == wechat.protobuf.Favitem.AddFavItemRequest.getDefaultInstance()) return this;
if (other.hasBaseRequest()) {
mergeBaseRequest(other.getBaseRequest());
}
if (other.hasClientId()) {
bitField0_ |= 0x00000002;
clientId_ = other.clientId_;
onChanged();
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasSourceType()) {
setSourceType(other.getSourceType());
}
if (other.hasSourceId()) {
bitField0_ |= 0x00000010;
sourceId_ = other.sourceId_;
onChanged();
}
if (other.hasObject()) {
bitField0_ |= 0x00000020;
object_ = other.object_;
onChanged();
}
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.Favitem.AddFavItemRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Favitem.AddFavItemRequest) 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 java.lang.Object clientId_ = "";
/**
* optional string clientId = 2;
* @return Whether the clientId field is set.
*/
public boolean hasClientId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string clientId = 2;
* @return The clientId.
*/
public java.lang.String getClientId() {
java.lang.Object ref = clientId_;
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()) {
clientId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string clientId = 2;
* @return The bytes for clientId.
*/
public com.google.protobuf.ByteString
getClientIdBytes() {
java.lang.Object ref = clientId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string clientId = 2;
* @param value The clientId to set.
* @return This builder for chaining.
*/
public Builder setClientId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
clientId_ = value;
onChanged();
return this;
}
/**
* optional string clientId = 2;
* @return This builder for chaining.
*/
public Builder clearClientId() {
bitField0_ = (bitField0_ & ~0x00000002);
clientId_ = getDefaultInstance().getClientId();
onChanged();
return this;
}
/**
* optional string clientId = 2;
* @param value The bytes for clientId to set.
* @return This builder for chaining.
*/
public Builder setClientIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
clientId_ = value;
onChanged();
return this;
}
private int type_ ;
/**
* optional uint32 type = 3;
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 type = 3;
* @return The type.
*/
@java.lang.Override
public int getType() {
return type_;
}
/**
* optional uint32 type = 3;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(int value) {
bitField0_ |= 0x00000004;
type_ = value;
onChanged();
return this;
}
/**
* optional uint32 type = 3;
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000004);
type_ = 0;
onChanged();
return this;
}
private int sourceType_ ;
/**
* optional uint32 sourceType = 4;
* @return Whether the sourceType field is set.
*/
@java.lang.Override
public boolean hasSourceType() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 sourceType = 4;
* @return The sourceType.
*/
@java.lang.Override
public int getSourceType() {
return sourceType_;
}
/**
* optional uint32 sourceType = 4;
* @param value The sourceType to set.
* @return This builder for chaining.
*/
public Builder setSourceType(int value) {
bitField0_ |= 0x00000008;
sourceType_ = value;
onChanged();
return this;
}
/**
* optional uint32 sourceType = 4;
* @return This builder for chaining.
*/
public Builder clearSourceType() {
bitField0_ = (bitField0_ & ~0x00000008);
sourceType_ = 0;
onChanged();
return this;
}
private java.lang.Object sourceId_ = "";
/**
* optional string sourceId = 5;
* @return Whether the sourceId field is set.
*/
public boolean hasSourceId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string sourceId = 5;
* @return The sourceId.
*/
public java.lang.String getSourceId() {
java.lang.Object ref = sourceId_;
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()) {
sourceId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string sourceId = 5;
* @return The bytes for sourceId.
*/
public com.google.protobuf.ByteString
getSourceIdBytes() {
java.lang.Object ref = sourceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sourceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string sourceId = 5;
* @param value The sourceId to set.
* @return This builder for chaining.
*/
public Builder setSourceId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
sourceId_ = value;
onChanged();
return this;
}
/**
* optional string sourceId = 5;
* @return This builder for chaining.
*/
public Builder clearSourceId() {
bitField0_ = (bitField0_ & ~0x00000010);
sourceId_ = getDefaultInstance().getSourceId();
onChanged();
return this;
}
/**
* optional string sourceId = 5;
* @param value The bytes for sourceId to set.
* @return This builder for chaining.
*/
public Builder setSourceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
sourceId_ = value;
onChanged();
return this;
}
private java.lang.Object object_ = "";
/**
* optional string object = 6;
* @return Whether the object field is set.
*/
public boolean hasObject() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string object = 6;
* @return The object.
*/
public java.lang.String getObject() {
java.lang.Object ref = object_;
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()) {
object_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string object = 6;
* @return The bytes for object.
*/
public com.google.protobuf.ByteString
getObjectBytes() {
java.lang.Object ref = object_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
object_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string object = 6;
* @param value The object to set.
* @return This builder for chaining.
*/
public Builder setObject(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
object_ = value;
onChanged();
return this;
}
/**
* optional string object = 6;
* @return This builder for chaining.
*/
public Builder clearObject() {
bitField0_ = (bitField0_ & ~0x00000020);
object_ = getDefaultInstance().getObject();
onChanged();
return this;
}
/**
* optional string object = 6;
* @param value The bytes for object to set.
* @return This builder for chaining.
*/
public Builder setObjectBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
object_ = value;
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.AddFavItemRequest)
}
// @@protoc_insertion_point(class_scope:wechat_proto.AddFavItemRequest)
private static final wechat.protobuf.Favitem.AddFavItemRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Favitem.AddFavItemRequest();
}
public static wechat.protobuf.Favitem.AddFavItemRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AddFavItemRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AddFavItemRequest(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.Favitem.AddFavItemRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AddFavItemResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.AddFavItemResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
boolean hasBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
wechat.protobuf.BaseResponse getBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder();
/**
* optional uint32 favId = 2;
* @return Whether the favId field is set.
*/
boolean hasFavId();
/**
* optional uint32 favId = 2;
* @return The favId.
*/
int getFavId();
/**
* optional uint32 updateSeq = 3;
* @return Whether the updateSeq field is set.
*/
boolean hasUpdateSeq();
/**
* optional uint32 updateSeq = 3;
* @return The updateSeq.
*/
int getUpdateSeq();
/**
* optional uint64 usedSize = 4;
* @return Whether the usedSize field is set.
*/
boolean hasUsedSize();
/**
* optional uint64 usedSize = 4;
* @return The usedSize.
*/
long getUsedSize();
}
/**
* Protobuf type {@code wechat_proto.AddFavItemResponse}
*/
public static final class AddFavItemResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.AddFavItemResponse)
AddFavItemResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AddFavItemResponse.newBuilder() to construct.
private AddFavItemResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AddFavItemResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AddFavItemResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AddFavItemResponse(
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.BaseResponse.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = baseResponse_.toBuilder();
}
baseResponse_ = input.readMessage(wechat.protobuf.BaseResponse.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseResponse_);
baseResponse_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
favId_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
updateSeq_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
usedSize_ = input.readUInt64();
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.Favitem.internal_static_wechat_proto_AddFavItemResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_AddFavItemResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.AddFavItemResponse.class, wechat.protobuf.Favitem.AddFavItemResponse.Builder.class);
}
private int bitField0_;
public static final int BASERESPONSE_FIELD_NUMBER = 1;
private wechat.protobuf.BaseResponse baseResponse_;
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
@java.lang.Override
public boolean hasBaseResponse() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
@java.lang.Override
public wechat.protobuf.BaseResponse getBaseResponse() {
return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
@java.lang.Override
public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() {
return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
}
public static final int FAVID_FIELD_NUMBER = 2;
private int favId_;
/**
* optional uint32 favId = 2;
* @return Whether the favId field is set.
*/
@java.lang.Override
public boolean hasFavId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 favId = 2;
* @return The favId.
*/
@java.lang.Override
public int getFavId() {
return favId_;
}
public static final int UPDATESEQ_FIELD_NUMBER = 3;
private int updateSeq_;
/**
* optional uint32 updateSeq = 3;
* @return Whether the updateSeq field is set.
*/
@java.lang.Override
public boolean hasUpdateSeq() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 updateSeq = 3;
* @return The updateSeq.
*/
@java.lang.Override
public int getUpdateSeq() {
return updateSeq_;
}
public static final int USEDSIZE_FIELD_NUMBER = 4;
private long usedSize_;
/**
* optional uint64 usedSize = 4;
* @return Whether the usedSize field is set.
*/
@java.lang.Override
public boolean hasUsedSize() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint64 usedSize = 4;
* @return The usedSize.
*/
@java.lang.Override
public long getUsedSize() {
return usedSize_;
}
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, getBaseResponse());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, favId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, updateSeq_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt64(4, usedSize_);
}
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, getBaseResponse());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, favId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, updateSeq_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, usedSize_);
}
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.Favitem.AddFavItemResponse)) {
return super.equals(obj);
}
wechat.protobuf.Favitem.AddFavItemResponse other = (wechat.protobuf.Favitem.AddFavItemResponse) obj;
if (hasBaseResponse() != other.hasBaseResponse()) return false;
if (hasBaseResponse()) {
if (!getBaseResponse()
.equals(other.getBaseResponse())) return false;
}
if (hasFavId() != other.hasFavId()) return false;
if (hasFavId()) {
if (getFavId()
!= other.getFavId()) return false;
}
if (hasUpdateSeq() != other.hasUpdateSeq()) return false;
if (hasUpdateSeq()) {
if (getUpdateSeq()
!= other.getUpdateSeq()) return false;
}
if (hasUsedSize() != other.hasUsedSize()) return false;
if (hasUsedSize()) {
if (getUsedSize()
!= other.getUsedSize()) 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 (hasBaseResponse()) {
hash = (37 * hash) + BASERESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getBaseResponse().hashCode();
}
if (hasFavId()) {
hash = (37 * hash) + FAVID_FIELD_NUMBER;
hash = (53 * hash) + getFavId();
}
if (hasUpdateSeq()) {
hash = (37 * hash) + UPDATESEQ_FIELD_NUMBER;
hash = (53 * hash) + getUpdateSeq();
}
if (hasUsedSize()) {
hash = (37 * hash) + USEDSIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getUsedSize());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Favitem.AddFavItemResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.AddFavItemResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.AddFavItemResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.AddFavItemResponse 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.Favitem.AddFavItemResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.AddFavItemResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.AddFavItemResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.AddFavItemResponse 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.Favitem.AddFavItemResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.AddFavItemResponse 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.Favitem.AddFavItemResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.AddFavItemResponse 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.Favitem.AddFavItemResponse 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.AddFavItemResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.AddFavItemResponse)
wechat.protobuf.Favitem.AddFavItemResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_AddFavItemResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_AddFavItemResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.AddFavItemResponse.class, wechat.protobuf.Favitem.AddFavItemResponse.Builder.class);
}
// Construct using wechat.protobuf.Favitem.AddFavItemResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBaseResponseFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
favId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
updateSeq_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
usedSize_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_AddFavItemResponse_descriptor;
}
@java.lang.Override
public wechat.protobuf.Favitem.AddFavItemResponse getDefaultInstanceForType() {
return wechat.protobuf.Favitem.AddFavItemResponse.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Favitem.AddFavItemResponse build() {
wechat.protobuf.Favitem.AddFavItemResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Favitem.AddFavItemResponse buildPartial() {
wechat.protobuf.Favitem.AddFavItemResponse result = new wechat.protobuf.Favitem.AddFavItemResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (baseResponseBuilder_ == null) {
result.baseResponse_ = baseResponse_;
} else {
result.baseResponse_ = baseResponseBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.favId_ = favId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.updateSeq_ = updateSeq_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.usedSize_ = usedSize_;
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.Favitem.AddFavItemResponse) {
return mergeFrom((wechat.protobuf.Favitem.AddFavItemResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Favitem.AddFavItemResponse other) {
if (other == wechat.protobuf.Favitem.AddFavItemResponse.getDefaultInstance()) return this;
if (other.hasBaseResponse()) {
mergeBaseResponse(other.getBaseResponse());
}
if (other.hasFavId()) {
setFavId(other.getFavId());
}
if (other.hasUpdateSeq()) {
setUpdateSeq(other.getUpdateSeq());
}
if (other.hasUsedSize()) {
setUsedSize(other.getUsedSize());
}
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.Favitem.AddFavItemResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Favitem.AddFavItemResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private wechat.protobuf.BaseResponse baseResponse_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder> baseResponseBuilder_;
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
public boolean hasBaseResponse() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
public wechat.protobuf.BaseResponse getBaseResponse() {
if (baseResponseBuilder_ == null) {
return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
} else {
return baseResponseBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder setBaseResponse(wechat.protobuf.BaseResponse value) {
if (baseResponseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseResponse_ = value;
onChanged();
} else {
baseResponseBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder setBaseResponse(
wechat.protobuf.BaseResponse.Builder builderForValue) {
if (baseResponseBuilder_ == null) {
baseResponse_ = builderForValue.build();
onChanged();
} else {
baseResponseBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder mergeBaseResponse(wechat.protobuf.BaseResponse value) {
if (baseResponseBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
baseResponse_ != null &&
baseResponse_ != wechat.protobuf.BaseResponse.getDefaultInstance()) {
baseResponse_ =
wechat.protobuf.BaseResponse.newBuilder(baseResponse_).mergeFrom(value).buildPartial();
} else {
baseResponse_ = value;
}
onChanged();
} else {
baseResponseBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder clearBaseResponse() {
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
onChanged();
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public wechat.protobuf.BaseResponse.Builder getBaseResponseBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getBaseResponseFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() {
if (baseResponseBuilder_ != null) {
return baseResponseBuilder_.getMessageOrBuilder();
} else {
return baseResponse_ == null ?
wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
}
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder>
getBaseResponseFieldBuilder() {
if (baseResponseBuilder_ == null) {
baseResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder>(
getBaseResponse(),
getParentForChildren(),
isClean());
baseResponse_ = null;
}
return baseResponseBuilder_;
}
private int favId_ ;
/**
* optional uint32 favId = 2;
* @return Whether the favId field is set.
*/
@java.lang.Override
public boolean hasFavId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 favId = 2;
* @return The favId.
*/
@java.lang.Override
public int getFavId() {
return favId_;
}
/**
* optional uint32 favId = 2;
* @param value The favId to set.
* @return This builder for chaining.
*/
public Builder setFavId(int value) {
bitField0_ |= 0x00000002;
favId_ = value;
onChanged();
return this;
}
/**
* optional uint32 favId = 2;
* @return This builder for chaining.
*/
public Builder clearFavId() {
bitField0_ = (bitField0_ & ~0x00000002);
favId_ = 0;
onChanged();
return this;
}
private int updateSeq_ ;
/**
* optional uint32 updateSeq = 3;
* @return Whether the updateSeq field is set.
*/
@java.lang.Override
public boolean hasUpdateSeq() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 updateSeq = 3;
* @return The updateSeq.
*/
@java.lang.Override
public int getUpdateSeq() {
return updateSeq_;
}
/**
* optional uint32 updateSeq = 3;
* @param value The updateSeq to set.
* @return This builder for chaining.
*/
public Builder setUpdateSeq(int value) {
bitField0_ |= 0x00000004;
updateSeq_ = value;
onChanged();
return this;
}
/**
* optional uint32 updateSeq = 3;
* @return This builder for chaining.
*/
public Builder clearUpdateSeq() {
bitField0_ = (bitField0_ & ~0x00000004);
updateSeq_ = 0;
onChanged();
return this;
}
private long usedSize_ ;
/**
* optional uint64 usedSize = 4;
* @return Whether the usedSize field is set.
*/
@java.lang.Override
public boolean hasUsedSize() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint64 usedSize = 4;
* @return The usedSize.
*/
@java.lang.Override
public long getUsedSize() {
return usedSize_;
}
/**
* optional uint64 usedSize = 4;
* @param value The usedSize to set.
* @return This builder for chaining.
*/
public Builder setUsedSize(long value) {
bitField0_ |= 0x00000008;
usedSize_ = value;
onChanged();
return this;
}
/**
* optional uint64 usedSize = 4;
* @return This builder for chaining.
*/
public Builder clearUsedSize() {
bitField0_ = (bitField0_ & ~0x00000008);
usedSize_ = 0L;
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.AddFavItemResponse)
}
// @@protoc_insertion_point(class_scope:wechat_proto.AddFavItemResponse)
private static final wechat.protobuf.Favitem.AddFavItemResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Favitem.AddFavItemResponse();
}
public static wechat.protobuf.Favitem.AddFavItemResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AddFavItemResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AddFavItemResponse(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.Favitem.AddFavItemResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DelFavItemRspOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.DelFavItemRsp)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 ret = 1;
* @return Whether the ret field is set.
*/
boolean hasRet();
/**
* optional int32 ret = 1;
* @return The ret.
*/
int getRet();
/**
* optional uint32 favId = 2;
* @return Whether the favId field is set.
*/
boolean hasFavId();
/**
* optional uint32 favId = 2;
* @return The favId.
*/
int getFavId();
}
/**
* Protobuf type {@code wechat_proto.DelFavItemRsp}
*/
public static final class DelFavItemRsp extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.DelFavItemRsp)
DelFavItemRspOrBuilder {
private static final long serialVersionUID = 0L;
// Use DelFavItemRsp.newBuilder() to construct.
private DelFavItemRsp(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DelFavItemRsp() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DelFavItemRsp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DelFavItemRsp(
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;
ret_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
favId_ = input.readUInt32();
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.Favitem.internal_static_wechat_proto_DelFavItemRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_DelFavItemRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.DelFavItemRsp.class, wechat.protobuf.Favitem.DelFavItemRsp.Builder.class);
}
private int bitField0_;
public static final int RET_FIELD_NUMBER = 1;
private int ret_;
/**
* optional int32 ret = 1;
* @return Whether the ret field is set.
*/
@java.lang.Override
public boolean hasRet() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 ret = 1;
* @return The ret.
*/
@java.lang.Override
public int getRet() {
return ret_;
}
public static final int FAVID_FIELD_NUMBER = 2;
private int favId_;
/**
* optional uint32 favId = 2;
* @return Whether the favId field is set.
*/
@java.lang.Override
public boolean hasFavId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 favId = 2;
* @return The favId.
*/
@java.lang.Override
public int getFavId() {
return favId_;
}
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, ret_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, favId_);
}
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, ret_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, favId_);
}
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.Favitem.DelFavItemRsp)) {
return super.equals(obj);
}
wechat.protobuf.Favitem.DelFavItemRsp other = (wechat.protobuf.Favitem.DelFavItemRsp) obj;
if (hasRet() != other.hasRet()) return false;
if (hasRet()) {
if (getRet()
!= other.getRet()) return false;
}
if (hasFavId() != other.hasFavId()) return false;
if (hasFavId()) {
if (getFavId()
!= other.getFavId()) 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 (hasRet()) {
hash = (37 * hash) + RET_FIELD_NUMBER;
hash = (53 * hash) + getRet();
}
if (hasFavId()) {
hash = (37 * hash) + FAVID_FIELD_NUMBER;
hash = (53 * hash) + getFavId();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Favitem.DelFavItemRsp parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.DelFavItemRsp parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.DelFavItemRsp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.DelFavItemRsp 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.Favitem.DelFavItemRsp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.DelFavItemRsp parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.DelFavItemRsp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.DelFavItemRsp 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.Favitem.DelFavItemRsp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.DelFavItemRsp 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.Favitem.DelFavItemRsp parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.DelFavItemRsp 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.Favitem.DelFavItemRsp 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.DelFavItemRsp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.DelFavItemRsp)
wechat.protobuf.Favitem.DelFavItemRspOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_DelFavItemRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_DelFavItemRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.DelFavItemRsp.class, wechat.protobuf.Favitem.DelFavItemRsp.Builder.class);
}
// Construct using wechat.protobuf.Favitem.DelFavItemRsp.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();
ret_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
favId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_DelFavItemRsp_descriptor;
}
@java.lang.Override
public wechat.protobuf.Favitem.DelFavItemRsp getDefaultInstanceForType() {
return wechat.protobuf.Favitem.DelFavItemRsp.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Favitem.DelFavItemRsp build() {
wechat.protobuf.Favitem.DelFavItemRsp result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Favitem.DelFavItemRsp buildPartial() {
wechat.protobuf.Favitem.DelFavItemRsp result = new wechat.protobuf.Favitem.DelFavItemRsp(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.ret_ = ret_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.favId_ = favId_;
to_bitField0_ |= 0x00000002;
}
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.Favitem.DelFavItemRsp) {
return mergeFrom((wechat.protobuf.Favitem.DelFavItemRsp)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Favitem.DelFavItemRsp other) {
if (other == wechat.protobuf.Favitem.DelFavItemRsp.getDefaultInstance()) return this;
if (other.hasRet()) {
setRet(other.getRet());
}
if (other.hasFavId()) {
setFavId(other.getFavId());
}
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.Favitem.DelFavItemRsp parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Favitem.DelFavItemRsp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int ret_ ;
/**
* optional int32 ret = 1;
* @return Whether the ret field is set.
*/
@java.lang.Override
public boolean hasRet() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 ret = 1;
* @return The ret.
*/
@java.lang.Override
public int getRet() {
return ret_;
}
/**
* optional int32 ret = 1;
* @param value The ret to set.
* @return This builder for chaining.
*/
public Builder setRet(int value) {
bitField0_ |= 0x00000001;
ret_ = value;
onChanged();
return this;
}
/**
* optional int32 ret = 1;
* @return This builder for chaining.
*/
public Builder clearRet() {
bitField0_ = (bitField0_ & ~0x00000001);
ret_ = 0;
onChanged();
return this;
}
private int favId_ ;
/**
* optional uint32 favId = 2;
* @return Whether the favId field is set.
*/
@java.lang.Override
public boolean hasFavId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 favId = 2;
* @return The favId.
*/
@java.lang.Override
public int getFavId() {
return favId_;
}
/**
* optional uint32 favId = 2;
* @param value The favId to set.
* @return This builder for chaining.
*/
public Builder setFavId(int value) {
bitField0_ |= 0x00000002;
favId_ = value;
onChanged();
return this;
}
/**
* optional uint32 favId = 2;
* @return This builder for chaining.
*/
public Builder clearFavId() {
bitField0_ = (bitField0_ & ~0x00000002);
favId_ = 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.DelFavItemRsp)
}
// @@protoc_insertion_point(class_scope:wechat_proto.DelFavItemRsp)
private static final wechat.protobuf.Favitem.DelFavItemRsp DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Favitem.DelFavItemRsp();
}
public static wechat.protobuf.Favitem.DelFavItemRsp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DelFavItemRsp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DelFavItemRsp(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.Favitem.DelFavItemRsp getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FavObjectOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.FavObject)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 favId = 1;
* @return Whether the favId field is set.
*/
boolean hasFavId();
/**
* optional uint32 favId = 1;
* @return The favId.
*/
int getFavId();
/**
* optional int32 status = 2;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* optional int32 status = 2;
* @return The status.
*/
int getStatus();
/**
* optional string object = 3;
* @return Whether the object field is set.
*/
boolean hasObject();
/**
* optional string object = 3;
* @return The object.
*/
java.lang.String getObject();
/**
* optional string object = 3;
* @return The bytes for object.
*/
com.google.protobuf.ByteString
getObjectBytes();
/**
* optional uint32 flag = 4;
* @return Whether the flag field is set.
*/
boolean hasFlag();
/**
* optional uint32 flag = 4;
* @return The flag.
*/
int getFlag();
/**
* optional uint32 updateTime = 5;
* @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
* optional uint32 updateTime = 5;
* @return The updateTime.
*/
int getUpdateTime();
/**
* optional uint32 updateSeq = 6;
* @return Whether the updateSeq field is set.
*/
boolean hasUpdateSeq();
/**
* optional uint32 updateSeq = 6;
* @return The updateSeq.
*/
int getUpdateSeq();
}
/**
* Protobuf type {@code wechat_proto.FavObject}
*/
public static final class FavObject extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.FavObject)
FavObjectOrBuilder {
private static final long serialVersionUID = 0L;
// Use FavObject.newBuilder() to construct.
private FavObject(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FavObject() {
object_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FavObject();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FavObject(
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;
favId_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
status_ = input.readInt32();
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
object_ = bs;
break;
}
case 32: {
bitField0_ |= 0x00000008;
flag_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
updateTime_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
updateSeq_ = input.readUInt32();
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.Favitem.internal_static_wechat_proto_FavObject_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_FavObject_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.FavObject.class, wechat.protobuf.Favitem.FavObject.Builder.class);
}
private int bitField0_;
public static final int FAVID_FIELD_NUMBER = 1;
private int favId_;
/**
* optional uint32 favId = 1;
* @return Whether the favId field is set.
*/
@java.lang.Override
public boolean hasFavId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 favId = 1;
* @return The favId.
*/
@java.lang.Override
public int getFavId() {
return favId_;
}
public static final int STATUS_FIELD_NUMBER = 2;
private int status_;
/**
* optional int32 status = 2;
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 status = 2;
* @return The status.
*/
@java.lang.Override
public int getStatus() {
return status_;
}
public static final int OBJECT_FIELD_NUMBER = 3;
private volatile java.lang.Object object_;
/**
* optional string object = 3;
* @return Whether the object field is set.
*/
@java.lang.Override
public boolean hasObject() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string object = 3;
* @return The object.
*/
@java.lang.Override
public java.lang.String getObject() {
java.lang.Object ref = object_;
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()) {
object_ = s;
}
return s;
}
}
/**
* optional string object = 3;
* @return The bytes for object.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getObjectBytes() {
java.lang.Object ref = object_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
object_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FLAG_FIELD_NUMBER = 4;
private int flag_;
/**
* optional uint32 flag = 4;
* @return Whether the flag field is set.
*/
@java.lang.Override
public boolean hasFlag() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 flag = 4;
* @return The flag.
*/
@java.lang.Override
public int getFlag() {
return flag_;
}
public static final int UPDATETIME_FIELD_NUMBER = 5;
private int updateTime_;
/**
* optional uint32 updateTime = 5;
* @return Whether the updateTime field is set.
*/
@java.lang.Override
public boolean hasUpdateTime() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 updateTime = 5;
* @return The updateTime.
*/
@java.lang.Override
public int getUpdateTime() {
return updateTime_;
}
public static final int UPDATESEQ_FIELD_NUMBER = 6;
private int updateSeq_;
/**
* optional uint32 updateSeq = 6;
* @return Whether the updateSeq field is set.
*/
@java.lang.Override
public boolean hasUpdateSeq() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 updateSeq = 6;
* @return The updateSeq.
*/
@java.lang.Override
public int getUpdateSeq() {
return updateSeq_;
}
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.writeUInt32(1, favId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(2, status_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, object_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, flag_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, updateTime_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(6, updateSeq_);
}
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
.computeUInt32Size(1, favId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, status_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, object_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, flag_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, updateTime_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, updateSeq_);
}
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.Favitem.FavObject)) {
return super.equals(obj);
}
wechat.protobuf.Favitem.FavObject other = (wechat.protobuf.Favitem.FavObject) obj;
if (hasFavId() != other.hasFavId()) return false;
if (hasFavId()) {
if (getFavId()
!= other.getFavId()) return false;
}
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (getStatus()
!= other.getStatus()) return false;
}
if (hasObject() != other.hasObject()) return false;
if (hasObject()) {
if (!getObject()
.equals(other.getObject())) return false;
}
if (hasFlag() != other.hasFlag()) return false;
if (hasFlag()) {
if (getFlag()
!= other.getFlag()) return false;
}
if (hasUpdateTime() != other.hasUpdateTime()) return false;
if (hasUpdateTime()) {
if (getUpdateTime()
!= other.getUpdateTime()) return false;
}
if (hasUpdateSeq() != other.hasUpdateSeq()) return false;
if (hasUpdateSeq()) {
if (getUpdateSeq()
!= other.getUpdateSeq()) 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 (hasFavId()) {
hash = (37 * hash) + FAVID_FIELD_NUMBER;
hash = (53 * hash) + getFavId();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus();
}
if (hasObject()) {
hash = (37 * hash) + OBJECT_FIELD_NUMBER;
hash = (53 * hash) + getObject().hashCode();
}
if (hasFlag()) {
hash = (37 * hash) + FLAG_FIELD_NUMBER;
hash = (53 * hash) + getFlag();
}
if (hasUpdateTime()) {
hash = (37 * hash) + UPDATETIME_FIELD_NUMBER;
hash = (53 * hash) + getUpdateTime();
}
if (hasUpdateSeq()) {
hash = (37 * hash) + UPDATESEQ_FIELD_NUMBER;
hash = (53 * hash) + getUpdateSeq();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Favitem.FavObject parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.FavObject parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.FavObject parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.FavObject 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.Favitem.FavObject parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Favitem.FavObject parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Favitem.FavObject parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.FavObject 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.Favitem.FavObject parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.FavObject 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.Favitem.FavObject parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Favitem.FavObject 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.Favitem.FavObject 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.FavObject}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.FavObject)
wechat.protobuf.Favitem.FavObjectOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_FavObject_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_FavObject_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Favitem.FavObject.class, wechat.protobuf.Favitem.FavObject.Builder.class);
}
// Construct using wechat.protobuf.Favitem.FavObject.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();
favId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
status_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
object_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
flag_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
updateTime_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
updateSeq_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Favitem.internal_static_wechat_proto_FavObject_descriptor;
}
@java.lang.Override
public wechat.protobuf.Favitem.FavObject getDefaultInstanceForType() {
return wechat.protobuf.Favitem.FavObject.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Favitem.FavObject build() {
wechat.protobuf.Favitem.FavObject result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Favitem.FavObject buildPartial() {
wechat.protobuf.Favitem.FavObject result = new wechat.protobuf.Favitem.FavObject(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.favId_ = favId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.status_ = status_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.object_ = object_;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.flag_ = flag_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.updateTime_ = updateTime_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.updateSeq_ = updateSeq_;
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.Favitem.FavObject) {
return mergeFrom((wechat.protobuf.Favitem.FavObject)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Favitem.FavObject other) {
if (other == wechat.protobuf.Favitem.FavObject.getDefaultInstance()) return this;
if (other.hasFavId()) {
setFavId(other.getFavId());
}
if (other.hasStatus()) {
setStatus(other.getStatus());
}
if (other.hasObject()) {
bitField0_ |= 0x00000004;
object_ = other.object_;
onChanged();
}
if (other.hasFlag()) {
setFlag(other.getFlag());
}
if (other.hasUpdateTime()) {
setUpdateTime(other.getUpdateTime());
}
if (other.hasUpdateSeq()) {
setUpdateSeq(other.getUpdateSeq());
}
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.Favitem.FavObject parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Favitem.FavObject) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int favId_ ;
/**
* optional uint32 favId = 1;
* @return Whether the favId field is set.
*/
@java.lang.Override
public boolean hasFavId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 favId = 1;
* @return The favId.
*/
@java.lang.Override
public int getFavId() {
return favId_;
}
/**
* optional uint32 favId = 1;
* @param value The favId to set.
* @return This builder for chaining.
*/
public Builder setFavId(int value) {
bitField0_ |= 0x00000001;
favId_ = value;
onChanged();
return this;
}
/**
* optional uint32 favId = 1;
* @return This builder for chaining.
*/
public Builder clearFavId() {
bitField0_ = (bitField0_ & ~0x00000001);
favId_ = 0;
onChanged();
return this;
}
private int status_ ;
/**
* optional int32 status = 2;
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 status = 2;
* @return The status.
*/
@java.lang.Override
public int getStatus() {
return status_;
}
/**
* optional int32 status = 2;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(int value) {
bitField0_ |= 0x00000002;
status_ = value;
onChanged();
return this;
}
/**
* optional int32 status = 2;
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000002);
status_ = 0;
onChanged();
return this;
}
private java.lang.Object object_ = "";
/**
* optional string object = 3;
* @return Whether the object field is set.
*/
public boolean hasObject() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string object = 3;
* @return The object.
*/
public java.lang.String getObject() {
java.lang.Object ref = object_;
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()) {
object_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string object = 3;
* @return The bytes for object.
*/
public com.google.protobuf.ByteString
getObjectBytes() {
java.lang.Object ref = object_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
object_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string object = 3;
* @param value The object to set.
* @return This builder for chaining.
*/
public Builder setObject(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
object_ = value;
onChanged();
return this;
}
/**
* optional string object = 3;
* @return This builder for chaining.
*/
public Builder clearObject() {
bitField0_ = (bitField0_ & ~0x00000004);
object_ = getDefaultInstance().getObject();
onChanged();
return this;
}
/**
* optional string object = 3;
* @param value The bytes for object to set.
* @return This builder for chaining.
*/
public Builder setObjectBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
object_ = value;
onChanged();
return this;
}
private int flag_ ;
/**
* optional uint32 flag = 4;
* @return Whether the flag field is set.
*/
@java.lang.Override
public boolean hasFlag() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 flag = 4;
* @return The flag.
*/
@java.lang.Override
public int getFlag() {
return flag_;
}
/**
* optional uint32 flag = 4;
* @param value The flag to set.
* @return This builder for chaining.
*/
public Builder setFlag(int value) {
bitField0_ |= 0x00000008;
flag_ = value;
onChanged();
return this;
}
/**
* optional uint32 flag = 4;
* @return This builder for chaining.
*/
public Builder clearFlag() {
bitField0_ = (bitField0_ & ~0x00000008);
flag_ = 0;
onChanged();
return this;
}
private int updateTime_ ;
/**
* optional uint32 updateTime = 5;
* @return Whether the updateTime field is set.
*/
@java.lang.Override
public boolean hasUpdateTime() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 updateTime = 5;
* @return The updateTime.
*/
@java.lang.Override
public int getUpdateTime() {
return updateTime_;
}
/**
* optional uint32 updateTime = 5;
* @param value The updateTime to set.
* @return This builder for chaining.
*/
public Builder setUpdateTime(int value) {
bitField0_ |= 0x00000010;
updateTime_ = value;
onChanged();
return this;
}
/**
* optional uint32 updateTime = 5;
* @return This builder for chaining.
*/
public Builder clearUpdateTime() {
bitField0_ = (bitField0_ & ~0x00000010);
updateTime_ = 0;
onChanged();
return this;
}
private int updateSeq_ ;
/**
* optional uint32 updateSeq = 6;
* @return Whether the updateSeq field is set.
*/
@java.lang.Override
public boolean hasUpdateSeq() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 updateSeq = 6;
* @return The updateSeq.
*/
@java.lang.Override
public int getUpdateSeq() {
return updateSeq_;
}
/**
* optional uint32 updateSeq = 6;
* @param value The updateSeq to set.
* @return This builder for chaining.
*/
public Builder setUpdateSeq(int value) {
bitField0_ |= 0x00000020;
updateSeq_ = value;
onChanged();
return this;
}
/**
* optional uint32 updateSeq = 6;
* @return This builder for chaining.
*/
public Builder clearUpdateSeq() {
bitField0_ = (bitField0_ & ~0x00000020);
updateSeq_ = 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.FavObject)
}
// @@protoc_insertion_point(class_scope:wechat_proto.FavObject)
private static final wechat.protobuf.Favitem.FavObject DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Favitem.FavObject();
}
public static wechat.protobuf.Favitem.FavObject getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FavObject parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FavObject(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.Favitem.FavObject getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_wechat_proto_FavSyncRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_wechat_proto_FavSyncRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_wechat_proto_FavSyncResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_wechat_proto_FavSyncResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_wechat_proto_BatchDelFavItemRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_wechat_proto_BatchDelFavItemRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_wechat_proto_BatchDelFavItemResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_wechat_proto_BatchDelFavItemResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_wechat_proto_BatchGetFavItemRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_wechat_proto_BatchGetFavItemRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_wechat_proto_BatchGetFavItemResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_wechat_proto_BatchGetFavItemResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_wechat_proto_AddFavItem_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_wechat_proto_AddFavItem_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_wechat_proto_GetFavInfoRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_wechat_proto_GetFavInfoRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_wechat_proto_GetFavInfoResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_wechat_proto_GetFavInfoResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_wechat_proto_AddFavItemRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_wechat_proto_AddFavItemRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_wechat_proto_AddFavItemResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_wechat_proto_AddFavItemResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_wechat_proto_DelFavItemRsp_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_wechat_proto_DelFavItemRsp_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_wechat_proto_FavObject_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_wechat_proto_FavObject_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\rfavitem.proto\022\014wechat_proto\032\014wechat.pr" +
"oto\"R\n\016FavSyncRequest\022\020\n\010selector\030\001 \001(\r\022" +
".\n\006keyBuf\030\003 \001(\0132\036.wechat_proto.SKBuiltin" +
"String_\"\214\001\n\017FavSyncResponse\022\013\n\003ret\030\001 \001(\005" +
"\022&\n\007cmdList\030\002 \001(\0132\025.wechat_proto.CmdList" +
"\022.\n\006keyBuf\030\003 \001(\0132\036.wechat_proto.SKBuilti" +
"nString_\022\024\n\014continueFlag\030\004 \001(\r\"j\n\026BatchD" +
"elFavItemRequest\022.\n\013baseRequest\030\001 \001(\0132\031." +
"wechat_proto.BaseRequest\022\r\n\005count\030\002 \001(\r\022" +
"\021\n\tfavIdList\030\003 \001(\014\"\205\001\n\027BatchDelFavItemRe" +
"sponse\0220\n\014baseResponse\030\001 \001(\0132\032.wechat_pr" +
"oto.BaseResponse\022\r\n\005count\030\002 \001(\r\022)\n\004list\030" +
"\003 \003(\0132\033.wechat_proto.DelFavItemRsp\"j\n\026Ba" +
"tchGetFavItemRequest\022.\n\013baseRequest\030\001 \001(" +
"\0132\031.wechat_proto.BaseRequest\022\r\n\005count\030\002 " +
"\001(\r\022\021\n\tfavIdList\030\003 \001(\014\"\207\001\n\027BatchGetFavIt" +
"emResponse\0220\n\014baseResponse\030\001 \001(\0132\032.wecha" +
"t_proto.BaseResponse\022\r\n\005count\030\002 \001(\r\022+\n\no" +
"bjectList\030\003 \003(\0132\027.wechat_proto.FavObject" +
"\"^\n\nAddFavItem\022\r\n\005favId\030\001 \001(\r\022\014\n\004type\030\002 " +
"\001(\r\022\014\n\004flag\030\003 \001(\r\022\022\n\nupdateTime\030\004 \001(\r\022\021\n" +
"\tupdateSeq\030\005 \001(\r\"C\n\021GetFavInfoRequest\022.\n" +
"\013baseRequest\030\001 \001(\0132\031.wechat_proto.BaseRe" +
"quest\"\270\001\n\022GetFavInfoResponse\0220\n\014baseResp" +
"onse\030\001 \001(\0132\032.wechat_proto.BaseResponse\022\020" +
"\n\010usedSize\030\002 \001(\004\022\021\n\ttotalSize\030\003 \001(\004\022\025\n\rm" +
"xFavFileSize\030\004 \001(\r\022\030\n\020mxAutoUploadSize\030\005" +
" \001(\r\022\032\n\022mxAutoDownloadSize\030\006 \001(\r\"\231\001\n\021Add" +
"FavItemRequest\022.\n\013baseRequest\030\001 \001(\0132\031.we" +
"chat_proto.BaseRequest\022\020\n\010clientId\030\002 \001(\t" +
"\022\014\n\004type\030\003 \001(\r\022\022\n\nsourceType\030\004 \001(\r\022\020\n\010so" +
"urceId\030\005 \001(\t\022\016\n\006object\030\006 \001(\t\"z\n\022AddFavIt" +
"emResponse\0220\n\014baseResponse\030\001 \001(\0132\032.wecha" +
"t_proto.BaseResponse\022\r\n\005favId\030\002 \001(\r\022\021\n\tu" +
"pdateSeq\030\003 \001(\r\022\020\n\010usedSize\030\004 \001(\004\"+\n\rDelF" +
"avItemRsp\022\013\n\003ret\030\001 \001(\005\022\r\n\005favId\030\002 \001(\r\"o\n" +
"\tFavObject\022\r\n\005favId\030\001 \001(\r\022\016\n\006status\030\002 \001(" +
"\005\022\016\n\006object\030\003 \001(\t\022\014\n\004flag\030\004 \001(\r\022\022\n\nupdat" +
"eTime\030\005 \001(\r\022\021\n\tupdateSeq\030\006 \001(\rB\034\n\017wechat" +
".protobufZ\t../wechat"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
wechat.protobuf.Wechat.getDescriptor(),
});
internal_static_wechat_proto_FavSyncRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_wechat_proto_FavSyncRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_wechat_proto_FavSyncRequest_descriptor,
new java.lang.String[] { "Selector", "KeyBuf", });
internal_static_wechat_proto_FavSyncResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_wechat_proto_FavSyncResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_wechat_proto_FavSyncResponse_descriptor,
new java.lang.String[] { "Ret", "CmdList", "KeyBuf", "ContinueFlag", });
internal_static_wechat_proto_BatchDelFavItemRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_wechat_proto_BatchDelFavItemRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_wechat_proto_BatchDelFavItemRequest_descriptor,
new java.lang.String[] { "BaseRequest", "Count", "FavIdList", });
internal_static_wechat_proto_BatchDelFavItemResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_wechat_proto_BatchDelFavItemResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_wechat_proto_BatchDelFavItemResponse_descriptor,
new java.lang.String[] { "BaseResponse", "Count", "List", });
internal_static_wechat_proto_BatchGetFavItemRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_wechat_proto_BatchGetFavItemRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_wechat_proto_BatchGetFavItemRequest_descriptor,
new java.lang.String[] { "BaseRequest", "Count", "FavIdList", });
internal_static_wechat_proto_BatchGetFavItemResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_wechat_proto_BatchGetFavItemResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_wechat_proto_BatchGetFavItemResponse_descriptor,
new java.lang.String[] { "BaseResponse", "Count", "ObjectList", });
internal_static_wechat_proto_AddFavItem_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_wechat_proto_AddFavItem_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_wechat_proto_AddFavItem_descriptor,
new java.lang.String[] { "FavId", "Type", "Flag", "UpdateTime", "UpdateSeq", });
internal_static_wechat_proto_GetFavInfoRequest_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_wechat_proto_GetFavInfoRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_wechat_proto_GetFavInfoRequest_descriptor,
new java.lang.String[] { "BaseRequest", });
internal_static_wechat_proto_GetFavInfoResponse_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_wechat_proto_GetFavInfoResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_wechat_proto_GetFavInfoResponse_descriptor,
new java.lang.String[] { "BaseResponse", "UsedSize", "TotalSize", "MxFavFileSize", "MxAutoUploadSize", "MxAutoDownloadSize", });
internal_static_wechat_proto_AddFavItemRequest_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_wechat_proto_AddFavItemRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_wechat_proto_AddFavItemRequest_descriptor,
new java.lang.String[] { "BaseRequest", "ClientId", "Type", "SourceType", "SourceId", "Object", });
internal_static_wechat_proto_AddFavItemResponse_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_wechat_proto_AddFavItemResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_wechat_proto_AddFavItemResponse_descriptor,
new java.lang.String[] { "BaseResponse", "FavId", "UpdateSeq", "UsedSize", });
internal_static_wechat_proto_DelFavItemRsp_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_wechat_proto_DelFavItemRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_wechat_proto_DelFavItemRsp_descriptor,
new java.lang.String[] { "Ret", "FavId", });
internal_static_wechat_proto_FavObject_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_wechat_proto_FavObject_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_wechat_proto_FavObject_descriptor,
new java.lang.String[] { "FavId", "Status", "Object", "Flag", "UpdateTime", "UpdateSeq", });
wechat.protobuf.Wechat.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy