All Downloads are FREE. Search and download functionalities are using the official Maven repository.

wechat.protobuf.Friendgroup Maven / Gradle / Ivy

There is a newer version: 8.0.48.01
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: friendgroup.proto

package wechat.protobuf;

public final class Friendgroup {
  private Friendgroup() {}
  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 SnsUserPageRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:wechat_proto.SnsUserPageRequest)
      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 firstPageMd5 = 2;
     * @return Whether the firstPageMd5 field is set.
     */
    boolean hasFirstPageMd5();
    /**
     * optional string firstPageMd5 = 2;
     * @return The firstPageMd5.
     */
    java.lang.String getFirstPageMd5();
    /**
     * optional string firstPageMd5 = 2;
     * @return The bytes for firstPageMd5.
     */
    com.google.protobuf.ByteString
        getFirstPageMd5Bytes();

    /**
     * optional string username = 3;
     * @return Whether the username field is set.
     */
    boolean hasUsername();
    /**
     * optional string username = 3;
     * @return The username.
     */
    java.lang.String getUsername();
    /**
     * optional string username = 3;
     * @return The bytes for username.
     */
    com.google.protobuf.ByteString
        getUsernameBytes();

    /**
     * optional uint64 maxId = 4;
     * @return Whether the maxId field is set.
     */
    boolean hasMaxId();
    /**
     * optional uint64 maxId = 4;
     * @return The maxId.
     */
    long getMaxId();

    /**
     * optional uint32 source = 5;
     * @return Whether the source field is set.
     */
    boolean hasSource();
    /**
     * optional uint32 source = 5;
     * @return The source.
     */
    int getSource();

    /**
     * optional uint64 minFilterId = 6;
     * @return Whether the minFilterId field is set.
     */
    boolean hasMinFilterId();
    /**
     * optional uint64 minFilterId = 6;
     * @return The minFilterId.
     */
    long getMinFilterId();

    /**
     * optional uint32 lastRequestTime = 7;
     * @return Whether the lastRequestTime field is set.
     */
    boolean hasLastRequestTime();
    /**
     * optional uint32 lastRequestTime = 7;
     * @return The lastRequestTime.
     */
    int getLastRequestTime();

    /**
     * optional uint32 filterType = 8;
     * @return Whether the filterType field is set.
     */
    boolean hasFilterType();
    /**
     * optional uint32 filterType = 8;
     * @return The filterType.
     */
    int getFilterType();
  }
  /**
   * Protobuf type {@code wechat_proto.SnsUserPageRequest}
   */
  public static final class SnsUserPageRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:wechat_proto.SnsUserPageRequest)
      SnsUserPageRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SnsUserPageRequest.newBuilder() to construct.
    private SnsUserPageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private SnsUserPageRequest() {
      firstPageMd5_ = "";
      username_ = "";
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new SnsUserPageRequest();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SnsUserPageRequest(
        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;
              firstPageMd5_ = bs;
              break;
            }
            case 26: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000004;
              username_ = bs;
              break;
            }
            case 32: {
              bitField0_ |= 0x00000008;
              maxId_ = input.readUInt64();
              break;
            }
            case 40: {
              bitField0_ |= 0x00000010;
              source_ = input.readUInt32();
              break;
            }
            case 48: {
              bitField0_ |= 0x00000020;
              minFilterId_ = input.readUInt64();
              break;
            }
            case 56: {
              bitField0_ |= 0x00000040;
              lastRequestTime_ = input.readUInt32();
              break;
            }
            case 64: {
              bitField0_ |= 0x00000080;
              filterType_ = 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.Friendgroup.internal_static_wechat_proto_SnsUserPageRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              wechat.protobuf.Friendgroup.SnsUserPageRequest.class, wechat.protobuf.Friendgroup.SnsUserPageRequest.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 FIRSTPAGEMD5_FIELD_NUMBER = 2;
    private volatile java.lang.Object firstPageMd5_;
    /**
     * optional string firstPageMd5 = 2;
     * @return Whether the firstPageMd5 field is set.
     */
    @java.lang.Override
    public boolean hasFirstPageMd5() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional string firstPageMd5 = 2;
     * @return The firstPageMd5.
     */
    @java.lang.Override
    public java.lang.String getFirstPageMd5() {
      java.lang.Object ref = firstPageMd5_;
      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()) {
          firstPageMd5_ = s;
        }
        return s;
      }
    }
    /**
     * optional string firstPageMd5 = 2;
     * @return The bytes for firstPageMd5.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getFirstPageMd5Bytes() {
      java.lang.Object ref = firstPageMd5_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        firstPageMd5_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int USERNAME_FIELD_NUMBER = 3;
    private volatile java.lang.Object username_;
    /**
     * optional string username = 3;
     * @return Whether the username field is set.
     */
    @java.lang.Override
    public boolean hasUsername() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * optional string username = 3;
     * @return The username.
     */
    @java.lang.Override
    public java.lang.String getUsername() {
      java.lang.Object ref = username_;
      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()) {
          username_ = s;
        }
        return s;
      }
    }
    /**
     * optional string username = 3;
     * @return The bytes for username.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUsernameBytes() {
      java.lang.Object ref = username_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        username_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int MAXID_FIELD_NUMBER = 4;
    private long maxId_;
    /**
     * optional uint64 maxId = 4;
     * @return Whether the maxId field is set.
     */
    @java.lang.Override
    public boolean hasMaxId() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * optional uint64 maxId = 4;
     * @return The maxId.
     */
    @java.lang.Override
    public long getMaxId() {
      return maxId_;
    }

    public static final int SOURCE_FIELD_NUMBER = 5;
    private int source_;
    /**
     * optional uint32 source = 5;
     * @return Whether the source field is set.
     */
    @java.lang.Override
    public boolean hasSource() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * optional uint32 source = 5;
     * @return The source.
     */
    @java.lang.Override
    public int getSource() {
      return source_;
    }

    public static final int MINFILTERID_FIELD_NUMBER = 6;
    private long minFilterId_;
    /**
     * optional uint64 minFilterId = 6;
     * @return Whether the minFilterId field is set.
     */
    @java.lang.Override
    public boolean hasMinFilterId() {
      return ((bitField0_ & 0x00000020) != 0);
    }
    /**
     * optional uint64 minFilterId = 6;
     * @return The minFilterId.
     */
    @java.lang.Override
    public long getMinFilterId() {
      return minFilterId_;
    }

    public static final int LASTREQUESTTIME_FIELD_NUMBER = 7;
    private int lastRequestTime_;
    /**
     * optional uint32 lastRequestTime = 7;
     * @return Whether the lastRequestTime field is set.
     */
    @java.lang.Override
    public boolean hasLastRequestTime() {
      return ((bitField0_ & 0x00000040) != 0);
    }
    /**
     * optional uint32 lastRequestTime = 7;
     * @return The lastRequestTime.
     */
    @java.lang.Override
    public int getLastRequestTime() {
      return lastRequestTime_;
    }

    public static final int FILTERTYPE_FIELD_NUMBER = 8;
    private int filterType_;
    /**
     * optional uint32 filterType = 8;
     * @return Whether the filterType field is set.
     */
    @java.lang.Override
    public boolean hasFilterType() {
      return ((bitField0_ & 0x00000080) != 0);
    }
    /**
     * optional uint32 filterType = 8;
     * @return The filterType.
     */
    @java.lang.Override
    public int getFilterType() {
      return filterType_;
    }

    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, firstPageMd5_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, username_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        output.writeUInt64(4, maxId_);
      }
      if (((bitField0_ & 0x00000010) != 0)) {
        output.writeUInt32(5, source_);
      }
      if (((bitField0_ & 0x00000020) != 0)) {
        output.writeUInt64(6, minFilterId_);
      }
      if (((bitField0_ & 0x00000040) != 0)) {
        output.writeUInt32(7, lastRequestTime_);
      }
      if (((bitField0_ & 0x00000080) != 0)) {
        output.writeUInt32(8, filterType_);
      }
      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, firstPageMd5_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, username_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(4, maxId_);
      }
      if (((bitField0_ & 0x00000010) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(5, source_);
      }
      if (((bitField0_ & 0x00000020) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(6, minFilterId_);
      }
      if (((bitField0_ & 0x00000040) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(7, lastRequestTime_);
      }
      if (((bitField0_ & 0x00000080) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(8, filterType_);
      }
      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.Friendgroup.SnsUserPageRequest)) {
        return super.equals(obj);
      }
      wechat.protobuf.Friendgroup.SnsUserPageRequest other = (wechat.protobuf.Friendgroup.SnsUserPageRequest) obj;

      if (hasBaseRequest() != other.hasBaseRequest()) return false;
      if (hasBaseRequest()) {
        if (!getBaseRequest()
            .equals(other.getBaseRequest())) return false;
      }
      if (hasFirstPageMd5() != other.hasFirstPageMd5()) return false;
      if (hasFirstPageMd5()) {
        if (!getFirstPageMd5()
            .equals(other.getFirstPageMd5())) return false;
      }
      if (hasUsername() != other.hasUsername()) return false;
      if (hasUsername()) {
        if (!getUsername()
            .equals(other.getUsername())) return false;
      }
      if (hasMaxId() != other.hasMaxId()) return false;
      if (hasMaxId()) {
        if (getMaxId()
            != other.getMaxId()) return false;
      }
      if (hasSource() != other.hasSource()) return false;
      if (hasSource()) {
        if (getSource()
            != other.getSource()) return false;
      }
      if (hasMinFilterId() != other.hasMinFilterId()) return false;
      if (hasMinFilterId()) {
        if (getMinFilterId()
            != other.getMinFilterId()) return false;
      }
      if (hasLastRequestTime() != other.hasLastRequestTime()) return false;
      if (hasLastRequestTime()) {
        if (getLastRequestTime()
            != other.getLastRequestTime()) return false;
      }
      if (hasFilterType() != other.hasFilterType()) return false;
      if (hasFilterType()) {
        if (getFilterType()
            != other.getFilterType()) 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 (hasFirstPageMd5()) {
        hash = (37 * hash) + FIRSTPAGEMD5_FIELD_NUMBER;
        hash = (53 * hash) + getFirstPageMd5().hashCode();
      }
      if (hasUsername()) {
        hash = (37 * hash) + USERNAME_FIELD_NUMBER;
        hash = (53 * hash) + getUsername().hashCode();
      }
      if (hasMaxId()) {
        hash = (37 * hash) + MAXID_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getMaxId());
      }
      if (hasSource()) {
        hash = (37 * hash) + SOURCE_FIELD_NUMBER;
        hash = (53 * hash) + getSource();
      }
      if (hasMinFilterId()) {
        hash = (37 * hash) + MINFILTERID_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getMinFilterId());
      }
      if (hasLastRequestTime()) {
        hash = (37 * hash) + LASTREQUESTTIME_FIELD_NUMBER;
        hash = (53 * hash) + getLastRequestTime();
      }
      if (hasFilterType()) {
        hash = (37 * hash) + FILTERTYPE_FIELD_NUMBER;
        hash = (53 * hash) + getFilterType();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static wechat.protobuf.Friendgroup.SnsUserPageRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageRequest 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.Friendgroup.SnsUserPageRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageRequest 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.Friendgroup.SnsUserPageRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageRequest 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.Friendgroup.SnsUserPageRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageRequest 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.Friendgroup.SnsUserPageRequest 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.SnsUserPageRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:wechat_proto.SnsUserPageRequest)
        wechat.protobuf.Friendgroup.SnsUserPageRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                wechat.protobuf.Friendgroup.SnsUserPageRequest.class, wechat.protobuf.Friendgroup.SnsUserPageRequest.Builder.class);
      }

      // Construct using wechat.protobuf.Friendgroup.SnsUserPageRequest.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);
        firstPageMd5_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        username_ = "";
        bitField0_ = (bitField0_ & ~0x00000004);
        maxId_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000008);
        source_ = 0;
        bitField0_ = (bitField0_ & ~0x00000010);
        minFilterId_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000020);
        lastRequestTime_ = 0;
        bitField0_ = (bitField0_ & ~0x00000040);
        filterType_ = 0;
        bitField0_ = (bitField0_ & ~0x00000080);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageRequest_descriptor;
      }

      @java.lang.Override
      public wechat.protobuf.Friendgroup.SnsUserPageRequest getDefaultInstanceForType() {
        return wechat.protobuf.Friendgroup.SnsUserPageRequest.getDefaultInstance();
      }

      @java.lang.Override
      public wechat.protobuf.Friendgroup.SnsUserPageRequest build() {
        wechat.protobuf.Friendgroup.SnsUserPageRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public wechat.protobuf.Friendgroup.SnsUserPageRequest buildPartial() {
        wechat.protobuf.Friendgroup.SnsUserPageRequest result = new wechat.protobuf.Friendgroup.SnsUserPageRequest(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.firstPageMd5_ = firstPageMd5_;
        if (((from_bitField0_ & 0x00000004) != 0)) {
          to_bitField0_ |= 0x00000004;
        }
        result.username_ = username_;
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.maxId_ = maxId_;
          to_bitField0_ |= 0x00000008;
        }
        if (((from_bitField0_ & 0x00000010) != 0)) {
          result.source_ = source_;
          to_bitField0_ |= 0x00000010;
        }
        if (((from_bitField0_ & 0x00000020) != 0)) {
          result.minFilterId_ = minFilterId_;
          to_bitField0_ |= 0x00000020;
        }
        if (((from_bitField0_ & 0x00000040) != 0)) {
          result.lastRequestTime_ = lastRequestTime_;
          to_bitField0_ |= 0x00000040;
        }
        if (((from_bitField0_ & 0x00000080) != 0)) {
          result.filterType_ = filterType_;
          to_bitField0_ |= 0x00000080;
        }
        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.Friendgroup.SnsUserPageRequest) {
          return mergeFrom((wechat.protobuf.Friendgroup.SnsUserPageRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsUserPageRequest other) {
        if (other == wechat.protobuf.Friendgroup.SnsUserPageRequest.getDefaultInstance()) return this;
        if (other.hasBaseRequest()) {
          mergeBaseRequest(other.getBaseRequest());
        }
        if (other.hasFirstPageMd5()) {
          bitField0_ |= 0x00000002;
          firstPageMd5_ = other.firstPageMd5_;
          onChanged();
        }
        if (other.hasUsername()) {
          bitField0_ |= 0x00000004;
          username_ = other.username_;
          onChanged();
        }
        if (other.hasMaxId()) {
          setMaxId(other.getMaxId());
        }
        if (other.hasSource()) {
          setSource(other.getSource());
        }
        if (other.hasMinFilterId()) {
          setMinFilterId(other.getMinFilterId());
        }
        if (other.hasLastRequestTime()) {
          setLastRequestTime(other.getLastRequestTime());
        }
        if (other.hasFilterType()) {
          setFilterType(other.getFilterType());
        }
        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.Friendgroup.SnsUserPageRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (wechat.protobuf.Friendgroup.SnsUserPageRequest) 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 firstPageMd5_ = "";
      /**
       * optional string firstPageMd5 = 2;
       * @return Whether the firstPageMd5 field is set.
       */
      public boolean hasFirstPageMd5() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * optional string firstPageMd5 = 2;
       * @return The firstPageMd5.
       */
      public java.lang.String getFirstPageMd5() {
        java.lang.Object ref = firstPageMd5_;
        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()) {
            firstPageMd5_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * optional string firstPageMd5 = 2;
       * @return The bytes for firstPageMd5.
       */
      public com.google.protobuf.ByteString
          getFirstPageMd5Bytes() {
        java.lang.Object ref = firstPageMd5_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          firstPageMd5_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * optional string firstPageMd5 = 2;
       * @param value The firstPageMd5 to set.
       * @return This builder for chaining.
       */
      public Builder setFirstPageMd5(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        firstPageMd5_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string firstPageMd5 = 2;
       * @return This builder for chaining.
       */
      public Builder clearFirstPageMd5() {
        bitField0_ = (bitField0_ & ~0x00000002);
        firstPageMd5_ = getDefaultInstance().getFirstPageMd5();
        onChanged();
        return this;
      }
      /**
       * optional string firstPageMd5 = 2;
       * @param value The bytes for firstPageMd5 to set.
       * @return This builder for chaining.
       */
      public Builder setFirstPageMd5Bytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        firstPageMd5_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object username_ = "";
      /**
       * optional string username = 3;
       * @return Whether the username field is set.
       */
      public boolean hasUsername() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * optional string username = 3;
       * @return The username.
       */
      public java.lang.String getUsername() {
        java.lang.Object ref = username_;
        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()) {
            username_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * optional string username = 3;
       * @return The bytes for username.
       */
      public com.google.protobuf.ByteString
          getUsernameBytes() {
        java.lang.Object ref = username_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          username_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * optional string username = 3;
       * @param value The username to set.
       * @return This builder for chaining.
       */
      public Builder setUsername(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        username_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string username = 3;
       * @return This builder for chaining.
       */
      public Builder clearUsername() {
        bitField0_ = (bitField0_ & ~0x00000004);
        username_ = getDefaultInstance().getUsername();
        onChanged();
        return this;
      }
      /**
       * optional string username = 3;
       * @param value The bytes for username to set.
       * @return This builder for chaining.
       */
      public Builder setUsernameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        username_ = value;
        onChanged();
        return this;
      }

      private long maxId_ ;
      /**
       * optional uint64 maxId = 4;
       * @return Whether the maxId field is set.
       */
      @java.lang.Override
      public boolean hasMaxId() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * optional uint64 maxId = 4;
       * @return The maxId.
       */
      @java.lang.Override
      public long getMaxId() {
        return maxId_;
      }
      /**
       * optional uint64 maxId = 4;
       * @param value The maxId to set.
       * @return This builder for chaining.
       */
      public Builder setMaxId(long value) {
        bitField0_ |= 0x00000008;
        maxId_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint64 maxId = 4;
       * @return This builder for chaining.
       */
      public Builder clearMaxId() {
        bitField0_ = (bitField0_ & ~0x00000008);
        maxId_ = 0L;
        onChanged();
        return this;
      }

      private int source_ ;
      /**
       * optional uint32 source = 5;
       * @return Whether the source field is set.
       */
      @java.lang.Override
      public boolean hasSource() {
        return ((bitField0_ & 0x00000010) != 0);
      }
      /**
       * optional uint32 source = 5;
       * @return The source.
       */
      @java.lang.Override
      public int getSource() {
        return source_;
      }
      /**
       * optional uint32 source = 5;
       * @param value The source to set.
       * @return This builder for chaining.
       */
      public Builder setSource(int value) {
        bitField0_ |= 0x00000010;
        source_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 source = 5;
       * @return This builder for chaining.
       */
      public Builder clearSource() {
        bitField0_ = (bitField0_ & ~0x00000010);
        source_ = 0;
        onChanged();
        return this;
      }

      private long minFilterId_ ;
      /**
       * optional uint64 minFilterId = 6;
       * @return Whether the minFilterId field is set.
       */
      @java.lang.Override
      public boolean hasMinFilterId() {
        return ((bitField0_ & 0x00000020) != 0);
      }
      /**
       * optional uint64 minFilterId = 6;
       * @return The minFilterId.
       */
      @java.lang.Override
      public long getMinFilterId() {
        return minFilterId_;
      }
      /**
       * optional uint64 minFilterId = 6;
       * @param value The minFilterId to set.
       * @return This builder for chaining.
       */
      public Builder setMinFilterId(long value) {
        bitField0_ |= 0x00000020;
        minFilterId_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint64 minFilterId = 6;
       * @return This builder for chaining.
       */
      public Builder clearMinFilterId() {
        bitField0_ = (bitField0_ & ~0x00000020);
        minFilterId_ = 0L;
        onChanged();
        return this;
      }

      private int lastRequestTime_ ;
      /**
       * optional uint32 lastRequestTime = 7;
       * @return Whether the lastRequestTime field is set.
       */
      @java.lang.Override
      public boolean hasLastRequestTime() {
        return ((bitField0_ & 0x00000040) != 0);
      }
      /**
       * optional uint32 lastRequestTime = 7;
       * @return The lastRequestTime.
       */
      @java.lang.Override
      public int getLastRequestTime() {
        return lastRequestTime_;
      }
      /**
       * optional uint32 lastRequestTime = 7;
       * @param value The lastRequestTime to set.
       * @return This builder for chaining.
       */
      public Builder setLastRequestTime(int value) {
        bitField0_ |= 0x00000040;
        lastRequestTime_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 lastRequestTime = 7;
       * @return This builder for chaining.
       */
      public Builder clearLastRequestTime() {
        bitField0_ = (bitField0_ & ~0x00000040);
        lastRequestTime_ = 0;
        onChanged();
        return this;
      }

      private int filterType_ ;
      /**
       * optional uint32 filterType = 8;
       * @return Whether the filterType field is set.
       */
      @java.lang.Override
      public boolean hasFilterType() {
        return ((bitField0_ & 0x00000080) != 0);
      }
      /**
       * optional uint32 filterType = 8;
       * @return The filterType.
       */
      @java.lang.Override
      public int getFilterType() {
        return filterType_;
      }
      /**
       * optional uint32 filterType = 8;
       * @param value The filterType to set.
       * @return This builder for chaining.
       */
      public Builder setFilterType(int value) {
        bitField0_ |= 0x00000080;
        filterType_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 filterType = 8;
       * @return This builder for chaining.
       */
      public Builder clearFilterType() {
        bitField0_ = (bitField0_ & ~0x00000080);
        filterType_ = 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.SnsUserPageRequest)
    }

    // @@protoc_insertion_point(class_scope:wechat_proto.SnsUserPageRequest)
    private static final wechat.protobuf.Friendgroup.SnsUserPageRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsUserPageRequest();
    }

    public static wechat.protobuf.Friendgroup.SnsUserPageRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public SnsUserPageRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new SnsUserPageRequest(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.Friendgroup.SnsUserPageRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface SnsUserPageResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:wechat_proto.SnsUserPageResponse)
      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 string firstPageMd5 = 2;
     * @return Whether the firstPageMd5 field is set.
     */
    boolean hasFirstPageMd5();
    /**
     * optional string firstPageMd5 = 2;
     * @return The firstPageMd5.
     */
    java.lang.String getFirstPageMd5();
    /**
     * optional string firstPageMd5 = 2;
     * @return The bytes for firstPageMd5.
     */
    com.google.protobuf.ByteString
        getFirstPageMd5Bytes();

    /**
     * optional uint32 objectNum = 3;
     * @return Whether the objectNum field is set.
     */
    boolean hasObjectNum();
    /**
     * optional uint32 objectNum = 3;
     * @return The objectNum.
     */
    int getObjectNum();

    /**
     * repeated .wechat_proto.SnsObject objectList = 4;
     */
    java.util.List 
        getObjectListList();
    /**
     * repeated .wechat_proto.SnsObject objectList = 4;
     */
    wechat.protobuf.Friendgroup.SnsObject getObjectList(int index);
    /**
     * repeated .wechat_proto.SnsObject objectList = 4;
     */
    int getObjectListCount();
    /**
     * repeated .wechat_proto.SnsObject objectList = 4;
     */
    java.util.List 
        getObjectListOrBuilderList();
    /**
     * repeated .wechat_proto.SnsObject objectList = 4;
     */
    wechat.protobuf.Friendgroup.SnsObjectOrBuilder getObjectListOrBuilder(
        int index);

    /**
     * optional uint32 objectTotalNum = 5;
     * @return Whether the objectTotalNum field is set.
     */
    boolean hasObjectTotalNum();
    /**
     * optional uint32 objectTotalNum = 5;
     * @return The objectTotalNum.
     */
    int getObjectTotalNum();

    /**
     * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
     * @return Whether the snsUserInfo field is set.
     */
    boolean hasSnsUserInfo();
    /**
     * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
     * @return The snsUserInfo.
     */
    wechat.protobuf.SnsUserInfo getSnsUserInfo();
    /**
     * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
     */
    wechat.protobuf.SnsUserInfoOrBuilder getSnsUserInfoOrBuilder();

    /**
     * optional uint32 newRequestTime = 7;
     * @return Whether the newRequestTime field is set.
     */
    boolean hasNewRequestTime();
    /**
     * optional uint32 newRequestTime = 7;
     * @return The newRequestTime.
     */
    int getNewRequestTime();

    /**
     * optional uint32 objectNumForSameMd5 = 8;
     * @return Whether the objectNumForSameMd5 field is set.
     */
    boolean hasObjectNumForSameMd5();
    /**
     * optional uint32 objectNumForSameMd5 = 8;
     * @return The objectNumForSameMd5.
     */
    int getObjectNumForSameMd5();

    /**
     * optional .wechat_proto.SnsServerConfig serverConfig = 9;
     * @return Whether the serverConfig field is set.
     */
    boolean hasServerConfig();
    /**
     * optional .wechat_proto.SnsServerConfig serverConfig = 9;
     * @return The serverConfig.
     */
    wechat.protobuf.Friendgroup.SnsServerConfig getServerConfig();
    /**
     * optional .wechat_proto.SnsServerConfig serverConfig = 9;
     */
    wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder getServerConfigOrBuilder();

    /**
     * optional int64 limitedId = 10;
     * @return Whether the limitedId field is set.
     */
    boolean hasLimitedId();
    /**
     * optional int64 limitedId = 10;
     * @return The limitedId.
     */
    long getLimitedId();

    /**
     * optional int64 continueId = 11;
     * @return Whether the continueId field is set.
     */
    boolean hasContinueId();
    /**
     * optional int64 continueId = 11;
     * @return The continueId.
     */
    long getContinueId();

    /**
     * optional string retTips = 12;
     * @return Whether the retTips field is set.
     */
    boolean hasRetTips();
    /**
     * optional string retTips = 12;
     * @return The retTips.
     */
    java.lang.String getRetTips();
    /**
     * optional string retTips = 12;
     * @return The bytes for retTips.
     */
    com.google.protobuf.ByteString
        getRetTipsBytes();
  }
  /**
   * Protobuf type {@code wechat_proto.SnsUserPageResponse}
   */
  public static final class SnsUserPageResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:wechat_proto.SnsUserPageResponse)
      SnsUserPageResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SnsUserPageResponse.newBuilder() to construct.
    private SnsUserPageResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private SnsUserPageResponse() {
      firstPageMd5_ = "";
      objectList_ = java.util.Collections.emptyList();
      retTips_ = "";
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new SnsUserPageResponse();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SnsUserPageResponse(
        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 18: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000002;
              firstPageMd5_ = bs;
              break;
            }
            case 24: {
              bitField0_ |= 0x00000004;
              objectNum_ = input.readUInt32();
              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
                objectList_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              objectList_.add(
                  input.readMessage(wechat.protobuf.Friendgroup.SnsObject.PARSER, extensionRegistry));
              break;
            }
            case 40: {
              bitField0_ |= 0x00000008;
              objectTotalNum_ = input.readUInt32();
              break;
            }
            case 50: {
              wechat.protobuf.SnsUserInfo.Builder subBuilder = null;
              if (((bitField0_ & 0x00000010) != 0)) {
                subBuilder = snsUserInfo_.toBuilder();
              }
              snsUserInfo_ = input.readMessage(wechat.protobuf.SnsUserInfo.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(snsUserInfo_);
                snsUserInfo_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000010;
              break;
            }
            case 56: {
              bitField0_ |= 0x00000020;
              newRequestTime_ = input.readUInt32();
              break;
            }
            case 64: {
              bitField0_ |= 0x00000040;
              objectNumForSameMd5_ = input.readUInt32();
              break;
            }
            case 74: {
              wechat.protobuf.Friendgroup.SnsServerConfig.Builder subBuilder = null;
              if (((bitField0_ & 0x00000080) != 0)) {
                subBuilder = serverConfig_.toBuilder();
              }
              serverConfig_ = input.readMessage(wechat.protobuf.Friendgroup.SnsServerConfig.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(serverConfig_);
                serverConfig_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000080;
              break;
            }
            case 80: {
              bitField0_ |= 0x00000100;
              limitedId_ = input.readInt64();
              break;
            }
            case 88: {
              bitField0_ |= 0x00000200;
              continueId_ = input.readInt64();
              break;
            }
            case 98: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000400;
              retTips_ = 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 {
        if (((mutable_bitField0_ & 0x00000008) != 0)) {
          objectList_ = java.util.Collections.unmodifiableList(objectList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              wechat.protobuf.Friendgroup.SnsUserPageResponse.class, wechat.protobuf.Friendgroup.SnsUserPageResponse.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 FIRSTPAGEMD5_FIELD_NUMBER = 2;
    private volatile java.lang.Object firstPageMd5_;
    /**
     * optional string firstPageMd5 = 2;
     * @return Whether the firstPageMd5 field is set.
     */
    @java.lang.Override
    public boolean hasFirstPageMd5() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional string firstPageMd5 = 2;
     * @return The firstPageMd5.
     */
    @java.lang.Override
    public java.lang.String getFirstPageMd5() {
      java.lang.Object ref = firstPageMd5_;
      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()) {
          firstPageMd5_ = s;
        }
        return s;
      }
    }
    /**
     * optional string firstPageMd5 = 2;
     * @return The bytes for firstPageMd5.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getFirstPageMd5Bytes() {
      java.lang.Object ref = firstPageMd5_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        firstPageMd5_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int OBJECTNUM_FIELD_NUMBER = 3;
    private int objectNum_;
    /**
     * optional uint32 objectNum = 3;
     * @return Whether the objectNum field is set.
     */
    @java.lang.Override
    public boolean hasObjectNum() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * optional uint32 objectNum = 3;
     * @return The objectNum.
     */
    @java.lang.Override
    public int getObjectNum() {
      return objectNum_;
    }

    public static final int OBJECTLIST_FIELD_NUMBER = 4;
    private java.util.List objectList_;
    /**
     * repeated .wechat_proto.SnsObject objectList = 4;
     */
    @java.lang.Override
    public java.util.List getObjectListList() {
      return objectList_;
    }
    /**
     * repeated .wechat_proto.SnsObject objectList = 4;
     */
    @java.lang.Override
    public java.util.List 
        getObjectListOrBuilderList() {
      return objectList_;
    }
    /**
     * repeated .wechat_proto.SnsObject objectList = 4;
     */
    @java.lang.Override
    public int getObjectListCount() {
      return objectList_.size();
    }
    /**
     * repeated .wechat_proto.SnsObject objectList = 4;
     */
    @java.lang.Override
    public wechat.protobuf.Friendgroup.SnsObject getObjectList(int index) {
      return objectList_.get(index);
    }
    /**
     * repeated .wechat_proto.SnsObject objectList = 4;
     */
    @java.lang.Override
    public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getObjectListOrBuilder(
        int index) {
      return objectList_.get(index);
    }

    public static final int OBJECTTOTALNUM_FIELD_NUMBER = 5;
    private int objectTotalNum_;
    /**
     * optional uint32 objectTotalNum = 5;
     * @return Whether the objectTotalNum field is set.
     */
    @java.lang.Override
    public boolean hasObjectTotalNum() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * optional uint32 objectTotalNum = 5;
     * @return The objectTotalNum.
     */
    @java.lang.Override
    public int getObjectTotalNum() {
      return objectTotalNum_;
    }

    public static final int SNSUSERINFO_FIELD_NUMBER = 6;
    private wechat.protobuf.SnsUserInfo snsUserInfo_;
    /**
     * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
     * @return Whether the snsUserInfo field is set.
     */
    @java.lang.Override
    public boolean hasSnsUserInfo() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
     * @return The snsUserInfo.
     */
    @java.lang.Override
    public wechat.protobuf.SnsUserInfo getSnsUserInfo() {
      return snsUserInfo_ == null ? wechat.protobuf.SnsUserInfo.getDefaultInstance() : snsUserInfo_;
    }
    /**
     * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
     */
    @java.lang.Override
    public wechat.protobuf.SnsUserInfoOrBuilder getSnsUserInfoOrBuilder() {
      return snsUserInfo_ == null ? wechat.protobuf.SnsUserInfo.getDefaultInstance() : snsUserInfo_;
    }

    public static final int NEWREQUESTTIME_FIELD_NUMBER = 7;
    private int newRequestTime_;
    /**
     * optional uint32 newRequestTime = 7;
     * @return Whether the newRequestTime field is set.
     */
    @java.lang.Override
    public boolean hasNewRequestTime() {
      return ((bitField0_ & 0x00000020) != 0);
    }
    /**
     * optional uint32 newRequestTime = 7;
     * @return The newRequestTime.
     */
    @java.lang.Override
    public int getNewRequestTime() {
      return newRequestTime_;
    }

    public static final int OBJECTNUMFORSAMEMD5_FIELD_NUMBER = 8;
    private int objectNumForSameMd5_;
    /**
     * optional uint32 objectNumForSameMd5 = 8;
     * @return Whether the objectNumForSameMd5 field is set.
     */
    @java.lang.Override
    public boolean hasObjectNumForSameMd5() {
      return ((bitField0_ & 0x00000040) != 0);
    }
    /**
     * optional uint32 objectNumForSameMd5 = 8;
     * @return The objectNumForSameMd5.
     */
    @java.lang.Override
    public int getObjectNumForSameMd5() {
      return objectNumForSameMd5_;
    }

    public static final int SERVERCONFIG_FIELD_NUMBER = 9;
    private wechat.protobuf.Friendgroup.SnsServerConfig serverConfig_;
    /**
     * optional .wechat_proto.SnsServerConfig serverConfig = 9;
     * @return Whether the serverConfig field is set.
     */
    @java.lang.Override
    public boolean hasServerConfig() {
      return ((bitField0_ & 0x00000080) != 0);
    }
    /**
     * optional .wechat_proto.SnsServerConfig serverConfig = 9;
     * @return The serverConfig.
     */
    @java.lang.Override
    public wechat.protobuf.Friendgroup.SnsServerConfig getServerConfig() {
      return serverConfig_ == null ? wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance() : serverConfig_;
    }
    /**
     * optional .wechat_proto.SnsServerConfig serverConfig = 9;
     */
    @java.lang.Override
    public wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder getServerConfigOrBuilder() {
      return serverConfig_ == null ? wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance() : serverConfig_;
    }

    public static final int LIMITEDID_FIELD_NUMBER = 10;
    private long limitedId_;
    /**
     * optional int64 limitedId = 10;
     * @return Whether the limitedId field is set.
     */
    @java.lang.Override
    public boolean hasLimitedId() {
      return ((bitField0_ & 0x00000100) != 0);
    }
    /**
     * optional int64 limitedId = 10;
     * @return The limitedId.
     */
    @java.lang.Override
    public long getLimitedId() {
      return limitedId_;
    }

    public static final int CONTINUEID_FIELD_NUMBER = 11;
    private long continueId_;
    /**
     * optional int64 continueId = 11;
     * @return Whether the continueId field is set.
     */
    @java.lang.Override
    public boolean hasContinueId() {
      return ((bitField0_ & 0x00000200) != 0);
    }
    /**
     * optional int64 continueId = 11;
     * @return The continueId.
     */
    @java.lang.Override
    public long getContinueId() {
      return continueId_;
    }

    public static final int RETTIPS_FIELD_NUMBER = 12;
    private volatile java.lang.Object retTips_;
    /**
     * optional string retTips = 12;
     * @return Whether the retTips field is set.
     */
    @java.lang.Override
    public boolean hasRetTips() {
      return ((bitField0_ & 0x00000400) != 0);
    }
    /**
     * optional string retTips = 12;
     * @return The retTips.
     */
    @java.lang.Override
    public java.lang.String getRetTips() {
      java.lang.Object ref = retTips_;
      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()) {
          retTips_ = s;
        }
        return s;
      }
    }
    /**
     * optional string retTips = 12;
     * @return The bytes for retTips.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getRetTipsBytes() {
      java.lang.Object ref = retTips_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        retTips_ = 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, getBaseResponse());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, firstPageMd5_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeUInt32(3, objectNum_);
      }
      for (int i = 0; i < objectList_.size(); i++) {
        output.writeMessage(4, objectList_.get(i));
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        output.writeUInt32(5, objectTotalNum_);
      }
      if (((bitField0_ & 0x00000010) != 0)) {
        output.writeMessage(6, getSnsUserInfo());
      }
      if (((bitField0_ & 0x00000020) != 0)) {
        output.writeUInt32(7, newRequestTime_);
      }
      if (((bitField0_ & 0x00000040) != 0)) {
        output.writeUInt32(8, objectNumForSameMd5_);
      }
      if (((bitField0_ & 0x00000080) != 0)) {
        output.writeMessage(9, getServerConfig());
      }
      if (((bitField0_ & 0x00000100) != 0)) {
        output.writeInt64(10, limitedId_);
      }
      if (((bitField0_ & 0x00000200) != 0)) {
        output.writeInt64(11, continueId_);
      }
      if (((bitField0_ & 0x00000400) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 12, retTips_);
      }
      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.GeneratedMessageV3.computeStringSize(2, firstPageMd5_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, objectNum_);
      }
      for (int i = 0; i < objectList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, objectList_.get(i));
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(5, objectTotalNum_);
      }
      if (((bitField0_ & 0x00000010) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, getSnsUserInfo());
      }
      if (((bitField0_ & 0x00000020) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(7, newRequestTime_);
      }
      if (((bitField0_ & 0x00000040) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(8, objectNumForSameMd5_);
      }
      if (((bitField0_ & 0x00000080) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(9, getServerConfig());
      }
      if (((bitField0_ & 0x00000100) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(10, limitedId_);
      }
      if (((bitField0_ & 0x00000200) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(11, continueId_);
      }
      if (((bitField0_ & 0x00000400) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, retTips_);
      }
      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.Friendgroup.SnsUserPageResponse)) {
        return super.equals(obj);
      }
      wechat.protobuf.Friendgroup.SnsUserPageResponse other = (wechat.protobuf.Friendgroup.SnsUserPageResponse) obj;

      if (hasBaseResponse() != other.hasBaseResponse()) return false;
      if (hasBaseResponse()) {
        if (!getBaseResponse()
            .equals(other.getBaseResponse())) return false;
      }
      if (hasFirstPageMd5() != other.hasFirstPageMd5()) return false;
      if (hasFirstPageMd5()) {
        if (!getFirstPageMd5()
            .equals(other.getFirstPageMd5())) return false;
      }
      if (hasObjectNum() != other.hasObjectNum()) return false;
      if (hasObjectNum()) {
        if (getObjectNum()
            != other.getObjectNum()) return false;
      }
      if (!getObjectListList()
          .equals(other.getObjectListList())) return false;
      if (hasObjectTotalNum() != other.hasObjectTotalNum()) return false;
      if (hasObjectTotalNum()) {
        if (getObjectTotalNum()
            != other.getObjectTotalNum()) return false;
      }
      if (hasSnsUserInfo() != other.hasSnsUserInfo()) return false;
      if (hasSnsUserInfo()) {
        if (!getSnsUserInfo()
            .equals(other.getSnsUserInfo())) return false;
      }
      if (hasNewRequestTime() != other.hasNewRequestTime()) return false;
      if (hasNewRequestTime()) {
        if (getNewRequestTime()
            != other.getNewRequestTime()) return false;
      }
      if (hasObjectNumForSameMd5() != other.hasObjectNumForSameMd5()) return false;
      if (hasObjectNumForSameMd5()) {
        if (getObjectNumForSameMd5()
            != other.getObjectNumForSameMd5()) return false;
      }
      if (hasServerConfig() != other.hasServerConfig()) return false;
      if (hasServerConfig()) {
        if (!getServerConfig()
            .equals(other.getServerConfig())) return false;
      }
      if (hasLimitedId() != other.hasLimitedId()) return false;
      if (hasLimitedId()) {
        if (getLimitedId()
            != other.getLimitedId()) return false;
      }
      if (hasContinueId() != other.hasContinueId()) return false;
      if (hasContinueId()) {
        if (getContinueId()
            != other.getContinueId()) return false;
      }
      if (hasRetTips() != other.hasRetTips()) return false;
      if (hasRetTips()) {
        if (!getRetTips()
            .equals(other.getRetTips())) 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 (hasFirstPageMd5()) {
        hash = (37 * hash) + FIRSTPAGEMD5_FIELD_NUMBER;
        hash = (53 * hash) + getFirstPageMd5().hashCode();
      }
      if (hasObjectNum()) {
        hash = (37 * hash) + OBJECTNUM_FIELD_NUMBER;
        hash = (53 * hash) + getObjectNum();
      }
      if (getObjectListCount() > 0) {
        hash = (37 * hash) + OBJECTLIST_FIELD_NUMBER;
        hash = (53 * hash) + getObjectListList().hashCode();
      }
      if (hasObjectTotalNum()) {
        hash = (37 * hash) + OBJECTTOTALNUM_FIELD_NUMBER;
        hash = (53 * hash) + getObjectTotalNum();
      }
      if (hasSnsUserInfo()) {
        hash = (37 * hash) + SNSUSERINFO_FIELD_NUMBER;
        hash = (53 * hash) + getSnsUserInfo().hashCode();
      }
      if (hasNewRequestTime()) {
        hash = (37 * hash) + NEWREQUESTTIME_FIELD_NUMBER;
        hash = (53 * hash) + getNewRequestTime();
      }
      if (hasObjectNumForSameMd5()) {
        hash = (37 * hash) + OBJECTNUMFORSAMEMD5_FIELD_NUMBER;
        hash = (53 * hash) + getObjectNumForSameMd5();
      }
      if (hasServerConfig()) {
        hash = (37 * hash) + SERVERCONFIG_FIELD_NUMBER;
        hash = (53 * hash) + getServerConfig().hashCode();
      }
      if (hasLimitedId()) {
        hash = (37 * hash) + LIMITEDID_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getLimitedId());
      }
      if (hasContinueId()) {
        hash = (37 * hash) + CONTINUEID_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getContinueId());
      }
      if (hasRetTips()) {
        hash = (37 * hash) + RETTIPS_FIELD_NUMBER;
        hash = (53 * hash) + getRetTips().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static wechat.protobuf.Friendgroup.SnsUserPageResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageResponse 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.Friendgroup.SnsUserPageResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageResponse 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.Friendgroup.SnsUserPageResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageResponse 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.Friendgroup.SnsUserPageResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static wechat.protobuf.Friendgroup.SnsUserPageResponse 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.Friendgroup.SnsUserPageResponse 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.SnsUserPageResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:wechat_proto.SnsUserPageResponse)
        wechat.protobuf.Friendgroup.SnsUserPageResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageResponse_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                wechat.protobuf.Friendgroup.SnsUserPageResponse.class, wechat.protobuf.Friendgroup.SnsUserPageResponse.Builder.class);
      }

      // Construct using wechat.protobuf.Friendgroup.SnsUserPageResponse.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();
          getSnsUserInfoFieldBuilder();
          getServerConfigFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (baseResponseBuilder_ == null) {
          baseResponse_ = null;
        } else {
          baseResponseBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        firstPageMd5_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        objectNum_ = 0;
        bitField0_ = (bitField0_ & ~0x00000004);
        if (objectListBuilder_ == null) {
          objectList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
        } else {
          objectListBuilder_.clear();
        }
        objectTotalNum_ = 0;
        bitField0_ = (bitField0_ & ~0x00000010);
        if (snsUserInfoBuilder_ == null) {
          snsUserInfo_ = null;
        } else {
          snsUserInfoBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000020);
        newRequestTime_ = 0;
        bitField0_ = (bitField0_ & ~0x00000040);
        objectNumForSameMd5_ = 0;
        bitField0_ = (bitField0_ & ~0x00000080);
        if (serverConfigBuilder_ == null) {
          serverConfig_ = null;
        } else {
          serverConfigBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000100);
        limitedId_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000200);
        continueId_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000400);
        retTips_ = "";
        bitField0_ = (bitField0_ & ~0x00000800);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageResponse_descriptor;
      }

      @java.lang.Override
      public wechat.protobuf.Friendgroup.SnsUserPageResponse getDefaultInstanceForType() {
        return wechat.protobuf.Friendgroup.SnsUserPageResponse.getDefaultInstance();
      }

      @java.lang.Override
      public wechat.protobuf.Friendgroup.SnsUserPageResponse build() {
        wechat.protobuf.Friendgroup.SnsUserPageResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public wechat.protobuf.Friendgroup.SnsUserPageResponse buildPartial() {
        wechat.protobuf.Friendgroup.SnsUserPageResponse result = new wechat.protobuf.Friendgroup.SnsUserPageResponse(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)) {
          to_bitField0_ |= 0x00000002;
        }
        result.firstPageMd5_ = firstPageMd5_;
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.objectNum_ = objectNum_;
          to_bitField0_ |= 0x00000004;
        }
        if (objectListBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0)) {
            objectList_ = java.util.Collections.unmodifiableList(objectList_);
            bitField0_ = (bitField0_ & ~0x00000008);
          }
          result.objectList_ = objectList_;
        } else {
          result.objectList_ = objectListBuilder_.build();
        }
        if (((from_bitField0_ & 0x00000010) != 0)) {
          result.objectTotalNum_ = objectTotalNum_;
          to_bitField0_ |= 0x00000008;
        }
        if (((from_bitField0_ & 0x00000020) != 0)) {
          if (snsUserInfoBuilder_ == null) {
            result.snsUserInfo_ = snsUserInfo_;
          } else {
            result.snsUserInfo_ = snsUserInfoBuilder_.build();
          }
          to_bitField0_ |= 0x00000010;
        }
        if (((from_bitField0_ & 0x00000040) != 0)) {
          result.newRequestTime_ = newRequestTime_;
          to_bitField0_ |= 0x00000020;
        }
        if (((from_bitField0_ & 0x00000080) != 0)) {
          result.objectNumForSameMd5_ = objectNumForSameMd5_;
          to_bitField0_ |= 0x00000040;
        }
        if (((from_bitField0_ & 0x00000100) != 0)) {
          if (serverConfigBuilder_ == null) {
            result.serverConfig_ = serverConfig_;
          } else {
            result.serverConfig_ = serverConfigBuilder_.build();
          }
          to_bitField0_ |= 0x00000080;
        }
        if (((from_bitField0_ & 0x00000200) != 0)) {
          result.limitedId_ = limitedId_;
          to_bitField0_ |= 0x00000100;
        }
        if (((from_bitField0_ & 0x00000400) != 0)) {
          result.continueId_ = continueId_;
          to_bitField0_ |= 0x00000200;
        }
        if (((from_bitField0_ & 0x00000800) != 0)) {
          to_bitField0_ |= 0x00000400;
        }
        result.retTips_ = retTips_;
        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.Friendgroup.SnsUserPageResponse) {
          return mergeFrom((wechat.protobuf.Friendgroup.SnsUserPageResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsUserPageResponse other) {
        if (other == wechat.protobuf.Friendgroup.SnsUserPageResponse.getDefaultInstance()) return this;
        if (other.hasBaseResponse()) {
          mergeBaseResponse(other.getBaseResponse());
        }
        if (other.hasFirstPageMd5()) {
          bitField0_ |= 0x00000002;
          firstPageMd5_ = other.firstPageMd5_;
          onChanged();
        }
        if (other.hasObjectNum()) {
          setObjectNum(other.getObjectNum());
        }
        if (objectListBuilder_ == null) {
          if (!other.objectList_.isEmpty()) {
            if (objectList_.isEmpty()) {
              objectList_ = other.objectList_;
              bitField0_ = (bitField0_ & ~0x00000008);
            } else {
              ensureObjectListIsMutable();
              objectList_.addAll(other.objectList_);
            }
            onChanged();
          }
        } else {
          if (!other.objectList_.isEmpty()) {
            if (objectListBuilder_.isEmpty()) {
              objectListBuilder_.dispose();
              objectListBuilder_ = null;
              objectList_ = other.objectList_;
              bitField0_ = (bitField0_ & ~0x00000008);
              objectListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getObjectListFieldBuilder() : null;
            } else {
              objectListBuilder_.addAllMessages(other.objectList_);
            }
          }
        }
        if (other.hasObjectTotalNum()) {
          setObjectTotalNum(other.getObjectTotalNum());
        }
        if (other.hasSnsUserInfo()) {
          mergeSnsUserInfo(other.getSnsUserInfo());
        }
        if (other.hasNewRequestTime()) {
          setNewRequestTime(other.getNewRequestTime());
        }
        if (other.hasObjectNumForSameMd5()) {
          setObjectNumForSameMd5(other.getObjectNumForSameMd5());
        }
        if (other.hasServerConfig()) {
          mergeServerConfig(other.getServerConfig());
        }
        if (other.hasLimitedId()) {
          setLimitedId(other.getLimitedId());
        }
        if (other.hasContinueId()) {
          setContinueId(other.getContinueId());
        }
        if (other.hasRetTips()) {
          bitField0_ |= 0x00000800;
          retTips_ = other.retTips_;
          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.Friendgroup.SnsUserPageResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (wechat.protobuf.Friendgroup.SnsUserPageResponse) 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 java.lang.Object firstPageMd5_ = "";
      /**
       * optional string firstPageMd5 = 2;
       * @return Whether the firstPageMd5 field is set.
       */
      public boolean hasFirstPageMd5() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * optional string firstPageMd5 = 2;
       * @return The firstPageMd5.
       */
      public java.lang.String getFirstPageMd5() {
        java.lang.Object ref = firstPageMd5_;
        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()) {
            firstPageMd5_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * optional string firstPageMd5 = 2;
       * @return The bytes for firstPageMd5.
       */
      public com.google.protobuf.ByteString
          getFirstPageMd5Bytes() {
        java.lang.Object ref = firstPageMd5_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          firstPageMd5_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * optional string firstPageMd5 = 2;
       * @param value The firstPageMd5 to set.
       * @return This builder for chaining.
       */
      public Builder setFirstPageMd5(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        firstPageMd5_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string firstPageMd5 = 2;
       * @return This builder for chaining.
       */
      public Builder clearFirstPageMd5() {
        bitField0_ = (bitField0_ & ~0x00000002);
        firstPageMd5_ = getDefaultInstance().getFirstPageMd5();
        onChanged();
        return this;
      }
      /**
       * optional string firstPageMd5 = 2;
       * @param value The bytes for firstPageMd5 to set.
       * @return This builder for chaining.
       */
      public Builder setFirstPageMd5Bytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        firstPageMd5_ = value;
        onChanged();
        return this;
      }

      private int objectNum_ ;
      /**
       * optional uint32 objectNum = 3;
       * @return Whether the objectNum field is set.
       */
      @java.lang.Override
      public boolean hasObjectNum() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * optional uint32 objectNum = 3;
       * @return The objectNum.
       */
      @java.lang.Override
      public int getObjectNum() {
        return objectNum_;
      }
      /**
       * optional uint32 objectNum = 3;
       * @param value The objectNum to set.
       * @return This builder for chaining.
       */
      public Builder setObjectNum(int value) {
        bitField0_ |= 0x00000004;
        objectNum_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 objectNum = 3;
       * @return This builder for chaining.
       */
      public Builder clearObjectNum() {
        bitField0_ = (bitField0_ & ~0x00000004);
        objectNum_ = 0;
        onChanged();
        return this;
      }

      private java.util.List objectList_ =
        java.util.Collections.emptyList();
      private void ensureObjectListIsMutable() {
        if (!((bitField0_ & 0x00000008) != 0)) {
          objectList_ = new java.util.ArrayList(objectList_);
          bitField0_ |= 0x00000008;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> objectListBuilder_;

      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public java.util.List getObjectListList() {
        if (objectListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(objectList_);
        } else {
          return objectListBuilder_.getMessageList();
        }
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public int getObjectListCount() {
        if (objectListBuilder_ == null) {
          return objectList_.size();
        } else {
          return objectListBuilder_.getCount();
        }
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public wechat.protobuf.Friendgroup.SnsObject getObjectList(int index) {
        if (objectListBuilder_ == null) {
          return objectList_.get(index);
        } else {
          return objectListBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public Builder setObjectList(
          int index, wechat.protobuf.Friendgroup.SnsObject 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.SnsObject objectList = 4;
       */
      public Builder setObjectList(
          int index, wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) {
        if (objectListBuilder_ == null) {
          ensureObjectListIsMutable();
          objectList_.set(index, builderForValue.build());
          onChanged();
        } else {
          objectListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public Builder addObjectList(wechat.protobuf.Friendgroup.SnsObject value) {
        if (objectListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureObjectListIsMutable();
          objectList_.add(value);
          onChanged();
        } else {
          objectListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public Builder addObjectList(
          int index, wechat.protobuf.Friendgroup.SnsObject 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.SnsObject objectList = 4;
       */
      public Builder addObjectList(
          wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) {
        if (objectListBuilder_ == null) {
          ensureObjectListIsMutable();
          objectList_.add(builderForValue.build());
          onChanged();
        } else {
          objectListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public Builder addObjectList(
          int index, wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) {
        if (objectListBuilder_ == null) {
          ensureObjectListIsMutable();
          objectList_.add(index, builderForValue.build());
          onChanged();
        } else {
          objectListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public Builder addAllObjectList(
          java.lang.Iterable values) {
        if (objectListBuilder_ == null) {
          ensureObjectListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, objectList_);
          onChanged();
        } else {
          objectListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public Builder clearObjectList() {
        if (objectListBuilder_ == null) {
          objectList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
          onChanged();
        } else {
          objectListBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public Builder removeObjectList(int index) {
        if (objectListBuilder_ == null) {
          ensureObjectListIsMutable();
          objectList_.remove(index);
          onChanged();
        } else {
          objectListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public wechat.protobuf.Friendgroup.SnsObject.Builder getObjectListBuilder(
          int index) {
        return getObjectListFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getObjectListOrBuilder(
          int index) {
        if (objectListBuilder_ == null) {
          return objectList_.get(index);  } else {
          return objectListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public java.util.List 
           getObjectListOrBuilderList() {
        if (objectListBuilder_ != null) {
          return objectListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(objectList_);
        }
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public wechat.protobuf.Friendgroup.SnsObject.Builder addObjectListBuilder() {
        return getObjectListFieldBuilder().addBuilder(
            wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance());
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public wechat.protobuf.Friendgroup.SnsObject.Builder addObjectListBuilder(
          int index) {
        return getObjectListFieldBuilder().addBuilder(
            index, wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance());
      }
      /**
       * repeated .wechat_proto.SnsObject objectList = 4;
       */
      public java.util.List 
           getObjectListBuilderList() {
        return getObjectListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> 
          getObjectListFieldBuilder() {
        if (objectListBuilder_ == null) {
          objectListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder>(
                  objectList_,
                  ((bitField0_ & 0x00000008) != 0),
                  getParentForChildren(),
                  isClean());
          objectList_ = null;
        }
        return objectListBuilder_;
      }

      private int objectTotalNum_ ;
      /**
       * optional uint32 objectTotalNum = 5;
       * @return Whether the objectTotalNum field is set.
       */
      @java.lang.Override
      public boolean hasObjectTotalNum() {
        return ((bitField0_ & 0x00000010) != 0);
      }
      /**
       * optional uint32 objectTotalNum = 5;
       * @return The objectTotalNum.
       */
      @java.lang.Override
      public int getObjectTotalNum() {
        return objectTotalNum_;
      }
      /**
       * optional uint32 objectTotalNum = 5;
       * @param value The objectTotalNum to set.
       * @return This builder for chaining.
       */
      public Builder setObjectTotalNum(int value) {
        bitField0_ |= 0x00000010;
        objectTotalNum_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 objectTotalNum = 5;
       * @return This builder for chaining.
       */
      public Builder clearObjectTotalNum() {
        bitField0_ = (bitField0_ & ~0x00000010);
        objectTotalNum_ = 0;
        onChanged();
        return this;
      }

      private wechat.protobuf.SnsUserInfo snsUserInfo_;
      private com.google.protobuf.SingleFieldBuilderV3<
          wechat.protobuf.SnsUserInfo, wechat.protobuf.SnsUserInfo.Builder, wechat.protobuf.SnsUserInfoOrBuilder> snsUserInfoBuilder_;
      /**
       * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
       * @return Whether the snsUserInfo field is set.
       */
      public boolean hasSnsUserInfo() {
        return ((bitField0_ & 0x00000020) != 0);
      }
      /**
       * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
       * @return The snsUserInfo.
       */
      public wechat.protobuf.SnsUserInfo getSnsUserInfo() {
        if (snsUserInfoBuilder_ == null) {
          return snsUserInfo_ == null ? wechat.protobuf.SnsUserInfo.getDefaultInstance() : snsUserInfo_;
        } else {
          return snsUserInfoBuilder_.getMessage();
        }
      }
      /**
       * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
       */
      public Builder setSnsUserInfo(wechat.protobuf.SnsUserInfo value) {
        if (snsUserInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          snsUserInfo_ = value;
          onChanged();
        } else {
          snsUserInfoBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000020;
        return this;
      }
      /**
       * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
       */
      public Builder setSnsUserInfo(
          wechat.protobuf.SnsUserInfo.Builder builderForValue) {
        if (snsUserInfoBuilder_ == null) {
          snsUserInfo_ = builderForValue.build();
          onChanged();
        } else {
          snsUserInfoBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000020;
        return this;
      }
      /**
       * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
       */
      public Builder mergeSnsUserInfo(wechat.protobuf.SnsUserInfo value) {
        if (snsUserInfoBuilder_ == null) {
          if (((bitField0_ & 0x00000020) != 0) &&
              snsUserInfo_ != null &&
              snsUserInfo_ != wechat.protobuf.SnsUserInfo.getDefaultInstance()) {
            snsUserInfo_ =
              wechat.protobuf.SnsUserInfo.newBuilder(snsUserInfo_).mergeFrom(value).buildPartial();
          } else {
            snsUserInfo_ = value;
          }
          onChanged();
        } else {
          snsUserInfoBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000020;
        return this;
      }
      /**
       * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
       */
      public Builder clearSnsUserInfo() {
        if (snsUserInfoBuilder_ == null) {
          snsUserInfo_ = null;
          onChanged();
        } else {
          snsUserInfoBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000020);
        return this;
      }
      /**
       * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
       */
      public wechat.protobuf.SnsUserInfo.Builder getSnsUserInfoBuilder() {
        bitField0_ |= 0x00000020;
        onChanged();
        return getSnsUserInfoFieldBuilder().getBuilder();
      }
      /**
       * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
       */
      public wechat.protobuf.SnsUserInfoOrBuilder getSnsUserInfoOrBuilder() {
        if (snsUserInfoBuilder_ != null) {
          return snsUserInfoBuilder_.getMessageOrBuilder();
        } else {
          return snsUserInfo_ == null ?
              wechat.protobuf.SnsUserInfo.getDefaultInstance() : snsUserInfo_;
        }
      }
      /**
       * optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          wechat.protobuf.SnsUserInfo, wechat.protobuf.SnsUserInfo.Builder, wechat.protobuf.SnsUserInfoOrBuilder> 
          getSnsUserInfoFieldBuilder() {
        if (snsUserInfoBuilder_ == null) {
          snsUserInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              wechat.protobuf.SnsUserInfo, wechat.protobuf.SnsUserInfo.Builder, wechat.protobuf.SnsUserInfoOrBuilder>(
                  getSnsUserInfo(),
                  getParentForChildren(),
                  isClean());
          snsUserInfo_ = null;
        }
        return snsUserInfoBuilder_;
      }

      private int newRequestTime_ ;
      /**
       * optional uint32 newRequestTime = 7;
       * @return Whether the newRequestTime field is set.
       */
      @java.lang.Override
      public boolean hasNewRequestTime() {
        return ((bitField0_ & 0x00000040) != 0);
      }
      /**
       * optional uint32 newRequestTime = 7;
       * @return The newRequestTime.
       */
      @java.lang.Override
      public int getNewRequestTime() {
        return newRequestTime_;
      }
      /**
       * optional uint32 newRequestTime = 7;
       * @param value The newRequestTime to set.
       * @return This builder for chaining.
       */
      public Builder setNewRequestTime(int value) {
        bitField0_ |= 0x00000040;
        newRequestTime_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 newRequestTime = 7;
       * @return This builder for chaining.
       */
      public Builder clearNewRequestTime() {
        bitField0_ = (bitField0_ & ~0x00000040);
        newRequestTime_ = 0;
        onChanged();
        return this;
      }

      private int objectNumForSameMd5_ ;
      /**
       * optional uint32 objectNumForSameMd5 = 8;
       * @return Whether the objectNumForSameMd5 field is set.
       */
      @java.lang.Override
      public boolean hasObjectNumForSameMd5() {
        return ((bitField0_ & 0x00000080) != 0);
      }
      /**
       * optional uint32 objectNumForSameMd5 = 8;
       * @return The objectNumForSameMd5.
       */
      @java.lang.Override
      public int getObjectNumForSameMd5() {
        return objectNumForSameMd5_;
      }
      /**
       * optional uint32 objectNumForSameMd5 = 8;
       * @param value The objectNumForSameMd5 to set.
       * @return This builder for chaining.
       */
      public Builder setObjectNumForSameMd5(int value) {
        bitField0_ |= 0x00000080;
        objectNumForSameMd5_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 objectNumForSameMd5 = 8;
       * @return This builder for chaining.
       */
      public Builder clearObjectNumForSameMd5() {
        bitField0_ = (bitField0_ & ~0x00000080);
        objectNumForSameMd5_ = 0;
        onChanged();
        return this;
      }

      private wechat.protobuf.Friendgroup.SnsServerConfig serverConfig_;
      private com.google.protobuf.SingleFieldBuilderV3<
          wechat.protobuf.Friendgroup.SnsServerConfig, wechat.protobuf.Friendgroup.SnsServerConfig.Builder, wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder> serverConfigBuilder_;
      /**
       * optional .wechat_proto.SnsServerConfig serverConfig = 9;
       * @return Whether the serverConfig field is set.
       */
      public boolean hasServerConfig() {
        return ((bitField0_ & 0x00000100) != 0);
      }
      /**
       * optional .wechat_proto.SnsServerConfig serverConfig = 9;
       * @return The serverConfig.
       */
      public wechat.protobuf.Friendgroup.SnsServerConfig getServerConfig() {
        if (serverConfigBuilder_ == null) {
          return serverConfig_ == null ? wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance() : serverConfig_;
        } else {
          return serverConfigBuilder_.getMessage();
        }
      }
      /**
       * optional .wechat_proto.SnsServerConfig serverConfig = 9;
       */
      public Builder setServerConfig(wechat.protobuf.Friendgroup.SnsServerConfig value) {
        if (serverConfigBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          serverConfig_ = value;
          onChanged();
        } else {
          serverConfigBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000100;
        return this;
      }
      /**
       * optional .wechat_proto.SnsServerConfig serverConfig = 9;
       */
      public Builder setServerConfig(
          wechat.protobuf.Friendgroup.SnsServerConfig.Builder builderForValue) {
        if (serverConfigBuilder_ == null) {
          serverConfig_ = builderForValue.build();
          onChanged();
        } else {
          serverConfigBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000100;
        return this;
      }
      /**
       * optional .wechat_proto.SnsServerConfig serverConfig = 9;
       */
      public Builder mergeServerConfig(wechat.protobuf.Friendgroup.SnsServerConfig value) {
        if (serverConfigBuilder_ == null) {
          if (((bitField0_ & 0x00000100) != 0) &&
              serverConfig_ != null &&
              serverConfig_ != wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance()) {
            serverConfig_ =
              wechat.protobuf.Friendgroup.SnsServerConfig.newBuilder(serverConfig_).mergeFrom(value).buildPartial();
          } else {
            serverConfig_ = value;
          }
          onChanged();
        } else {
          serverConfigBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000100;
        return this;
      }
      /**
       * optional .wechat_proto.SnsServerConfig serverConfig = 9;
       */
      public Builder clearServerConfig() {
        if (serverConfigBuilder_ == null) {
          serverConfig_ = null;
          onChanged();
        } else {
          serverConfigBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000100);
        return this;
      }
      /**
       * optional .wechat_proto.SnsServerConfig serverConfig = 9;
       */
      public wechat.protobuf.Friendgroup.SnsServerConfig.Builder getServerConfigBuilder() {
        bitField0_ |= 0x00000100;
        onChanged();
        return getServerConfigFieldBuilder().getBuilder();
      }
      /**
       * optional .wechat_proto.SnsServerConfig serverConfig = 9;
       */
      public wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder getServerConfigOrBuilder() {
        if (serverConfigBuilder_ != null) {
          return serverConfigBuilder_.getMessageOrBuilder();
        } else {
          return serverConfig_ == null ?
              wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance() : serverConfig_;
        }
      }
      /**
       * optional .wechat_proto.SnsServerConfig serverConfig = 9;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          wechat.protobuf.Friendgroup.SnsServerConfig, wechat.protobuf.Friendgroup.SnsServerConfig.Builder, wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder> 
          getServerConfigFieldBuilder() {
        if (serverConfigBuilder_ == null) {
          serverConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              wechat.protobuf.Friendgroup.SnsServerConfig, wechat.protobuf.Friendgroup.SnsServerConfig.Builder, wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder>(
                  getServerConfig(),
                  getParentForChildren(),
                  isClean());
          serverConfig_ = null;
        }
        return serverConfigBuilder_;
      }

      private long limitedId_ ;
      /**
       * optional int64 limitedId = 10;
       * @return Whether the limitedId field is set.
       */
      @java.lang.Override
      public boolean hasLimitedId() {
        return ((bitField0_ & 0x00000200) != 0);
      }
      /**
       * optional int64 limitedId = 10;
       * @return The limitedId.
       */
      @java.lang.Override
      public long getLimitedId() {
        return limitedId_;
      }
      /**
       * optional int64 limitedId = 10;
       * @param value The limitedId to set.
       * @return This builder for chaining.
       */
      public Builder setLimitedId(long value) {
        bitField0_ |= 0x00000200;
        limitedId_ = value;
        onChanged();
        return this;
      }
      /**
       * optional int64 limitedId = 10;
       * @return This builder for chaining.
       */
      public Builder clearLimitedId() {
        bitField0_ = (bitField0_ & ~0x00000200);
        limitedId_ = 0L;
        onChanged();
        return this;
      }

      private long continueId_ ;
      /**
       * optional int64 continueId = 11;
       * @return Whether the continueId field is set.
       */
      @java.lang.Override
      public boolean hasContinueId() {
        return ((bitField0_ & 0x00000400) != 0);
      }
      /**
       * optional int64 continueId = 11;
       * @return The continueId.
       */
      @java.lang.Override
      public long getContinueId() {
        return continueId_;
      }
      /**
       * optional int64 continueId = 11;
       * @param value The continueId to set.
       * @return This builder for chaining.
       */
      public Builder setContinueId(long value) {
        bitField0_ |= 0x00000400;
        continueId_ = value;
        onChanged();
        return this;
      }
      /**
       * optional int64 continueId = 11;
       * @return This builder for chaining.
       */
      public Builder clearContinueId() {
        bitField0_ = (bitField0_ & ~0x00000400);
        continueId_ = 0L;
        onChanged();
        return this;
      }

      private java.lang.Object retTips_ = "";
      /**
       * optional string retTips = 12;
       * @return Whether the retTips field is set.
       */
      public boolean hasRetTips() {
        return ((bitField0_ & 0x00000800) != 0);
      }
      /**
       * optional string retTips = 12;
       * @return The retTips.
       */
      public java.lang.String getRetTips() {
        java.lang.Object ref = retTips_;
        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()) {
            retTips_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * optional string retTips = 12;
       * @return The bytes for retTips.
       */
      public com.google.protobuf.ByteString
          getRetTipsBytes() {
        java.lang.Object ref = retTips_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          retTips_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * optional string retTips = 12;
       * @param value The retTips to set.
       * @return This builder for chaining.
       */
      public Builder setRetTips(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000800;
        retTips_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string retTips = 12;
       * @return This builder for chaining.
       */
      public Builder clearRetTips() {
        bitField0_ = (bitField0_ & ~0x00000800);
        retTips_ = getDefaultInstance().getRetTips();
        onChanged();
        return this;
      }
      /**
       * optional string retTips = 12;
       * @param value The bytes for retTips to set.
       * @return This builder for chaining.
       */
      public Builder setRetTipsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000800;
        retTips_ = 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.SnsUserPageResponse)
    }

    // @@protoc_insertion_point(class_scope:wechat_proto.SnsUserPageResponse)
    private static final wechat.protobuf.Friendgroup.SnsUserPageResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsUserPageResponse();
    }

    public static wechat.protobuf.Friendgroup.SnsUserPageResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public SnsUserPageResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new SnsUserPageResponse(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.Friendgroup.SnsUserPageResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface SnsServerConfigOrBuilder extends
      // @@protoc_insertion_point(interface_extends:wechat_proto.SnsServerConfig)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional uint32 postMentionLimit = 1;
     * @return Whether the postMentionLimit field is set.
     */
    boolean hasPostMentionLimit();
    /**
     * optional uint32 postMentionLimit = 1;
     * @return The postMentionLimit.
     */
    int getPostMentionLimit();

    /**
     * optional uint32 copyAndPasteWordLimit = 2;
     * @return Whether the copyAndPasteWordLimit field is set.
     */
    boolean hasCopyAndPasteWordLimit();
    /**
     * optional uint32 copyAndPasteWordLimit = 2;
     * @return The copyAndPasteWordLimit.
     */
    int getCopyAndPasteWordLimit();
  }
  /**
   * Protobuf type {@code wechat_proto.SnsServerConfig}
   */
  public static final class SnsServerConfig extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:wechat_proto.SnsServerConfig)
      SnsServerConfigOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SnsServerConfig.newBuilder() to construct.
    private SnsServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private SnsServerConfig() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new SnsServerConfig();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SnsServerConfig(
        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;
              postMentionLimit_ = input.readUInt32();
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              copyAndPasteWordLimit_ = 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.Friendgroup.internal_static_wechat_proto_SnsServerConfig_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsServerConfig_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              wechat.protobuf.Friendgroup.SnsServerConfig.class, wechat.protobuf.Friendgroup.SnsServerConfig.Builder.class);
    }

    private int bitField0_;
    public static final int POSTMENTIONLIMIT_FIELD_NUMBER = 1;
    private int postMentionLimit_;
    /**
     * optional uint32 postMentionLimit = 1;
     * @return Whether the postMentionLimit field is set.
     */
    @java.lang.Override
    public boolean hasPostMentionLimit() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional uint32 postMentionLimit = 1;
     * @return The postMentionLimit.
     */
    @java.lang.Override
    public int getPostMentionLimit() {
      return postMentionLimit_;
    }

    public static final int COPYANDPASTEWORDLIMIT_FIELD_NUMBER = 2;
    private int copyAndPasteWordLimit_;
    /**
     * optional uint32 copyAndPasteWordLimit = 2;
     * @return Whether the copyAndPasteWordLimit field is set.
     */
    @java.lang.Override
    public boolean hasCopyAndPasteWordLimit() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional uint32 copyAndPasteWordLimit = 2;
     * @return The copyAndPasteWordLimit.
     */
    @java.lang.Override
    public int getCopyAndPasteWordLimit() {
      return copyAndPasteWordLimit_;
    }

    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, postMentionLimit_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeUInt32(2, copyAndPasteWordLimit_);
      }
      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, postMentionLimit_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, copyAndPasteWordLimit_);
      }
      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.Friendgroup.SnsServerConfig)) {
        return super.equals(obj);
      }
      wechat.protobuf.Friendgroup.SnsServerConfig other = (wechat.protobuf.Friendgroup.SnsServerConfig) obj;

      if (hasPostMentionLimit() != other.hasPostMentionLimit()) return false;
      if (hasPostMentionLimit()) {
        if (getPostMentionLimit()
            != other.getPostMentionLimit()) return false;
      }
      if (hasCopyAndPasteWordLimit() != other.hasCopyAndPasteWordLimit()) return false;
      if (hasCopyAndPasteWordLimit()) {
        if (getCopyAndPasteWordLimit()
            != other.getCopyAndPasteWordLimit()) 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 (hasPostMentionLimit()) {
        hash = (37 * hash) + POSTMENTIONLIMIT_FIELD_NUMBER;
        hash = (53 * hash) + getPostMentionLimit();
      }
      if (hasCopyAndPasteWordLimit()) {
        hash = (37 * hash) + COPYANDPASTEWORDLIMIT_FIELD_NUMBER;
        hash = (53 * hash) + getCopyAndPasteWordLimit();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static wechat.protobuf.Friendgroup.SnsServerConfig parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static wechat.protobuf.Friendgroup.SnsServerConfig parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static wechat.protobuf.Friendgroup.SnsServerConfig parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static wechat.protobuf.Friendgroup.SnsServerConfig 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.Friendgroup.SnsServerConfig parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static wechat.protobuf.Friendgroup.SnsServerConfig parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static wechat.protobuf.Friendgroup.SnsServerConfig parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static wechat.protobuf.Friendgroup.SnsServerConfig 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.Friendgroup.SnsServerConfig parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static wechat.protobuf.Friendgroup.SnsServerConfig 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.Friendgroup.SnsServerConfig parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static wechat.protobuf.Friendgroup.SnsServerConfig 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.Friendgroup.SnsServerConfig 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.SnsServerConfig}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:wechat_proto.SnsServerConfig)
        wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsServerConfig_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsServerConfig_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                wechat.protobuf.Friendgroup.SnsServerConfig.class, wechat.protobuf.Friendgroup.SnsServerConfig.Builder.class);
      }

      // Construct using wechat.protobuf.Friendgroup.SnsServerConfig.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();
        postMentionLimit_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        copyAndPasteWordLimit_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsServerConfig_descriptor;
      }

      @java.lang.Override
      public wechat.protobuf.Friendgroup.SnsServerConfig getDefaultInstanceForType() {
        return wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance();
      }

      @java.lang.Override
      public wechat.protobuf.Friendgroup.SnsServerConfig build() {
        wechat.protobuf.Friendgroup.SnsServerConfig result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public wechat.protobuf.Friendgroup.SnsServerConfig buildPartial() {
        wechat.protobuf.Friendgroup.SnsServerConfig result = new wechat.protobuf.Friendgroup.SnsServerConfig(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.postMentionLimit_ = postMentionLimit_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.copyAndPasteWordLimit_ = copyAndPasteWordLimit_;
          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.Friendgroup.SnsServerConfig) {
          return mergeFrom((wechat.protobuf.Friendgroup.SnsServerConfig)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsServerConfig other) {
        if (other == wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance()) return this;
        if (other.hasPostMentionLimit()) {
          setPostMentionLimit(other.getPostMentionLimit());
        }
        if (other.hasCopyAndPasteWordLimit()) {
          setCopyAndPasteWordLimit(other.getCopyAndPasteWordLimit());
        }
        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.Friendgroup.SnsServerConfig parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (wechat.protobuf.Friendgroup.SnsServerConfig) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int postMentionLimit_ ;
      /**
       * optional uint32 postMentionLimit = 1;
       * @return Whether the postMentionLimit field is set.
       */
      @java.lang.Override
      public boolean hasPostMentionLimit() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * optional uint32 postMentionLimit = 1;
       * @return The postMentionLimit.
       */
      @java.lang.Override
      public int getPostMentionLimit() {
        return postMentionLimit_;
      }
      /**
       * optional uint32 postMentionLimit = 1;
       * @param value The postMentionLimit to set.
       * @return This builder for chaining.
       */
      public Builder setPostMentionLimit(int value) {
        bitField0_ |= 0x00000001;
        postMentionLimit_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 postMentionLimit = 1;
       * @return This builder for chaining.
       */
      public Builder clearPostMentionLimit() {
        bitField0_ = (bitField0_ & ~0x00000001);
        postMentionLimit_ = 0;
        onChanged();
        return this;
      }

      private int copyAndPasteWordLimit_ ;
      /**
       * optional uint32 copyAndPasteWordLimit = 2;
       * @return Whether the copyAndPasteWordLimit field is set.
       */
      @java.lang.Override
      public boolean hasCopyAndPasteWordLimit() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * optional uint32 copyAndPasteWordLimit = 2;
       * @return The copyAndPasteWordLimit.
       */
      @java.lang.Override
      public int getCopyAndPasteWordLimit() {
        return copyAndPasteWordLimit_;
      }
      /**
       * optional uint32 copyAndPasteWordLimit = 2;
       * @param value The copyAndPasteWordLimit to set.
       * @return This builder for chaining.
       */
      public Builder setCopyAndPasteWordLimit(int value) {
        bitField0_ |= 0x00000002;
        copyAndPasteWordLimit_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 copyAndPasteWordLimit = 2;
       * @return This builder for chaining.
       */
      public Builder clearCopyAndPasteWordLimit() {
        bitField0_ = (bitField0_ & ~0x00000002);
        copyAndPasteWordLimit_ = 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.SnsServerConfig)
    }

    // @@protoc_insertion_point(class_scope:wechat_proto.SnsServerConfig)
    private static final wechat.protobuf.Friendgroup.SnsServerConfig DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsServerConfig();
    }

    public static wechat.protobuf.Friendgroup.SnsServerConfig getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public SnsServerConfig parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new SnsServerConfig(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.Friendgroup.SnsServerConfig getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface SnsObjectOrBuilder extends
      // @@protoc_insertion_point(interface_extends:wechat_proto.SnsObject)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional uint64 id = 1;
     * @return Whether the id field is set.
     */
    boolean hasId();
    /**
     * optional uint64 id = 1;
     * @return The id.
     */
    long getId();

    /**
     * optional string username = 2;
     * @return Whether the username field is set.
     */
    boolean hasUsername();
    /**
     * optional string username = 2;
     * @return The username.
     */
    java.lang.String getUsername();
    /**
     * optional string username = 2;
     * @return The bytes for username.
     */
    com.google.protobuf.ByteString
        getUsernameBytes();

    /**
     * optional string nickname = 3;
     * @return Whether the nickname field is set.
     */
    boolean hasNickname();
    /**
     * optional string nickname = 3;
     * @return The nickname.
     */
    java.lang.String getNickname();
    /**
     * optional string nickname = 3;
     * @return The bytes for nickname.
     */
    com.google.protobuf.ByteString
        getNicknameBytes();

    /**
     * optional uint32 createTime = 4;
     * @return Whether the createTime field is set.
     */
    boolean hasCreateTime();
    /**
     * optional uint32 createTime = 4;
     * @return The createTime.
     */
    int getCreateTime();

    /**
     * optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
     * @return Whether the objectDesc field is set.
     */
    boolean hasObjectDesc();
    /**
     * optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
     * @return The objectDesc.
     */
    wechat.protobuf.SKBuiltinString_ getObjectDesc();
    /**
     * optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
     */
    wechat.protobuf.SKBuiltinString_OrBuilder getObjectDescOrBuilder();

    /**
     * optional uint32 likeFlag = 6;
     * @return Whether the likeFlag field is set.
     */
    boolean hasLikeFlag();
    /**
     * optional uint32 likeFlag = 6;
     * @return The likeFlag.
     */
    int getLikeFlag();

    /**
     * optional uint32 likeNum = 7;
     * @return Whether the likeNum field is set.
     */
    boolean hasLikeNum();
    /**
     * optional uint32 likeNum = 7;
     * @return The likeNum.
     */
    int getLikeNum();

    /**
     * optional uint32 likeUserListNum = 8;
     * @return Whether the likeUserListNum field is set.
     */
    boolean hasLikeUserListNum();
    /**
     * optional uint32 likeUserListNum = 8;
     * @return The likeUserListNum.
     */
    int getLikeUserListNum();

    /**
     * 
     * 点赞好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ java.util.List getLikeUserListList(); /** *
     * 点赞好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ wechat.protobuf.Friendgroup.SnsCommentInfo getLikeUserList(int index); /** *
     * 点赞好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ int getLikeUserListCount(); /** *
     * 点赞好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ java.util.List getLikeUserListOrBuilderList(); /** *
     * 点赞好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getLikeUserListOrBuilder( int index); /** * optional uint32 commentNum = 10; * @return Whether the commentNum field is set. */ boolean hasCommentNum(); /** * optional uint32 commentNum = 10; * @return The commentNum. */ int getCommentNum(); /** * optional uint32 commentUserListNum = 11; * @return Whether the commentUserListNum field is set. */ boolean hasCommentUserListNum(); /** * optional uint32 commentUserListNum = 11; * @return The commentUserListNum. */ int getCommentUserListNum(); /** *
     * 评论好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ java.util.List getCommentUserListList(); /** *
     * 评论好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ wechat.protobuf.Friendgroup.SnsCommentInfo getCommentUserList(int index); /** *
     * 评论好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ int getCommentUserListCount(); /** *
     * 评论好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ java.util.List getCommentUserListOrBuilderList(); /** *
     * 评论好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getCommentUserListOrBuilder( int index); /** * optional uint32 withUserNum = 13; * @return Whether the withUserNum field is set. */ boolean hasWithUserNum(); /** * optional uint32 withUserNum = 13; * @return The withUserNum. */ int getWithUserNum(); /** * optional uint32 withUserListNum = 14; * @return Whether the withUserListNum field is set. */ boolean hasWithUserListNum(); /** * optional uint32 withUserListNum = 14; * @return The withUserListNum. */ int getWithUserListNum(); /** *
     * 发送朋友圈时,提到的用户列表
     * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ java.util.List getWithUserListList(); /** *
     * 发送朋友圈时,提到的用户列表
     * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ wechat.protobuf.Friendgroup.SnsCommentInfo getWithUserList(int index); /** *
     * 发送朋友圈时,提到的用户列表
     * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ int getWithUserListCount(); /** *
     * 发送朋友圈时,提到的用户列表
     * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ java.util.List getWithUserListOrBuilderList(); /** *
     * 发送朋友圈时,提到的用户列表
     * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getWithUserListOrBuilder( int index); /** * optional uint32 extFlag = 16; * @return Whether the extFlag field is set. */ boolean hasExtFlag(); /** * optional uint32 extFlag = 16; * @return The extFlag. */ int getExtFlag(); /** * optional uint32 noChange = 17; * @return Whether the noChange field is set. */ boolean hasNoChange(); /** * optional uint32 noChange = 17; * @return The noChange. */ int getNoChange(); /** * optional uint32 groupNum = 18; * @return Whether the groupNum field is set. */ boolean hasGroupNum(); /** * optional uint32 groupNum = 18; * @return The groupNum. */ int getGroupNum(); /** *
     * 暂时不知道做什么用
     * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ java.util.List getGroupListList(); /** *
     * 暂时不知道做什么用
     * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ wechat.protobuf.Friendgroup.SnsGroup getGroupList(int index); /** *
     * 暂时不知道做什么用
     * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ int getGroupListCount(); /** *
     * 暂时不知道做什么用
     * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ java.util.List getGroupListOrBuilderList(); /** *
     * 暂时不知道做什么用
     * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ wechat.protobuf.Friendgroup.SnsGroupOrBuilder getGroupListOrBuilder( int index); /** * optional uint32 isNotRichText = 20; * @return Whether the isNotRichText field is set. */ boolean hasIsNotRichText(); /** * optional uint32 isNotRichText = 20; * @return The isNotRichText. */ int getIsNotRichText(); /** * optional string referUsername = 21; * @return Whether the referUsername field is set. */ boolean hasReferUsername(); /** * optional string referUsername = 21; * @return The referUsername. */ java.lang.String getReferUsername(); /** * optional string referUsername = 21; * @return The bytes for referUsername. */ com.google.protobuf.ByteString getReferUsernameBytes(); /** * optional uint64 referId = 22; * @return Whether the referId field is set. */ boolean hasReferId(); /** * optional uint64 referId = 22; * @return The referId. */ long getReferId(); /** * optional uint32 blackListNum = 23; * @return Whether the blackListNum field is set. */ boolean hasBlackListNum(); /** * optional uint32 blackListNum = 23; * @return The blackListNum. */ int getBlackListNum(); /** *
     * 不可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ java.util.List getBlackListList(); /** *
     * 不可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ wechat.protobuf.SKBuiltinString getBlackList(int index); /** *
     * 不可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ int getBlackListCount(); /** *
     * 不可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ java.util.List getBlackListOrBuilderList(); /** *
     * 不可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ wechat.protobuf.SKBuiltinStringOrBuilder getBlackListOrBuilder( int index); /** * optional uint32 deleteFlag = 25; * @return Whether the deleteFlag field is set. */ boolean hasDeleteFlag(); /** * optional uint32 deleteFlag = 25; * @return The deleteFlag. */ int getDeleteFlag(); /** * optional uint32 groupUserNum = 26; * @return Whether the groupUserNum field is set. */ boolean hasGroupUserNum(); /** * optional uint32 groupUserNum = 26; * @return The groupUserNum. */ int getGroupUserNum(); /** *
     * 可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ java.util.List getGroupUserList(); /** *
     * 可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ wechat.protobuf.SKBuiltinString getGroupUser(int index); /** *
     * 可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ int getGroupUserCount(); /** *
     * 可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ java.util.List getGroupUserOrBuilderList(); /** *
     * 可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ wechat.protobuf.SKBuiltinStringOrBuilder getGroupUserOrBuilder( int index); /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; * @return Whether the objectOperations field is set. */ boolean hasObjectOperations(); /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; * @return The objectOperations. */ wechat.protobuf.SKBuiltinString_ getObjectOperations(); /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; */ wechat.protobuf.SKBuiltinString_OrBuilder getObjectOperationsOrBuilder(); /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; * @return Whether the snsRedEnvelops field is set. */ boolean hasSnsRedEnvelops(); /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; * @return The snsRedEnvelops. */ wechat.protobuf.Friendgroup.SnsRedEnvelops getSnsRedEnvelops(); /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; */ wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder getSnsRedEnvelopsOrBuilder(); /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; * @return Whether the preDownloadInfo field is set. */ boolean hasPreDownloadInfo(); /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; * @return The preDownloadInfo. */ wechat.protobuf.Friendgroup.PreDownloadInfo getPreDownloadInfo(); /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; */ wechat.protobuf.Friendgroup.PreDownloadInfoOrBuilder getPreDownloadInfoOrBuilder(); /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; * @return Whether the weAppInfo field is set. */ boolean hasWeAppInfo(); /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; * @return The weAppInfo. */ wechat.protobuf.Friendgroup.SnsWeAppInfo getWeAppInfo(); /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; */ wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder getWeAppInfoOrBuilder(); } /** * Protobuf type {@code wechat_proto.SnsObject} */ public static final class SnsObject extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsObject) SnsObjectOrBuilder { private static final long serialVersionUID = 0L; // Use SnsObject.newBuilder() to construct. private SnsObject(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsObject() { username_ = ""; nickname_ = ""; likeUserList_ = java.util.Collections.emptyList(); commentUserList_ = java.util.Collections.emptyList(); withUserList_ = java.util.Collections.emptyList(); groupList_ = java.util.Collections.emptyList(); referUsername_ = ""; blackList_ = java.util.Collections.emptyList(); groupUser_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsObject(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsObject( 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; id_ = input.readUInt64(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; username_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; nickname_ = bs; break; } case 32: { bitField0_ |= 0x00000008; createTime_ = input.readUInt32(); break; } case 42: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = objectDesc_.toBuilder(); } objectDesc_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(objectDesc_); objectDesc_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 48: { bitField0_ |= 0x00000020; likeFlag_ = input.readUInt32(); break; } case 56: { bitField0_ |= 0x00000040; likeNum_ = input.readUInt32(); break; } case 64: { bitField0_ |= 0x00000080; likeUserListNum_ = input.readUInt32(); break; } case 74: { if (!((mutable_bitField0_ & 0x00000100) != 0)) { likeUserList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000100; } likeUserList_.add( input.readMessage(wechat.protobuf.Friendgroup.SnsCommentInfo.PARSER, extensionRegistry)); break; } case 80: { bitField0_ |= 0x00000100; commentNum_ = input.readUInt32(); break; } case 88: { bitField0_ |= 0x00000200; commentUserListNum_ = input.readUInt32(); break; } case 98: { if (!((mutable_bitField0_ & 0x00000800) != 0)) { commentUserList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000800; } commentUserList_.add( input.readMessage(wechat.protobuf.Friendgroup.SnsCommentInfo.PARSER, extensionRegistry)); break; } case 104: { bitField0_ |= 0x00000400; withUserNum_ = input.readUInt32(); break; } case 112: { bitField0_ |= 0x00000800; withUserListNum_ = input.readUInt32(); break; } case 122: { if (!((mutable_bitField0_ & 0x00004000) != 0)) { withUserList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00004000; } withUserList_.add( input.readMessage(wechat.protobuf.Friendgroup.SnsCommentInfo.PARSER, extensionRegistry)); break; } case 128: { bitField0_ |= 0x00001000; extFlag_ = input.readUInt32(); break; } case 136: { bitField0_ |= 0x00002000; noChange_ = input.readUInt32(); break; } case 144: { bitField0_ |= 0x00004000; groupNum_ = input.readUInt32(); break; } case 154: { if (!((mutable_bitField0_ & 0x00040000) != 0)) { groupList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00040000; } groupList_.add( input.readMessage(wechat.protobuf.Friendgroup.SnsGroup.PARSER, extensionRegistry)); break; } case 160: { bitField0_ |= 0x00008000; isNotRichText_ = input.readUInt32(); break; } case 170: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00010000; referUsername_ = bs; break; } case 176: { bitField0_ |= 0x00020000; referId_ = input.readUInt64(); break; } case 184: { bitField0_ |= 0x00040000; blackListNum_ = input.readUInt32(); break; } case 194: { if (!((mutable_bitField0_ & 0x00800000) != 0)) { blackList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00800000; } blackList_.add( input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry)); break; } case 200: { bitField0_ |= 0x00080000; deleteFlag_ = input.readUInt32(); break; } case 208: { bitField0_ |= 0x00100000; groupUserNum_ = input.readUInt32(); break; } case 218: { if (!((mutable_bitField0_ & 0x04000000) != 0)) { groupUser_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x04000000; } groupUser_.add( input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry)); break; } case 226: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00200000) != 0)) { subBuilder = objectOperations_.toBuilder(); } objectOperations_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(objectOperations_); objectOperations_ = subBuilder.buildPartial(); } bitField0_ |= 0x00200000; break; } case 234: { wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder subBuilder = null; if (((bitField0_ & 0x00400000) != 0)) { subBuilder = snsRedEnvelops_.toBuilder(); } snsRedEnvelops_ = input.readMessage(wechat.protobuf.Friendgroup.SnsRedEnvelops.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(snsRedEnvelops_); snsRedEnvelops_ = subBuilder.buildPartial(); } bitField0_ |= 0x00400000; break; } case 242: { wechat.protobuf.Friendgroup.PreDownloadInfo.Builder subBuilder = null; if (((bitField0_ & 0x00800000) != 0)) { subBuilder = preDownloadInfo_.toBuilder(); } preDownloadInfo_ = input.readMessage(wechat.protobuf.Friendgroup.PreDownloadInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(preDownloadInfo_); preDownloadInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00800000; break; } case 250: { wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder subBuilder = null; if (((bitField0_ & 0x01000000) != 0)) { subBuilder = weAppInfo_.toBuilder(); } weAppInfo_ = input.readMessage(wechat.protobuf.Friendgroup.SnsWeAppInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(weAppInfo_); weAppInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x01000000; 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_ & 0x00000100) != 0)) { likeUserList_ = java.util.Collections.unmodifiableList(likeUserList_); } if (((mutable_bitField0_ & 0x00000800) != 0)) { commentUserList_ = java.util.Collections.unmodifiableList(commentUserList_); } if (((mutable_bitField0_ & 0x00004000) != 0)) { withUserList_ = java.util.Collections.unmodifiableList(withUserList_); } if (((mutable_bitField0_ & 0x00040000) != 0)) { groupList_ = java.util.Collections.unmodifiableList(groupList_); } if (((mutable_bitField0_ & 0x00800000) != 0)) { blackList_ = java.util.Collections.unmodifiableList(blackList_); } if (((mutable_bitField0_ & 0x04000000) != 0)) { groupUser_ = java.util.Collections.unmodifiableList(groupUser_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObject_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsObject.class, wechat.protobuf.Friendgroup.SnsObject.Builder.class); } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private long id_; /** * optional uint64 id = 1; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint64 id = 1; * @return The id. */ @java.lang.Override public long getId() { return id_; } public static final int USERNAME_FIELD_NUMBER = 2; private volatile java.lang.Object username_; /** * optional string username = 2; * @return Whether the username field is set. */ @java.lang.Override public boolean hasUsername() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string username = 2; * @return The username. */ @java.lang.Override public java.lang.String getUsername() { java.lang.Object ref = username_; 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()) { username_ = s; } return s; } } /** * optional string username = 2; * @return The bytes for username. */ @java.lang.Override public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NICKNAME_FIELD_NUMBER = 3; private volatile java.lang.Object nickname_; /** * optional string nickname = 3; * @return Whether the nickname field is set. */ @java.lang.Override public boolean hasNickname() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string nickname = 3; * @return The nickname. */ @java.lang.Override public java.lang.String getNickname() { java.lang.Object ref = nickname_; 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()) { nickname_ = s; } return s; } } /** * optional string nickname = 3; * @return The bytes for nickname. */ @java.lang.Override public com.google.protobuf.ByteString getNicknameBytes() { java.lang.Object ref = nickname_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nickname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CREATETIME_FIELD_NUMBER = 4; private int createTime_; /** * optional uint32 createTime = 4; * @return Whether the createTime field is set. */ @java.lang.Override public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 createTime = 4; * @return The createTime. */ @java.lang.Override public int getCreateTime() { return createTime_; } public static final int OBJECTDESC_FIELD_NUMBER = 5; private wechat.protobuf.SKBuiltinString_ objectDesc_; /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 5; * @return Whether the objectDesc field is set. */ @java.lang.Override public boolean hasObjectDesc() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 5; * @return The objectDesc. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getObjectDesc() { return objectDesc_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_; } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 5; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getObjectDescOrBuilder() { return objectDesc_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_; } public static final int LIKEFLAG_FIELD_NUMBER = 6; private int likeFlag_; /** * optional uint32 likeFlag = 6; * @return Whether the likeFlag field is set. */ @java.lang.Override public boolean hasLikeFlag() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 likeFlag = 6; * @return The likeFlag. */ @java.lang.Override public int getLikeFlag() { return likeFlag_; } public static final int LIKENUM_FIELD_NUMBER = 7; private int likeNum_; /** * optional uint32 likeNum = 7; * @return Whether the likeNum field is set. */ @java.lang.Override public boolean hasLikeNum() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 likeNum = 7; * @return The likeNum. */ @java.lang.Override public int getLikeNum() { return likeNum_; } public static final int LIKEUSERLISTNUM_FIELD_NUMBER = 8; private int likeUserListNum_; /** * optional uint32 likeUserListNum = 8; * @return Whether the likeUserListNum field is set. */ @java.lang.Override public boolean hasLikeUserListNum() { return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 likeUserListNum = 8; * @return The likeUserListNum. */ @java.lang.Override public int getLikeUserListNum() { return likeUserListNum_; } public static final int LIKEUSERLIST_FIELD_NUMBER = 9; private java.util.List likeUserList_; /** *
     * 点赞好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ @java.lang.Override public java.util.List getLikeUserListList() { return likeUserList_; } /** *
     * 点赞好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ @java.lang.Override public java.util.List getLikeUserListOrBuilderList() { return likeUserList_; } /** *
     * 点赞好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ @java.lang.Override public int getLikeUserListCount() { return likeUserList_.size(); } /** *
     * 点赞好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentInfo getLikeUserList(int index) { return likeUserList_.get(index); } /** *
     * 点赞好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getLikeUserListOrBuilder( int index) { return likeUserList_.get(index); } public static final int COMMENTNUM_FIELD_NUMBER = 10; private int commentNum_; /** * optional uint32 commentNum = 10; * @return Whether the commentNum field is set. */ @java.lang.Override public boolean hasCommentNum() { return ((bitField0_ & 0x00000100) != 0); } /** * optional uint32 commentNum = 10; * @return The commentNum. */ @java.lang.Override public int getCommentNum() { return commentNum_; } public static final int COMMENTUSERLISTNUM_FIELD_NUMBER = 11; private int commentUserListNum_; /** * optional uint32 commentUserListNum = 11; * @return Whether the commentUserListNum field is set. */ @java.lang.Override public boolean hasCommentUserListNum() { return ((bitField0_ & 0x00000200) != 0); } /** * optional uint32 commentUserListNum = 11; * @return The commentUserListNum. */ @java.lang.Override public int getCommentUserListNum() { return commentUserListNum_; } public static final int COMMENTUSERLIST_FIELD_NUMBER = 12; private java.util.List commentUserList_; /** *
     * 评论好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ @java.lang.Override public java.util.List getCommentUserListList() { return commentUserList_; } /** *
     * 评论好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ @java.lang.Override public java.util.List getCommentUserListOrBuilderList() { return commentUserList_; } /** *
     * 评论好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ @java.lang.Override public int getCommentUserListCount() { return commentUserList_.size(); } /** *
     * 评论好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentInfo getCommentUserList(int index) { return commentUserList_.get(index); } /** *
     * 评论好友列表
     * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getCommentUserListOrBuilder( int index) { return commentUserList_.get(index); } public static final int WITHUSERNUM_FIELD_NUMBER = 13; private int withUserNum_; /** * optional uint32 withUserNum = 13; * @return Whether the withUserNum field is set. */ @java.lang.Override public boolean hasWithUserNum() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint32 withUserNum = 13; * @return The withUserNum. */ @java.lang.Override public int getWithUserNum() { return withUserNum_; } public static final int WITHUSERLISTNUM_FIELD_NUMBER = 14; private int withUserListNum_; /** * optional uint32 withUserListNum = 14; * @return Whether the withUserListNum field is set. */ @java.lang.Override public boolean hasWithUserListNum() { return ((bitField0_ & 0x00000800) != 0); } /** * optional uint32 withUserListNum = 14; * @return The withUserListNum. */ @java.lang.Override public int getWithUserListNum() { return withUserListNum_; } public static final int WITHUSERLIST_FIELD_NUMBER = 15; private java.util.List withUserList_; /** *
     * 发送朋友圈时,提到的用户列表
     * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ @java.lang.Override public java.util.List getWithUserListList() { return withUserList_; } /** *
     * 发送朋友圈时,提到的用户列表
     * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ @java.lang.Override public java.util.List getWithUserListOrBuilderList() { return withUserList_; } /** *
     * 发送朋友圈时,提到的用户列表
     * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ @java.lang.Override public int getWithUserListCount() { return withUserList_.size(); } /** *
     * 发送朋友圈时,提到的用户列表
     * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentInfo getWithUserList(int index) { return withUserList_.get(index); } /** *
     * 发送朋友圈时,提到的用户列表
     * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getWithUserListOrBuilder( int index) { return withUserList_.get(index); } public static final int EXTFLAG_FIELD_NUMBER = 16; private int extFlag_; /** * optional uint32 extFlag = 16; * @return Whether the extFlag field is set. */ @java.lang.Override public boolean hasExtFlag() { return ((bitField0_ & 0x00001000) != 0); } /** * optional uint32 extFlag = 16; * @return The extFlag. */ @java.lang.Override public int getExtFlag() { return extFlag_; } public static final int NOCHANGE_FIELD_NUMBER = 17; private int noChange_; /** * optional uint32 noChange = 17; * @return Whether the noChange field is set. */ @java.lang.Override public boolean hasNoChange() { return ((bitField0_ & 0x00002000) != 0); } /** * optional uint32 noChange = 17; * @return The noChange. */ @java.lang.Override public int getNoChange() { return noChange_; } public static final int GROUPNUM_FIELD_NUMBER = 18; private int groupNum_; /** * optional uint32 groupNum = 18; * @return Whether the groupNum field is set. */ @java.lang.Override public boolean hasGroupNum() { return ((bitField0_ & 0x00004000) != 0); } /** * optional uint32 groupNum = 18; * @return The groupNum. */ @java.lang.Override public int getGroupNum() { return groupNum_; } public static final int GROUPLIST_FIELD_NUMBER = 19; private java.util.List groupList_; /** *
     * 暂时不知道做什么用
     * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ @java.lang.Override public java.util.List getGroupListList() { return groupList_; } /** *
     * 暂时不知道做什么用
     * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ @java.lang.Override public java.util.List getGroupListOrBuilderList() { return groupList_; } /** *
     * 暂时不知道做什么用
     * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ @java.lang.Override public int getGroupListCount() { return groupList_.size(); } /** *
     * 暂时不知道做什么用
     * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsGroup getGroupList(int index) { return groupList_.get(index); } /** *
     * 暂时不知道做什么用
     * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsGroupOrBuilder getGroupListOrBuilder( int index) { return groupList_.get(index); } public static final int ISNOTRICHTEXT_FIELD_NUMBER = 20; private int isNotRichText_; /** * optional uint32 isNotRichText = 20; * @return Whether the isNotRichText field is set. */ @java.lang.Override public boolean hasIsNotRichText() { return ((bitField0_ & 0x00008000) != 0); } /** * optional uint32 isNotRichText = 20; * @return The isNotRichText. */ @java.lang.Override public int getIsNotRichText() { return isNotRichText_; } public static final int REFERUSERNAME_FIELD_NUMBER = 21; private volatile java.lang.Object referUsername_; /** * optional string referUsername = 21; * @return Whether the referUsername field is set. */ @java.lang.Override public boolean hasReferUsername() { return ((bitField0_ & 0x00010000) != 0); } /** * optional string referUsername = 21; * @return The referUsername. */ @java.lang.Override public java.lang.String getReferUsername() { java.lang.Object ref = referUsername_; 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()) { referUsername_ = s; } return s; } } /** * optional string referUsername = 21; * @return The bytes for referUsername. */ @java.lang.Override public com.google.protobuf.ByteString getReferUsernameBytes() { java.lang.Object ref = referUsername_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); referUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REFERID_FIELD_NUMBER = 22; private long referId_; /** * optional uint64 referId = 22; * @return Whether the referId field is set. */ @java.lang.Override public boolean hasReferId() { return ((bitField0_ & 0x00020000) != 0); } /** * optional uint64 referId = 22; * @return The referId. */ @java.lang.Override public long getReferId() { return referId_; } public static final int BLACKLISTNUM_FIELD_NUMBER = 23; private int blackListNum_; /** * optional uint32 blackListNum = 23; * @return Whether the blackListNum field is set. */ @java.lang.Override public boolean hasBlackListNum() { return ((bitField0_ & 0x00040000) != 0); } /** * optional uint32 blackListNum = 23; * @return The blackListNum. */ @java.lang.Override public int getBlackListNum() { return blackListNum_; } public static final int BLACKLIST_FIELD_NUMBER = 24; private java.util.List blackList_; /** *
     * 不可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ @java.lang.Override public java.util.List getBlackListList() { return blackList_; } /** *
     * 不可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ @java.lang.Override public java.util.List getBlackListOrBuilderList() { return blackList_; } /** *
     * 不可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ @java.lang.Override public int getBlackListCount() { return blackList_.size(); } /** *
     * 不可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ @java.lang.Override public wechat.protobuf.SKBuiltinString getBlackList(int index) { return blackList_.get(index); } /** *
     * 不可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder getBlackListOrBuilder( int index) { return blackList_.get(index); } public static final int DELETEFLAG_FIELD_NUMBER = 25; private int deleteFlag_; /** * optional uint32 deleteFlag = 25; * @return Whether the deleteFlag field is set. */ @java.lang.Override public boolean hasDeleteFlag() { return ((bitField0_ & 0x00080000) != 0); } /** * optional uint32 deleteFlag = 25; * @return The deleteFlag. */ @java.lang.Override public int getDeleteFlag() { return deleteFlag_; } public static final int GROUPUSERNUM_FIELD_NUMBER = 26; private int groupUserNum_; /** * optional uint32 groupUserNum = 26; * @return Whether the groupUserNum field is set. */ @java.lang.Override public boolean hasGroupUserNum() { return ((bitField0_ & 0x00100000) != 0); } /** * optional uint32 groupUserNum = 26; * @return The groupUserNum. */ @java.lang.Override public int getGroupUserNum() { return groupUserNum_; } public static final int GROUPUSER_FIELD_NUMBER = 27; private java.util.List groupUser_; /** *
     * 可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ @java.lang.Override public java.util.List getGroupUserList() { return groupUser_; } /** *
     * 可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ @java.lang.Override public java.util.List getGroupUserOrBuilderList() { return groupUser_; } /** *
     * 可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ @java.lang.Override public int getGroupUserCount() { return groupUser_.size(); } /** *
     * 可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ @java.lang.Override public wechat.protobuf.SKBuiltinString getGroupUser(int index) { return groupUser_.get(index); } /** *
     * 可见的朋友
     * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder getGroupUserOrBuilder( int index) { return groupUser_.get(index); } public static final int OBJECTOPERATIONS_FIELD_NUMBER = 28; private wechat.protobuf.SKBuiltinString_ objectOperations_; /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; * @return Whether the objectOperations field is set. */ @java.lang.Override public boolean hasObjectOperations() { return ((bitField0_ & 0x00200000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; * @return The objectOperations. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getObjectOperations() { return objectOperations_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectOperations_; } /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getObjectOperationsOrBuilder() { return objectOperations_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectOperations_; } public static final int SNSREDENVELOPS_FIELD_NUMBER = 29; private wechat.protobuf.Friendgroup.SnsRedEnvelops snsRedEnvelops_; /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; * @return Whether the snsRedEnvelops field is set. */ @java.lang.Override public boolean hasSnsRedEnvelops() { return ((bitField0_ & 0x00400000) != 0); } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; * @return The snsRedEnvelops. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsRedEnvelops getSnsRedEnvelops() { return snsRedEnvelops_ == null ? wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_; } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder getSnsRedEnvelopsOrBuilder() { return snsRedEnvelops_ == null ? wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_; } public static final int PREDOWNLOADINFO_FIELD_NUMBER = 30; private wechat.protobuf.Friendgroup.PreDownloadInfo preDownloadInfo_; /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; * @return Whether the preDownloadInfo field is set. */ @java.lang.Override public boolean hasPreDownloadInfo() { return ((bitField0_ & 0x00800000) != 0); } /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; * @return The preDownloadInfo. */ @java.lang.Override public wechat.protobuf.Friendgroup.PreDownloadInfo getPreDownloadInfo() { return preDownloadInfo_ == null ? wechat.protobuf.Friendgroup.PreDownloadInfo.getDefaultInstance() : preDownloadInfo_; } /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; */ @java.lang.Override public wechat.protobuf.Friendgroup.PreDownloadInfoOrBuilder getPreDownloadInfoOrBuilder() { return preDownloadInfo_ == null ? wechat.protobuf.Friendgroup.PreDownloadInfo.getDefaultInstance() : preDownloadInfo_; } public static final int WEAPPINFO_FIELD_NUMBER = 31; private wechat.protobuf.Friendgroup.SnsWeAppInfo weAppInfo_; /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; * @return Whether the weAppInfo field is set. */ @java.lang.Override public boolean hasWeAppInfo() { return ((bitField0_ & 0x01000000) != 0); } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; * @return The weAppInfo. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsWeAppInfo getWeAppInfo() { return weAppInfo_ == null ? wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_; } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder getWeAppInfoOrBuilder() { return weAppInfo_ == null ? wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_; } 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.writeUInt64(1, id_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, username_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nickname_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, createTime_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(5, getObjectDesc()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(6, likeFlag_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt32(7, likeNum_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeUInt32(8, likeUserListNum_); } for (int i = 0; i < likeUserList_.size(); i++) { output.writeMessage(9, likeUserList_.get(i)); } if (((bitField0_ & 0x00000100) != 0)) { output.writeUInt32(10, commentNum_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeUInt32(11, commentUserListNum_); } for (int i = 0; i < commentUserList_.size(); i++) { output.writeMessage(12, commentUserList_.get(i)); } if (((bitField0_ & 0x00000400) != 0)) { output.writeUInt32(13, withUserNum_); } if (((bitField0_ & 0x00000800) != 0)) { output.writeUInt32(14, withUserListNum_); } for (int i = 0; i < withUserList_.size(); i++) { output.writeMessage(15, withUserList_.get(i)); } if (((bitField0_ & 0x00001000) != 0)) { output.writeUInt32(16, extFlag_); } if (((bitField0_ & 0x00002000) != 0)) { output.writeUInt32(17, noChange_); } if (((bitField0_ & 0x00004000) != 0)) { output.writeUInt32(18, groupNum_); } for (int i = 0; i < groupList_.size(); i++) { output.writeMessage(19, groupList_.get(i)); } if (((bitField0_ & 0x00008000) != 0)) { output.writeUInt32(20, isNotRichText_); } if (((bitField0_ & 0x00010000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 21, referUsername_); } if (((bitField0_ & 0x00020000) != 0)) { output.writeUInt64(22, referId_); } if (((bitField0_ & 0x00040000) != 0)) { output.writeUInt32(23, blackListNum_); } for (int i = 0; i < blackList_.size(); i++) { output.writeMessage(24, blackList_.get(i)); } if (((bitField0_ & 0x00080000) != 0)) { output.writeUInt32(25, deleteFlag_); } if (((bitField0_ & 0x00100000) != 0)) { output.writeUInt32(26, groupUserNum_); } for (int i = 0; i < groupUser_.size(); i++) { output.writeMessage(27, groupUser_.get(i)); } if (((bitField0_ & 0x00200000) != 0)) { output.writeMessage(28, getObjectOperations()); } if (((bitField0_ & 0x00400000) != 0)) { output.writeMessage(29, getSnsRedEnvelops()); } if (((bitField0_ & 0x00800000) != 0)) { output.writeMessage(30, getPreDownloadInfo()); } if (((bitField0_ & 0x01000000) != 0)) { output.writeMessage(31, getWeAppInfo()); } 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 .computeUInt64Size(1, id_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, username_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nickname_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, createTime_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getObjectDesc()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, likeFlag_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, likeNum_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, likeUserListNum_); } for (int i = 0; i < likeUserList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, likeUserList_.get(i)); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(10, commentNum_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(11, commentUserListNum_); } for (int i = 0; i < commentUserList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, commentUserList_.get(i)); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(13, withUserNum_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(14, withUserListNum_); } for (int i = 0; i < withUserList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, withUserList_.get(i)); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(16, extFlag_); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(17, noChange_); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(18, groupNum_); } for (int i = 0; i < groupList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, groupList_.get(i)); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(20, isNotRichText_); } if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, referUsername_); } if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(22, referId_); } if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(23, blackListNum_); } for (int i = 0; i < blackList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(24, blackList_.get(i)); } if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(25, deleteFlag_); } if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(26, groupUserNum_); } for (int i = 0; i < groupUser_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(27, groupUser_.get(i)); } if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(28, getObjectOperations()); } if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(29, getSnsRedEnvelops()); } if (((bitField0_ & 0x00800000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(30, getPreDownloadInfo()); } if (((bitField0_ & 0x01000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(31, getWeAppInfo()); } 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.Friendgroup.SnsObject)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsObject other = (wechat.protobuf.Friendgroup.SnsObject) obj; if (hasId() != other.hasId()) return false; if (hasId()) { if (getId() != other.getId()) return false; } if (hasUsername() != other.hasUsername()) return false; if (hasUsername()) { if (!getUsername() .equals(other.getUsername())) return false; } if (hasNickname() != other.hasNickname()) return false; if (hasNickname()) { if (!getNickname() .equals(other.getNickname())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { if (getCreateTime() != other.getCreateTime()) return false; } if (hasObjectDesc() != other.hasObjectDesc()) return false; if (hasObjectDesc()) { if (!getObjectDesc() .equals(other.getObjectDesc())) return false; } if (hasLikeFlag() != other.hasLikeFlag()) return false; if (hasLikeFlag()) { if (getLikeFlag() != other.getLikeFlag()) return false; } if (hasLikeNum() != other.hasLikeNum()) return false; if (hasLikeNum()) { if (getLikeNum() != other.getLikeNum()) return false; } if (hasLikeUserListNum() != other.hasLikeUserListNum()) return false; if (hasLikeUserListNum()) { if (getLikeUserListNum() != other.getLikeUserListNum()) return false; } if (!getLikeUserListList() .equals(other.getLikeUserListList())) return false; if (hasCommentNum() != other.hasCommentNum()) return false; if (hasCommentNum()) { if (getCommentNum() != other.getCommentNum()) return false; } if (hasCommentUserListNum() != other.hasCommentUserListNum()) return false; if (hasCommentUserListNum()) { if (getCommentUserListNum() != other.getCommentUserListNum()) return false; } if (!getCommentUserListList() .equals(other.getCommentUserListList())) return false; if (hasWithUserNum() != other.hasWithUserNum()) return false; if (hasWithUserNum()) { if (getWithUserNum() != other.getWithUserNum()) return false; } if (hasWithUserListNum() != other.hasWithUserListNum()) return false; if (hasWithUserListNum()) { if (getWithUserListNum() != other.getWithUserListNum()) return false; } if (!getWithUserListList() .equals(other.getWithUserListList())) return false; if (hasExtFlag() != other.hasExtFlag()) return false; if (hasExtFlag()) { if (getExtFlag() != other.getExtFlag()) return false; } if (hasNoChange() != other.hasNoChange()) return false; if (hasNoChange()) { if (getNoChange() != other.getNoChange()) return false; } if (hasGroupNum() != other.hasGroupNum()) return false; if (hasGroupNum()) { if (getGroupNum() != other.getGroupNum()) return false; } if (!getGroupListList() .equals(other.getGroupListList())) return false; if (hasIsNotRichText() != other.hasIsNotRichText()) return false; if (hasIsNotRichText()) { if (getIsNotRichText() != other.getIsNotRichText()) return false; } if (hasReferUsername() != other.hasReferUsername()) return false; if (hasReferUsername()) { if (!getReferUsername() .equals(other.getReferUsername())) return false; } if (hasReferId() != other.hasReferId()) return false; if (hasReferId()) { if (getReferId() != other.getReferId()) return false; } if (hasBlackListNum() != other.hasBlackListNum()) return false; if (hasBlackListNum()) { if (getBlackListNum() != other.getBlackListNum()) return false; } if (!getBlackListList() .equals(other.getBlackListList())) return false; if (hasDeleteFlag() != other.hasDeleteFlag()) return false; if (hasDeleteFlag()) { if (getDeleteFlag() != other.getDeleteFlag()) return false; } if (hasGroupUserNum() != other.hasGroupUserNum()) return false; if (hasGroupUserNum()) { if (getGroupUserNum() != other.getGroupUserNum()) return false; } if (!getGroupUserList() .equals(other.getGroupUserList())) return false; if (hasObjectOperations() != other.hasObjectOperations()) return false; if (hasObjectOperations()) { if (!getObjectOperations() .equals(other.getObjectOperations())) return false; } if (hasSnsRedEnvelops() != other.hasSnsRedEnvelops()) return false; if (hasSnsRedEnvelops()) { if (!getSnsRedEnvelops() .equals(other.getSnsRedEnvelops())) return false; } if (hasPreDownloadInfo() != other.hasPreDownloadInfo()) return false; if (hasPreDownloadInfo()) { if (!getPreDownloadInfo() .equals(other.getPreDownloadInfo())) return false; } if (hasWeAppInfo() != other.hasWeAppInfo()) return false; if (hasWeAppInfo()) { if (!getWeAppInfo() .equals(other.getWeAppInfo())) 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 (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getId()); } if (hasUsername()) { hash = (37 * hash) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUsername().hashCode(); } if (hasNickname()) { hash = (37 * hash) + NICKNAME_FIELD_NUMBER; hash = (53 * hash) + getNickname().hashCode(); } if (hasCreateTime()) { hash = (37 * hash) + CREATETIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime(); } if (hasObjectDesc()) { hash = (37 * hash) + OBJECTDESC_FIELD_NUMBER; hash = (53 * hash) + getObjectDesc().hashCode(); } if (hasLikeFlag()) { hash = (37 * hash) + LIKEFLAG_FIELD_NUMBER; hash = (53 * hash) + getLikeFlag(); } if (hasLikeNum()) { hash = (37 * hash) + LIKENUM_FIELD_NUMBER; hash = (53 * hash) + getLikeNum(); } if (hasLikeUserListNum()) { hash = (37 * hash) + LIKEUSERLISTNUM_FIELD_NUMBER; hash = (53 * hash) + getLikeUserListNum(); } if (getLikeUserListCount() > 0) { hash = (37 * hash) + LIKEUSERLIST_FIELD_NUMBER; hash = (53 * hash) + getLikeUserListList().hashCode(); } if (hasCommentNum()) { hash = (37 * hash) + COMMENTNUM_FIELD_NUMBER; hash = (53 * hash) + getCommentNum(); } if (hasCommentUserListNum()) { hash = (37 * hash) + COMMENTUSERLISTNUM_FIELD_NUMBER; hash = (53 * hash) + getCommentUserListNum(); } if (getCommentUserListCount() > 0) { hash = (37 * hash) + COMMENTUSERLIST_FIELD_NUMBER; hash = (53 * hash) + getCommentUserListList().hashCode(); } if (hasWithUserNum()) { hash = (37 * hash) + WITHUSERNUM_FIELD_NUMBER; hash = (53 * hash) + getWithUserNum(); } if (hasWithUserListNum()) { hash = (37 * hash) + WITHUSERLISTNUM_FIELD_NUMBER; hash = (53 * hash) + getWithUserListNum(); } if (getWithUserListCount() > 0) { hash = (37 * hash) + WITHUSERLIST_FIELD_NUMBER; hash = (53 * hash) + getWithUserListList().hashCode(); } if (hasExtFlag()) { hash = (37 * hash) + EXTFLAG_FIELD_NUMBER; hash = (53 * hash) + getExtFlag(); } if (hasNoChange()) { hash = (37 * hash) + NOCHANGE_FIELD_NUMBER; hash = (53 * hash) + getNoChange(); } if (hasGroupNum()) { hash = (37 * hash) + GROUPNUM_FIELD_NUMBER; hash = (53 * hash) + getGroupNum(); } if (getGroupListCount() > 0) { hash = (37 * hash) + GROUPLIST_FIELD_NUMBER; hash = (53 * hash) + getGroupListList().hashCode(); } if (hasIsNotRichText()) { hash = (37 * hash) + ISNOTRICHTEXT_FIELD_NUMBER; hash = (53 * hash) + getIsNotRichText(); } if (hasReferUsername()) { hash = (37 * hash) + REFERUSERNAME_FIELD_NUMBER; hash = (53 * hash) + getReferUsername().hashCode(); } if (hasReferId()) { hash = (37 * hash) + REFERID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getReferId()); } if (hasBlackListNum()) { hash = (37 * hash) + BLACKLISTNUM_FIELD_NUMBER; hash = (53 * hash) + getBlackListNum(); } if (getBlackListCount() > 0) { hash = (37 * hash) + BLACKLIST_FIELD_NUMBER; hash = (53 * hash) + getBlackListList().hashCode(); } if (hasDeleteFlag()) { hash = (37 * hash) + DELETEFLAG_FIELD_NUMBER; hash = (53 * hash) + getDeleteFlag(); } if (hasGroupUserNum()) { hash = (37 * hash) + GROUPUSERNUM_FIELD_NUMBER; hash = (53 * hash) + getGroupUserNum(); } if (getGroupUserCount() > 0) { hash = (37 * hash) + GROUPUSER_FIELD_NUMBER; hash = (53 * hash) + getGroupUserList().hashCode(); } if (hasObjectOperations()) { hash = (37 * hash) + OBJECTOPERATIONS_FIELD_NUMBER; hash = (53 * hash) + getObjectOperations().hashCode(); } if (hasSnsRedEnvelops()) { hash = (37 * hash) + SNSREDENVELOPS_FIELD_NUMBER; hash = (53 * hash) + getSnsRedEnvelops().hashCode(); } if (hasPreDownloadInfo()) { hash = (37 * hash) + PREDOWNLOADINFO_FIELD_NUMBER; hash = (53 * hash) + getPreDownloadInfo().hashCode(); } if (hasWeAppInfo()) { hash = (37 * hash) + WEAPPINFO_FIELD_NUMBER; hash = (53 * hash) + getWeAppInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsObject parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObject parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObject 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.Friendgroup.SnsObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObject parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsObject parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObject 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.Friendgroup.SnsObject parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObject 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.Friendgroup.SnsObject parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObject 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.Friendgroup.SnsObject 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.SnsObject} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsObject) wechat.protobuf.Friendgroup.SnsObjectOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObject_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsObject.class, wechat.protobuf.Friendgroup.SnsObject.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsObject.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getObjectDescFieldBuilder(); getLikeUserListFieldBuilder(); getCommentUserListFieldBuilder(); getWithUserListFieldBuilder(); getGroupListFieldBuilder(); getBlackListFieldBuilder(); getGroupUserFieldBuilder(); getObjectOperationsFieldBuilder(); getSnsRedEnvelopsFieldBuilder(); getPreDownloadInfoFieldBuilder(); getWeAppInfoFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); username_ = ""; bitField0_ = (bitField0_ & ~0x00000002); nickname_ = ""; bitField0_ = (bitField0_ & ~0x00000004); createTime_ = 0; bitField0_ = (bitField0_ & ~0x00000008); if (objectDescBuilder_ == null) { objectDesc_ = null; } else { objectDescBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); likeFlag_ = 0; bitField0_ = (bitField0_ & ~0x00000020); likeNum_ = 0; bitField0_ = (bitField0_ & ~0x00000040); likeUserListNum_ = 0; bitField0_ = (bitField0_ & ~0x00000080); if (likeUserListBuilder_ == null) { likeUserList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); } else { likeUserListBuilder_.clear(); } commentNum_ = 0; bitField0_ = (bitField0_ & ~0x00000200); commentUserListNum_ = 0; bitField0_ = (bitField0_ & ~0x00000400); if (commentUserListBuilder_ == null) { commentUserList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); } else { commentUserListBuilder_.clear(); } withUserNum_ = 0; bitField0_ = (bitField0_ & ~0x00001000); withUserListNum_ = 0; bitField0_ = (bitField0_ & ~0x00002000); if (withUserListBuilder_ == null) { withUserList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00004000); } else { withUserListBuilder_.clear(); } extFlag_ = 0; bitField0_ = (bitField0_ & ~0x00008000); noChange_ = 0; bitField0_ = (bitField0_ & ~0x00010000); groupNum_ = 0; bitField0_ = (bitField0_ & ~0x00020000); if (groupListBuilder_ == null) { groupList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00040000); } else { groupListBuilder_.clear(); } isNotRichText_ = 0; bitField0_ = (bitField0_ & ~0x00080000); referUsername_ = ""; bitField0_ = (bitField0_ & ~0x00100000); referId_ = 0L; bitField0_ = (bitField0_ & ~0x00200000); blackListNum_ = 0; bitField0_ = (bitField0_ & ~0x00400000); if (blackListBuilder_ == null) { blackList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00800000); } else { blackListBuilder_.clear(); } deleteFlag_ = 0; bitField0_ = (bitField0_ & ~0x01000000); groupUserNum_ = 0; bitField0_ = (bitField0_ & ~0x02000000); if (groupUserBuilder_ == null) { groupUser_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x04000000); } else { groupUserBuilder_.clear(); } if (objectOperationsBuilder_ == null) { objectOperations_ = null; } else { objectOperationsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x08000000); if (snsRedEnvelopsBuilder_ == null) { snsRedEnvelops_ = null; } else { snsRedEnvelopsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x10000000); if (preDownloadInfoBuilder_ == null) { preDownloadInfo_ = null; } else { preDownloadInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x20000000); if (weAppInfoBuilder_ == null) { weAppInfo_ = null; } else { weAppInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x40000000); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObject_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObject getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObject build() { wechat.protobuf.Friendgroup.SnsObject result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObject buildPartial() { wechat.protobuf.Friendgroup.SnsObject result = new wechat.protobuf.Friendgroup.SnsObject(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.id_ = id_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.username_ = username_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.nickname_ = nickname_; if (((from_bitField0_ & 0x00000008) != 0)) { result.createTime_ = createTime_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { if (objectDescBuilder_ == null) { result.objectDesc_ = objectDesc_; } else { result.objectDesc_ = objectDescBuilder_.build(); } to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.likeFlag_ = likeFlag_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.likeNum_ = likeNum_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.likeUserListNum_ = likeUserListNum_; to_bitField0_ |= 0x00000080; } if (likeUserListBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { likeUserList_ = java.util.Collections.unmodifiableList(likeUserList_); bitField0_ = (bitField0_ & ~0x00000100); } result.likeUserList_ = likeUserList_; } else { result.likeUserList_ = likeUserListBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.commentNum_ = commentNum_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000400) != 0)) { result.commentUserListNum_ = commentUserListNum_; to_bitField0_ |= 0x00000200; } if (commentUserListBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { commentUserList_ = java.util.Collections.unmodifiableList(commentUserList_); bitField0_ = (bitField0_ & ~0x00000800); } result.commentUserList_ = commentUserList_; } else { result.commentUserList_ = commentUserListBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { result.withUserNum_ = withUserNum_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00002000) != 0)) { result.withUserListNum_ = withUserListNum_; to_bitField0_ |= 0x00000800; } if (withUserListBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0)) { withUserList_ = java.util.Collections.unmodifiableList(withUserList_); bitField0_ = (bitField0_ & ~0x00004000); } result.withUserList_ = withUserList_; } else { result.withUserList_ = withUserListBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { result.extFlag_ = extFlag_; to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00010000) != 0)) { result.noChange_ = noChange_; to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00020000) != 0)) { result.groupNum_ = groupNum_; to_bitField0_ |= 0x00004000; } if (groupListBuilder_ == null) { if (((bitField0_ & 0x00040000) != 0)) { groupList_ = java.util.Collections.unmodifiableList(groupList_); bitField0_ = (bitField0_ & ~0x00040000); } result.groupList_ = groupList_; } else { result.groupList_ = groupListBuilder_.build(); } if (((from_bitField0_ & 0x00080000) != 0)) { result.isNotRichText_ = isNotRichText_; to_bitField0_ |= 0x00008000; } if (((from_bitField0_ & 0x00100000) != 0)) { to_bitField0_ |= 0x00010000; } result.referUsername_ = referUsername_; if (((from_bitField0_ & 0x00200000) != 0)) { result.referId_ = referId_; to_bitField0_ |= 0x00020000; } if (((from_bitField0_ & 0x00400000) != 0)) { result.blackListNum_ = blackListNum_; to_bitField0_ |= 0x00040000; } if (blackListBuilder_ == null) { if (((bitField0_ & 0x00800000) != 0)) { blackList_ = java.util.Collections.unmodifiableList(blackList_); bitField0_ = (bitField0_ & ~0x00800000); } result.blackList_ = blackList_; } else { result.blackList_ = blackListBuilder_.build(); } if (((from_bitField0_ & 0x01000000) != 0)) { result.deleteFlag_ = deleteFlag_; to_bitField0_ |= 0x00080000; } if (((from_bitField0_ & 0x02000000) != 0)) { result.groupUserNum_ = groupUserNum_; to_bitField0_ |= 0x00100000; } if (groupUserBuilder_ == null) { if (((bitField0_ & 0x04000000) != 0)) { groupUser_ = java.util.Collections.unmodifiableList(groupUser_); bitField0_ = (bitField0_ & ~0x04000000); } result.groupUser_ = groupUser_; } else { result.groupUser_ = groupUserBuilder_.build(); } if (((from_bitField0_ & 0x08000000) != 0)) { if (objectOperationsBuilder_ == null) { result.objectOperations_ = objectOperations_; } else { result.objectOperations_ = objectOperationsBuilder_.build(); } to_bitField0_ |= 0x00200000; } if (((from_bitField0_ & 0x10000000) != 0)) { if (snsRedEnvelopsBuilder_ == null) { result.snsRedEnvelops_ = snsRedEnvelops_; } else { result.snsRedEnvelops_ = snsRedEnvelopsBuilder_.build(); } to_bitField0_ |= 0x00400000; } if (((from_bitField0_ & 0x20000000) != 0)) { if (preDownloadInfoBuilder_ == null) { result.preDownloadInfo_ = preDownloadInfo_; } else { result.preDownloadInfo_ = preDownloadInfoBuilder_.build(); } to_bitField0_ |= 0x00800000; } if (((from_bitField0_ & 0x40000000) != 0)) { if (weAppInfoBuilder_ == null) { result.weAppInfo_ = weAppInfo_; } else { result.weAppInfo_ = weAppInfoBuilder_.build(); } to_bitField0_ |= 0x01000000; } 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.Friendgroup.SnsObject) { return mergeFrom((wechat.protobuf.Friendgroup.SnsObject)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsObject other) { if (other == wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasUsername()) { bitField0_ |= 0x00000002; username_ = other.username_; onChanged(); } if (other.hasNickname()) { bitField0_ |= 0x00000004; nickname_ = other.nickname_; onChanged(); } if (other.hasCreateTime()) { setCreateTime(other.getCreateTime()); } if (other.hasObjectDesc()) { mergeObjectDesc(other.getObjectDesc()); } if (other.hasLikeFlag()) { setLikeFlag(other.getLikeFlag()); } if (other.hasLikeNum()) { setLikeNum(other.getLikeNum()); } if (other.hasLikeUserListNum()) { setLikeUserListNum(other.getLikeUserListNum()); } if (likeUserListBuilder_ == null) { if (!other.likeUserList_.isEmpty()) { if (likeUserList_.isEmpty()) { likeUserList_ = other.likeUserList_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureLikeUserListIsMutable(); likeUserList_.addAll(other.likeUserList_); } onChanged(); } } else { if (!other.likeUserList_.isEmpty()) { if (likeUserListBuilder_.isEmpty()) { likeUserListBuilder_.dispose(); likeUserListBuilder_ = null; likeUserList_ = other.likeUserList_; bitField0_ = (bitField0_ & ~0x00000100); likeUserListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLikeUserListFieldBuilder() : null; } else { likeUserListBuilder_.addAllMessages(other.likeUserList_); } } } if (other.hasCommentNum()) { setCommentNum(other.getCommentNum()); } if (other.hasCommentUserListNum()) { setCommentUserListNum(other.getCommentUserListNum()); } if (commentUserListBuilder_ == null) { if (!other.commentUserList_.isEmpty()) { if (commentUserList_.isEmpty()) { commentUserList_ = other.commentUserList_; bitField0_ = (bitField0_ & ~0x00000800); } else { ensureCommentUserListIsMutable(); commentUserList_.addAll(other.commentUserList_); } onChanged(); } } else { if (!other.commentUserList_.isEmpty()) { if (commentUserListBuilder_.isEmpty()) { commentUserListBuilder_.dispose(); commentUserListBuilder_ = null; commentUserList_ = other.commentUserList_; bitField0_ = (bitField0_ & ~0x00000800); commentUserListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCommentUserListFieldBuilder() : null; } else { commentUserListBuilder_.addAllMessages(other.commentUserList_); } } } if (other.hasWithUserNum()) { setWithUserNum(other.getWithUserNum()); } if (other.hasWithUserListNum()) { setWithUserListNum(other.getWithUserListNum()); } if (withUserListBuilder_ == null) { if (!other.withUserList_.isEmpty()) { if (withUserList_.isEmpty()) { withUserList_ = other.withUserList_; bitField0_ = (bitField0_ & ~0x00004000); } else { ensureWithUserListIsMutable(); withUserList_.addAll(other.withUserList_); } onChanged(); } } else { if (!other.withUserList_.isEmpty()) { if (withUserListBuilder_.isEmpty()) { withUserListBuilder_.dispose(); withUserListBuilder_ = null; withUserList_ = other.withUserList_; bitField0_ = (bitField0_ & ~0x00004000); withUserListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getWithUserListFieldBuilder() : null; } else { withUserListBuilder_.addAllMessages(other.withUserList_); } } } if (other.hasExtFlag()) { setExtFlag(other.getExtFlag()); } if (other.hasNoChange()) { setNoChange(other.getNoChange()); } if (other.hasGroupNum()) { setGroupNum(other.getGroupNum()); } if (groupListBuilder_ == null) { if (!other.groupList_.isEmpty()) { if (groupList_.isEmpty()) { groupList_ = other.groupList_; bitField0_ = (bitField0_ & ~0x00040000); } else { ensureGroupListIsMutable(); groupList_.addAll(other.groupList_); } onChanged(); } } else { if (!other.groupList_.isEmpty()) { if (groupListBuilder_.isEmpty()) { groupListBuilder_.dispose(); groupListBuilder_ = null; groupList_ = other.groupList_; bitField0_ = (bitField0_ & ~0x00040000); groupListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGroupListFieldBuilder() : null; } else { groupListBuilder_.addAllMessages(other.groupList_); } } } if (other.hasIsNotRichText()) { setIsNotRichText(other.getIsNotRichText()); } if (other.hasReferUsername()) { bitField0_ |= 0x00100000; referUsername_ = other.referUsername_; onChanged(); } if (other.hasReferId()) { setReferId(other.getReferId()); } if (other.hasBlackListNum()) { setBlackListNum(other.getBlackListNum()); } if (blackListBuilder_ == null) { if (!other.blackList_.isEmpty()) { if (blackList_.isEmpty()) { blackList_ = other.blackList_; bitField0_ = (bitField0_ & ~0x00800000); } else { ensureBlackListIsMutable(); blackList_.addAll(other.blackList_); } onChanged(); } } else { if (!other.blackList_.isEmpty()) { if (blackListBuilder_.isEmpty()) { blackListBuilder_.dispose(); blackListBuilder_ = null; blackList_ = other.blackList_; bitField0_ = (bitField0_ & ~0x00800000); blackListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getBlackListFieldBuilder() : null; } else { blackListBuilder_.addAllMessages(other.blackList_); } } } if (other.hasDeleteFlag()) { setDeleteFlag(other.getDeleteFlag()); } if (other.hasGroupUserNum()) { setGroupUserNum(other.getGroupUserNum()); } if (groupUserBuilder_ == null) { if (!other.groupUser_.isEmpty()) { if (groupUser_.isEmpty()) { groupUser_ = other.groupUser_; bitField0_ = (bitField0_ & ~0x04000000); } else { ensureGroupUserIsMutable(); groupUser_.addAll(other.groupUser_); } onChanged(); } } else { if (!other.groupUser_.isEmpty()) { if (groupUserBuilder_.isEmpty()) { groupUserBuilder_.dispose(); groupUserBuilder_ = null; groupUser_ = other.groupUser_; bitField0_ = (bitField0_ & ~0x04000000); groupUserBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGroupUserFieldBuilder() : null; } else { groupUserBuilder_.addAllMessages(other.groupUser_); } } } if (other.hasObjectOperations()) { mergeObjectOperations(other.getObjectOperations()); } if (other.hasSnsRedEnvelops()) { mergeSnsRedEnvelops(other.getSnsRedEnvelops()); } if (other.hasPreDownloadInfo()) { mergePreDownloadInfo(other.getPreDownloadInfo()); } if (other.hasWeAppInfo()) { mergeWeAppInfo(other.getWeAppInfo()); } 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.Friendgroup.SnsObject parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsObject) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long id_ ; /** * optional uint64 id = 1; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint64 id = 1; * @return The id. */ @java.lang.Override public long getId() { return id_; } /** * optional uint64 id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId(long value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /** * optional uint64 id = 1; * @return This builder for chaining. */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0L; onChanged(); return this; } private java.lang.Object username_ = ""; /** * optional string username = 2; * @return Whether the username field is set. */ public boolean hasUsername() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string username = 2; * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; 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()) { username_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string username = 2; * @return The bytes for username. */ public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string username = 2; * @param value The username to set. * @return This builder for chaining. */ public Builder setUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; username_ = value; onChanged(); return this; } /** * optional string username = 2; * @return This builder for chaining. */ public Builder clearUsername() { bitField0_ = (bitField0_ & ~0x00000002); username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** * optional string username = 2; * @param value The bytes for username to set. * @return This builder for chaining. */ public Builder setUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; username_ = value; onChanged(); return this; } private java.lang.Object nickname_ = ""; /** * optional string nickname = 3; * @return Whether the nickname field is set. */ public boolean hasNickname() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string nickname = 3; * @return The nickname. */ public java.lang.String getNickname() { java.lang.Object ref = nickname_; 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()) { nickname_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string nickname = 3; * @return The bytes for nickname. */ public com.google.protobuf.ByteString getNicknameBytes() { java.lang.Object ref = nickname_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nickname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string nickname = 3; * @param value The nickname to set. * @return This builder for chaining. */ public Builder setNickname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; nickname_ = value; onChanged(); return this; } /** * optional string nickname = 3; * @return This builder for chaining. */ public Builder clearNickname() { bitField0_ = (bitField0_ & ~0x00000004); nickname_ = getDefaultInstance().getNickname(); onChanged(); return this; } /** * optional string nickname = 3; * @param value The bytes for nickname to set. * @return This builder for chaining. */ public Builder setNicknameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; nickname_ = value; onChanged(); return this; } private int createTime_ ; /** * optional uint32 createTime = 4; * @return Whether the createTime field is set. */ @java.lang.Override public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 createTime = 4; * @return The createTime. */ @java.lang.Override public int getCreateTime() { return createTime_; } /** * optional uint32 createTime = 4; * @param value The createTime to set. * @return This builder for chaining. */ public Builder setCreateTime(int value) { bitField0_ |= 0x00000008; createTime_ = value; onChanged(); return this; } /** * optional uint32 createTime = 4; * @return This builder for chaining. */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); createTime_ = 0; onChanged(); return this; } private wechat.protobuf.SKBuiltinString_ objectDesc_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> objectDescBuilder_; /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 5; * @return Whether the objectDesc field is set. */ public boolean hasObjectDesc() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 5; * @return The objectDesc. */ public wechat.protobuf.SKBuiltinString_ getObjectDesc() { if (objectDescBuilder_ == null) { return objectDesc_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_; } else { return objectDescBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 5; */ public Builder setObjectDesc(wechat.protobuf.SKBuiltinString_ value) { if (objectDescBuilder_ == null) { if (value == null) { throw new NullPointerException(); } objectDesc_ = value; onChanged(); } else { objectDescBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 5; */ public Builder setObjectDesc( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (objectDescBuilder_ == null) { objectDesc_ = builderForValue.build(); onChanged(); } else { objectDescBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 5; */ public Builder mergeObjectDesc(wechat.protobuf.SKBuiltinString_ value) { if (objectDescBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && objectDesc_ != null && objectDesc_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { objectDesc_ = wechat.protobuf.SKBuiltinString_.newBuilder(objectDesc_).mergeFrom(value).buildPartial(); } else { objectDesc_ = value; } onChanged(); } else { objectDescBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 5; */ public Builder clearObjectDesc() { if (objectDescBuilder_ == null) { objectDesc_ = null; onChanged(); } else { objectDescBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 5; */ public wechat.protobuf.SKBuiltinString_.Builder getObjectDescBuilder() { bitField0_ |= 0x00000010; onChanged(); return getObjectDescFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 5; */ public wechat.protobuf.SKBuiltinString_OrBuilder getObjectDescOrBuilder() { if (objectDescBuilder_ != null) { return objectDescBuilder_.getMessageOrBuilder(); } else { return objectDesc_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_; } } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 5; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getObjectDescFieldBuilder() { if (objectDescBuilder_ == null) { objectDescBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getObjectDesc(), getParentForChildren(), isClean()); objectDesc_ = null; } return objectDescBuilder_; } private int likeFlag_ ; /** * optional uint32 likeFlag = 6; * @return Whether the likeFlag field is set. */ @java.lang.Override public boolean hasLikeFlag() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 likeFlag = 6; * @return The likeFlag. */ @java.lang.Override public int getLikeFlag() { return likeFlag_; } /** * optional uint32 likeFlag = 6; * @param value The likeFlag to set. * @return This builder for chaining. */ public Builder setLikeFlag(int value) { bitField0_ |= 0x00000020; likeFlag_ = value; onChanged(); return this; } /** * optional uint32 likeFlag = 6; * @return This builder for chaining. */ public Builder clearLikeFlag() { bitField0_ = (bitField0_ & ~0x00000020); likeFlag_ = 0; onChanged(); return this; } private int likeNum_ ; /** * optional uint32 likeNum = 7; * @return Whether the likeNum field is set. */ @java.lang.Override public boolean hasLikeNum() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 likeNum = 7; * @return The likeNum. */ @java.lang.Override public int getLikeNum() { return likeNum_; } /** * optional uint32 likeNum = 7; * @param value The likeNum to set. * @return This builder for chaining. */ public Builder setLikeNum(int value) { bitField0_ |= 0x00000040; likeNum_ = value; onChanged(); return this; } /** * optional uint32 likeNum = 7; * @return This builder for chaining. */ public Builder clearLikeNum() { bitField0_ = (bitField0_ & ~0x00000040); likeNum_ = 0; onChanged(); return this; } private int likeUserListNum_ ; /** * optional uint32 likeUserListNum = 8; * @return Whether the likeUserListNum field is set. */ @java.lang.Override public boolean hasLikeUserListNum() { return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 likeUserListNum = 8; * @return The likeUserListNum. */ @java.lang.Override public int getLikeUserListNum() { return likeUserListNum_; } /** * optional uint32 likeUserListNum = 8; * @param value The likeUserListNum to set. * @return This builder for chaining. */ public Builder setLikeUserListNum(int value) { bitField0_ |= 0x00000080; likeUserListNum_ = value; onChanged(); return this; } /** * optional uint32 likeUserListNum = 8; * @return This builder for chaining. */ public Builder clearLikeUserListNum() { bitField0_ = (bitField0_ & ~0x00000080); likeUserListNum_ = 0; onChanged(); return this; } private java.util.List likeUserList_ = java.util.Collections.emptyList(); private void ensureLikeUserListIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { likeUserList_ = new java.util.ArrayList(likeUserList_); bitField0_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder> likeUserListBuilder_; /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public java.util.List getLikeUserListList() { if (likeUserListBuilder_ == null) { return java.util.Collections.unmodifiableList(likeUserList_); } else { return likeUserListBuilder_.getMessageList(); } } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public int getLikeUserListCount() { if (likeUserListBuilder_ == null) { return likeUserList_.size(); } else { return likeUserListBuilder_.getCount(); } } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public wechat.protobuf.Friendgroup.SnsCommentInfo getLikeUserList(int index) { if (likeUserListBuilder_ == null) { return likeUserList_.get(index); } else { return likeUserListBuilder_.getMessage(index); } } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public Builder setLikeUserList( int index, wechat.protobuf.Friendgroup.SnsCommentInfo value) { if (likeUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLikeUserListIsMutable(); likeUserList_.set(index, value); onChanged(); } else { likeUserListBuilder_.setMessage(index, value); } return this; } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public Builder setLikeUserList( int index, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) { if (likeUserListBuilder_ == null) { ensureLikeUserListIsMutable(); likeUserList_.set(index, builderForValue.build()); onChanged(); } else { likeUserListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public Builder addLikeUserList(wechat.protobuf.Friendgroup.SnsCommentInfo value) { if (likeUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLikeUserListIsMutable(); likeUserList_.add(value); onChanged(); } else { likeUserListBuilder_.addMessage(value); } return this; } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public Builder addLikeUserList( int index, wechat.protobuf.Friendgroup.SnsCommentInfo value) { if (likeUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLikeUserListIsMutable(); likeUserList_.add(index, value); onChanged(); } else { likeUserListBuilder_.addMessage(index, value); } return this; } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public Builder addLikeUserList( wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) { if (likeUserListBuilder_ == null) { ensureLikeUserListIsMutable(); likeUserList_.add(builderForValue.build()); onChanged(); } else { likeUserListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public Builder addLikeUserList( int index, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) { if (likeUserListBuilder_ == null) { ensureLikeUserListIsMutable(); likeUserList_.add(index, builderForValue.build()); onChanged(); } else { likeUserListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public Builder addAllLikeUserList( java.lang.Iterable values) { if (likeUserListBuilder_ == null) { ensureLikeUserListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, likeUserList_); onChanged(); } else { likeUserListBuilder_.addAllMessages(values); } return this; } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public Builder clearLikeUserList() { if (likeUserListBuilder_ == null) { likeUserList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); } else { likeUserListBuilder_.clear(); } return this; } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public Builder removeLikeUserList(int index) { if (likeUserListBuilder_ == null) { ensureLikeUserListIsMutable(); likeUserList_.remove(index); onChanged(); } else { likeUserListBuilder_.remove(index); } return this; } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder getLikeUserListBuilder( int index) { return getLikeUserListFieldBuilder().getBuilder(index); } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getLikeUserListOrBuilder( int index) { if (likeUserListBuilder_ == null) { return likeUserList_.get(index); } else { return likeUserListBuilder_.getMessageOrBuilder(index); } } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public java.util.List getLikeUserListOrBuilderList() { if (likeUserListBuilder_ != null) { return likeUserListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(likeUserList_); } } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder addLikeUserListBuilder() { return getLikeUserListFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance()); } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder addLikeUserListBuilder( int index) { return getLikeUserListFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance()); } /** *
       * 点赞好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo likeUserList = 9; */ public java.util.List getLikeUserListBuilderList() { return getLikeUserListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder> getLikeUserListFieldBuilder() { if (likeUserListBuilder_ == null) { likeUserListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>( likeUserList_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); likeUserList_ = null; } return likeUserListBuilder_; } private int commentNum_ ; /** * optional uint32 commentNum = 10; * @return Whether the commentNum field is set. */ @java.lang.Override public boolean hasCommentNum() { return ((bitField0_ & 0x00000200) != 0); } /** * optional uint32 commentNum = 10; * @return The commentNum. */ @java.lang.Override public int getCommentNum() { return commentNum_; } /** * optional uint32 commentNum = 10; * @param value The commentNum to set. * @return This builder for chaining. */ public Builder setCommentNum(int value) { bitField0_ |= 0x00000200; commentNum_ = value; onChanged(); return this; } /** * optional uint32 commentNum = 10; * @return This builder for chaining. */ public Builder clearCommentNum() { bitField0_ = (bitField0_ & ~0x00000200); commentNum_ = 0; onChanged(); return this; } private int commentUserListNum_ ; /** * optional uint32 commentUserListNum = 11; * @return Whether the commentUserListNum field is set. */ @java.lang.Override public boolean hasCommentUserListNum() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint32 commentUserListNum = 11; * @return The commentUserListNum. */ @java.lang.Override public int getCommentUserListNum() { return commentUserListNum_; } /** * optional uint32 commentUserListNum = 11; * @param value The commentUserListNum to set. * @return This builder for chaining. */ public Builder setCommentUserListNum(int value) { bitField0_ |= 0x00000400; commentUserListNum_ = value; onChanged(); return this; } /** * optional uint32 commentUserListNum = 11; * @return This builder for chaining. */ public Builder clearCommentUserListNum() { bitField0_ = (bitField0_ & ~0x00000400); commentUserListNum_ = 0; onChanged(); return this; } private java.util.List commentUserList_ = java.util.Collections.emptyList(); private void ensureCommentUserListIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { commentUserList_ = new java.util.ArrayList(commentUserList_); bitField0_ |= 0x00000800; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder> commentUserListBuilder_; /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public java.util.List getCommentUserListList() { if (commentUserListBuilder_ == null) { return java.util.Collections.unmodifiableList(commentUserList_); } else { return commentUserListBuilder_.getMessageList(); } } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public int getCommentUserListCount() { if (commentUserListBuilder_ == null) { return commentUserList_.size(); } else { return commentUserListBuilder_.getCount(); } } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public wechat.protobuf.Friendgroup.SnsCommentInfo getCommentUserList(int index) { if (commentUserListBuilder_ == null) { return commentUserList_.get(index); } else { return commentUserListBuilder_.getMessage(index); } } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public Builder setCommentUserList( int index, wechat.protobuf.Friendgroup.SnsCommentInfo value) { if (commentUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommentUserListIsMutable(); commentUserList_.set(index, value); onChanged(); } else { commentUserListBuilder_.setMessage(index, value); } return this; } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public Builder setCommentUserList( int index, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) { if (commentUserListBuilder_ == null) { ensureCommentUserListIsMutable(); commentUserList_.set(index, builderForValue.build()); onChanged(); } else { commentUserListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public Builder addCommentUserList(wechat.protobuf.Friendgroup.SnsCommentInfo value) { if (commentUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommentUserListIsMutable(); commentUserList_.add(value); onChanged(); } else { commentUserListBuilder_.addMessage(value); } return this; } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public Builder addCommentUserList( int index, wechat.protobuf.Friendgroup.SnsCommentInfo value) { if (commentUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommentUserListIsMutable(); commentUserList_.add(index, value); onChanged(); } else { commentUserListBuilder_.addMessage(index, value); } return this; } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public Builder addCommentUserList( wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) { if (commentUserListBuilder_ == null) { ensureCommentUserListIsMutable(); commentUserList_.add(builderForValue.build()); onChanged(); } else { commentUserListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public Builder addCommentUserList( int index, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) { if (commentUserListBuilder_ == null) { ensureCommentUserListIsMutable(); commentUserList_.add(index, builderForValue.build()); onChanged(); } else { commentUserListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public Builder addAllCommentUserList( java.lang.Iterable values) { if (commentUserListBuilder_ == null) { ensureCommentUserListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, commentUserList_); onChanged(); } else { commentUserListBuilder_.addAllMessages(values); } return this; } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public Builder clearCommentUserList() { if (commentUserListBuilder_ == null) { commentUserList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); } else { commentUserListBuilder_.clear(); } return this; } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public Builder removeCommentUserList(int index) { if (commentUserListBuilder_ == null) { ensureCommentUserListIsMutable(); commentUserList_.remove(index); onChanged(); } else { commentUserListBuilder_.remove(index); } return this; } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder getCommentUserListBuilder( int index) { return getCommentUserListFieldBuilder().getBuilder(index); } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getCommentUserListOrBuilder( int index) { if (commentUserListBuilder_ == null) { return commentUserList_.get(index); } else { return commentUserListBuilder_.getMessageOrBuilder(index); } } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public java.util.List getCommentUserListOrBuilderList() { if (commentUserListBuilder_ != null) { return commentUserListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(commentUserList_); } } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder addCommentUserListBuilder() { return getCommentUserListFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance()); } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder addCommentUserListBuilder( int index) { return getCommentUserListFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance()); } /** *
       * 评论好友列表
       * 
* * repeated .wechat_proto.SnsCommentInfo commentUserList = 12; */ public java.util.List getCommentUserListBuilderList() { return getCommentUserListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder> getCommentUserListFieldBuilder() { if (commentUserListBuilder_ == null) { commentUserListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>( commentUserList_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); commentUserList_ = null; } return commentUserListBuilder_; } private int withUserNum_ ; /** * optional uint32 withUserNum = 13; * @return Whether the withUserNum field is set. */ @java.lang.Override public boolean hasWithUserNum() { return ((bitField0_ & 0x00001000) != 0); } /** * optional uint32 withUserNum = 13; * @return The withUserNum. */ @java.lang.Override public int getWithUserNum() { return withUserNum_; } /** * optional uint32 withUserNum = 13; * @param value The withUserNum to set. * @return This builder for chaining. */ public Builder setWithUserNum(int value) { bitField0_ |= 0x00001000; withUserNum_ = value; onChanged(); return this; } /** * optional uint32 withUserNum = 13; * @return This builder for chaining. */ public Builder clearWithUserNum() { bitField0_ = (bitField0_ & ~0x00001000); withUserNum_ = 0; onChanged(); return this; } private int withUserListNum_ ; /** * optional uint32 withUserListNum = 14; * @return Whether the withUserListNum field is set. */ @java.lang.Override public boolean hasWithUserListNum() { return ((bitField0_ & 0x00002000) != 0); } /** * optional uint32 withUserListNum = 14; * @return The withUserListNum. */ @java.lang.Override public int getWithUserListNum() { return withUserListNum_; } /** * optional uint32 withUserListNum = 14; * @param value The withUserListNum to set. * @return This builder for chaining. */ public Builder setWithUserListNum(int value) { bitField0_ |= 0x00002000; withUserListNum_ = value; onChanged(); return this; } /** * optional uint32 withUserListNum = 14; * @return This builder for chaining. */ public Builder clearWithUserListNum() { bitField0_ = (bitField0_ & ~0x00002000); withUserListNum_ = 0; onChanged(); return this; } private java.util.List withUserList_ = java.util.Collections.emptyList(); private void ensureWithUserListIsMutable() { if (!((bitField0_ & 0x00004000) != 0)) { withUserList_ = new java.util.ArrayList(withUserList_); bitField0_ |= 0x00004000; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder> withUserListBuilder_; /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public java.util.List getWithUserListList() { if (withUserListBuilder_ == null) { return java.util.Collections.unmodifiableList(withUserList_); } else { return withUserListBuilder_.getMessageList(); } } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public int getWithUserListCount() { if (withUserListBuilder_ == null) { return withUserList_.size(); } else { return withUserListBuilder_.getCount(); } } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public wechat.protobuf.Friendgroup.SnsCommentInfo getWithUserList(int index) { if (withUserListBuilder_ == null) { return withUserList_.get(index); } else { return withUserListBuilder_.getMessage(index); } } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public Builder setWithUserList( int index, wechat.protobuf.Friendgroup.SnsCommentInfo value) { if (withUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWithUserListIsMutable(); withUserList_.set(index, value); onChanged(); } else { withUserListBuilder_.setMessage(index, value); } return this; } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public Builder setWithUserList( int index, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) { if (withUserListBuilder_ == null) { ensureWithUserListIsMutable(); withUserList_.set(index, builderForValue.build()); onChanged(); } else { withUserListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public Builder addWithUserList(wechat.protobuf.Friendgroup.SnsCommentInfo value) { if (withUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWithUserListIsMutable(); withUserList_.add(value); onChanged(); } else { withUserListBuilder_.addMessage(value); } return this; } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public Builder addWithUserList( int index, wechat.protobuf.Friendgroup.SnsCommentInfo value) { if (withUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWithUserListIsMutable(); withUserList_.add(index, value); onChanged(); } else { withUserListBuilder_.addMessage(index, value); } return this; } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public Builder addWithUserList( wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) { if (withUserListBuilder_ == null) { ensureWithUserListIsMutable(); withUserList_.add(builderForValue.build()); onChanged(); } else { withUserListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public Builder addWithUserList( int index, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) { if (withUserListBuilder_ == null) { ensureWithUserListIsMutable(); withUserList_.add(index, builderForValue.build()); onChanged(); } else { withUserListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public Builder addAllWithUserList( java.lang.Iterable values) { if (withUserListBuilder_ == null) { ensureWithUserListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, withUserList_); onChanged(); } else { withUserListBuilder_.addAllMessages(values); } return this; } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public Builder clearWithUserList() { if (withUserListBuilder_ == null) { withUserList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00004000); onChanged(); } else { withUserListBuilder_.clear(); } return this; } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public Builder removeWithUserList(int index) { if (withUserListBuilder_ == null) { ensureWithUserListIsMutable(); withUserList_.remove(index); onChanged(); } else { withUserListBuilder_.remove(index); } return this; } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder getWithUserListBuilder( int index) { return getWithUserListFieldBuilder().getBuilder(index); } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getWithUserListOrBuilder( int index) { if (withUserListBuilder_ == null) { return withUserList_.get(index); } else { return withUserListBuilder_.getMessageOrBuilder(index); } } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public java.util.List getWithUserListOrBuilderList() { if (withUserListBuilder_ != null) { return withUserListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(withUserList_); } } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder addWithUserListBuilder() { return getWithUserListFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance()); } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder addWithUserListBuilder( int index) { return getWithUserListFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance()); } /** *
       * 发送朋友圈时,提到的用户列表
       * 
* * repeated .wechat_proto.SnsCommentInfo withUserList = 15; */ public java.util.List getWithUserListBuilderList() { return getWithUserListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder> getWithUserListFieldBuilder() { if (withUserListBuilder_ == null) { withUserListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>( withUserList_, ((bitField0_ & 0x00004000) != 0), getParentForChildren(), isClean()); withUserList_ = null; } return withUserListBuilder_; } private int extFlag_ ; /** * optional uint32 extFlag = 16; * @return Whether the extFlag field is set. */ @java.lang.Override public boolean hasExtFlag() { return ((bitField0_ & 0x00008000) != 0); } /** * optional uint32 extFlag = 16; * @return The extFlag. */ @java.lang.Override public int getExtFlag() { return extFlag_; } /** * optional uint32 extFlag = 16; * @param value The extFlag to set. * @return This builder for chaining. */ public Builder setExtFlag(int value) { bitField0_ |= 0x00008000; extFlag_ = value; onChanged(); return this; } /** * optional uint32 extFlag = 16; * @return This builder for chaining. */ public Builder clearExtFlag() { bitField0_ = (bitField0_ & ~0x00008000); extFlag_ = 0; onChanged(); return this; } private int noChange_ ; /** * optional uint32 noChange = 17; * @return Whether the noChange field is set. */ @java.lang.Override public boolean hasNoChange() { return ((bitField0_ & 0x00010000) != 0); } /** * optional uint32 noChange = 17; * @return The noChange. */ @java.lang.Override public int getNoChange() { return noChange_; } /** * optional uint32 noChange = 17; * @param value The noChange to set. * @return This builder for chaining. */ public Builder setNoChange(int value) { bitField0_ |= 0x00010000; noChange_ = value; onChanged(); return this; } /** * optional uint32 noChange = 17; * @return This builder for chaining. */ public Builder clearNoChange() { bitField0_ = (bitField0_ & ~0x00010000); noChange_ = 0; onChanged(); return this; } private int groupNum_ ; /** * optional uint32 groupNum = 18; * @return Whether the groupNum field is set. */ @java.lang.Override public boolean hasGroupNum() { return ((bitField0_ & 0x00020000) != 0); } /** * optional uint32 groupNum = 18; * @return The groupNum. */ @java.lang.Override public int getGroupNum() { return groupNum_; } /** * optional uint32 groupNum = 18; * @param value The groupNum to set. * @return This builder for chaining. */ public Builder setGroupNum(int value) { bitField0_ |= 0x00020000; groupNum_ = value; onChanged(); return this; } /** * optional uint32 groupNum = 18; * @return This builder for chaining. */ public Builder clearGroupNum() { bitField0_ = (bitField0_ & ~0x00020000); groupNum_ = 0; onChanged(); return this; } private java.util.List groupList_ = java.util.Collections.emptyList(); private void ensureGroupListIsMutable() { if (!((bitField0_ & 0x00040000) != 0)) { groupList_ = new java.util.ArrayList(groupList_); bitField0_ |= 0x00040000; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsGroup, wechat.protobuf.Friendgroup.SnsGroup.Builder, wechat.protobuf.Friendgroup.SnsGroupOrBuilder> groupListBuilder_; /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public java.util.List getGroupListList() { if (groupListBuilder_ == null) { return java.util.Collections.unmodifiableList(groupList_); } else { return groupListBuilder_.getMessageList(); } } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public int getGroupListCount() { if (groupListBuilder_ == null) { return groupList_.size(); } else { return groupListBuilder_.getCount(); } } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public wechat.protobuf.Friendgroup.SnsGroup getGroupList(int index) { if (groupListBuilder_ == null) { return groupList_.get(index); } else { return groupListBuilder_.getMessage(index); } } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public Builder setGroupList( int index, wechat.protobuf.Friendgroup.SnsGroup value) { if (groupListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupListIsMutable(); groupList_.set(index, value); onChanged(); } else { groupListBuilder_.setMessage(index, value); } return this; } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public Builder setGroupList( int index, wechat.protobuf.Friendgroup.SnsGroup.Builder builderForValue) { if (groupListBuilder_ == null) { ensureGroupListIsMutable(); groupList_.set(index, builderForValue.build()); onChanged(); } else { groupListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public Builder addGroupList(wechat.protobuf.Friendgroup.SnsGroup value) { if (groupListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupListIsMutable(); groupList_.add(value); onChanged(); } else { groupListBuilder_.addMessage(value); } return this; } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public Builder addGroupList( int index, wechat.protobuf.Friendgroup.SnsGroup value) { if (groupListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupListIsMutable(); groupList_.add(index, value); onChanged(); } else { groupListBuilder_.addMessage(index, value); } return this; } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public Builder addGroupList( wechat.protobuf.Friendgroup.SnsGroup.Builder builderForValue) { if (groupListBuilder_ == null) { ensureGroupListIsMutable(); groupList_.add(builderForValue.build()); onChanged(); } else { groupListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public Builder addGroupList( int index, wechat.protobuf.Friendgroup.SnsGroup.Builder builderForValue) { if (groupListBuilder_ == null) { ensureGroupListIsMutable(); groupList_.add(index, builderForValue.build()); onChanged(); } else { groupListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public Builder addAllGroupList( java.lang.Iterable values) { if (groupListBuilder_ == null) { ensureGroupListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, groupList_); onChanged(); } else { groupListBuilder_.addAllMessages(values); } return this; } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public Builder clearGroupList() { if (groupListBuilder_ == null) { groupList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00040000); onChanged(); } else { groupListBuilder_.clear(); } return this; } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public Builder removeGroupList(int index) { if (groupListBuilder_ == null) { ensureGroupListIsMutable(); groupList_.remove(index); onChanged(); } else { groupListBuilder_.remove(index); } return this; } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public wechat.protobuf.Friendgroup.SnsGroup.Builder getGroupListBuilder( int index) { return getGroupListFieldBuilder().getBuilder(index); } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public wechat.protobuf.Friendgroup.SnsGroupOrBuilder getGroupListOrBuilder( int index) { if (groupListBuilder_ == null) { return groupList_.get(index); } else { return groupListBuilder_.getMessageOrBuilder(index); } } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public java.util.List getGroupListOrBuilderList() { if (groupListBuilder_ != null) { return groupListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(groupList_); } } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public wechat.protobuf.Friendgroup.SnsGroup.Builder addGroupListBuilder() { return getGroupListFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.SnsGroup.getDefaultInstance()); } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public wechat.protobuf.Friendgroup.SnsGroup.Builder addGroupListBuilder( int index) { return getGroupListFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.SnsGroup.getDefaultInstance()); } /** *
       * 暂时不知道做什么用
       * 
* * repeated .wechat_proto.SnsGroup groupList = 19; */ public java.util.List getGroupListBuilderList() { return getGroupListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsGroup, wechat.protobuf.Friendgroup.SnsGroup.Builder, wechat.protobuf.Friendgroup.SnsGroupOrBuilder> getGroupListFieldBuilder() { if (groupListBuilder_ == null) { groupListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsGroup, wechat.protobuf.Friendgroup.SnsGroup.Builder, wechat.protobuf.Friendgroup.SnsGroupOrBuilder>( groupList_, ((bitField0_ & 0x00040000) != 0), getParentForChildren(), isClean()); groupList_ = null; } return groupListBuilder_; } private int isNotRichText_ ; /** * optional uint32 isNotRichText = 20; * @return Whether the isNotRichText field is set. */ @java.lang.Override public boolean hasIsNotRichText() { return ((bitField0_ & 0x00080000) != 0); } /** * optional uint32 isNotRichText = 20; * @return The isNotRichText. */ @java.lang.Override public int getIsNotRichText() { return isNotRichText_; } /** * optional uint32 isNotRichText = 20; * @param value The isNotRichText to set. * @return This builder for chaining. */ public Builder setIsNotRichText(int value) { bitField0_ |= 0x00080000; isNotRichText_ = value; onChanged(); return this; } /** * optional uint32 isNotRichText = 20; * @return This builder for chaining. */ public Builder clearIsNotRichText() { bitField0_ = (bitField0_ & ~0x00080000); isNotRichText_ = 0; onChanged(); return this; } private java.lang.Object referUsername_ = ""; /** * optional string referUsername = 21; * @return Whether the referUsername field is set. */ public boolean hasReferUsername() { return ((bitField0_ & 0x00100000) != 0); } /** * optional string referUsername = 21; * @return The referUsername. */ public java.lang.String getReferUsername() { java.lang.Object ref = referUsername_; 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()) { referUsername_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string referUsername = 21; * @return The bytes for referUsername. */ public com.google.protobuf.ByteString getReferUsernameBytes() { java.lang.Object ref = referUsername_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); referUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string referUsername = 21; * @param value The referUsername to set. * @return This builder for chaining. */ public Builder setReferUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00100000; referUsername_ = value; onChanged(); return this; } /** * optional string referUsername = 21; * @return This builder for chaining. */ public Builder clearReferUsername() { bitField0_ = (bitField0_ & ~0x00100000); referUsername_ = getDefaultInstance().getReferUsername(); onChanged(); return this; } /** * optional string referUsername = 21; * @param value The bytes for referUsername to set. * @return This builder for chaining. */ public Builder setReferUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00100000; referUsername_ = value; onChanged(); return this; } private long referId_ ; /** * optional uint64 referId = 22; * @return Whether the referId field is set. */ @java.lang.Override public boolean hasReferId() { return ((bitField0_ & 0x00200000) != 0); } /** * optional uint64 referId = 22; * @return The referId. */ @java.lang.Override public long getReferId() { return referId_; } /** * optional uint64 referId = 22; * @param value The referId to set. * @return This builder for chaining. */ public Builder setReferId(long value) { bitField0_ |= 0x00200000; referId_ = value; onChanged(); return this; } /** * optional uint64 referId = 22; * @return This builder for chaining. */ public Builder clearReferId() { bitField0_ = (bitField0_ & ~0x00200000); referId_ = 0L; onChanged(); return this; } private int blackListNum_ ; /** * optional uint32 blackListNum = 23; * @return Whether the blackListNum field is set. */ @java.lang.Override public boolean hasBlackListNum() { return ((bitField0_ & 0x00400000) != 0); } /** * optional uint32 blackListNum = 23; * @return The blackListNum. */ @java.lang.Override public int getBlackListNum() { return blackListNum_; } /** * optional uint32 blackListNum = 23; * @param value The blackListNum to set. * @return This builder for chaining. */ public Builder setBlackListNum(int value) { bitField0_ |= 0x00400000; blackListNum_ = value; onChanged(); return this; } /** * optional uint32 blackListNum = 23; * @return This builder for chaining. */ public Builder clearBlackListNum() { bitField0_ = (bitField0_ & ~0x00400000); blackListNum_ = 0; onChanged(); return this; } private java.util.List blackList_ = java.util.Collections.emptyList(); private void ensureBlackListIsMutable() { if (!((bitField0_ & 0x00800000) != 0)) { blackList_ = new java.util.ArrayList(blackList_); bitField0_ |= 0x00800000; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> blackListBuilder_; /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public java.util.List getBlackListList() { if (blackListBuilder_ == null) { return java.util.Collections.unmodifiableList(blackList_); } else { return blackListBuilder_.getMessageList(); } } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public int getBlackListCount() { if (blackListBuilder_ == null) { return blackList_.size(); } else { return blackListBuilder_.getCount(); } } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public wechat.protobuf.SKBuiltinString getBlackList(int index) { if (blackListBuilder_ == null) { return blackList_.get(index); } else { return blackListBuilder_.getMessage(index); } } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public Builder setBlackList( int index, wechat.protobuf.SKBuiltinString value) { if (blackListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBlackListIsMutable(); blackList_.set(index, value); onChanged(); } else { blackListBuilder_.setMessage(index, value); } return this; } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public Builder setBlackList( int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (blackListBuilder_ == null) { ensureBlackListIsMutable(); blackList_.set(index, builderForValue.build()); onChanged(); } else { blackListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public Builder addBlackList(wechat.protobuf.SKBuiltinString value) { if (blackListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBlackListIsMutable(); blackList_.add(value); onChanged(); } else { blackListBuilder_.addMessage(value); } return this; } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public Builder addBlackList( int index, wechat.protobuf.SKBuiltinString value) { if (blackListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBlackListIsMutable(); blackList_.add(index, value); onChanged(); } else { blackListBuilder_.addMessage(index, value); } return this; } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public Builder addBlackList( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (blackListBuilder_ == null) { ensureBlackListIsMutable(); blackList_.add(builderForValue.build()); onChanged(); } else { blackListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public Builder addBlackList( int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (blackListBuilder_ == null) { ensureBlackListIsMutable(); blackList_.add(index, builderForValue.build()); onChanged(); } else { blackListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public Builder addAllBlackList( java.lang.Iterable values) { if (blackListBuilder_ == null) { ensureBlackListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, blackList_); onChanged(); } else { blackListBuilder_.addAllMessages(values); } return this; } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public Builder clearBlackList() { if (blackListBuilder_ == null) { blackList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00800000); onChanged(); } else { blackListBuilder_.clear(); } return this; } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public Builder removeBlackList(int index) { if (blackListBuilder_ == null) { ensureBlackListIsMutable(); blackList_.remove(index); onChanged(); } else { blackListBuilder_.remove(index); } return this; } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public wechat.protobuf.SKBuiltinString.Builder getBlackListBuilder( int index) { return getBlackListFieldBuilder().getBuilder(index); } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public wechat.protobuf.SKBuiltinStringOrBuilder getBlackListOrBuilder( int index) { if (blackListBuilder_ == null) { return blackList_.get(index); } else { return blackListBuilder_.getMessageOrBuilder(index); } } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public java.util.List getBlackListOrBuilderList() { if (blackListBuilder_ != null) { return blackListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(blackList_); } } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public wechat.protobuf.SKBuiltinString.Builder addBlackListBuilder() { return getBlackListFieldBuilder().addBuilder( wechat.protobuf.SKBuiltinString.getDefaultInstance()); } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public wechat.protobuf.SKBuiltinString.Builder addBlackListBuilder( int index) { return getBlackListFieldBuilder().addBuilder( index, wechat.protobuf.SKBuiltinString.getDefaultInstance()); } /** *
       * 不可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString blackList = 24; */ public java.util.List getBlackListBuilderList() { return getBlackListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getBlackListFieldBuilder() { if (blackListBuilder_ == null) { blackListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( blackList_, ((bitField0_ & 0x00800000) != 0), getParentForChildren(), isClean()); blackList_ = null; } return blackListBuilder_; } private int deleteFlag_ ; /** * optional uint32 deleteFlag = 25; * @return Whether the deleteFlag field is set. */ @java.lang.Override public boolean hasDeleteFlag() { return ((bitField0_ & 0x01000000) != 0); } /** * optional uint32 deleteFlag = 25; * @return The deleteFlag. */ @java.lang.Override public int getDeleteFlag() { return deleteFlag_; } /** * optional uint32 deleteFlag = 25; * @param value The deleteFlag to set. * @return This builder for chaining. */ public Builder setDeleteFlag(int value) { bitField0_ |= 0x01000000; deleteFlag_ = value; onChanged(); return this; } /** * optional uint32 deleteFlag = 25; * @return This builder for chaining. */ public Builder clearDeleteFlag() { bitField0_ = (bitField0_ & ~0x01000000); deleteFlag_ = 0; onChanged(); return this; } private int groupUserNum_ ; /** * optional uint32 groupUserNum = 26; * @return Whether the groupUserNum field is set. */ @java.lang.Override public boolean hasGroupUserNum() { return ((bitField0_ & 0x02000000) != 0); } /** * optional uint32 groupUserNum = 26; * @return The groupUserNum. */ @java.lang.Override public int getGroupUserNum() { return groupUserNum_; } /** * optional uint32 groupUserNum = 26; * @param value The groupUserNum to set. * @return This builder for chaining. */ public Builder setGroupUserNum(int value) { bitField0_ |= 0x02000000; groupUserNum_ = value; onChanged(); return this; } /** * optional uint32 groupUserNum = 26; * @return This builder for chaining. */ public Builder clearGroupUserNum() { bitField0_ = (bitField0_ & ~0x02000000); groupUserNum_ = 0; onChanged(); return this; } private java.util.List groupUser_ = java.util.Collections.emptyList(); private void ensureGroupUserIsMutable() { if (!((bitField0_ & 0x04000000) != 0)) { groupUser_ = new java.util.ArrayList(groupUser_); bitField0_ |= 0x04000000; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> groupUserBuilder_; /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public java.util.List getGroupUserList() { if (groupUserBuilder_ == null) { return java.util.Collections.unmodifiableList(groupUser_); } else { return groupUserBuilder_.getMessageList(); } } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public int getGroupUserCount() { if (groupUserBuilder_ == null) { return groupUser_.size(); } else { return groupUserBuilder_.getCount(); } } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public wechat.protobuf.SKBuiltinString getGroupUser(int index) { if (groupUserBuilder_ == null) { return groupUser_.get(index); } else { return groupUserBuilder_.getMessage(index); } } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public Builder setGroupUser( int index, wechat.protobuf.SKBuiltinString value) { if (groupUserBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupUserIsMutable(); groupUser_.set(index, value); onChanged(); } else { groupUserBuilder_.setMessage(index, value); } return this; } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public Builder setGroupUser( int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (groupUserBuilder_ == null) { ensureGroupUserIsMutable(); groupUser_.set(index, builderForValue.build()); onChanged(); } else { groupUserBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public Builder addGroupUser(wechat.protobuf.SKBuiltinString value) { if (groupUserBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupUserIsMutable(); groupUser_.add(value); onChanged(); } else { groupUserBuilder_.addMessage(value); } return this; } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public Builder addGroupUser( int index, wechat.protobuf.SKBuiltinString value) { if (groupUserBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupUserIsMutable(); groupUser_.add(index, value); onChanged(); } else { groupUserBuilder_.addMessage(index, value); } return this; } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public Builder addGroupUser( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (groupUserBuilder_ == null) { ensureGroupUserIsMutable(); groupUser_.add(builderForValue.build()); onChanged(); } else { groupUserBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public Builder addGroupUser( int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (groupUserBuilder_ == null) { ensureGroupUserIsMutable(); groupUser_.add(index, builderForValue.build()); onChanged(); } else { groupUserBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public Builder addAllGroupUser( java.lang.Iterable values) { if (groupUserBuilder_ == null) { ensureGroupUserIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, groupUser_); onChanged(); } else { groupUserBuilder_.addAllMessages(values); } return this; } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public Builder clearGroupUser() { if (groupUserBuilder_ == null) { groupUser_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x04000000); onChanged(); } else { groupUserBuilder_.clear(); } return this; } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public Builder removeGroupUser(int index) { if (groupUserBuilder_ == null) { ensureGroupUserIsMutable(); groupUser_.remove(index); onChanged(); } else { groupUserBuilder_.remove(index); } return this; } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public wechat.protobuf.SKBuiltinString.Builder getGroupUserBuilder( int index) { return getGroupUserFieldBuilder().getBuilder(index); } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public wechat.protobuf.SKBuiltinStringOrBuilder getGroupUserOrBuilder( int index) { if (groupUserBuilder_ == null) { return groupUser_.get(index); } else { return groupUserBuilder_.getMessageOrBuilder(index); } } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public java.util.List getGroupUserOrBuilderList() { if (groupUserBuilder_ != null) { return groupUserBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(groupUser_); } } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public wechat.protobuf.SKBuiltinString.Builder addGroupUserBuilder() { return getGroupUserFieldBuilder().addBuilder( wechat.protobuf.SKBuiltinString.getDefaultInstance()); } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public wechat.protobuf.SKBuiltinString.Builder addGroupUserBuilder( int index) { return getGroupUserFieldBuilder().addBuilder( index, wechat.protobuf.SKBuiltinString.getDefaultInstance()); } /** *
       * 可见的朋友
       * 
* * repeated .wechat_proto.SKBuiltinString groupUser = 27; */ public java.util.List getGroupUserBuilderList() { return getGroupUserFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getGroupUserFieldBuilder() { if (groupUserBuilder_ == null) { groupUserBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( groupUser_, ((bitField0_ & 0x04000000) != 0), getParentForChildren(), isClean()); groupUser_ = null; } return groupUserBuilder_; } private wechat.protobuf.SKBuiltinString_ objectOperations_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> objectOperationsBuilder_; /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; * @return Whether the objectOperations field is set. */ public boolean hasObjectOperations() { return ((bitField0_ & 0x08000000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; * @return The objectOperations. */ public wechat.protobuf.SKBuiltinString_ getObjectOperations() { if (objectOperationsBuilder_ == null) { return objectOperations_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectOperations_; } else { return objectOperationsBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; */ public Builder setObjectOperations(wechat.protobuf.SKBuiltinString_ value) { if (objectOperationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } objectOperations_ = value; onChanged(); } else { objectOperationsBuilder_.setMessage(value); } bitField0_ |= 0x08000000; return this; } /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; */ public Builder setObjectOperations( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (objectOperationsBuilder_ == null) { objectOperations_ = builderForValue.build(); onChanged(); } else { objectOperationsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x08000000; return this; } /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; */ public Builder mergeObjectOperations(wechat.protobuf.SKBuiltinString_ value) { if (objectOperationsBuilder_ == null) { if (((bitField0_ & 0x08000000) != 0) && objectOperations_ != null && objectOperations_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { objectOperations_ = wechat.protobuf.SKBuiltinString_.newBuilder(objectOperations_).mergeFrom(value).buildPartial(); } else { objectOperations_ = value; } onChanged(); } else { objectOperationsBuilder_.mergeFrom(value); } bitField0_ |= 0x08000000; return this; } /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; */ public Builder clearObjectOperations() { if (objectOperationsBuilder_ == null) { objectOperations_ = null; onChanged(); } else { objectOperationsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x08000000); return this; } /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; */ public wechat.protobuf.SKBuiltinString_.Builder getObjectOperationsBuilder() { bitField0_ |= 0x08000000; onChanged(); return getObjectOperationsFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; */ public wechat.protobuf.SKBuiltinString_OrBuilder getObjectOperationsOrBuilder() { if (objectOperationsBuilder_ != null) { return objectOperationsBuilder_.getMessageOrBuilder(); } else { return objectOperations_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectOperations_; } } /** * optional .wechat_proto.SKBuiltinString_ objectOperations = 28; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getObjectOperationsFieldBuilder() { if (objectOperationsBuilder_ == null) { objectOperationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getObjectOperations(), getParentForChildren(), isClean()); objectOperations_ = null; } return objectOperationsBuilder_; } private wechat.protobuf.Friendgroup.SnsRedEnvelops snsRedEnvelops_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsRedEnvelops, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder, wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder> snsRedEnvelopsBuilder_; /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; * @return Whether the snsRedEnvelops field is set. */ public boolean hasSnsRedEnvelops() { return ((bitField0_ & 0x10000000) != 0); } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; * @return The snsRedEnvelops. */ public wechat.protobuf.Friendgroup.SnsRedEnvelops getSnsRedEnvelops() { if (snsRedEnvelopsBuilder_ == null) { return snsRedEnvelops_ == null ? wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_; } else { return snsRedEnvelopsBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; */ public Builder setSnsRedEnvelops(wechat.protobuf.Friendgroup.SnsRedEnvelops value) { if (snsRedEnvelopsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snsRedEnvelops_ = value; onChanged(); } else { snsRedEnvelopsBuilder_.setMessage(value); } bitField0_ |= 0x10000000; return this; } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; */ public Builder setSnsRedEnvelops( wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder builderForValue) { if (snsRedEnvelopsBuilder_ == null) { snsRedEnvelops_ = builderForValue.build(); onChanged(); } else { snsRedEnvelopsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x10000000; return this; } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; */ public Builder mergeSnsRedEnvelops(wechat.protobuf.Friendgroup.SnsRedEnvelops value) { if (snsRedEnvelopsBuilder_ == null) { if (((bitField0_ & 0x10000000) != 0) && snsRedEnvelops_ != null && snsRedEnvelops_ != wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance()) { snsRedEnvelops_ = wechat.protobuf.Friendgroup.SnsRedEnvelops.newBuilder(snsRedEnvelops_).mergeFrom(value).buildPartial(); } else { snsRedEnvelops_ = value; } onChanged(); } else { snsRedEnvelopsBuilder_.mergeFrom(value); } bitField0_ |= 0x10000000; return this; } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; */ public Builder clearSnsRedEnvelops() { if (snsRedEnvelopsBuilder_ == null) { snsRedEnvelops_ = null; onChanged(); } else { snsRedEnvelopsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x10000000); return this; } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; */ public wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder getSnsRedEnvelopsBuilder() { bitField0_ |= 0x10000000; onChanged(); return getSnsRedEnvelopsFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; */ public wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder getSnsRedEnvelopsOrBuilder() { if (snsRedEnvelopsBuilder_ != null) { return snsRedEnvelopsBuilder_.getMessageOrBuilder(); } else { return snsRedEnvelops_ == null ? wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_; } } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsRedEnvelops, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder, wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder> getSnsRedEnvelopsFieldBuilder() { if (snsRedEnvelopsBuilder_ == null) { snsRedEnvelopsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsRedEnvelops, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder, wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder>( getSnsRedEnvelops(), getParentForChildren(), isClean()); snsRedEnvelops_ = null; } return snsRedEnvelopsBuilder_; } private wechat.protobuf.Friendgroup.PreDownloadInfo preDownloadInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.PreDownloadInfo, wechat.protobuf.Friendgroup.PreDownloadInfo.Builder, wechat.protobuf.Friendgroup.PreDownloadInfoOrBuilder> preDownloadInfoBuilder_; /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; * @return Whether the preDownloadInfo field is set. */ public boolean hasPreDownloadInfo() { return ((bitField0_ & 0x20000000) != 0); } /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; * @return The preDownloadInfo. */ public wechat.protobuf.Friendgroup.PreDownloadInfo getPreDownloadInfo() { if (preDownloadInfoBuilder_ == null) { return preDownloadInfo_ == null ? wechat.protobuf.Friendgroup.PreDownloadInfo.getDefaultInstance() : preDownloadInfo_; } else { return preDownloadInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; */ public Builder setPreDownloadInfo(wechat.protobuf.Friendgroup.PreDownloadInfo value) { if (preDownloadInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } preDownloadInfo_ = value; onChanged(); } else { preDownloadInfoBuilder_.setMessage(value); } bitField0_ |= 0x20000000; return this; } /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; */ public Builder setPreDownloadInfo( wechat.protobuf.Friendgroup.PreDownloadInfo.Builder builderForValue) { if (preDownloadInfoBuilder_ == null) { preDownloadInfo_ = builderForValue.build(); onChanged(); } else { preDownloadInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x20000000; return this; } /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; */ public Builder mergePreDownloadInfo(wechat.protobuf.Friendgroup.PreDownloadInfo value) { if (preDownloadInfoBuilder_ == null) { if (((bitField0_ & 0x20000000) != 0) && preDownloadInfo_ != null && preDownloadInfo_ != wechat.protobuf.Friendgroup.PreDownloadInfo.getDefaultInstance()) { preDownloadInfo_ = wechat.protobuf.Friendgroup.PreDownloadInfo.newBuilder(preDownloadInfo_).mergeFrom(value).buildPartial(); } else { preDownloadInfo_ = value; } onChanged(); } else { preDownloadInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x20000000; return this; } /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; */ public Builder clearPreDownloadInfo() { if (preDownloadInfoBuilder_ == null) { preDownloadInfo_ = null; onChanged(); } else { preDownloadInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x20000000); return this; } /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; */ public wechat.protobuf.Friendgroup.PreDownloadInfo.Builder getPreDownloadInfoBuilder() { bitField0_ |= 0x20000000; onChanged(); return getPreDownloadInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; */ public wechat.protobuf.Friendgroup.PreDownloadInfoOrBuilder getPreDownloadInfoOrBuilder() { if (preDownloadInfoBuilder_ != null) { return preDownloadInfoBuilder_.getMessageOrBuilder(); } else { return preDownloadInfo_ == null ? wechat.protobuf.Friendgroup.PreDownloadInfo.getDefaultInstance() : preDownloadInfo_; } } /** * optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.PreDownloadInfo, wechat.protobuf.Friendgroup.PreDownloadInfo.Builder, wechat.protobuf.Friendgroup.PreDownloadInfoOrBuilder> getPreDownloadInfoFieldBuilder() { if (preDownloadInfoBuilder_ == null) { preDownloadInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.PreDownloadInfo, wechat.protobuf.Friendgroup.PreDownloadInfo.Builder, wechat.protobuf.Friendgroup.PreDownloadInfoOrBuilder>( getPreDownloadInfo(), getParentForChildren(), isClean()); preDownloadInfo_ = null; } return preDownloadInfoBuilder_; } private wechat.protobuf.Friendgroup.SnsWeAppInfo weAppInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsWeAppInfo, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder, wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder> weAppInfoBuilder_; /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; * @return Whether the weAppInfo field is set. */ public boolean hasWeAppInfo() { return ((bitField0_ & 0x40000000) != 0); } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; * @return The weAppInfo. */ public wechat.protobuf.Friendgroup.SnsWeAppInfo getWeAppInfo() { if (weAppInfoBuilder_ == null) { return weAppInfo_ == null ? wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_; } else { return weAppInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; */ public Builder setWeAppInfo(wechat.protobuf.Friendgroup.SnsWeAppInfo value) { if (weAppInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } weAppInfo_ = value; onChanged(); } else { weAppInfoBuilder_.setMessage(value); } bitField0_ |= 0x40000000; return this; } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; */ public Builder setWeAppInfo( wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder builderForValue) { if (weAppInfoBuilder_ == null) { weAppInfo_ = builderForValue.build(); onChanged(); } else { weAppInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x40000000; return this; } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; */ public Builder mergeWeAppInfo(wechat.protobuf.Friendgroup.SnsWeAppInfo value) { if (weAppInfoBuilder_ == null) { if (((bitField0_ & 0x40000000) != 0) && weAppInfo_ != null && weAppInfo_ != wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance()) { weAppInfo_ = wechat.protobuf.Friendgroup.SnsWeAppInfo.newBuilder(weAppInfo_).mergeFrom(value).buildPartial(); } else { weAppInfo_ = value; } onChanged(); } else { weAppInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x40000000; return this; } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; */ public Builder clearWeAppInfo() { if (weAppInfoBuilder_ == null) { weAppInfo_ = null; onChanged(); } else { weAppInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x40000000); return this; } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; */ public wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder getWeAppInfoBuilder() { bitField0_ |= 0x40000000; onChanged(); return getWeAppInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; */ public wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder getWeAppInfoOrBuilder() { if (weAppInfoBuilder_ != null) { return weAppInfoBuilder_.getMessageOrBuilder(); } else { return weAppInfo_ == null ? wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_; } } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 31; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsWeAppInfo, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder, wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder> getWeAppInfoFieldBuilder() { if (weAppInfoBuilder_ == null) { weAppInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsWeAppInfo, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder, wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder>( getWeAppInfo(), getParentForChildren(), isClean()); weAppInfo_ = null; } return weAppInfoBuilder_; } @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.SnsObject) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsObject) private static final wechat.protobuf.Friendgroup.SnsObject DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsObject(); } public static wechat.protobuf.Friendgroup.SnsObject getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsObject parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsObject(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.Friendgroup.SnsObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsRedEnvelopsOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsRedEnvelops) com.google.protobuf.MessageOrBuilder { /** * optional uint32 rewardNum = 1; * @return Whether the rewardNum field is set. */ boolean hasRewardNum(); /** * optional uint32 rewardNum = 1; * @return The rewardNum. */ int getRewardNum(); /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ java.util.List getRewardUserListList(); /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ wechat.protobuf.Friendgroup.SnsHBUserInfo getRewardUserList(int index); /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ int getRewardUserListCount(); /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ java.util.List getRewardUserListOrBuilderList(); /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder getRewardUserListOrBuilder( int index); /** * optional uint32 resourceId = 3; * @return Whether the resourceId field is set. */ boolean hasResourceId(); /** * optional uint32 resourceId = 3; * @return The resourceId. */ int getResourceId(); /** * optional uint32 reportId = 4; * @return Whether the reportId field is set. */ boolean hasReportId(); /** * optional uint32 reportId = 4; * @return The reportId. */ int getReportId(); /** * optional uint32 reportKey = 5; * @return Whether the reportKey field is set. */ boolean hasReportKey(); /** * optional uint32 reportKey = 5; * @return The reportKey. */ int getReportKey(); } /** * Protobuf type {@code wechat_proto.SnsRedEnvelops} */ public static final class SnsRedEnvelops extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsRedEnvelops) SnsRedEnvelopsOrBuilder { private static final long serialVersionUID = 0L; // Use SnsRedEnvelops.newBuilder() to construct. private SnsRedEnvelops(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsRedEnvelops() { rewardUserList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsRedEnvelops(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsRedEnvelops( 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; rewardNum_ = input.readUInt32(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { rewardUserList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } rewardUserList_.add( input.readMessage(wechat.protobuf.Friendgroup.SnsHBUserInfo.PARSER, extensionRegistry)); break; } case 24: { bitField0_ |= 0x00000002; resourceId_ = input.readUInt32(); break; } case 32: { bitField0_ |= 0x00000004; reportId_ = input.readUInt32(); break; } case 40: { bitField0_ |= 0x00000008; reportKey_ = 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 { if (((mutable_bitField0_ & 0x00000002) != 0)) { rewardUserList_ = java.util.Collections.unmodifiableList(rewardUserList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsRedEnvelops_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsRedEnvelops_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsRedEnvelops.class, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder.class); } private int bitField0_; public static final int REWARDNUM_FIELD_NUMBER = 1; private int rewardNum_; /** * optional uint32 rewardNum = 1; * @return Whether the rewardNum field is set. */ @java.lang.Override public boolean hasRewardNum() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 rewardNum = 1; * @return The rewardNum. */ @java.lang.Override public int getRewardNum() { return rewardNum_; } public static final int REWARDUSERLIST_FIELD_NUMBER = 2; private java.util.List rewardUserList_; /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ @java.lang.Override public java.util.List getRewardUserListList() { return rewardUserList_; } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ @java.lang.Override public java.util.List getRewardUserListOrBuilderList() { return rewardUserList_; } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ @java.lang.Override public int getRewardUserListCount() { return rewardUserList_.size(); } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsHBUserInfo getRewardUserList(int index) { return rewardUserList_.get(index); } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder getRewardUserListOrBuilder( int index) { return rewardUserList_.get(index); } public static final int RESOURCEID_FIELD_NUMBER = 3; private int resourceId_; /** * optional uint32 resourceId = 3; * @return Whether the resourceId field is set. */ @java.lang.Override public boolean hasResourceId() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 resourceId = 3; * @return The resourceId. */ @java.lang.Override public int getResourceId() { return resourceId_; } public static final int REPORTID_FIELD_NUMBER = 4; private int reportId_; /** * optional uint32 reportId = 4; * @return Whether the reportId field is set. */ @java.lang.Override public boolean hasReportId() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 reportId = 4; * @return The reportId. */ @java.lang.Override public int getReportId() { return reportId_; } public static final int REPORTKEY_FIELD_NUMBER = 5; private int reportKey_; /** * optional uint32 reportKey = 5; * @return Whether the reportKey field is set. */ @java.lang.Override public boolean hasReportKey() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 reportKey = 5; * @return The reportKey. */ @java.lang.Override public int getReportKey() { return reportKey_; } 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, rewardNum_); } for (int i = 0; i < rewardUserList_.size(); i++) { output.writeMessage(2, rewardUserList_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(3, resourceId_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(4, reportId_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(5, reportKey_); } 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, rewardNum_); } for (int i = 0; i < rewardUserList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, rewardUserList_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, resourceId_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, reportId_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, reportKey_); } 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.Friendgroup.SnsRedEnvelops)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsRedEnvelops other = (wechat.protobuf.Friendgroup.SnsRedEnvelops) obj; if (hasRewardNum() != other.hasRewardNum()) return false; if (hasRewardNum()) { if (getRewardNum() != other.getRewardNum()) return false; } if (!getRewardUserListList() .equals(other.getRewardUserListList())) return false; if (hasResourceId() != other.hasResourceId()) return false; if (hasResourceId()) { if (getResourceId() != other.getResourceId()) return false; } if (hasReportId() != other.hasReportId()) return false; if (hasReportId()) { if (getReportId() != other.getReportId()) return false; } if (hasReportKey() != other.hasReportKey()) return false; if (hasReportKey()) { if (getReportKey() != other.getReportKey()) 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 (hasRewardNum()) { hash = (37 * hash) + REWARDNUM_FIELD_NUMBER; hash = (53 * hash) + getRewardNum(); } if (getRewardUserListCount() > 0) { hash = (37 * hash) + REWARDUSERLIST_FIELD_NUMBER; hash = (53 * hash) + getRewardUserListList().hashCode(); } if (hasResourceId()) { hash = (37 * hash) + RESOURCEID_FIELD_NUMBER; hash = (53 * hash) + getResourceId(); } if (hasReportId()) { hash = (37 * hash) + REPORTID_FIELD_NUMBER; hash = (53 * hash) + getReportId(); } if (hasReportKey()) { hash = (37 * hash) + REPORTKEY_FIELD_NUMBER; hash = (53 * hash) + getReportKey(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsRedEnvelops parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsRedEnvelops parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsRedEnvelops parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsRedEnvelops 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.Friendgroup.SnsRedEnvelops parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsRedEnvelops parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsRedEnvelops parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsRedEnvelops 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.Friendgroup.SnsRedEnvelops parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsRedEnvelops 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.Friendgroup.SnsRedEnvelops parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsRedEnvelops 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.Friendgroup.SnsRedEnvelops 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.SnsRedEnvelops} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsRedEnvelops) wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsRedEnvelops_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsRedEnvelops_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsRedEnvelops.class, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsRedEnvelops.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRewardUserListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); rewardNum_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (rewardUserListBuilder_ == null) { rewardUserList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { rewardUserListBuilder_.clear(); } resourceId_ = 0; bitField0_ = (bitField0_ & ~0x00000004); reportId_ = 0; bitField0_ = (bitField0_ & ~0x00000008); reportKey_ = 0; bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsRedEnvelops_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsRedEnvelops getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsRedEnvelops build() { wechat.protobuf.Friendgroup.SnsRedEnvelops result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsRedEnvelops buildPartial() { wechat.protobuf.Friendgroup.SnsRedEnvelops result = new wechat.protobuf.Friendgroup.SnsRedEnvelops(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.rewardNum_ = rewardNum_; to_bitField0_ |= 0x00000001; } if (rewardUserListBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { rewardUserList_ = java.util.Collections.unmodifiableList(rewardUserList_); bitField0_ = (bitField0_ & ~0x00000002); } result.rewardUserList_ = rewardUserList_; } else { result.rewardUserList_ = rewardUserListBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.resourceId_ = resourceId_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.reportId_ = reportId_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { result.reportKey_ = reportKey_; 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.Friendgroup.SnsRedEnvelops) { return mergeFrom((wechat.protobuf.Friendgroup.SnsRedEnvelops)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsRedEnvelops other) { if (other == wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance()) return this; if (other.hasRewardNum()) { setRewardNum(other.getRewardNum()); } if (rewardUserListBuilder_ == null) { if (!other.rewardUserList_.isEmpty()) { if (rewardUserList_.isEmpty()) { rewardUserList_ = other.rewardUserList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureRewardUserListIsMutable(); rewardUserList_.addAll(other.rewardUserList_); } onChanged(); } } else { if (!other.rewardUserList_.isEmpty()) { if (rewardUserListBuilder_.isEmpty()) { rewardUserListBuilder_.dispose(); rewardUserListBuilder_ = null; rewardUserList_ = other.rewardUserList_; bitField0_ = (bitField0_ & ~0x00000002); rewardUserListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRewardUserListFieldBuilder() : null; } else { rewardUserListBuilder_.addAllMessages(other.rewardUserList_); } } } if (other.hasResourceId()) { setResourceId(other.getResourceId()); } if (other.hasReportId()) { setReportId(other.getReportId()); } if (other.hasReportKey()) { setReportKey(other.getReportKey()); } 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.Friendgroup.SnsRedEnvelops parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsRedEnvelops) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int rewardNum_ ; /** * optional uint32 rewardNum = 1; * @return Whether the rewardNum field is set. */ @java.lang.Override public boolean hasRewardNum() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 rewardNum = 1; * @return The rewardNum. */ @java.lang.Override public int getRewardNum() { return rewardNum_; } /** * optional uint32 rewardNum = 1; * @param value The rewardNum to set. * @return This builder for chaining. */ public Builder setRewardNum(int value) { bitField0_ |= 0x00000001; rewardNum_ = value; onChanged(); return this; } /** * optional uint32 rewardNum = 1; * @return This builder for chaining. */ public Builder clearRewardNum() { bitField0_ = (bitField0_ & ~0x00000001); rewardNum_ = 0; onChanged(); return this; } private java.util.List rewardUserList_ = java.util.Collections.emptyList(); private void ensureRewardUserListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { rewardUserList_ = new java.util.ArrayList(rewardUserList_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsHBUserInfo, wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder, wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder> rewardUserListBuilder_; /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public java.util.List getRewardUserListList() { if (rewardUserListBuilder_ == null) { return java.util.Collections.unmodifiableList(rewardUserList_); } else { return rewardUserListBuilder_.getMessageList(); } } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public int getRewardUserListCount() { if (rewardUserListBuilder_ == null) { return rewardUserList_.size(); } else { return rewardUserListBuilder_.getCount(); } } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public wechat.protobuf.Friendgroup.SnsHBUserInfo getRewardUserList(int index) { if (rewardUserListBuilder_ == null) { return rewardUserList_.get(index); } else { return rewardUserListBuilder_.getMessage(index); } } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public Builder setRewardUserList( int index, wechat.protobuf.Friendgroup.SnsHBUserInfo value) { if (rewardUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRewardUserListIsMutable(); rewardUserList_.set(index, value); onChanged(); } else { rewardUserListBuilder_.setMessage(index, value); } return this; } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public Builder setRewardUserList( int index, wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder builderForValue) { if (rewardUserListBuilder_ == null) { ensureRewardUserListIsMutable(); rewardUserList_.set(index, builderForValue.build()); onChanged(); } else { rewardUserListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public Builder addRewardUserList(wechat.protobuf.Friendgroup.SnsHBUserInfo value) { if (rewardUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRewardUserListIsMutable(); rewardUserList_.add(value); onChanged(); } else { rewardUserListBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public Builder addRewardUserList( int index, wechat.protobuf.Friendgroup.SnsHBUserInfo value) { if (rewardUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRewardUserListIsMutable(); rewardUserList_.add(index, value); onChanged(); } else { rewardUserListBuilder_.addMessage(index, value); } return this; } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public Builder addRewardUserList( wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder builderForValue) { if (rewardUserListBuilder_ == null) { ensureRewardUserListIsMutable(); rewardUserList_.add(builderForValue.build()); onChanged(); } else { rewardUserListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public Builder addRewardUserList( int index, wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder builderForValue) { if (rewardUserListBuilder_ == null) { ensureRewardUserListIsMutable(); rewardUserList_.add(index, builderForValue.build()); onChanged(); } else { rewardUserListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public Builder addAllRewardUserList( java.lang.Iterable values) { if (rewardUserListBuilder_ == null) { ensureRewardUserListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rewardUserList_); onChanged(); } else { rewardUserListBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public Builder clearRewardUserList() { if (rewardUserListBuilder_ == null) { rewardUserList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { rewardUserListBuilder_.clear(); } return this; } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public Builder removeRewardUserList(int index) { if (rewardUserListBuilder_ == null) { ensureRewardUserListIsMutable(); rewardUserList_.remove(index); onChanged(); } else { rewardUserListBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder getRewardUserListBuilder( int index) { return getRewardUserListFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder getRewardUserListOrBuilder( int index) { if (rewardUserListBuilder_ == null) { return rewardUserList_.get(index); } else { return rewardUserListBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public java.util.List getRewardUserListOrBuilderList() { if (rewardUserListBuilder_ != null) { return rewardUserListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rewardUserList_); } } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder addRewardUserListBuilder() { return getRewardUserListFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.SnsHBUserInfo.getDefaultInstance()); } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder addRewardUserListBuilder( int index) { return getRewardUserListFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.SnsHBUserInfo.getDefaultInstance()); } /** * repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2; */ public java.util.List getRewardUserListBuilderList() { return getRewardUserListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsHBUserInfo, wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder, wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder> getRewardUserListFieldBuilder() { if (rewardUserListBuilder_ == null) { rewardUserListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsHBUserInfo, wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder, wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder>( rewardUserList_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); rewardUserList_ = null; } return rewardUserListBuilder_; } private int resourceId_ ; /** * optional uint32 resourceId = 3; * @return Whether the resourceId field is set. */ @java.lang.Override public boolean hasResourceId() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 resourceId = 3; * @return The resourceId. */ @java.lang.Override public int getResourceId() { return resourceId_; } /** * optional uint32 resourceId = 3; * @param value The resourceId to set. * @return This builder for chaining. */ public Builder setResourceId(int value) { bitField0_ |= 0x00000004; resourceId_ = value; onChanged(); return this; } /** * optional uint32 resourceId = 3; * @return This builder for chaining. */ public Builder clearResourceId() { bitField0_ = (bitField0_ & ~0x00000004); resourceId_ = 0; onChanged(); return this; } private int reportId_ ; /** * optional uint32 reportId = 4; * @return Whether the reportId field is set. */ @java.lang.Override public boolean hasReportId() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 reportId = 4; * @return The reportId. */ @java.lang.Override public int getReportId() { return reportId_; } /** * optional uint32 reportId = 4; * @param value The reportId to set. * @return This builder for chaining. */ public Builder setReportId(int value) { bitField0_ |= 0x00000008; reportId_ = value; onChanged(); return this; } /** * optional uint32 reportId = 4; * @return This builder for chaining. */ public Builder clearReportId() { bitField0_ = (bitField0_ & ~0x00000008); reportId_ = 0; onChanged(); return this; } private int reportKey_ ; /** * optional uint32 reportKey = 5; * @return Whether the reportKey field is set. */ @java.lang.Override public boolean hasReportKey() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 reportKey = 5; * @return The reportKey. */ @java.lang.Override public int getReportKey() { return reportKey_; } /** * optional uint32 reportKey = 5; * @param value The reportKey to set. * @return This builder for chaining. */ public Builder setReportKey(int value) { bitField0_ |= 0x00000010; reportKey_ = value; onChanged(); return this; } /** * optional uint32 reportKey = 5; * @return This builder for chaining. */ public Builder clearReportKey() { bitField0_ = (bitField0_ & ~0x00000010); reportKey_ = 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.SnsRedEnvelops) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsRedEnvelops) private static final wechat.protobuf.Friendgroup.SnsRedEnvelops DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsRedEnvelops(); } public static wechat.protobuf.Friendgroup.SnsRedEnvelops getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsRedEnvelops parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsRedEnvelops(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.Friendgroup.SnsRedEnvelops getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PreDownloadInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.PreDownloadInfo) com.google.protobuf.MessageOrBuilder { /** * optional uint32 preDownloadPercent = 1; * @return Whether the preDownloadPercent field is set. */ boolean hasPreDownloadPercent(); /** * optional uint32 preDownloadPercent = 1; * @return The preDownloadPercent. */ int getPreDownloadPercent(); /** * optional uint32 preDownloadNetType = 2; * @return Whether the preDownloadNetType field is set. */ boolean hasPreDownloadNetType(); /** * optional uint32 preDownloadNetType = 2; * @return The preDownloadNetType. */ int getPreDownloadNetType(); /** * optional string noPreDownloadRange = 3; * @return Whether the noPreDownloadRange field is set. */ boolean hasNoPreDownloadRange(); /** * optional string noPreDownloadRange = 3; * @return The noPreDownloadRange. */ java.lang.String getNoPreDownloadRange(); /** * optional string noPreDownloadRange = 3; * @return The bytes for noPreDownloadRange. */ com.google.protobuf.ByteString getNoPreDownloadRangeBytes(); } /** * Protobuf type {@code wechat_proto.PreDownloadInfo} */ public static final class PreDownloadInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.PreDownloadInfo) PreDownloadInfoOrBuilder { private static final long serialVersionUID = 0L; // Use PreDownloadInfo.newBuilder() to construct. private PreDownloadInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PreDownloadInfo() { noPreDownloadRange_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PreDownloadInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PreDownloadInfo( 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; preDownloadPercent_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; preDownloadNetType_ = input.readUInt32(); break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; noPreDownloadRange_ = 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.Friendgroup.internal_static_wechat_proto_PreDownloadInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_PreDownloadInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.PreDownloadInfo.class, wechat.protobuf.Friendgroup.PreDownloadInfo.Builder.class); } private int bitField0_; public static final int PREDOWNLOADPERCENT_FIELD_NUMBER = 1; private int preDownloadPercent_; /** * optional uint32 preDownloadPercent = 1; * @return Whether the preDownloadPercent field is set. */ @java.lang.Override public boolean hasPreDownloadPercent() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 preDownloadPercent = 1; * @return The preDownloadPercent. */ @java.lang.Override public int getPreDownloadPercent() { return preDownloadPercent_; } public static final int PREDOWNLOADNETTYPE_FIELD_NUMBER = 2; private int preDownloadNetType_; /** * optional uint32 preDownloadNetType = 2; * @return Whether the preDownloadNetType field is set. */ @java.lang.Override public boolean hasPreDownloadNetType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 preDownloadNetType = 2; * @return The preDownloadNetType. */ @java.lang.Override public int getPreDownloadNetType() { return preDownloadNetType_; } public static final int NOPREDOWNLOADRANGE_FIELD_NUMBER = 3; private volatile java.lang.Object noPreDownloadRange_; /** * optional string noPreDownloadRange = 3; * @return Whether the noPreDownloadRange field is set. */ @java.lang.Override public boolean hasNoPreDownloadRange() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string noPreDownloadRange = 3; * @return The noPreDownloadRange. */ @java.lang.Override public java.lang.String getNoPreDownloadRange() { java.lang.Object ref = noPreDownloadRange_; 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()) { noPreDownloadRange_ = s; } return s; } } /** * optional string noPreDownloadRange = 3; * @return The bytes for noPreDownloadRange. */ @java.lang.Override public com.google.protobuf.ByteString getNoPreDownloadRangeBytes() { java.lang.Object ref = noPreDownloadRange_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); noPreDownloadRange_ = 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.writeUInt32(1, preDownloadPercent_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, preDownloadNetType_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, noPreDownloadRange_); } 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, preDownloadPercent_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, preDownloadNetType_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, noPreDownloadRange_); } 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.Friendgroup.PreDownloadInfo)) { return super.equals(obj); } wechat.protobuf.Friendgroup.PreDownloadInfo other = (wechat.protobuf.Friendgroup.PreDownloadInfo) obj; if (hasPreDownloadPercent() != other.hasPreDownloadPercent()) return false; if (hasPreDownloadPercent()) { if (getPreDownloadPercent() != other.getPreDownloadPercent()) return false; } if (hasPreDownloadNetType() != other.hasPreDownloadNetType()) return false; if (hasPreDownloadNetType()) { if (getPreDownloadNetType() != other.getPreDownloadNetType()) return false; } if (hasNoPreDownloadRange() != other.hasNoPreDownloadRange()) return false; if (hasNoPreDownloadRange()) { if (!getNoPreDownloadRange() .equals(other.getNoPreDownloadRange())) 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 (hasPreDownloadPercent()) { hash = (37 * hash) + PREDOWNLOADPERCENT_FIELD_NUMBER; hash = (53 * hash) + getPreDownloadPercent(); } if (hasPreDownloadNetType()) { hash = (37 * hash) + PREDOWNLOADNETTYPE_FIELD_NUMBER; hash = (53 * hash) + getPreDownloadNetType(); } if (hasNoPreDownloadRange()) { hash = (37 * hash) + NOPREDOWNLOADRANGE_FIELD_NUMBER; hash = (53 * hash) + getNoPreDownloadRange().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.PreDownloadInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.PreDownloadInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.PreDownloadInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.PreDownloadInfo 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.Friendgroup.PreDownloadInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.PreDownloadInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.PreDownloadInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.PreDownloadInfo 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.Friendgroup.PreDownloadInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.PreDownloadInfo 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.Friendgroup.PreDownloadInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.PreDownloadInfo 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.Friendgroup.PreDownloadInfo 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.PreDownloadInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.PreDownloadInfo) wechat.protobuf.Friendgroup.PreDownloadInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_PreDownloadInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_PreDownloadInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.PreDownloadInfo.class, wechat.protobuf.Friendgroup.PreDownloadInfo.Builder.class); } // Construct using wechat.protobuf.Friendgroup.PreDownloadInfo.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(); preDownloadPercent_ = 0; bitField0_ = (bitField0_ & ~0x00000001); preDownloadNetType_ = 0; bitField0_ = (bitField0_ & ~0x00000002); noPreDownloadRange_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_PreDownloadInfo_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.PreDownloadInfo getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.PreDownloadInfo.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.PreDownloadInfo build() { wechat.protobuf.Friendgroup.PreDownloadInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.PreDownloadInfo buildPartial() { wechat.protobuf.Friendgroup.PreDownloadInfo result = new wechat.protobuf.Friendgroup.PreDownloadInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.preDownloadPercent_ = preDownloadPercent_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.preDownloadNetType_ = preDownloadNetType_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.noPreDownloadRange_ = noPreDownloadRange_; 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.Friendgroup.PreDownloadInfo) { return mergeFrom((wechat.protobuf.Friendgroup.PreDownloadInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.PreDownloadInfo other) { if (other == wechat.protobuf.Friendgroup.PreDownloadInfo.getDefaultInstance()) return this; if (other.hasPreDownloadPercent()) { setPreDownloadPercent(other.getPreDownloadPercent()); } if (other.hasPreDownloadNetType()) { setPreDownloadNetType(other.getPreDownloadNetType()); } if (other.hasNoPreDownloadRange()) { bitField0_ |= 0x00000004; noPreDownloadRange_ = other.noPreDownloadRange_; 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.Friendgroup.PreDownloadInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.PreDownloadInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int preDownloadPercent_ ; /** * optional uint32 preDownloadPercent = 1; * @return Whether the preDownloadPercent field is set. */ @java.lang.Override public boolean hasPreDownloadPercent() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 preDownloadPercent = 1; * @return The preDownloadPercent. */ @java.lang.Override public int getPreDownloadPercent() { return preDownloadPercent_; } /** * optional uint32 preDownloadPercent = 1; * @param value The preDownloadPercent to set. * @return This builder for chaining. */ public Builder setPreDownloadPercent(int value) { bitField0_ |= 0x00000001; preDownloadPercent_ = value; onChanged(); return this; } /** * optional uint32 preDownloadPercent = 1; * @return This builder for chaining. */ public Builder clearPreDownloadPercent() { bitField0_ = (bitField0_ & ~0x00000001); preDownloadPercent_ = 0; onChanged(); return this; } private int preDownloadNetType_ ; /** * optional uint32 preDownloadNetType = 2; * @return Whether the preDownloadNetType field is set. */ @java.lang.Override public boolean hasPreDownloadNetType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 preDownloadNetType = 2; * @return The preDownloadNetType. */ @java.lang.Override public int getPreDownloadNetType() { return preDownloadNetType_; } /** * optional uint32 preDownloadNetType = 2; * @param value The preDownloadNetType to set. * @return This builder for chaining. */ public Builder setPreDownloadNetType(int value) { bitField0_ |= 0x00000002; preDownloadNetType_ = value; onChanged(); return this; } /** * optional uint32 preDownloadNetType = 2; * @return This builder for chaining. */ public Builder clearPreDownloadNetType() { bitField0_ = (bitField0_ & ~0x00000002); preDownloadNetType_ = 0; onChanged(); return this; } private java.lang.Object noPreDownloadRange_ = ""; /** * optional string noPreDownloadRange = 3; * @return Whether the noPreDownloadRange field is set. */ public boolean hasNoPreDownloadRange() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string noPreDownloadRange = 3; * @return The noPreDownloadRange. */ public java.lang.String getNoPreDownloadRange() { java.lang.Object ref = noPreDownloadRange_; 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()) { noPreDownloadRange_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string noPreDownloadRange = 3; * @return The bytes for noPreDownloadRange. */ public com.google.protobuf.ByteString getNoPreDownloadRangeBytes() { java.lang.Object ref = noPreDownloadRange_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); noPreDownloadRange_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string noPreDownloadRange = 3; * @param value The noPreDownloadRange to set. * @return This builder for chaining. */ public Builder setNoPreDownloadRange( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; noPreDownloadRange_ = value; onChanged(); return this; } /** * optional string noPreDownloadRange = 3; * @return This builder for chaining. */ public Builder clearNoPreDownloadRange() { bitField0_ = (bitField0_ & ~0x00000004); noPreDownloadRange_ = getDefaultInstance().getNoPreDownloadRange(); onChanged(); return this; } /** * optional string noPreDownloadRange = 3; * @param value The bytes for noPreDownloadRange to set. * @return This builder for chaining. */ public Builder setNoPreDownloadRangeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; noPreDownloadRange_ = 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.PreDownloadInfo) } // @@protoc_insertion_point(class_scope:wechat_proto.PreDownloadInfo) private static final wechat.protobuf.Friendgroup.PreDownloadInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.PreDownloadInfo(); } public static wechat.protobuf.Friendgroup.PreDownloadInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PreDownloadInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PreDownloadInfo(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.Friendgroup.PreDownloadInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsWeAppInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsWeAppInfo) com.google.protobuf.MessageOrBuilder { /** * optional string mapPoiId = 1; * @return Whether the mapPoiId field is set. */ boolean hasMapPoiId(); /** * optional string mapPoiId = 1; * @return The mapPoiId. */ java.lang.String getMapPoiId(); /** * optional string mapPoiId = 1; * @return The bytes for mapPoiId. */ com.google.protobuf.ByteString getMapPoiIdBytes(); /** * optional uint32 appId = 2; * @return Whether the appId field is set. */ boolean hasAppId(); /** * optional uint32 appId = 2; * @return The appId. */ int getAppId(); /** * optional string userName = 3; * @return Whether the userName field is set. */ boolean hasUserName(); /** * optional string userName = 3; * @return The userName. */ java.lang.String getUserName(); /** * optional string userName = 3; * @return The bytes for userName. */ com.google.protobuf.ByteString getUserNameBytes(); /** * optional string redirectUrl = 4; * @return Whether the redirectUrl field is set. */ boolean hasRedirectUrl(); /** * optional string redirectUrl = 4; * @return The redirectUrl. */ java.lang.String getRedirectUrl(); /** * optional string redirectUrl = 4; * @return The bytes for redirectUrl. */ com.google.protobuf.ByteString getRedirectUrlBytes(); /** * optional uint32 showType = 5; * @return Whether the showType field is set. */ boolean hasShowType(); /** * optional uint32 showType = 5; * @return The showType. */ int getShowType(); /** * optional uint32 score = 6; * @return Whether the score field is set. */ boolean hasScore(); /** * optional uint32 score = 6; * @return The score. */ int getScore(); } /** * Protobuf type {@code wechat_proto.SnsWeAppInfo} */ public static final class SnsWeAppInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsWeAppInfo) SnsWeAppInfoOrBuilder { private static final long serialVersionUID = 0L; // Use SnsWeAppInfo.newBuilder() to construct. private SnsWeAppInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsWeAppInfo() { mapPoiId_ = ""; userName_ = ""; redirectUrl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsWeAppInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsWeAppInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; mapPoiId_ = bs; break; } case 16: { bitField0_ |= 0x00000002; appId_ = input.readUInt32(); break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; userName_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; redirectUrl_ = bs; break; } case 40: { bitField0_ |= 0x00000010; showType_ = input.readUInt32(); break; } case 48: { bitField0_ |= 0x00000020; score_ = 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.Friendgroup.internal_static_wechat_proto_SnsWeAppInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsWeAppInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsWeAppInfo.class, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder.class); } private int bitField0_; public static final int MAPPOIID_FIELD_NUMBER = 1; private volatile java.lang.Object mapPoiId_; /** * optional string mapPoiId = 1; * @return Whether the mapPoiId field is set. */ @java.lang.Override public boolean hasMapPoiId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string mapPoiId = 1; * @return The mapPoiId. */ @java.lang.Override public java.lang.String getMapPoiId() { java.lang.Object ref = mapPoiId_; 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()) { mapPoiId_ = s; } return s; } } /** * optional string mapPoiId = 1; * @return The bytes for mapPoiId. */ @java.lang.Override public com.google.protobuf.ByteString getMapPoiIdBytes() { java.lang.Object ref = mapPoiId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mapPoiId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int APPID_FIELD_NUMBER = 2; private int appId_; /** * optional uint32 appId = 2; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 appId = 2; * @return The appId. */ @java.lang.Override public int getAppId() { return appId_; } public static final int USERNAME_FIELD_NUMBER = 3; private volatile java.lang.Object userName_; /** * optional string userName = 3; * @return Whether the userName field is set. */ @java.lang.Override public boolean hasUserName() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string userName = 3; * @return The userName. */ @java.lang.Override public java.lang.String getUserName() { java.lang.Object ref = userName_; 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()) { userName_ = s; } return s; } } /** * optional string userName = 3; * @return The bytes for userName. */ @java.lang.Override public com.google.protobuf.ByteString getUserNameBytes() { java.lang.Object ref = userName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REDIRECTURL_FIELD_NUMBER = 4; private volatile java.lang.Object redirectUrl_; /** * optional string redirectUrl = 4; * @return Whether the redirectUrl field is set. */ @java.lang.Override public boolean hasRedirectUrl() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string redirectUrl = 4; * @return The redirectUrl. */ @java.lang.Override public java.lang.String getRedirectUrl() { java.lang.Object ref = redirectUrl_; 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()) { redirectUrl_ = s; } return s; } } /** * optional string redirectUrl = 4; * @return The bytes for redirectUrl. */ @java.lang.Override public com.google.protobuf.ByteString getRedirectUrlBytes() { java.lang.Object ref = redirectUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); redirectUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHOWTYPE_FIELD_NUMBER = 5; private int showType_; /** * optional uint32 showType = 5; * @return Whether the showType field is set. */ @java.lang.Override public boolean hasShowType() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 showType = 5; * @return The showType. */ @java.lang.Override public int getShowType() { return showType_; } public static final int SCORE_FIELD_NUMBER = 6; private int score_; /** * optional uint32 score = 6; * @return Whether the score field is set. */ @java.lang.Override public boolean hasScore() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 score = 6; * @return The score. */ @java.lang.Override public int getScore() { return score_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, mapPoiId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, appId_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, userName_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, redirectUrl_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, showType_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(6, score_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, mapPoiId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, appId_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userName_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, redirectUrl_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, showType_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, score_); } 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.Friendgroup.SnsWeAppInfo)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsWeAppInfo other = (wechat.protobuf.Friendgroup.SnsWeAppInfo) obj; if (hasMapPoiId() != other.hasMapPoiId()) return false; if (hasMapPoiId()) { if (!getMapPoiId() .equals(other.getMapPoiId())) return false; } if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (getAppId() != other.getAppId()) return false; } if (hasUserName() != other.hasUserName()) return false; if (hasUserName()) { if (!getUserName() .equals(other.getUserName())) return false; } if (hasRedirectUrl() != other.hasRedirectUrl()) return false; if (hasRedirectUrl()) { if (!getRedirectUrl() .equals(other.getRedirectUrl())) return false; } if (hasShowType() != other.hasShowType()) return false; if (hasShowType()) { if (getShowType() != other.getShowType()) return false; } if (hasScore() != other.hasScore()) return false; if (hasScore()) { if (getScore() != other.getScore()) 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 (hasMapPoiId()) { hash = (37 * hash) + MAPPOIID_FIELD_NUMBER; hash = (53 * hash) + getMapPoiId().hashCode(); } if (hasAppId()) { hash = (37 * hash) + APPID_FIELD_NUMBER; hash = (53 * hash) + getAppId(); } if (hasUserName()) { hash = (37 * hash) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUserName().hashCode(); } if (hasRedirectUrl()) { hash = (37 * hash) + REDIRECTURL_FIELD_NUMBER; hash = (53 * hash) + getRedirectUrl().hashCode(); } if (hasShowType()) { hash = (37 * hash) + SHOWTYPE_FIELD_NUMBER; hash = (53 * hash) + getShowType(); } if (hasScore()) { hash = (37 * hash) + SCORE_FIELD_NUMBER; hash = (53 * hash) + getScore(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsWeAppInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsWeAppInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsWeAppInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsWeAppInfo 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.Friendgroup.SnsWeAppInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsWeAppInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsWeAppInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsWeAppInfo 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.Friendgroup.SnsWeAppInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsWeAppInfo 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.Friendgroup.SnsWeAppInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsWeAppInfo 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.Friendgroup.SnsWeAppInfo 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.SnsWeAppInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsWeAppInfo) wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsWeAppInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsWeAppInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsWeAppInfo.class, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsWeAppInfo.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(); mapPoiId_ = ""; bitField0_ = (bitField0_ & ~0x00000001); appId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); userName_ = ""; bitField0_ = (bitField0_ & ~0x00000004); redirectUrl_ = ""; bitField0_ = (bitField0_ & ~0x00000008); showType_ = 0; bitField0_ = (bitField0_ & ~0x00000010); score_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsWeAppInfo_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsWeAppInfo getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsWeAppInfo build() { wechat.protobuf.Friendgroup.SnsWeAppInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsWeAppInfo buildPartial() { wechat.protobuf.Friendgroup.SnsWeAppInfo result = new wechat.protobuf.Friendgroup.SnsWeAppInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.mapPoiId_ = mapPoiId_; if (((from_bitField0_ & 0x00000002) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.userName_ = userName_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.redirectUrl_ = redirectUrl_; if (((from_bitField0_ & 0x00000010) != 0)) { result.showType_ = showType_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.score_ = score_; 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.Friendgroup.SnsWeAppInfo) { return mergeFrom((wechat.protobuf.Friendgroup.SnsWeAppInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsWeAppInfo other) { if (other == wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance()) return this; if (other.hasMapPoiId()) { bitField0_ |= 0x00000001; mapPoiId_ = other.mapPoiId_; onChanged(); } if (other.hasAppId()) { setAppId(other.getAppId()); } if (other.hasUserName()) { bitField0_ |= 0x00000004; userName_ = other.userName_; onChanged(); } if (other.hasRedirectUrl()) { bitField0_ |= 0x00000008; redirectUrl_ = other.redirectUrl_; onChanged(); } if (other.hasShowType()) { setShowType(other.getShowType()); } if (other.hasScore()) { setScore(other.getScore()); } 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.Friendgroup.SnsWeAppInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsWeAppInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object mapPoiId_ = ""; /** * optional string mapPoiId = 1; * @return Whether the mapPoiId field is set. */ public boolean hasMapPoiId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string mapPoiId = 1; * @return The mapPoiId. */ public java.lang.String getMapPoiId() { java.lang.Object ref = mapPoiId_; 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()) { mapPoiId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string mapPoiId = 1; * @return The bytes for mapPoiId. */ public com.google.protobuf.ByteString getMapPoiIdBytes() { java.lang.Object ref = mapPoiId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mapPoiId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string mapPoiId = 1; * @param value The mapPoiId to set. * @return This builder for chaining. */ public Builder setMapPoiId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; mapPoiId_ = value; onChanged(); return this; } /** * optional string mapPoiId = 1; * @return This builder for chaining. */ public Builder clearMapPoiId() { bitField0_ = (bitField0_ & ~0x00000001); mapPoiId_ = getDefaultInstance().getMapPoiId(); onChanged(); return this; } /** * optional string mapPoiId = 1; * @param value The bytes for mapPoiId to set. * @return This builder for chaining. */ public Builder setMapPoiIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; mapPoiId_ = value; onChanged(); return this; } private int appId_ ; /** * optional uint32 appId = 2; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 appId = 2; * @return The appId. */ @java.lang.Override public int getAppId() { return appId_; } /** * optional uint32 appId = 2; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId(int value) { bitField0_ |= 0x00000002; appId_ = value; onChanged(); return this; } /** * optional uint32 appId = 2; * @return This builder for chaining. */ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000002); appId_ = 0; onChanged(); return this; } private java.lang.Object userName_ = ""; /** * optional string userName = 3; * @return Whether the userName field is set. */ public boolean hasUserName() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string userName = 3; * @return The userName. */ public java.lang.String getUserName() { java.lang.Object ref = userName_; 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()) { userName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string userName = 3; * @return The bytes for userName. */ public com.google.protobuf.ByteString getUserNameBytes() { java.lang.Object ref = userName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string userName = 3; * @param value The userName to set. * @return This builder for chaining. */ public Builder setUserName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; userName_ = value; onChanged(); return this; } /** * optional string userName = 3; * @return This builder for chaining. */ public Builder clearUserName() { bitField0_ = (bitField0_ & ~0x00000004); userName_ = getDefaultInstance().getUserName(); onChanged(); return this; } /** * optional string userName = 3; * @param value The bytes for userName to set. * @return This builder for chaining. */ public Builder setUserNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; userName_ = value; onChanged(); return this; } private java.lang.Object redirectUrl_ = ""; /** * optional string redirectUrl = 4; * @return Whether the redirectUrl field is set. */ public boolean hasRedirectUrl() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string redirectUrl = 4; * @return The redirectUrl. */ public java.lang.String getRedirectUrl() { java.lang.Object ref = redirectUrl_; 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()) { redirectUrl_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string redirectUrl = 4; * @return The bytes for redirectUrl. */ public com.google.protobuf.ByteString getRedirectUrlBytes() { java.lang.Object ref = redirectUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); redirectUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string redirectUrl = 4; * @param value The redirectUrl to set. * @return This builder for chaining. */ public Builder setRedirectUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; redirectUrl_ = value; onChanged(); return this; } /** * optional string redirectUrl = 4; * @return This builder for chaining. */ public Builder clearRedirectUrl() { bitField0_ = (bitField0_ & ~0x00000008); redirectUrl_ = getDefaultInstance().getRedirectUrl(); onChanged(); return this; } /** * optional string redirectUrl = 4; * @param value The bytes for redirectUrl to set. * @return This builder for chaining. */ public Builder setRedirectUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; redirectUrl_ = value; onChanged(); return this; } private int showType_ ; /** * optional uint32 showType = 5; * @return Whether the showType field is set. */ @java.lang.Override public boolean hasShowType() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 showType = 5; * @return The showType. */ @java.lang.Override public int getShowType() { return showType_; } /** * optional uint32 showType = 5; * @param value The showType to set. * @return This builder for chaining. */ public Builder setShowType(int value) { bitField0_ |= 0x00000010; showType_ = value; onChanged(); return this; } /** * optional uint32 showType = 5; * @return This builder for chaining. */ public Builder clearShowType() { bitField0_ = (bitField0_ & ~0x00000010); showType_ = 0; onChanged(); return this; } private int score_ ; /** * optional uint32 score = 6; * @return Whether the score field is set. */ @java.lang.Override public boolean hasScore() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 score = 6; * @return The score. */ @java.lang.Override public int getScore() { return score_; } /** * optional uint32 score = 6; * @param value The score to set. * @return This builder for chaining. */ public Builder setScore(int value) { bitField0_ |= 0x00000020; score_ = value; onChanged(); return this; } /** * optional uint32 score = 6; * @return This builder for chaining. */ public Builder clearScore() { bitField0_ = (bitField0_ & ~0x00000020); score_ = 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.SnsWeAppInfo) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsWeAppInfo) private static final wechat.protobuf.Friendgroup.SnsWeAppInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsWeAppInfo(); } public static wechat.protobuf.Friendgroup.SnsWeAppInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsWeAppInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsWeAppInfo(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.Friendgroup.SnsWeAppInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsCommentInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsCommentInfo) com.google.protobuf.MessageOrBuilder { /** * optional string username = 1; * @return Whether the username field is set. */ boolean hasUsername(); /** * optional string username = 1; * @return The username. */ java.lang.String getUsername(); /** * optional string username = 1; * @return The bytes for username. */ com.google.protobuf.ByteString getUsernameBytes(); /** * optional string nickname = 2; * @return Whether the nickname field is set. */ boolean hasNickname(); /** * optional string nickname = 2; * @return The nickname. */ java.lang.String getNickname(); /** * optional string nickname = 2; * @return The bytes for nickname. */ com.google.protobuf.ByteString getNicknameBytes(); /** * optional uint32 source = 3; * @return Whether the source field is set. */ boolean hasSource(); /** * optional uint32 source = 3; * @return The source. */ int getSource(); /** * optional uint32 type = 4; * @return Whether the type field is set. */ boolean hasType(); /** * optional uint32 type = 4; * @return The type. */ int getType(); /** * optional string content = 5; * @return Whether the content field is set. */ boolean hasContent(); /** * optional string content = 5; * @return The content. */ java.lang.String getContent(); /** * optional string content = 5; * @return The bytes for content. */ com.google.protobuf.ByteString getContentBytes(); /** * optional uint32 createTime = 6; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** * optional uint32 createTime = 6; * @return The createTime. */ int getCreateTime(); /** * optional uint32 commentId = 7; * @return Whether the commentId field is set. */ boolean hasCommentId(); /** * optional uint32 commentId = 7; * @return The commentId. */ int getCommentId(); /** * optional uint32 replyCommentId = 8; * @return Whether the replyCommentId field is set. */ boolean hasReplyCommentId(); /** * optional uint32 replyCommentId = 8; * @return The replyCommentId. */ int getReplyCommentId(); /** * optional string replyUsername = 9; * @return Whether the replyUsername field is set. */ boolean hasReplyUsername(); /** * optional string replyUsername = 9; * @return The replyUsername. */ java.lang.String getReplyUsername(); /** * optional string replyUsername = 9; * @return The bytes for replyUsername. */ com.google.protobuf.ByteString getReplyUsernameBytes(); /** * optional uint32 isNotRichText = 10; * @return Whether the isNotRichText field is set. */ boolean hasIsNotRichText(); /** * optional uint32 isNotRichText = 10; * @return The isNotRichText. */ int getIsNotRichText(); /** * optional uint64 replyCommentId2 = 11; * @return Whether the replyCommentId2 field is set. */ boolean hasReplyCommentId2(); /** * optional uint64 replyCommentId2 = 11; * @return The replyCommentId2. */ long getReplyCommentId2(); /** * optional uint64 commentId2 = 12; * @return Whether the commentId2 field is set. */ boolean hasCommentId2(); /** * optional uint64 commentId2 = 12; * @return The commentId2. */ long getCommentId2(); /** * optional uint32 deleteFlag = 13; * @return Whether the deleteFlag field is set. */ boolean hasDeleteFlag(); /** * optional uint32 deleteFlag = 13; * @return The deleteFlag. */ int getDeleteFlag(); /** * optional uint32 commentFlag = 14; * @return Whether the commentFlag field is set. */ boolean hasCommentFlag(); /** * optional uint32 commentFlag = 14; * @return The commentFlag. */ int getCommentFlag(); } /** * Protobuf type {@code wechat_proto.SnsCommentInfo} */ public static final class SnsCommentInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsCommentInfo) SnsCommentInfoOrBuilder { private static final long serialVersionUID = 0L; // Use SnsCommentInfo.newBuilder() to construct. private SnsCommentInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsCommentInfo() { username_ = ""; nickname_ = ""; content_ = ""; replyUsername_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsCommentInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsCommentInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; username_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; nickname_ = bs; break; } case 24: { bitField0_ |= 0x00000004; source_ = input.readUInt32(); break; } case 32: { bitField0_ |= 0x00000008; type_ = input.readUInt32(); break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; content_ = bs; break; } case 48: { bitField0_ |= 0x00000020; createTime_ = input.readUInt32(); break; } case 56: { bitField0_ |= 0x00000040; commentId_ = input.readUInt32(); break; } case 64: { bitField0_ |= 0x00000080; replyCommentId_ = input.readUInt32(); break; } case 74: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000100; replyUsername_ = bs; break; } case 80: { bitField0_ |= 0x00000200; isNotRichText_ = input.readUInt32(); break; } case 88: { bitField0_ |= 0x00000400; replyCommentId2_ = input.readUInt64(); break; } case 96: { bitField0_ |= 0x00000800; commentId2_ = input.readUInt64(); break; } case 104: { bitField0_ |= 0x00001000; deleteFlag_ = input.readUInt32(); break; } case 112: { bitField0_ |= 0x00002000; commentFlag_ = 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.Friendgroup.internal_static_wechat_proto_SnsCommentInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsCommentInfo.class, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder.class); } private int bitField0_; public static final int USERNAME_FIELD_NUMBER = 1; private volatile java.lang.Object username_; /** * optional string username = 1; * @return Whether the username field is set. */ @java.lang.Override public boolean hasUsername() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string username = 1; * @return The username. */ @java.lang.Override public java.lang.String getUsername() { java.lang.Object ref = username_; 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()) { username_ = s; } return s; } } /** * optional string username = 1; * @return The bytes for username. */ @java.lang.Override public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NICKNAME_FIELD_NUMBER = 2; private volatile java.lang.Object nickname_; /** * optional string nickname = 2; * @return Whether the nickname field is set. */ @java.lang.Override public boolean hasNickname() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string nickname = 2; * @return The nickname. */ @java.lang.Override public java.lang.String getNickname() { java.lang.Object ref = nickname_; 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()) { nickname_ = s; } return s; } } /** * optional string nickname = 2; * @return The bytes for nickname. */ @java.lang.Override public com.google.protobuf.ByteString getNicknameBytes() { java.lang.Object ref = nickname_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nickname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCE_FIELD_NUMBER = 3; private int source_; /** * optional uint32 source = 3; * @return Whether the source field is set. */ @java.lang.Override public boolean hasSource() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 source = 3; * @return The source. */ @java.lang.Override public int getSource() { return source_; } public static final int TYPE_FIELD_NUMBER = 4; private int type_; /** * optional uint32 type = 4; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 type = 4; * @return The type. */ @java.lang.Override public int getType() { return type_; } public static final int CONTENT_FIELD_NUMBER = 5; private volatile java.lang.Object content_; /** * optional string content = 5; * @return Whether the content field is set. */ @java.lang.Override public boolean hasContent() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string content = 5; * @return The content. */ @java.lang.Override public java.lang.String getContent() { java.lang.Object ref = content_; 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()) { content_ = s; } return s; } } /** * optional string content = 5; * @return The bytes for content. */ @java.lang.Override public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); content_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CREATETIME_FIELD_NUMBER = 6; private int createTime_; /** * optional uint32 createTime = 6; * @return Whether the createTime field is set. */ @java.lang.Override public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 createTime = 6; * @return The createTime. */ @java.lang.Override public int getCreateTime() { return createTime_; } public static final int COMMENTID_FIELD_NUMBER = 7; private int commentId_; /** * optional uint32 commentId = 7; * @return Whether the commentId field is set. */ @java.lang.Override public boolean hasCommentId() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 commentId = 7; * @return The commentId. */ @java.lang.Override public int getCommentId() { return commentId_; } public static final int REPLYCOMMENTID_FIELD_NUMBER = 8; private int replyCommentId_; /** * optional uint32 replyCommentId = 8; * @return Whether the replyCommentId field is set. */ @java.lang.Override public boolean hasReplyCommentId() { return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 replyCommentId = 8; * @return The replyCommentId. */ @java.lang.Override public int getReplyCommentId() { return replyCommentId_; } public static final int REPLYUSERNAME_FIELD_NUMBER = 9; private volatile java.lang.Object replyUsername_; /** * optional string replyUsername = 9; * @return Whether the replyUsername field is set. */ @java.lang.Override public boolean hasReplyUsername() { return ((bitField0_ & 0x00000100) != 0); } /** * optional string replyUsername = 9; * @return The replyUsername. */ @java.lang.Override public java.lang.String getReplyUsername() { java.lang.Object ref = replyUsername_; 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()) { replyUsername_ = s; } return s; } } /** * optional string replyUsername = 9; * @return The bytes for replyUsername. */ @java.lang.Override public com.google.protobuf.ByteString getReplyUsernameBytes() { java.lang.Object ref = replyUsername_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); replyUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ISNOTRICHTEXT_FIELD_NUMBER = 10; private int isNotRichText_; /** * optional uint32 isNotRichText = 10; * @return Whether the isNotRichText field is set. */ @java.lang.Override public boolean hasIsNotRichText() { return ((bitField0_ & 0x00000200) != 0); } /** * optional uint32 isNotRichText = 10; * @return The isNotRichText. */ @java.lang.Override public int getIsNotRichText() { return isNotRichText_; } public static final int REPLYCOMMENTID2_FIELD_NUMBER = 11; private long replyCommentId2_; /** * optional uint64 replyCommentId2 = 11; * @return Whether the replyCommentId2 field is set. */ @java.lang.Override public boolean hasReplyCommentId2() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint64 replyCommentId2 = 11; * @return The replyCommentId2. */ @java.lang.Override public long getReplyCommentId2() { return replyCommentId2_; } public static final int COMMENTID2_FIELD_NUMBER = 12; private long commentId2_; /** * optional uint64 commentId2 = 12; * @return Whether the commentId2 field is set. */ @java.lang.Override public boolean hasCommentId2() { return ((bitField0_ & 0x00000800) != 0); } /** * optional uint64 commentId2 = 12; * @return The commentId2. */ @java.lang.Override public long getCommentId2() { return commentId2_; } public static final int DELETEFLAG_FIELD_NUMBER = 13; private int deleteFlag_; /** * optional uint32 deleteFlag = 13; * @return Whether the deleteFlag field is set. */ @java.lang.Override public boolean hasDeleteFlag() { return ((bitField0_ & 0x00001000) != 0); } /** * optional uint32 deleteFlag = 13; * @return The deleteFlag. */ @java.lang.Override public int getDeleteFlag() { return deleteFlag_; } public static final int COMMENTFLAG_FIELD_NUMBER = 14; private int commentFlag_; /** * optional uint32 commentFlag = 14; * @return Whether the commentFlag field is set. */ @java.lang.Override public boolean hasCommentFlag() { return ((bitField0_ & 0x00002000) != 0); } /** * optional uint32 commentFlag = 14; * @return The commentFlag. */ @java.lang.Override public int getCommentFlag() { return commentFlag_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nickname_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, source_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, type_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, content_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(6, createTime_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt32(7, commentId_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeUInt32(8, replyCommentId_); } if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, replyUsername_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeUInt32(10, isNotRichText_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeUInt64(11, replyCommentId2_); } if (((bitField0_ & 0x00000800) != 0)) { output.writeUInt64(12, commentId2_); } if (((bitField0_ & 0x00001000) != 0)) { output.writeUInt32(13, deleteFlag_); } if (((bitField0_ & 0x00002000) != 0)) { output.writeUInt32(14, commentFlag_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, username_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nickname_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, source_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, type_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, content_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, createTime_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, commentId_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, replyCommentId_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, replyUsername_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(10, isNotRichText_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(11, replyCommentId2_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(12, commentId2_); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(13, deleteFlag_); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(14, commentFlag_); } 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.Friendgroup.SnsCommentInfo)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsCommentInfo other = (wechat.protobuf.Friendgroup.SnsCommentInfo) obj; if (hasUsername() != other.hasUsername()) return false; if (hasUsername()) { if (!getUsername() .equals(other.getUsername())) return false; } if (hasNickname() != other.hasNickname()) return false; if (hasNickname()) { if (!getNickname() .equals(other.getNickname())) return false; } if (hasSource() != other.hasSource()) return false; if (hasSource()) { if (getSource() != other.getSource()) return false; } if (hasType() != other.hasType()) return false; if (hasType()) { if (getType() != other.getType()) return false; } if (hasContent() != other.hasContent()) return false; if (hasContent()) { if (!getContent() .equals(other.getContent())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { if (getCreateTime() != other.getCreateTime()) return false; } if (hasCommentId() != other.hasCommentId()) return false; if (hasCommentId()) { if (getCommentId() != other.getCommentId()) return false; } if (hasReplyCommentId() != other.hasReplyCommentId()) return false; if (hasReplyCommentId()) { if (getReplyCommentId() != other.getReplyCommentId()) return false; } if (hasReplyUsername() != other.hasReplyUsername()) return false; if (hasReplyUsername()) { if (!getReplyUsername() .equals(other.getReplyUsername())) return false; } if (hasIsNotRichText() != other.hasIsNotRichText()) return false; if (hasIsNotRichText()) { if (getIsNotRichText() != other.getIsNotRichText()) return false; } if (hasReplyCommentId2() != other.hasReplyCommentId2()) return false; if (hasReplyCommentId2()) { if (getReplyCommentId2() != other.getReplyCommentId2()) return false; } if (hasCommentId2() != other.hasCommentId2()) return false; if (hasCommentId2()) { if (getCommentId2() != other.getCommentId2()) return false; } if (hasDeleteFlag() != other.hasDeleteFlag()) return false; if (hasDeleteFlag()) { if (getDeleteFlag() != other.getDeleteFlag()) return false; } if (hasCommentFlag() != other.hasCommentFlag()) return false; if (hasCommentFlag()) { if (getCommentFlag() != other.getCommentFlag()) 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 (hasUsername()) { hash = (37 * hash) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUsername().hashCode(); } if (hasNickname()) { hash = (37 * hash) + NICKNAME_FIELD_NUMBER; hash = (53 * hash) + getNickname().hashCode(); } if (hasSource()) { hash = (37 * hash) + SOURCE_FIELD_NUMBER; hash = (53 * hash) + getSource(); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType(); } if (hasContent()) { hash = (37 * hash) + CONTENT_FIELD_NUMBER; hash = (53 * hash) + getContent().hashCode(); } if (hasCreateTime()) { hash = (37 * hash) + CREATETIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime(); } if (hasCommentId()) { hash = (37 * hash) + COMMENTID_FIELD_NUMBER; hash = (53 * hash) + getCommentId(); } if (hasReplyCommentId()) { hash = (37 * hash) + REPLYCOMMENTID_FIELD_NUMBER; hash = (53 * hash) + getReplyCommentId(); } if (hasReplyUsername()) { hash = (37 * hash) + REPLYUSERNAME_FIELD_NUMBER; hash = (53 * hash) + getReplyUsername().hashCode(); } if (hasIsNotRichText()) { hash = (37 * hash) + ISNOTRICHTEXT_FIELD_NUMBER; hash = (53 * hash) + getIsNotRichText(); } if (hasReplyCommentId2()) { hash = (37 * hash) + REPLYCOMMENTID2_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getReplyCommentId2()); } if (hasCommentId2()) { hash = (37 * hash) + COMMENTID2_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCommentId2()); } if (hasDeleteFlag()) { hash = (37 * hash) + DELETEFLAG_FIELD_NUMBER; hash = (53 * hash) + getDeleteFlag(); } if (hasCommentFlag()) { hash = (37 * hash) + COMMENTFLAG_FIELD_NUMBER; hash = (53 * hash) + getCommentFlag(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsCommentInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsCommentInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsCommentInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsCommentInfo 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.Friendgroup.SnsCommentInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsCommentInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsCommentInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsCommentInfo 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.Friendgroup.SnsCommentInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsCommentInfo 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.Friendgroup.SnsCommentInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsCommentInfo 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.Friendgroup.SnsCommentInfo 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.SnsCommentInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsCommentInfo) wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsCommentInfo.class, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsCommentInfo.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(); username_ = ""; bitField0_ = (bitField0_ & ~0x00000001); nickname_ = ""; bitField0_ = (bitField0_ & ~0x00000002); source_ = 0; bitField0_ = (bitField0_ & ~0x00000004); type_ = 0; bitField0_ = (bitField0_ & ~0x00000008); content_ = ""; bitField0_ = (bitField0_ & ~0x00000010); createTime_ = 0; bitField0_ = (bitField0_ & ~0x00000020); commentId_ = 0; bitField0_ = (bitField0_ & ~0x00000040); replyCommentId_ = 0; bitField0_ = (bitField0_ & ~0x00000080); replyUsername_ = ""; bitField0_ = (bitField0_ & ~0x00000100); isNotRichText_ = 0; bitField0_ = (bitField0_ & ~0x00000200); replyCommentId2_ = 0L; bitField0_ = (bitField0_ & ~0x00000400); commentId2_ = 0L; bitField0_ = (bitField0_ & ~0x00000800); deleteFlag_ = 0; bitField0_ = (bitField0_ & ~0x00001000); commentFlag_ = 0; bitField0_ = (bitField0_ & ~0x00002000); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentInfo_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentInfo getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentInfo build() { wechat.protobuf.Friendgroup.SnsCommentInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentInfo buildPartial() { wechat.protobuf.Friendgroup.SnsCommentInfo result = new wechat.protobuf.Friendgroup.SnsCommentInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.username_ = username_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.nickname_ = nickname_; if (((from_bitField0_ & 0x00000004) != 0)) { result.source_ = source_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.type_ = type_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.content_ = content_; if (((from_bitField0_ & 0x00000020) != 0)) { result.createTime_ = createTime_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.commentId_ = commentId_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.replyCommentId_ = replyCommentId_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000100; } result.replyUsername_ = replyUsername_; if (((from_bitField0_ & 0x00000200) != 0)) { result.isNotRichText_ = isNotRichText_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { result.replyCommentId2_ = replyCommentId2_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { result.commentId2_ = commentId2_; to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00001000) != 0)) { result.deleteFlag_ = deleteFlag_; to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00002000) != 0)) { result.commentFlag_ = commentFlag_; to_bitField0_ |= 0x00002000; } 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.Friendgroup.SnsCommentInfo) { return mergeFrom((wechat.protobuf.Friendgroup.SnsCommentInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsCommentInfo other) { if (other == wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance()) return this; if (other.hasUsername()) { bitField0_ |= 0x00000001; username_ = other.username_; onChanged(); } if (other.hasNickname()) { bitField0_ |= 0x00000002; nickname_ = other.nickname_; onChanged(); } if (other.hasSource()) { setSource(other.getSource()); } if (other.hasType()) { setType(other.getType()); } if (other.hasContent()) { bitField0_ |= 0x00000010; content_ = other.content_; onChanged(); } if (other.hasCreateTime()) { setCreateTime(other.getCreateTime()); } if (other.hasCommentId()) { setCommentId(other.getCommentId()); } if (other.hasReplyCommentId()) { setReplyCommentId(other.getReplyCommentId()); } if (other.hasReplyUsername()) { bitField0_ |= 0x00000100; replyUsername_ = other.replyUsername_; onChanged(); } if (other.hasIsNotRichText()) { setIsNotRichText(other.getIsNotRichText()); } if (other.hasReplyCommentId2()) { setReplyCommentId2(other.getReplyCommentId2()); } if (other.hasCommentId2()) { setCommentId2(other.getCommentId2()); } if (other.hasDeleteFlag()) { setDeleteFlag(other.getDeleteFlag()); } if (other.hasCommentFlag()) { setCommentFlag(other.getCommentFlag()); } 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.Friendgroup.SnsCommentInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsCommentInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object username_ = ""; /** * optional string username = 1; * @return Whether the username field is set. */ public boolean hasUsername() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string username = 1; * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; 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()) { username_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string username = 1; * @return The bytes for username. */ public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string username = 1; * @param value The username to set. * @return This builder for chaining. */ public Builder setUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; username_ = value; onChanged(); return this; } /** * optional string username = 1; * @return This builder for chaining. */ public Builder clearUsername() { bitField0_ = (bitField0_ & ~0x00000001); username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** * optional string username = 1; * @param value The bytes for username to set. * @return This builder for chaining. */ public Builder setUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; username_ = value; onChanged(); return this; } private java.lang.Object nickname_ = ""; /** * optional string nickname = 2; * @return Whether the nickname field is set. */ public boolean hasNickname() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string nickname = 2; * @return The nickname. */ public java.lang.String getNickname() { java.lang.Object ref = nickname_; 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()) { nickname_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string nickname = 2; * @return The bytes for nickname. */ public com.google.protobuf.ByteString getNicknameBytes() { java.lang.Object ref = nickname_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nickname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string nickname = 2; * @param value The nickname to set. * @return This builder for chaining. */ public Builder setNickname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; nickname_ = value; onChanged(); return this; } /** * optional string nickname = 2; * @return This builder for chaining. */ public Builder clearNickname() { bitField0_ = (bitField0_ & ~0x00000002); nickname_ = getDefaultInstance().getNickname(); onChanged(); return this; } /** * optional string nickname = 2; * @param value The bytes for nickname to set. * @return This builder for chaining. */ public Builder setNicknameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; nickname_ = value; onChanged(); return this; } private int source_ ; /** * optional uint32 source = 3; * @return Whether the source field is set. */ @java.lang.Override public boolean hasSource() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 source = 3; * @return The source. */ @java.lang.Override public int getSource() { return source_; } /** * optional uint32 source = 3; * @param value The source to set. * @return This builder for chaining. */ public Builder setSource(int value) { bitField0_ |= 0x00000004; source_ = value; onChanged(); return this; } /** * optional uint32 source = 3; * @return This builder for chaining. */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000004); source_ = 0; onChanged(); return this; } private int type_ ; /** * optional uint32 type = 4; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 type = 4; * @return The type. */ @java.lang.Override public int getType() { return type_; } /** * optional uint32 type = 4; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(int value) { bitField0_ |= 0x00000008; type_ = value; onChanged(); return this; } /** * optional uint32 type = 4; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000008); type_ = 0; onChanged(); return this; } private java.lang.Object content_ = ""; /** * optional string content = 5; * @return Whether the content field is set. */ public boolean hasContent() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string content = 5; * @return The content. */ public java.lang.String getContent() { java.lang.Object ref = content_; 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()) { content_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string content = 5; * @return The bytes for content. */ public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); content_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string content = 5; * @param value The content to set. * @return This builder for chaining. */ public Builder setContent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; content_ = value; onChanged(); return this; } /** * optional string content = 5; * @return This builder for chaining. */ public Builder clearContent() { bitField0_ = (bitField0_ & ~0x00000010); content_ = getDefaultInstance().getContent(); onChanged(); return this; } /** * optional string content = 5; * @param value The bytes for content to set. * @return This builder for chaining. */ public Builder setContentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; content_ = value; onChanged(); return this; } private int createTime_ ; /** * optional uint32 createTime = 6; * @return Whether the createTime field is set. */ @java.lang.Override public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 createTime = 6; * @return The createTime. */ @java.lang.Override public int getCreateTime() { return createTime_; } /** * optional uint32 createTime = 6; * @param value The createTime to set. * @return This builder for chaining. */ public Builder setCreateTime(int value) { bitField0_ |= 0x00000020; createTime_ = value; onChanged(); return this; } /** * optional uint32 createTime = 6; * @return This builder for chaining. */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); createTime_ = 0; onChanged(); return this; } private int commentId_ ; /** * optional uint32 commentId = 7; * @return Whether the commentId field is set. */ @java.lang.Override public boolean hasCommentId() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 commentId = 7; * @return The commentId. */ @java.lang.Override public int getCommentId() { return commentId_; } /** * optional uint32 commentId = 7; * @param value The commentId to set. * @return This builder for chaining. */ public Builder setCommentId(int value) { bitField0_ |= 0x00000040; commentId_ = value; onChanged(); return this; } /** * optional uint32 commentId = 7; * @return This builder for chaining. */ public Builder clearCommentId() { bitField0_ = (bitField0_ & ~0x00000040); commentId_ = 0; onChanged(); return this; } private int replyCommentId_ ; /** * optional uint32 replyCommentId = 8; * @return Whether the replyCommentId field is set. */ @java.lang.Override public boolean hasReplyCommentId() { return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 replyCommentId = 8; * @return The replyCommentId. */ @java.lang.Override public int getReplyCommentId() { return replyCommentId_; } /** * optional uint32 replyCommentId = 8; * @param value The replyCommentId to set. * @return This builder for chaining. */ public Builder setReplyCommentId(int value) { bitField0_ |= 0x00000080; replyCommentId_ = value; onChanged(); return this; } /** * optional uint32 replyCommentId = 8; * @return This builder for chaining. */ public Builder clearReplyCommentId() { bitField0_ = (bitField0_ & ~0x00000080); replyCommentId_ = 0; onChanged(); return this; } private java.lang.Object replyUsername_ = ""; /** * optional string replyUsername = 9; * @return Whether the replyUsername field is set. */ public boolean hasReplyUsername() { return ((bitField0_ & 0x00000100) != 0); } /** * optional string replyUsername = 9; * @return The replyUsername. */ public java.lang.String getReplyUsername() { java.lang.Object ref = replyUsername_; 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()) { replyUsername_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string replyUsername = 9; * @return The bytes for replyUsername. */ public com.google.protobuf.ByteString getReplyUsernameBytes() { java.lang.Object ref = replyUsername_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); replyUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string replyUsername = 9; * @param value The replyUsername to set. * @return This builder for chaining. */ public Builder setReplyUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; replyUsername_ = value; onChanged(); return this; } /** * optional string replyUsername = 9; * @return This builder for chaining. */ public Builder clearReplyUsername() { bitField0_ = (bitField0_ & ~0x00000100); replyUsername_ = getDefaultInstance().getReplyUsername(); onChanged(); return this; } /** * optional string replyUsername = 9; * @param value The bytes for replyUsername to set. * @return This builder for chaining. */ public Builder setReplyUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; replyUsername_ = value; onChanged(); return this; } private int isNotRichText_ ; /** * optional uint32 isNotRichText = 10; * @return Whether the isNotRichText field is set. */ @java.lang.Override public boolean hasIsNotRichText() { return ((bitField0_ & 0x00000200) != 0); } /** * optional uint32 isNotRichText = 10; * @return The isNotRichText. */ @java.lang.Override public int getIsNotRichText() { return isNotRichText_; } /** * optional uint32 isNotRichText = 10; * @param value The isNotRichText to set. * @return This builder for chaining. */ public Builder setIsNotRichText(int value) { bitField0_ |= 0x00000200; isNotRichText_ = value; onChanged(); return this; } /** * optional uint32 isNotRichText = 10; * @return This builder for chaining. */ public Builder clearIsNotRichText() { bitField0_ = (bitField0_ & ~0x00000200); isNotRichText_ = 0; onChanged(); return this; } private long replyCommentId2_ ; /** * optional uint64 replyCommentId2 = 11; * @return Whether the replyCommentId2 field is set. */ @java.lang.Override public boolean hasReplyCommentId2() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint64 replyCommentId2 = 11; * @return The replyCommentId2. */ @java.lang.Override public long getReplyCommentId2() { return replyCommentId2_; } /** * optional uint64 replyCommentId2 = 11; * @param value The replyCommentId2 to set. * @return This builder for chaining. */ public Builder setReplyCommentId2(long value) { bitField0_ |= 0x00000400; replyCommentId2_ = value; onChanged(); return this; } /** * optional uint64 replyCommentId2 = 11; * @return This builder for chaining. */ public Builder clearReplyCommentId2() { bitField0_ = (bitField0_ & ~0x00000400); replyCommentId2_ = 0L; onChanged(); return this; } private long commentId2_ ; /** * optional uint64 commentId2 = 12; * @return Whether the commentId2 field is set. */ @java.lang.Override public boolean hasCommentId2() { return ((bitField0_ & 0x00000800) != 0); } /** * optional uint64 commentId2 = 12; * @return The commentId2. */ @java.lang.Override public long getCommentId2() { return commentId2_; } /** * optional uint64 commentId2 = 12; * @param value The commentId2 to set. * @return This builder for chaining. */ public Builder setCommentId2(long value) { bitField0_ |= 0x00000800; commentId2_ = value; onChanged(); return this; } /** * optional uint64 commentId2 = 12; * @return This builder for chaining. */ public Builder clearCommentId2() { bitField0_ = (bitField0_ & ~0x00000800); commentId2_ = 0L; onChanged(); return this; } private int deleteFlag_ ; /** * optional uint32 deleteFlag = 13; * @return Whether the deleteFlag field is set. */ @java.lang.Override public boolean hasDeleteFlag() { return ((bitField0_ & 0x00001000) != 0); } /** * optional uint32 deleteFlag = 13; * @return The deleteFlag. */ @java.lang.Override public int getDeleteFlag() { return deleteFlag_; } /** * optional uint32 deleteFlag = 13; * @param value The deleteFlag to set. * @return This builder for chaining. */ public Builder setDeleteFlag(int value) { bitField0_ |= 0x00001000; deleteFlag_ = value; onChanged(); return this; } /** * optional uint32 deleteFlag = 13; * @return This builder for chaining. */ public Builder clearDeleteFlag() { bitField0_ = (bitField0_ & ~0x00001000); deleteFlag_ = 0; onChanged(); return this; } private int commentFlag_ ; /** * optional uint32 commentFlag = 14; * @return Whether the commentFlag field is set. */ @java.lang.Override public boolean hasCommentFlag() { return ((bitField0_ & 0x00002000) != 0); } /** * optional uint32 commentFlag = 14; * @return The commentFlag. */ @java.lang.Override public int getCommentFlag() { return commentFlag_; } /** * optional uint32 commentFlag = 14; * @param value The commentFlag to set. * @return This builder for chaining. */ public Builder setCommentFlag(int value) { bitField0_ |= 0x00002000; commentFlag_ = value; onChanged(); return this; } /** * optional uint32 commentFlag = 14; * @return This builder for chaining. */ public Builder clearCommentFlag() { bitField0_ = (bitField0_ & ~0x00002000); commentFlag_ = 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.SnsCommentInfo) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsCommentInfo) private static final wechat.protobuf.Friendgroup.SnsCommentInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsCommentInfo(); } public static wechat.protobuf.Friendgroup.SnsCommentInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsCommentInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsCommentInfo(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.Friendgroup.SnsCommentInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsGroupOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsGroup) com.google.protobuf.MessageOrBuilder { /** * optional uint64 groupId = 1; * @return Whether the groupId field is set. */ boolean hasGroupId(); /** * optional uint64 groupId = 1; * @return The groupId. */ long getGroupId(); } /** * Protobuf type {@code wechat_proto.SnsGroup} */ public static final class SnsGroup extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsGroup) SnsGroupOrBuilder { private static final long serialVersionUID = 0L; // Use SnsGroup.newBuilder() to construct. private SnsGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsGroup() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsGroup(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsGroup( 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; groupId_ = 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.Friendgroup.internal_static_wechat_proto_SnsGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsGroup.class, wechat.protobuf.Friendgroup.SnsGroup.Builder.class); } private int bitField0_; public static final int GROUPID_FIELD_NUMBER = 1; private long groupId_; /** * optional uint64 groupId = 1; * @return Whether the groupId field is set. */ @java.lang.Override public boolean hasGroupId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint64 groupId = 1; * @return The groupId. */ @java.lang.Override public long getGroupId() { return groupId_; } 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.writeUInt64(1, groupId_); } 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 .computeUInt64Size(1, groupId_); } 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.Friendgroup.SnsGroup)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsGroup other = (wechat.protobuf.Friendgroup.SnsGroup) obj; if (hasGroupId() != other.hasGroupId()) return false; if (hasGroupId()) { if (getGroupId() != other.getGroupId()) 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 (hasGroupId()) { hash = (37 * hash) + GROUPID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGroupId()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsGroup parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsGroup parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsGroup 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.Friendgroup.SnsGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsGroup parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsGroup parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsGroup 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.Friendgroup.SnsGroup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsGroup 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.Friendgroup.SnsGroup parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsGroup 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.Friendgroup.SnsGroup 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.SnsGroup} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsGroup) wechat.protobuf.Friendgroup.SnsGroupOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsGroup.class, wechat.protobuf.Friendgroup.SnsGroup.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsGroup.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(); groupId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsGroup_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsGroup getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsGroup.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsGroup build() { wechat.protobuf.Friendgroup.SnsGroup result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsGroup buildPartial() { wechat.protobuf.Friendgroup.SnsGroup result = new wechat.protobuf.Friendgroup.SnsGroup(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.groupId_ = groupId_; 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.Friendgroup.SnsGroup) { return mergeFrom((wechat.protobuf.Friendgroup.SnsGroup)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsGroup other) { if (other == wechat.protobuf.Friendgroup.SnsGroup.getDefaultInstance()) return this; if (other.hasGroupId()) { setGroupId(other.getGroupId()); } 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.Friendgroup.SnsGroup parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsGroup) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long groupId_ ; /** * optional uint64 groupId = 1; * @return Whether the groupId field is set. */ @java.lang.Override public boolean hasGroupId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint64 groupId = 1; * @return The groupId. */ @java.lang.Override public long getGroupId() { return groupId_; } /** * optional uint64 groupId = 1; * @param value The groupId to set. * @return This builder for chaining. */ public Builder setGroupId(long value) { bitField0_ |= 0x00000001; groupId_ = value; onChanged(); return this; } /** * optional uint64 groupId = 1; * @return This builder for chaining. */ public Builder clearGroupId() { bitField0_ = (bitField0_ & ~0x00000001); groupId_ = 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.SnsGroup) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsGroup) private static final wechat.protobuf.Friendgroup.SnsGroup DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsGroup(); } public static wechat.protobuf.Friendgroup.SnsGroup getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsGroup parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsGroup(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.Friendgroup.SnsGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsHBUserInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsHBUserInfo) com.google.protobuf.MessageOrBuilder { /** * optional string username = 1; * @return Whether the username field is set. */ boolean hasUsername(); /** * optional string username = 1; * @return The username. */ java.lang.String getUsername(); /** * optional string username = 1; * @return The bytes for username. */ com.google.protobuf.ByteString getUsernameBytes(); /** * optional uint32 createTime = 2; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** * optional uint32 createTime = 2; * @return The createTime. */ int getCreateTime(); /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; * @return Whether the hbbuffer field is set. */ boolean hasHbbuffer(); /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; * @return The hbbuffer. */ wechat.protobuf.SKBuiltinString_ getHbbuffer(); /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; */ wechat.protobuf.SKBuiltinString_OrBuilder getHbbufferOrBuilder(); } /** * Protobuf type {@code wechat_proto.SnsHBUserInfo} */ public static final class SnsHBUserInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsHBUserInfo) SnsHBUserInfoOrBuilder { private static final long serialVersionUID = 0L; // Use SnsHBUserInfo.newBuilder() to construct. private SnsHBUserInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsHBUserInfo() { username_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsHBUserInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsHBUserInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; username_ = bs; break; } case 16: { bitField0_ |= 0x00000002; createTime_ = input.readUInt32(); break; } case 26: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = hbbuffer_.toBuilder(); } hbbuffer_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(hbbuffer_); hbbuffer_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; 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.Friendgroup.internal_static_wechat_proto_SnsHBUserInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsHBUserInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsHBUserInfo.class, wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder.class); } private int bitField0_; public static final int USERNAME_FIELD_NUMBER = 1; private volatile java.lang.Object username_; /** * optional string username = 1; * @return Whether the username field is set. */ @java.lang.Override public boolean hasUsername() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string username = 1; * @return The username. */ @java.lang.Override public java.lang.String getUsername() { java.lang.Object ref = username_; 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()) { username_ = s; } return s; } } /** * optional string username = 1; * @return The bytes for username. */ @java.lang.Override public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CREATETIME_FIELD_NUMBER = 2; private int createTime_; /** * optional uint32 createTime = 2; * @return Whether the createTime field is set. */ @java.lang.Override public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 createTime = 2; * @return The createTime. */ @java.lang.Override public int getCreateTime() { return createTime_; } public static final int HBBUFFER_FIELD_NUMBER = 3; private wechat.protobuf.SKBuiltinString_ hbbuffer_; /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; * @return Whether the hbbuffer field is set. */ @java.lang.Override public boolean hasHbbuffer() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; * @return The hbbuffer. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getHbbuffer() { return hbbuffer_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : hbbuffer_; } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getHbbufferOrBuilder() { return hbbuffer_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : hbbuffer_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, createTime_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getHbbuffer()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, username_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, createTime_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getHbbuffer()); } 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.Friendgroup.SnsHBUserInfo)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsHBUserInfo other = (wechat.protobuf.Friendgroup.SnsHBUserInfo) obj; if (hasUsername() != other.hasUsername()) return false; if (hasUsername()) { if (!getUsername() .equals(other.getUsername())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { if (getCreateTime() != other.getCreateTime()) return false; } if (hasHbbuffer() != other.hasHbbuffer()) return false; if (hasHbbuffer()) { if (!getHbbuffer() .equals(other.getHbbuffer())) 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 (hasUsername()) { hash = (37 * hash) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUsername().hashCode(); } if (hasCreateTime()) { hash = (37 * hash) + CREATETIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime(); } if (hasHbbuffer()) { hash = (37 * hash) + HBBUFFER_FIELD_NUMBER; hash = (53 * hash) + getHbbuffer().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsHBUserInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsHBUserInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsHBUserInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsHBUserInfo 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.Friendgroup.SnsHBUserInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsHBUserInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsHBUserInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsHBUserInfo 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.Friendgroup.SnsHBUserInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsHBUserInfo 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.Friendgroup.SnsHBUserInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsHBUserInfo 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.Friendgroup.SnsHBUserInfo 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.SnsHBUserInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsHBUserInfo) wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsHBUserInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsHBUserInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsHBUserInfo.class, wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsHBUserInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getHbbufferFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); username_ = ""; bitField0_ = (bitField0_ & ~0x00000001); createTime_ = 0; bitField0_ = (bitField0_ & ~0x00000002); if (hbbufferBuilder_ == null) { hbbuffer_ = null; } else { hbbufferBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsHBUserInfo_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsHBUserInfo getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsHBUserInfo.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsHBUserInfo build() { wechat.protobuf.Friendgroup.SnsHBUserInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsHBUserInfo buildPartial() { wechat.protobuf.Friendgroup.SnsHBUserInfo result = new wechat.protobuf.Friendgroup.SnsHBUserInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.username_ = username_; if (((from_bitField0_ & 0x00000002) != 0)) { result.createTime_ = createTime_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (hbbufferBuilder_ == null) { result.hbbuffer_ = hbbuffer_; } else { result.hbbuffer_ = hbbufferBuilder_.build(); } to_bitField0_ |= 0x00000004; } 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.Friendgroup.SnsHBUserInfo) { return mergeFrom((wechat.protobuf.Friendgroup.SnsHBUserInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsHBUserInfo other) { if (other == wechat.protobuf.Friendgroup.SnsHBUserInfo.getDefaultInstance()) return this; if (other.hasUsername()) { bitField0_ |= 0x00000001; username_ = other.username_; onChanged(); } if (other.hasCreateTime()) { setCreateTime(other.getCreateTime()); } if (other.hasHbbuffer()) { mergeHbbuffer(other.getHbbuffer()); } 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.Friendgroup.SnsHBUserInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsHBUserInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object username_ = ""; /** * optional string username = 1; * @return Whether the username field is set. */ public boolean hasUsername() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string username = 1; * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; 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()) { username_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string username = 1; * @return The bytes for username. */ public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string username = 1; * @param value The username to set. * @return This builder for chaining. */ public Builder setUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; username_ = value; onChanged(); return this; } /** * optional string username = 1; * @return This builder for chaining. */ public Builder clearUsername() { bitField0_ = (bitField0_ & ~0x00000001); username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** * optional string username = 1; * @param value The bytes for username to set. * @return This builder for chaining. */ public Builder setUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; username_ = value; onChanged(); return this; } private int createTime_ ; /** * optional uint32 createTime = 2; * @return Whether the createTime field is set. */ @java.lang.Override public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 createTime = 2; * @return The createTime. */ @java.lang.Override public int getCreateTime() { return createTime_; } /** * optional uint32 createTime = 2; * @param value The createTime to set. * @return This builder for chaining. */ public Builder setCreateTime(int value) { bitField0_ |= 0x00000002; createTime_ = value; onChanged(); return this; } /** * optional uint32 createTime = 2; * @return This builder for chaining. */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); createTime_ = 0; onChanged(); return this; } private wechat.protobuf.SKBuiltinString_ hbbuffer_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> hbbufferBuilder_; /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; * @return Whether the hbbuffer field is set. */ public boolean hasHbbuffer() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; * @return The hbbuffer. */ public wechat.protobuf.SKBuiltinString_ getHbbuffer() { if (hbbufferBuilder_ == null) { return hbbuffer_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : hbbuffer_; } else { return hbbufferBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; */ public Builder setHbbuffer(wechat.protobuf.SKBuiltinString_ value) { if (hbbufferBuilder_ == null) { if (value == null) { throw new NullPointerException(); } hbbuffer_ = value; onChanged(); } else { hbbufferBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; */ public Builder setHbbuffer( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (hbbufferBuilder_ == null) { hbbuffer_ = builderForValue.build(); onChanged(); } else { hbbufferBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; */ public Builder mergeHbbuffer(wechat.protobuf.SKBuiltinString_ value) { if (hbbufferBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && hbbuffer_ != null && hbbuffer_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { hbbuffer_ = wechat.protobuf.SKBuiltinString_.newBuilder(hbbuffer_).mergeFrom(value).buildPartial(); } else { hbbuffer_ = value; } onChanged(); } else { hbbufferBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; */ public Builder clearHbbuffer() { if (hbbufferBuilder_ == null) { hbbuffer_ = null; onChanged(); } else { hbbufferBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; */ public wechat.protobuf.SKBuiltinString_.Builder getHbbufferBuilder() { bitField0_ |= 0x00000004; onChanged(); return getHbbufferFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; */ public wechat.protobuf.SKBuiltinString_OrBuilder getHbbufferOrBuilder() { if (hbbufferBuilder_ != null) { return hbbufferBuilder_.getMessageOrBuilder(); } else { return hbbuffer_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : hbbuffer_; } } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 3; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getHbbufferFieldBuilder() { if (hbbufferBuilder_ == null) { hbbufferBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getHbbuffer(), getParentForChildren(), isClean()); hbbuffer_ = null; } return hbbufferBuilder_; } @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.SnsHBUserInfo) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsHBUserInfo) private static final wechat.protobuf.Friendgroup.SnsHBUserInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsHBUserInfo(); } public static wechat.protobuf.Friendgroup.SnsHBUserInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsHBUserInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsHBUserInfo(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.Friendgroup.SnsHBUserInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CryptoDataOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.CryptoData) com.google.protobuf.MessageOrBuilder { /** * optional bytes version = 1; * @return Whether the version field is set. */ boolean hasVersion(); /** * optional bytes version = 1; * @return The version. */ com.google.protobuf.ByteString getVersion(); /** * optional uint32 type = 2; * @return Whether the type field is set. */ boolean hasType(); /** * optional uint32 type = 2; * @return The type. */ int getType(); /** * optional bytes encryptData = 3; * @return Whether the encryptData field is set. */ boolean hasEncryptData(); /** * optional bytes encryptData = 3; * @return The encryptData. */ com.google.protobuf.ByteString getEncryptData(); /** * optional uint32 timestamp = 4; * @return Whether the timestamp field is set. */ boolean hasTimestamp(); /** * optional uint32 timestamp = 4; * @return The timestamp. */ int getTimestamp(); /** * optional uint32 unknown5 = 5; * @return Whether the unknown5 field is set. */ boolean hasUnknown5(); /** * optional uint32 unknown5 = 5; * @return The unknown5. */ int getUnknown5(); /** * optional uint32 unknown6 = 6; * @return Whether the unknown6 field is set. */ boolean hasUnknown6(); /** * optional uint32 unknown6 = 6; * @return The unknown6. */ int getUnknown6(); } /** * Protobuf type {@code wechat_proto.CryptoData} */ public static final class CryptoData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.CryptoData) CryptoDataOrBuilder { private static final long serialVersionUID = 0L; // Use CryptoData.newBuilder() to construct. private CryptoData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CryptoData() { version_ = com.google.protobuf.ByteString.EMPTY; encryptData_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CryptoData(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CryptoData( 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: { bitField0_ |= 0x00000001; version_ = input.readBytes(); break; } case 16: { bitField0_ |= 0x00000002; type_ = input.readUInt32(); break; } case 26: { bitField0_ |= 0x00000004; encryptData_ = input.readBytes(); break; } case 32: { bitField0_ |= 0x00000008; timestamp_ = input.readUInt32(); break; } case 40: { bitField0_ |= 0x00000010; unknown5_ = input.readUInt32(); break; } case 48: { bitField0_ |= 0x00000020; unknown6_ = 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.Friendgroup.internal_static_wechat_proto_CryptoData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CryptoData_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.CryptoData.class, wechat.protobuf.Friendgroup.CryptoData.Builder.class); } private int bitField0_; public static final int VERSION_FIELD_NUMBER = 1; private com.google.protobuf.ByteString version_; /** * optional bytes version = 1; * @return Whether the version field is set. */ @java.lang.Override public boolean hasVersion() { return ((bitField0_ & 0x00000001) != 0); } /** * optional bytes version = 1; * @return The version. */ @java.lang.Override public com.google.protobuf.ByteString getVersion() { return version_; } 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 ENCRYPTDATA_FIELD_NUMBER = 3; private com.google.protobuf.ByteString encryptData_; /** * optional bytes encryptData = 3; * @return Whether the encryptData field is set. */ @java.lang.Override public boolean hasEncryptData() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bytes encryptData = 3; * @return The encryptData. */ @java.lang.Override public com.google.protobuf.ByteString getEncryptData() { return encryptData_; } public static final int TIMESTAMP_FIELD_NUMBER = 4; private int timestamp_; /** * optional uint32 timestamp = 4; * @return Whether the timestamp field is set. */ @java.lang.Override public boolean hasTimestamp() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 timestamp = 4; * @return The timestamp. */ @java.lang.Override public int getTimestamp() { return timestamp_; } public static final int UNKNOWN5_FIELD_NUMBER = 5; private int unknown5_; /** * optional uint32 unknown5 = 5; * @return Whether the unknown5 field is set. */ @java.lang.Override public boolean hasUnknown5() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 unknown5 = 5; * @return The unknown5. */ @java.lang.Override public int getUnknown5() { return unknown5_; } public static final int UNKNOWN6_FIELD_NUMBER = 6; private int unknown6_; /** * optional uint32 unknown6 = 6; * @return Whether the unknown6 field is set. */ @java.lang.Override public boolean hasUnknown6() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 unknown6 = 6; * @return The unknown6. */ @java.lang.Override public int getUnknown6() { return unknown6_; } 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.writeBytes(1, version_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, type_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBytes(3, encryptData_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, timestamp_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, unknown5_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(6, unknown6_); } 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 .computeBytesSize(1, version_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, type_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, encryptData_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, timestamp_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, unknown5_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, unknown6_); } 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.Friendgroup.CryptoData)) { return super.equals(obj); } wechat.protobuf.Friendgroup.CryptoData other = (wechat.protobuf.Friendgroup.CryptoData) obj; if (hasVersion() != other.hasVersion()) return false; if (hasVersion()) { if (!getVersion() .equals(other.getVersion())) return false; } if (hasType() != other.hasType()) return false; if (hasType()) { if (getType() != other.getType()) return false; } if (hasEncryptData() != other.hasEncryptData()) return false; if (hasEncryptData()) { if (!getEncryptData() .equals(other.getEncryptData())) return false; } if (hasTimestamp() != other.hasTimestamp()) return false; if (hasTimestamp()) { if (getTimestamp() != other.getTimestamp()) return false; } if (hasUnknown5() != other.hasUnknown5()) return false; if (hasUnknown5()) { if (getUnknown5() != other.getUnknown5()) return false; } if (hasUnknown6() != other.hasUnknown6()) return false; if (hasUnknown6()) { if (getUnknown6() != other.getUnknown6()) 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 (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType(); } if (hasEncryptData()) { hash = (37 * hash) + ENCRYPTDATA_FIELD_NUMBER; hash = (53 * hash) + getEncryptData().hashCode(); } if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getTimestamp(); } if (hasUnknown5()) { hash = (37 * hash) + UNKNOWN5_FIELD_NUMBER; hash = (53 * hash) + getUnknown5(); } if (hasUnknown6()) { hash = (37 * hash) + UNKNOWN6_FIELD_NUMBER; hash = (53 * hash) + getUnknown6(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.CryptoData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.CryptoData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.CryptoData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.CryptoData 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.Friendgroup.CryptoData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.CryptoData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.CryptoData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.CryptoData 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.Friendgroup.CryptoData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.CryptoData 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.Friendgroup.CryptoData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.CryptoData 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.Friendgroup.CryptoData 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.CryptoData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.CryptoData) wechat.protobuf.Friendgroup.CryptoDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CryptoData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CryptoData_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.CryptoData.class, wechat.protobuf.Friendgroup.CryptoData.Builder.class); } // Construct using wechat.protobuf.Friendgroup.CryptoData.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(); version_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); type_ = 0; bitField0_ = (bitField0_ & ~0x00000002); encryptData_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); timestamp_ = 0; bitField0_ = (bitField0_ & ~0x00000008); unknown5_ = 0; bitField0_ = (bitField0_ & ~0x00000010); unknown6_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CryptoData_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.CryptoData getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.CryptoData.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.CryptoData build() { wechat.protobuf.Friendgroup.CryptoData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.CryptoData buildPartial() { wechat.protobuf.Friendgroup.CryptoData result = new wechat.protobuf.Friendgroup.CryptoData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.version_ = version_; if (((from_bitField0_ & 0x00000002) != 0)) { result.type_ = type_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.encryptData_ = encryptData_; if (((from_bitField0_ & 0x00000008) != 0)) { result.timestamp_ = timestamp_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.unknown5_ = unknown5_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.unknown6_ = unknown6_; 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.Friendgroup.CryptoData) { return mergeFrom((wechat.protobuf.Friendgroup.CryptoData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.CryptoData other) { if (other == wechat.protobuf.Friendgroup.CryptoData.getDefaultInstance()) return this; if (other.hasVersion()) { setVersion(other.getVersion()); } if (other.hasType()) { setType(other.getType()); } if (other.hasEncryptData()) { setEncryptData(other.getEncryptData()); } if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } if (other.hasUnknown5()) { setUnknown5(other.getUnknown5()); } if (other.hasUnknown6()) { setUnknown6(other.getUnknown6()); } 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.Friendgroup.CryptoData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.CryptoData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.ByteString version_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes version = 1; * @return Whether the version field is set. */ @java.lang.Override public boolean hasVersion() { return ((bitField0_ & 0x00000001) != 0); } /** * optional bytes version = 1; * @return The version. */ @java.lang.Override public com.google.protobuf.ByteString getVersion() { return version_; } /** * optional bytes version = 1; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; version_ = value; onChanged(); return this; } /** * optional bytes version = 1; * @return This builder for chaining. */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000001); version_ = getDefaultInstance().getVersion(); 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 com.google.protobuf.ByteString encryptData_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes encryptData = 3; * @return Whether the encryptData field is set. */ @java.lang.Override public boolean hasEncryptData() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bytes encryptData = 3; * @return The encryptData. */ @java.lang.Override public com.google.protobuf.ByteString getEncryptData() { return encryptData_; } /** * optional bytes encryptData = 3; * @param value The encryptData to set. * @return This builder for chaining. */ public Builder setEncryptData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; encryptData_ = value; onChanged(); return this; } /** * optional bytes encryptData = 3; * @return This builder for chaining. */ public Builder clearEncryptData() { bitField0_ = (bitField0_ & ~0x00000004); encryptData_ = getDefaultInstance().getEncryptData(); onChanged(); return this; } private int timestamp_ ; /** * optional uint32 timestamp = 4; * @return Whether the timestamp field is set. */ @java.lang.Override public boolean hasTimestamp() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 timestamp = 4; * @return The timestamp. */ @java.lang.Override public int getTimestamp() { return timestamp_; } /** * optional uint32 timestamp = 4; * @param value The timestamp to set. * @return This builder for chaining. */ public Builder setTimestamp(int value) { bitField0_ |= 0x00000008; timestamp_ = value; onChanged(); return this; } /** * optional uint32 timestamp = 4; * @return This builder for chaining. */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000008); timestamp_ = 0; onChanged(); return this; } private int unknown5_ ; /** * optional uint32 unknown5 = 5; * @return Whether the unknown5 field is set. */ @java.lang.Override public boolean hasUnknown5() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 unknown5 = 5; * @return The unknown5. */ @java.lang.Override public int getUnknown5() { return unknown5_; } /** * optional uint32 unknown5 = 5; * @param value The unknown5 to set. * @return This builder for chaining. */ public Builder setUnknown5(int value) { bitField0_ |= 0x00000010; unknown5_ = value; onChanged(); return this; } /** * optional uint32 unknown5 = 5; * @return This builder for chaining. */ public Builder clearUnknown5() { bitField0_ = (bitField0_ & ~0x00000010); unknown5_ = 0; onChanged(); return this; } private int unknown6_ ; /** * optional uint32 unknown6 = 6; * @return Whether the unknown6 field is set. */ @java.lang.Override public boolean hasUnknown6() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 unknown6 = 6; * @return The unknown6. */ @java.lang.Override public int getUnknown6() { return unknown6_; } /** * optional uint32 unknown6 = 6; * @param value The unknown6 to set. * @return This builder for chaining. */ public Builder setUnknown6(int value) { bitField0_ |= 0x00000020; unknown6_ = value; onChanged(); return this; } /** * optional uint32 unknown6 = 6; * @return This builder for chaining. */ public Builder clearUnknown6() { bitField0_ = (bitField0_ & ~0x00000020); unknown6_ = 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.CryptoData) } // @@protoc_insertion_point(class_scope:wechat_proto.CryptoData) private static final wechat.protobuf.Friendgroup.CryptoData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.CryptoData(); } public static wechat.protobuf.Friendgroup.CryptoData getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CryptoData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CryptoData(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.Friendgroup.CryptoData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsPostRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsPostRequest) 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 .wechat_proto.SKBuiltinString_ objectDesc = 2; * @return Whether the objectDesc field is set. */ boolean hasObjectDesc(); /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 2; * @return The objectDesc. */ wechat.protobuf.SKBuiltinString_ getObjectDesc(); /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 2; */ wechat.protobuf.SKBuiltinString_OrBuilder getObjectDescOrBuilder(); /** * optional uint32 withUserListNum = 3; * @return Whether the withUserListNum field is set. */ boolean hasWithUserListNum(); /** * optional uint32 withUserListNum = 3; * @return The withUserListNum. */ int getWithUserListNum(); /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ java.util.List getWithUserListList(); /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ wechat.protobuf.SKBuiltinString getWithUserList(int index); /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ int getWithUserListCount(); /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ java.util.List getWithUserListOrBuilderList(); /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ wechat.protobuf.SKBuiltinStringOrBuilder getWithUserListOrBuilder( int index); /** * optional uint32 privacy = 5; * @return Whether the privacy field is set. */ boolean hasPrivacy(); /** * optional uint32 privacy = 5; * @return The privacy. */ int getPrivacy(); /** * optional uint32 syncFlag = 6; * @return Whether the syncFlag field is set. */ boolean hasSyncFlag(); /** * optional uint32 syncFlag = 6; * @return The syncFlag. */ int getSyncFlag(); /** * optional string clientId = 7; * @return Whether the clientId field is set. */ boolean hasClientId(); /** * optional string clientId = 7; * @return The clientId. */ java.lang.String getClientId(); /** * optional string clientId = 7; * @return The bytes for clientId. */ com.google.protobuf.ByteString getClientIdBytes(); /** * optional uint32 postBgimgType = 8; * @return Whether the postBgimgType field is set. */ boolean hasPostBgimgType(); /** * optional uint32 postBgimgType = 8; * @return The postBgimgType. */ int getPostBgimgType(); /** * optional uint32 groupNum = 9; * @return Whether the groupNum field is set. */ boolean hasGroupNum(); /** * optional uint32 groupNum = 9; * @return The groupNum. */ int getGroupNum(); /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ java.util.List getGroupIdsList(); /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ wechat.protobuf.Friendgroup.SnsGroup getGroupIds(int index); /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ int getGroupIdsCount(); /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ java.util.List getGroupIdsOrBuilderList(); /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ wechat.protobuf.Friendgroup.SnsGroupOrBuilder getGroupIdsOrBuilder( int index); /** * optional uint32 objectSource = 11; * @return Whether the objectSource field is set. */ boolean hasObjectSource(); /** * optional uint32 objectSource = 11; * @return The objectSource. */ int getObjectSource(); /** * optional uint64 referId = 12; * @return Whether the referId field is set. */ boolean hasReferId(); /** * optional uint64 referId = 12; * @return The referId. */ long getReferId(); /** * optional uint32 blackListNum = 13; * @return Whether the blackListNum field is set. */ boolean hasBlackListNum(); /** * optional uint32 blackListNum = 13; * @return The blackListNum. */ int getBlackListNum(); /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ java.util.List getBlackListList(); /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ wechat.protobuf.SKBuiltinString getBlackList(int index); /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ int getBlackListCount(); /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ java.util.List getBlackListOrBuilderList(); /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ wechat.protobuf.SKBuiltinStringOrBuilder getBlackListOrBuilder( int index); /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; * @return Whether the twitterInfo field is set. */ boolean hasTwitterInfo(); /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; * @return The twitterInfo. */ wechat.protobuf.Friendgroup.TwitterInfo getTwitterInfo(); /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; */ wechat.protobuf.Friendgroup.TwitterInfoOrBuilder getTwitterInfoOrBuilder(); /** * optional uint32 groupUserNum = 16; * @return Whether the groupUserNum field is set. */ boolean hasGroupUserNum(); /** * optional uint32 groupUserNum = 16; * @return The groupUserNum. */ int getGroupUserNum(); /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ java.util.List getGroupUserList(); /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ wechat.protobuf.SKBuiltinString getGroupUser(int index); /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ int getGroupUserCount(); /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ java.util.List getGroupUserOrBuilderList(); /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ wechat.protobuf.SKBuiltinStringOrBuilder getGroupUserOrBuilder( int index); /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; * @return Whether the ctocUploadInfo field is set. */ boolean hasCtocUploadInfo(); /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; * @return The ctocUploadInfo. */ wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo getCtocUploadInfo(); /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; */ wechat.protobuf.Friendgroup.SnsPostCtocUploadInfoOrBuilder getCtocUploadInfoOrBuilder(); /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; * @return Whether the snsPostOperationFields field is set. */ boolean hasSnsPostOperationFields(); /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; * @return The snsPostOperationFields. */ wechat.protobuf.Friendgroup.SnsPostOperationFields getSnsPostOperationFields(); /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; */ wechat.protobuf.Friendgroup.SnsPostOperationFieldsOrBuilder getSnsPostOperationFieldsOrBuilder(); /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; * @return Whether the snsRedEnvelops field is set. */ boolean hasSnsRedEnvelops(); /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; * @return The snsRedEnvelops. */ wechat.protobuf.Friendgroup.SnsRedEnvelops getSnsRedEnvelops(); /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; */ wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder getSnsRedEnvelopsOrBuilder(); /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; * @return Whether the poiInfo field is set. */ boolean hasPoiInfo(); /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; * @return The poiInfo. */ wechat.protobuf.SKBuiltinString_ getPoiInfo(); /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; */ wechat.protobuf.SKBuiltinString_OrBuilder getPoiInfoOrBuilder(); /** * optional string fromScene = 22; * @return Whether the fromScene field is set. */ boolean hasFromScene(); /** * optional string fromScene = 22; * @return The fromScene. */ java.lang.String getFromScene(); /** * optional string fromScene = 22; * @return The bytes for fromScene. */ com.google.protobuf.ByteString getFromSceneBytes(); /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; * @return Whether the canvasInfo field is set. */ boolean hasCanvasInfo(); /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; * @return The canvasInfo. */ wechat.protobuf.Friendgroup.CanvasInfo getCanvasInfo(); /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; */ wechat.protobuf.Friendgroup.CanvasInfoOrBuilder getCanvasInfoOrBuilder(); /** * optional uint32 mediaInfoNum = 24; * @return Whether the mediaInfoNum field is set. */ boolean hasMediaInfoNum(); /** * optional uint32 mediaInfoNum = 24; * @return The mediaInfoNum. */ int getMediaInfoNum(); /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ java.util.List getMediaInfoList(); /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ wechat.protobuf.Friendgroup.MediaInfo getMediaInfo(int index); /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ int getMediaInfoCount(); /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ java.util.List getMediaInfoOrBuilderList(); /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ wechat.protobuf.Friendgroup.MediaInfoOrBuilder getMediaInfoOrBuilder( int index); /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; * @return Whether the weAppInfo field is set. */ boolean hasWeAppInfo(); /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; * @return The weAppInfo. */ wechat.protobuf.Friendgroup.SnsWeAppInfo getWeAppInfo(); /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; */ wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder getWeAppInfoOrBuilder(); /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; * @return Whether the clientCheckData field is set. */ boolean hasClientCheckData(); /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; * @return The clientCheckData. */ wechat.protobuf.SKBuiltinString_ getClientCheckData(); /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; */ wechat.protobuf.SKBuiltinString_OrBuilder getClientCheckDataOrBuilder(); /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; * @return Whether the extSpamInfo field is set. */ boolean hasExtSpamInfo(); /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; * @return The extSpamInfo. */ wechat.protobuf.SKBuiltinString_ getExtSpamInfo(); /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; */ wechat.protobuf.SKBuiltinString_OrBuilder getExtSpamInfoOrBuilder(); } /** * Protobuf type {@code wechat_proto.SnsPostRequest} */ public static final class SnsPostRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsPostRequest) SnsPostRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SnsPostRequest.newBuilder() to construct. private SnsPostRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsPostRequest() { withUserList_ = java.util.Collections.emptyList(); clientId_ = ""; groupIds_ = java.util.Collections.emptyList(); blackList_ = java.util.Collections.emptyList(); groupUser_ = java.util.Collections.emptyList(); fromScene_ = ""; mediaInfo_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsPostRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsPostRequest( 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: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = objectDesc_.toBuilder(); } objectDesc_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(objectDesc_); objectDesc_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 24: { bitField0_ |= 0x00000004; withUserListNum_ = input.readUInt32(); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { withUserList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } withUserList_.add( input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry)); break; } case 40: { bitField0_ |= 0x00000008; privacy_ = input.readUInt32(); break; } case 48: { bitField0_ |= 0x00000010; syncFlag_ = input.readUInt32(); break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; clientId_ = bs; break; } case 64: { bitField0_ |= 0x00000040; postBgimgType_ = input.readUInt32(); break; } case 72: { bitField0_ |= 0x00000080; groupNum_ = input.readUInt32(); break; } case 82: { if (!((mutable_bitField0_ & 0x00000200) != 0)) { groupIds_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } groupIds_.add( input.readMessage(wechat.protobuf.Friendgroup.SnsGroup.PARSER, extensionRegistry)); break; } case 88: { bitField0_ |= 0x00000100; objectSource_ = input.readUInt32(); break; } case 96: { bitField0_ |= 0x00000200; referId_ = input.readUInt64(); break; } case 104: { bitField0_ |= 0x00000400; blackListNum_ = input.readUInt32(); break; } case 114: { if (!((mutable_bitField0_ & 0x00002000) != 0)) { blackList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00002000; } blackList_.add( input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry)); break; } case 122: { wechat.protobuf.Friendgroup.TwitterInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000800) != 0)) { subBuilder = twitterInfo_.toBuilder(); } twitterInfo_ = input.readMessage(wechat.protobuf.Friendgroup.TwitterInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(twitterInfo_); twitterInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000800; break; } case 128: { bitField0_ |= 0x00001000; groupUserNum_ = input.readUInt32(); break; } case 138: { if (!((mutable_bitField0_ & 0x00010000) != 0)) { groupUser_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00010000; } groupUser_.add( input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry)); break; } case 146: { wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder subBuilder = null; if (((bitField0_ & 0x00002000) != 0)) { subBuilder = ctocUploadInfo_.toBuilder(); } ctocUploadInfo_ = input.readMessage(wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(ctocUploadInfo_); ctocUploadInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00002000; break; } case 154: { wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder subBuilder = null; if (((bitField0_ & 0x00004000) != 0)) { subBuilder = snsPostOperationFields_.toBuilder(); } snsPostOperationFields_ = input.readMessage(wechat.protobuf.Friendgroup.SnsPostOperationFields.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(snsPostOperationFields_); snsPostOperationFields_ = subBuilder.buildPartial(); } bitField0_ |= 0x00004000; break; } case 162: { wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder subBuilder = null; if (((bitField0_ & 0x00008000) != 0)) { subBuilder = snsRedEnvelops_.toBuilder(); } snsRedEnvelops_ = input.readMessage(wechat.protobuf.Friendgroup.SnsRedEnvelops.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(snsRedEnvelops_); snsRedEnvelops_ = subBuilder.buildPartial(); } bitField0_ |= 0x00008000; break; } case 170: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00010000) != 0)) { subBuilder = poiInfo_.toBuilder(); } poiInfo_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(poiInfo_); poiInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00010000; break; } case 178: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00020000; fromScene_ = bs; break; } case 186: { wechat.protobuf.Friendgroup.CanvasInfo.Builder subBuilder = null; if (((bitField0_ & 0x00040000) != 0)) { subBuilder = canvasInfo_.toBuilder(); } canvasInfo_ = input.readMessage(wechat.protobuf.Friendgroup.CanvasInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(canvasInfo_); canvasInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00040000; break; } case 192: { bitField0_ |= 0x00080000; mediaInfoNum_ = input.readUInt32(); break; } case 202: { if (!((mutable_bitField0_ & 0x01000000) != 0)) { mediaInfo_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x01000000; } mediaInfo_.add( input.readMessage(wechat.protobuf.Friendgroup.MediaInfo.PARSER, extensionRegistry)); break; } case 210: { wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder subBuilder = null; if (((bitField0_ & 0x00100000) != 0)) { subBuilder = weAppInfo_.toBuilder(); } weAppInfo_ = input.readMessage(wechat.protobuf.Friendgroup.SnsWeAppInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(weAppInfo_); weAppInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00100000; break; } case 218: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00200000) != 0)) { subBuilder = clientCheckData_.toBuilder(); } clientCheckData_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(clientCheckData_); clientCheckData_ = subBuilder.buildPartial(); } bitField0_ |= 0x00200000; break; } case 226: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00400000) != 0)) { subBuilder = extSpamInfo_.toBuilder(); } extSpamInfo_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(extSpamInfo_); extSpamInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00400000; 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_ & 0x00000008) != 0)) { withUserList_ = java.util.Collections.unmodifiableList(withUserList_); } if (((mutable_bitField0_ & 0x00000200) != 0)) { groupIds_ = java.util.Collections.unmodifiableList(groupIds_); } if (((mutable_bitField0_ & 0x00002000) != 0)) { blackList_ = java.util.Collections.unmodifiableList(blackList_); } if (((mutable_bitField0_ & 0x00010000) != 0)) { groupUser_ = java.util.Collections.unmodifiableList(groupUser_); } if (((mutable_bitField0_ & 0x01000000) != 0)) { mediaInfo_ = java.util.Collections.unmodifiableList(mediaInfo_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsPostRequest.class, wechat.protobuf.Friendgroup.SnsPostRequest.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 OBJECTDESC_FIELD_NUMBER = 2; private wechat.protobuf.SKBuiltinString_ objectDesc_; /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 2; * @return Whether the objectDesc field is set. */ @java.lang.Override public boolean hasObjectDesc() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 2; * @return The objectDesc. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getObjectDesc() { return objectDesc_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_; } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 2; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getObjectDescOrBuilder() { return objectDesc_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_; } public static final int WITHUSERLISTNUM_FIELD_NUMBER = 3; private int withUserListNum_; /** * optional uint32 withUserListNum = 3; * @return Whether the withUserListNum field is set. */ @java.lang.Override public boolean hasWithUserListNum() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 withUserListNum = 3; * @return The withUserListNum. */ @java.lang.Override public int getWithUserListNum() { return withUserListNum_; } public static final int WITHUSERLIST_FIELD_NUMBER = 4; private java.util.List withUserList_; /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ @java.lang.Override public java.util.List getWithUserListList() { return withUserList_; } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ @java.lang.Override public java.util.List getWithUserListOrBuilderList() { return withUserList_; } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ @java.lang.Override public int getWithUserListCount() { return withUserList_.size(); } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ @java.lang.Override public wechat.protobuf.SKBuiltinString getWithUserList(int index) { return withUserList_.get(index); } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder getWithUserListOrBuilder( int index) { return withUserList_.get(index); } public static final int PRIVACY_FIELD_NUMBER = 5; private int privacy_; /** * optional uint32 privacy = 5; * @return Whether the privacy field is set. */ @java.lang.Override public boolean hasPrivacy() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 privacy = 5; * @return The privacy. */ @java.lang.Override public int getPrivacy() { return privacy_; } public static final int SYNCFLAG_FIELD_NUMBER = 6; private int syncFlag_; /** * optional uint32 syncFlag = 6; * @return Whether the syncFlag field is set. */ @java.lang.Override public boolean hasSyncFlag() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 syncFlag = 6; * @return The syncFlag. */ @java.lang.Override public int getSyncFlag() { return syncFlag_; } public static final int CLIENTID_FIELD_NUMBER = 7; private volatile java.lang.Object clientId_; /** * optional string clientId = 7; * @return Whether the clientId field is set. */ @java.lang.Override public boolean hasClientId() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string clientId = 7; * @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 = 7; * @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 POSTBGIMGTYPE_FIELD_NUMBER = 8; private int postBgimgType_; /** * optional uint32 postBgimgType = 8; * @return Whether the postBgimgType field is set. */ @java.lang.Override public boolean hasPostBgimgType() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 postBgimgType = 8; * @return The postBgimgType. */ @java.lang.Override public int getPostBgimgType() { return postBgimgType_; } public static final int GROUPNUM_FIELD_NUMBER = 9; private int groupNum_; /** * optional uint32 groupNum = 9; * @return Whether the groupNum field is set. */ @java.lang.Override public boolean hasGroupNum() { return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 groupNum = 9; * @return The groupNum. */ @java.lang.Override public int getGroupNum() { return groupNum_; } public static final int GROUPIDS_FIELD_NUMBER = 10; private java.util.List groupIds_; /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ @java.lang.Override public java.util.List getGroupIdsList() { return groupIds_; } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ @java.lang.Override public java.util.List getGroupIdsOrBuilderList() { return groupIds_; } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ @java.lang.Override public int getGroupIdsCount() { return groupIds_.size(); } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsGroup getGroupIds(int index) { return groupIds_.get(index); } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsGroupOrBuilder getGroupIdsOrBuilder( int index) { return groupIds_.get(index); } public static final int OBJECTSOURCE_FIELD_NUMBER = 11; private int objectSource_; /** * optional uint32 objectSource = 11; * @return Whether the objectSource field is set. */ @java.lang.Override public boolean hasObjectSource() { return ((bitField0_ & 0x00000100) != 0); } /** * optional uint32 objectSource = 11; * @return The objectSource. */ @java.lang.Override public int getObjectSource() { return objectSource_; } public static final int REFERID_FIELD_NUMBER = 12; private long referId_; /** * optional uint64 referId = 12; * @return Whether the referId field is set. */ @java.lang.Override public boolean hasReferId() { return ((bitField0_ & 0x00000200) != 0); } /** * optional uint64 referId = 12; * @return The referId. */ @java.lang.Override public long getReferId() { return referId_; } public static final int BLACKLISTNUM_FIELD_NUMBER = 13; private int blackListNum_; /** * optional uint32 blackListNum = 13; * @return Whether the blackListNum field is set. */ @java.lang.Override public boolean hasBlackListNum() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint32 blackListNum = 13; * @return The blackListNum. */ @java.lang.Override public int getBlackListNum() { return blackListNum_; } public static final int BLACKLIST_FIELD_NUMBER = 14; private java.util.List blackList_; /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ @java.lang.Override public java.util.List getBlackListList() { return blackList_; } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ @java.lang.Override public java.util.List getBlackListOrBuilderList() { return blackList_; } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ @java.lang.Override public int getBlackListCount() { return blackList_.size(); } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ @java.lang.Override public wechat.protobuf.SKBuiltinString getBlackList(int index) { return blackList_.get(index); } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder getBlackListOrBuilder( int index) { return blackList_.get(index); } public static final int TWITTERINFO_FIELD_NUMBER = 15; private wechat.protobuf.Friendgroup.TwitterInfo twitterInfo_; /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; * @return Whether the twitterInfo field is set. */ @java.lang.Override public boolean hasTwitterInfo() { return ((bitField0_ & 0x00000800) != 0); } /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; * @return The twitterInfo. */ @java.lang.Override public wechat.protobuf.Friendgroup.TwitterInfo getTwitterInfo() { return twitterInfo_ == null ? wechat.protobuf.Friendgroup.TwitterInfo.getDefaultInstance() : twitterInfo_; } /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; */ @java.lang.Override public wechat.protobuf.Friendgroup.TwitterInfoOrBuilder getTwitterInfoOrBuilder() { return twitterInfo_ == null ? wechat.protobuf.Friendgroup.TwitterInfo.getDefaultInstance() : twitterInfo_; } public static final int GROUPUSERNUM_FIELD_NUMBER = 16; private int groupUserNum_; /** * optional uint32 groupUserNum = 16; * @return Whether the groupUserNum field is set. */ @java.lang.Override public boolean hasGroupUserNum() { return ((bitField0_ & 0x00001000) != 0); } /** * optional uint32 groupUserNum = 16; * @return The groupUserNum. */ @java.lang.Override public int getGroupUserNum() { return groupUserNum_; } public static final int GROUPUSER_FIELD_NUMBER = 17; private java.util.List groupUser_; /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ @java.lang.Override public java.util.List getGroupUserList() { return groupUser_; } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ @java.lang.Override public java.util.List getGroupUserOrBuilderList() { return groupUser_; } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ @java.lang.Override public int getGroupUserCount() { return groupUser_.size(); } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ @java.lang.Override public wechat.protobuf.SKBuiltinString getGroupUser(int index) { return groupUser_.get(index); } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder getGroupUserOrBuilder( int index) { return groupUser_.get(index); } public static final int CTOCUPLOADINFO_FIELD_NUMBER = 18; private wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo ctocUploadInfo_; /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; * @return Whether the ctocUploadInfo field is set. */ @java.lang.Override public boolean hasCtocUploadInfo() { return ((bitField0_ & 0x00002000) != 0); } /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; * @return The ctocUploadInfo. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo getCtocUploadInfo() { return ctocUploadInfo_ == null ? wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.getDefaultInstance() : ctocUploadInfo_; } /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfoOrBuilder getCtocUploadInfoOrBuilder() { return ctocUploadInfo_ == null ? wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.getDefaultInstance() : ctocUploadInfo_; } public static final int SNSPOSTOPERATIONFIELDS_FIELD_NUMBER = 19; private wechat.protobuf.Friendgroup.SnsPostOperationFields snsPostOperationFields_; /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; * @return Whether the snsPostOperationFields field is set. */ @java.lang.Override public boolean hasSnsPostOperationFields() { return ((bitField0_ & 0x00004000) != 0); } /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; * @return The snsPostOperationFields. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostOperationFields getSnsPostOperationFields() { return snsPostOperationFields_ == null ? wechat.protobuf.Friendgroup.SnsPostOperationFields.getDefaultInstance() : snsPostOperationFields_; } /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostOperationFieldsOrBuilder getSnsPostOperationFieldsOrBuilder() { return snsPostOperationFields_ == null ? wechat.protobuf.Friendgroup.SnsPostOperationFields.getDefaultInstance() : snsPostOperationFields_; } public static final int SNSREDENVELOPS_FIELD_NUMBER = 20; private wechat.protobuf.Friendgroup.SnsRedEnvelops snsRedEnvelops_; /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; * @return Whether the snsRedEnvelops field is set. */ @java.lang.Override public boolean hasSnsRedEnvelops() { return ((bitField0_ & 0x00008000) != 0); } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; * @return The snsRedEnvelops. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsRedEnvelops getSnsRedEnvelops() { return snsRedEnvelops_ == null ? wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_; } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder getSnsRedEnvelopsOrBuilder() { return snsRedEnvelops_ == null ? wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_; } public static final int POIINFO_FIELD_NUMBER = 21; private wechat.protobuf.SKBuiltinString_ poiInfo_; /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; * @return Whether the poiInfo field is set. */ @java.lang.Override public boolean hasPoiInfo() { return ((bitField0_ & 0x00010000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; * @return The poiInfo. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getPoiInfo() { return poiInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : poiInfo_; } /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getPoiInfoOrBuilder() { return poiInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : poiInfo_; } public static final int FROMSCENE_FIELD_NUMBER = 22; private volatile java.lang.Object fromScene_; /** * optional string fromScene = 22; * @return Whether the fromScene field is set. */ @java.lang.Override public boolean hasFromScene() { return ((bitField0_ & 0x00020000) != 0); } /** * optional string fromScene = 22; * @return The fromScene. */ @java.lang.Override public java.lang.String getFromScene() { java.lang.Object ref = fromScene_; 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()) { fromScene_ = s; } return s; } } /** * optional string fromScene = 22; * @return The bytes for fromScene. */ @java.lang.Override public com.google.protobuf.ByteString getFromSceneBytes() { java.lang.Object ref = fromScene_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fromScene_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CANVASINFO_FIELD_NUMBER = 23; private wechat.protobuf.Friendgroup.CanvasInfo canvasInfo_; /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; * @return Whether the canvasInfo field is set. */ @java.lang.Override public boolean hasCanvasInfo() { return ((bitField0_ & 0x00040000) != 0); } /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; * @return The canvasInfo. */ @java.lang.Override public wechat.protobuf.Friendgroup.CanvasInfo getCanvasInfo() { return canvasInfo_ == null ? wechat.protobuf.Friendgroup.CanvasInfo.getDefaultInstance() : canvasInfo_; } /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; */ @java.lang.Override public wechat.protobuf.Friendgroup.CanvasInfoOrBuilder getCanvasInfoOrBuilder() { return canvasInfo_ == null ? wechat.protobuf.Friendgroup.CanvasInfo.getDefaultInstance() : canvasInfo_; } public static final int MEDIAINFONUM_FIELD_NUMBER = 24; private int mediaInfoNum_; /** * optional uint32 mediaInfoNum = 24; * @return Whether the mediaInfoNum field is set. */ @java.lang.Override public boolean hasMediaInfoNum() { return ((bitField0_ & 0x00080000) != 0); } /** * optional uint32 mediaInfoNum = 24; * @return The mediaInfoNum. */ @java.lang.Override public int getMediaInfoNum() { return mediaInfoNum_; } public static final int MEDIAINFO_FIELD_NUMBER = 25; private java.util.List mediaInfo_; /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ @java.lang.Override public java.util.List getMediaInfoList() { return mediaInfo_; } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ @java.lang.Override public java.util.List getMediaInfoOrBuilderList() { return mediaInfo_; } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ @java.lang.Override public int getMediaInfoCount() { return mediaInfo_.size(); } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ @java.lang.Override public wechat.protobuf.Friendgroup.MediaInfo getMediaInfo(int index) { return mediaInfo_.get(index); } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ @java.lang.Override public wechat.protobuf.Friendgroup.MediaInfoOrBuilder getMediaInfoOrBuilder( int index) { return mediaInfo_.get(index); } public static final int WEAPPINFO_FIELD_NUMBER = 26; private wechat.protobuf.Friendgroup.SnsWeAppInfo weAppInfo_; /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; * @return Whether the weAppInfo field is set. */ @java.lang.Override public boolean hasWeAppInfo() { return ((bitField0_ & 0x00100000) != 0); } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; * @return The weAppInfo. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsWeAppInfo getWeAppInfo() { return weAppInfo_ == null ? wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_; } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder getWeAppInfoOrBuilder() { return weAppInfo_ == null ? wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_; } public static final int CLIENTCHECKDATA_FIELD_NUMBER = 27; private wechat.protobuf.SKBuiltinString_ clientCheckData_; /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; * @return Whether the clientCheckData field is set. */ @java.lang.Override public boolean hasClientCheckData() { return ((bitField0_ & 0x00200000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; * @return The clientCheckData. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getClientCheckData() { return clientCheckData_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clientCheckData_; } /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getClientCheckDataOrBuilder() { return clientCheckData_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clientCheckData_; } public static final int EXTSPAMINFO_FIELD_NUMBER = 28; private wechat.protobuf.SKBuiltinString_ extSpamInfo_; /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; * @return Whether the extSpamInfo field is set. */ @java.lang.Override public boolean hasExtSpamInfo() { return ((bitField0_ & 0x00400000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; * @return The extSpamInfo. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getExtSpamInfo() { return extSpamInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : extSpamInfo_; } /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getExtSpamInfoOrBuilder() { return extSpamInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : extSpamInfo_; } 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.writeMessage(2, getObjectDesc()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, withUserListNum_); } for (int i = 0; i < withUserList_.size(); i++) { output.writeMessage(4, withUserList_.get(i)); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(5, privacy_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(6, syncFlag_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, clientId_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt32(8, postBgimgType_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeUInt32(9, groupNum_); } for (int i = 0; i < groupIds_.size(); i++) { output.writeMessage(10, groupIds_.get(i)); } if (((bitField0_ & 0x00000100) != 0)) { output.writeUInt32(11, objectSource_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeUInt64(12, referId_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeUInt32(13, blackListNum_); } for (int i = 0; i < blackList_.size(); i++) { output.writeMessage(14, blackList_.get(i)); } if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(15, getTwitterInfo()); } if (((bitField0_ & 0x00001000) != 0)) { output.writeUInt32(16, groupUserNum_); } for (int i = 0; i < groupUser_.size(); i++) { output.writeMessage(17, groupUser_.get(i)); } if (((bitField0_ & 0x00002000) != 0)) { output.writeMessage(18, getCtocUploadInfo()); } if (((bitField0_ & 0x00004000) != 0)) { output.writeMessage(19, getSnsPostOperationFields()); } if (((bitField0_ & 0x00008000) != 0)) { output.writeMessage(20, getSnsRedEnvelops()); } if (((bitField0_ & 0x00010000) != 0)) { output.writeMessage(21, getPoiInfo()); } if (((bitField0_ & 0x00020000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 22, fromScene_); } if (((bitField0_ & 0x00040000) != 0)) { output.writeMessage(23, getCanvasInfo()); } if (((bitField0_ & 0x00080000) != 0)) { output.writeUInt32(24, mediaInfoNum_); } for (int i = 0; i < mediaInfo_.size(); i++) { output.writeMessage(25, mediaInfo_.get(i)); } if (((bitField0_ & 0x00100000) != 0)) { output.writeMessage(26, getWeAppInfo()); } if (((bitField0_ & 0x00200000) != 0)) { output.writeMessage(27, getClientCheckData()); } if (((bitField0_ & 0x00400000) != 0)) { output.writeMessage(28, getExtSpamInfo()); } 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 .computeMessageSize(2, getObjectDesc()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, withUserListNum_); } for (int i = 0; i < withUserList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, withUserList_.get(i)); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, privacy_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, syncFlag_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, clientId_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, postBgimgType_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(9, groupNum_); } for (int i = 0; i < groupIds_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, groupIds_.get(i)); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(11, objectSource_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(12, referId_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(13, blackListNum_); } for (int i = 0; i < blackList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, blackList_.get(i)); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getTwitterInfo()); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(16, groupUserNum_); } for (int i = 0; i < groupUser_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, groupUser_.get(i)); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, getCtocUploadInfo()); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, getSnsPostOperationFields()); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, getSnsRedEnvelops()); } if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, getPoiInfo()); } if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, fromScene_); } if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getCanvasInfo()); } if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(24, mediaInfoNum_); } for (int i = 0; i < mediaInfo_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(25, mediaInfo_.get(i)); } if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(26, getWeAppInfo()); } if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(27, getClientCheckData()); } if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(28, getExtSpamInfo()); } 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.Friendgroup.SnsPostRequest)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsPostRequest other = (wechat.protobuf.Friendgroup.SnsPostRequest) obj; if (hasBaseRequest() != other.hasBaseRequest()) return false; if (hasBaseRequest()) { if (!getBaseRequest() .equals(other.getBaseRequest())) return false; } if (hasObjectDesc() != other.hasObjectDesc()) return false; if (hasObjectDesc()) { if (!getObjectDesc() .equals(other.getObjectDesc())) return false; } if (hasWithUserListNum() != other.hasWithUserListNum()) return false; if (hasWithUserListNum()) { if (getWithUserListNum() != other.getWithUserListNum()) return false; } if (!getWithUserListList() .equals(other.getWithUserListList())) return false; if (hasPrivacy() != other.hasPrivacy()) return false; if (hasPrivacy()) { if (getPrivacy() != other.getPrivacy()) return false; } if (hasSyncFlag() != other.hasSyncFlag()) return false; if (hasSyncFlag()) { if (getSyncFlag() != other.getSyncFlag()) return false; } if (hasClientId() != other.hasClientId()) return false; if (hasClientId()) { if (!getClientId() .equals(other.getClientId())) return false; } if (hasPostBgimgType() != other.hasPostBgimgType()) return false; if (hasPostBgimgType()) { if (getPostBgimgType() != other.getPostBgimgType()) return false; } if (hasGroupNum() != other.hasGroupNum()) return false; if (hasGroupNum()) { if (getGroupNum() != other.getGroupNum()) return false; } if (!getGroupIdsList() .equals(other.getGroupIdsList())) return false; if (hasObjectSource() != other.hasObjectSource()) return false; if (hasObjectSource()) { if (getObjectSource() != other.getObjectSource()) return false; } if (hasReferId() != other.hasReferId()) return false; if (hasReferId()) { if (getReferId() != other.getReferId()) return false; } if (hasBlackListNum() != other.hasBlackListNum()) return false; if (hasBlackListNum()) { if (getBlackListNum() != other.getBlackListNum()) return false; } if (!getBlackListList() .equals(other.getBlackListList())) return false; if (hasTwitterInfo() != other.hasTwitterInfo()) return false; if (hasTwitterInfo()) { if (!getTwitterInfo() .equals(other.getTwitterInfo())) return false; } if (hasGroupUserNum() != other.hasGroupUserNum()) return false; if (hasGroupUserNum()) { if (getGroupUserNum() != other.getGroupUserNum()) return false; } if (!getGroupUserList() .equals(other.getGroupUserList())) return false; if (hasCtocUploadInfo() != other.hasCtocUploadInfo()) return false; if (hasCtocUploadInfo()) { if (!getCtocUploadInfo() .equals(other.getCtocUploadInfo())) return false; } if (hasSnsPostOperationFields() != other.hasSnsPostOperationFields()) return false; if (hasSnsPostOperationFields()) { if (!getSnsPostOperationFields() .equals(other.getSnsPostOperationFields())) return false; } if (hasSnsRedEnvelops() != other.hasSnsRedEnvelops()) return false; if (hasSnsRedEnvelops()) { if (!getSnsRedEnvelops() .equals(other.getSnsRedEnvelops())) return false; } if (hasPoiInfo() != other.hasPoiInfo()) return false; if (hasPoiInfo()) { if (!getPoiInfo() .equals(other.getPoiInfo())) return false; } if (hasFromScene() != other.hasFromScene()) return false; if (hasFromScene()) { if (!getFromScene() .equals(other.getFromScene())) return false; } if (hasCanvasInfo() != other.hasCanvasInfo()) return false; if (hasCanvasInfo()) { if (!getCanvasInfo() .equals(other.getCanvasInfo())) return false; } if (hasMediaInfoNum() != other.hasMediaInfoNum()) return false; if (hasMediaInfoNum()) { if (getMediaInfoNum() != other.getMediaInfoNum()) return false; } if (!getMediaInfoList() .equals(other.getMediaInfoList())) return false; if (hasWeAppInfo() != other.hasWeAppInfo()) return false; if (hasWeAppInfo()) { if (!getWeAppInfo() .equals(other.getWeAppInfo())) return false; } if (hasClientCheckData() != other.hasClientCheckData()) return false; if (hasClientCheckData()) { if (!getClientCheckData() .equals(other.getClientCheckData())) return false; } if (hasExtSpamInfo() != other.hasExtSpamInfo()) return false; if (hasExtSpamInfo()) { if (!getExtSpamInfo() .equals(other.getExtSpamInfo())) 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 (hasObjectDesc()) { hash = (37 * hash) + OBJECTDESC_FIELD_NUMBER; hash = (53 * hash) + getObjectDesc().hashCode(); } if (hasWithUserListNum()) { hash = (37 * hash) + WITHUSERLISTNUM_FIELD_NUMBER; hash = (53 * hash) + getWithUserListNum(); } if (getWithUserListCount() > 0) { hash = (37 * hash) + WITHUSERLIST_FIELD_NUMBER; hash = (53 * hash) + getWithUserListList().hashCode(); } if (hasPrivacy()) { hash = (37 * hash) + PRIVACY_FIELD_NUMBER; hash = (53 * hash) + getPrivacy(); } if (hasSyncFlag()) { hash = (37 * hash) + SYNCFLAG_FIELD_NUMBER; hash = (53 * hash) + getSyncFlag(); } if (hasClientId()) { hash = (37 * hash) + CLIENTID_FIELD_NUMBER; hash = (53 * hash) + getClientId().hashCode(); } if (hasPostBgimgType()) { hash = (37 * hash) + POSTBGIMGTYPE_FIELD_NUMBER; hash = (53 * hash) + getPostBgimgType(); } if (hasGroupNum()) { hash = (37 * hash) + GROUPNUM_FIELD_NUMBER; hash = (53 * hash) + getGroupNum(); } if (getGroupIdsCount() > 0) { hash = (37 * hash) + GROUPIDS_FIELD_NUMBER; hash = (53 * hash) + getGroupIdsList().hashCode(); } if (hasObjectSource()) { hash = (37 * hash) + OBJECTSOURCE_FIELD_NUMBER; hash = (53 * hash) + getObjectSource(); } if (hasReferId()) { hash = (37 * hash) + REFERID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getReferId()); } if (hasBlackListNum()) { hash = (37 * hash) + BLACKLISTNUM_FIELD_NUMBER; hash = (53 * hash) + getBlackListNum(); } if (getBlackListCount() > 0) { hash = (37 * hash) + BLACKLIST_FIELD_NUMBER; hash = (53 * hash) + getBlackListList().hashCode(); } if (hasTwitterInfo()) { hash = (37 * hash) + TWITTERINFO_FIELD_NUMBER; hash = (53 * hash) + getTwitterInfo().hashCode(); } if (hasGroupUserNum()) { hash = (37 * hash) + GROUPUSERNUM_FIELD_NUMBER; hash = (53 * hash) + getGroupUserNum(); } if (getGroupUserCount() > 0) { hash = (37 * hash) + GROUPUSER_FIELD_NUMBER; hash = (53 * hash) + getGroupUserList().hashCode(); } if (hasCtocUploadInfo()) { hash = (37 * hash) + CTOCUPLOADINFO_FIELD_NUMBER; hash = (53 * hash) + getCtocUploadInfo().hashCode(); } if (hasSnsPostOperationFields()) { hash = (37 * hash) + SNSPOSTOPERATIONFIELDS_FIELD_NUMBER; hash = (53 * hash) + getSnsPostOperationFields().hashCode(); } if (hasSnsRedEnvelops()) { hash = (37 * hash) + SNSREDENVELOPS_FIELD_NUMBER; hash = (53 * hash) + getSnsRedEnvelops().hashCode(); } if (hasPoiInfo()) { hash = (37 * hash) + POIINFO_FIELD_NUMBER; hash = (53 * hash) + getPoiInfo().hashCode(); } if (hasFromScene()) { hash = (37 * hash) + FROMSCENE_FIELD_NUMBER; hash = (53 * hash) + getFromScene().hashCode(); } if (hasCanvasInfo()) { hash = (37 * hash) + CANVASINFO_FIELD_NUMBER; hash = (53 * hash) + getCanvasInfo().hashCode(); } if (hasMediaInfoNum()) { hash = (37 * hash) + MEDIAINFONUM_FIELD_NUMBER; hash = (53 * hash) + getMediaInfoNum(); } if (getMediaInfoCount() > 0) { hash = (37 * hash) + MEDIAINFO_FIELD_NUMBER; hash = (53 * hash) + getMediaInfoList().hashCode(); } if (hasWeAppInfo()) { hash = (37 * hash) + WEAPPINFO_FIELD_NUMBER; hash = (53 * hash) + getWeAppInfo().hashCode(); } if (hasClientCheckData()) { hash = (37 * hash) + CLIENTCHECKDATA_FIELD_NUMBER; hash = (53 * hash) + getClientCheckData().hashCode(); } if (hasExtSpamInfo()) { hash = (37 * hash) + EXTSPAMINFO_FIELD_NUMBER; hash = (53 * hash) + getExtSpamInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsPostRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsPostRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsPostRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsPostRequest 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.Friendgroup.SnsPostRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsPostRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsPostRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsPostRequest 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.Friendgroup.SnsPostRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsPostRequest 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.Friendgroup.SnsPostRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsPostRequest 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.Friendgroup.SnsPostRequest 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.SnsPostRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsPostRequest) wechat.protobuf.Friendgroup.SnsPostRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsPostRequest.class, wechat.protobuf.Friendgroup.SnsPostRequest.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsPostRequest.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(); getObjectDescFieldBuilder(); getWithUserListFieldBuilder(); getGroupIdsFieldBuilder(); getBlackListFieldBuilder(); getTwitterInfoFieldBuilder(); getGroupUserFieldBuilder(); getCtocUploadInfoFieldBuilder(); getSnsPostOperationFieldsFieldBuilder(); getSnsRedEnvelopsFieldBuilder(); getPoiInfoFieldBuilder(); getCanvasInfoFieldBuilder(); getMediaInfoFieldBuilder(); getWeAppInfoFieldBuilder(); getClientCheckDataFieldBuilder(); getExtSpamInfoFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseRequestBuilder_ == null) { baseRequest_ = null; } else { baseRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (objectDescBuilder_ == null) { objectDesc_ = null; } else { objectDescBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); withUserListNum_ = 0; bitField0_ = (bitField0_ & ~0x00000004); if (withUserListBuilder_ == null) { withUserList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { withUserListBuilder_.clear(); } privacy_ = 0; bitField0_ = (bitField0_ & ~0x00000010); syncFlag_ = 0; bitField0_ = (bitField0_ & ~0x00000020); clientId_ = ""; bitField0_ = (bitField0_ & ~0x00000040); postBgimgType_ = 0; bitField0_ = (bitField0_ & ~0x00000080); groupNum_ = 0; bitField0_ = (bitField0_ & ~0x00000100); if (groupIdsBuilder_ == null) { groupIds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); } else { groupIdsBuilder_.clear(); } objectSource_ = 0; bitField0_ = (bitField0_ & ~0x00000400); referId_ = 0L; bitField0_ = (bitField0_ & ~0x00000800); blackListNum_ = 0; bitField0_ = (bitField0_ & ~0x00001000); if (blackListBuilder_ == null) { blackList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00002000); } else { blackListBuilder_.clear(); } if (twitterInfoBuilder_ == null) { twitterInfo_ = null; } else { twitterInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00004000); groupUserNum_ = 0; bitField0_ = (bitField0_ & ~0x00008000); if (groupUserBuilder_ == null) { groupUser_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00010000); } else { groupUserBuilder_.clear(); } if (ctocUploadInfoBuilder_ == null) { ctocUploadInfo_ = null; } else { ctocUploadInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00020000); if (snsPostOperationFieldsBuilder_ == null) { snsPostOperationFields_ = null; } else { snsPostOperationFieldsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00040000); if (snsRedEnvelopsBuilder_ == null) { snsRedEnvelops_ = null; } else { snsRedEnvelopsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00080000); if (poiInfoBuilder_ == null) { poiInfo_ = null; } else { poiInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00100000); fromScene_ = ""; bitField0_ = (bitField0_ & ~0x00200000); if (canvasInfoBuilder_ == null) { canvasInfo_ = null; } else { canvasInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00400000); mediaInfoNum_ = 0; bitField0_ = (bitField0_ & ~0x00800000); if (mediaInfoBuilder_ == null) { mediaInfo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x01000000); } else { mediaInfoBuilder_.clear(); } if (weAppInfoBuilder_ == null) { weAppInfo_ = null; } else { weAppInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x02000000); if (clientCheckDataBuilder_ == null) { clientCheckData_ = null; } else { clientCheckDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x04000000); if (extSpamInfoBuilder_ == null) { extSpamInfo_ = null; } else { extSpamInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x08000000); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostRequest_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostRequest getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsPostRequest.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostRequest build() { wechat.protobuf.Friendgroup.SnsPostRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostRequest buildPartial() { wechat.protobuf.Friendgroup.SnsPostRequest result = new wechat.protobuf.Friendgroup.SnsPostRequest(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)) { if (objectDescBuilder_ == null) { result.objectDesc_ = objectDesc_; } else { result.objectDesc_ = objectDescBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.withUserListNum_ = withUserListNum_; to_bitField0_ |= 0x00000004; } if (withUserListBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { withUserList_ = java.util.Collections.unmodifiableList(withUserList_); bitField0_ = (bitField0_ & ~0x00000008); } result.withUserList_ = withUserList_; } else { result.withUserList_ = withUserListBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.privacy_ = privacy_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { result.syncFlag_ = syncFlag_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000020; } result.clientId_ = clientId_; if (((from_bitField0_ & 0x00000080) != 0)) { result.postBgimgType_ = postBgimgType_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000100) != 0)) { result.groupNum_ = groupNum_; to_bitField0_ |= 0x00000080; } if (groupIdsBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { groupIds_ = java.util.Collections.unmodifiableList(groupIds_); bitField0_ = (bitField0_ & ~0x00000200); } result.groupIds_ = groupIds_; } else { result.groupIds_ = groupIdsBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { result.objectSource_ = objectSource_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000800) != 0)) { result.referId_ = referId_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00001000) != 0)) { result.blackListNum_ = blackListNum_; to_bitField0_ |= 0x00000400; } if (blackListBuilder_ == null) { if (((bitField0_ & 0x00002000) != 0)) { blackList_ = java.util.Collections.unmodifiableList(blackList_); bitField0_ = (bitField0_ & ~0x00002000); } result.blackList_ = blackList_; } else { result.blackList_ = blackListBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { if (twitterInfoBuilder_ == null) { result.twitterInfo_ = twitterInfo_; } else { result.twitterInfo_ = twitterInfoBuilder_.build(); } to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00008000) != 0)) { result.groupUserNum_ = groupUserNum_; to_bitField0_ |= 0x00001000; } if (groupUserBuilder_ == null) { if (((bitField0_ & 0x00010000) != 0)) { groupUser_ = java.util.Collections.unmodifiableList(groupUser_); bitField0_ = (bitField0_ & ~0x00010000); } result.groupUser_ = groupUser_; } else { result.groupUser_ = groupUserBuilder_.build(); } if (((from_bitField0_ & 0x00020000) != 0)) { if (ctocUploadInfoBuilder_ == null) { result.ctocUploadInfo_ = ctocUploadInfo_; } else { result.ctocUploadInfo_ = ctocUploadInfoBuilder_.build(); } to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00040000) != 0)) { if (snsPostOperationFieldsBuilder_ == null) { result.snsPostOperationFields_ = snsPostOperationFields_; } else { result.snsPostOperationFields_ = snsPostOperationFieldsBuilder_.build(); } to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00080000) != 0)) { if (snsRedEnvelopsBuilder_ == null) { result.snsRedEnvelops_ = snsRedEnvelops_; } else { result.snsRedEnvelops_ = snsRedEnvelopsBuilder_.build(); } to_bitField0_ |= 0x00008000; } if (((from_bitField0_ & 0x00100000) != 0)) { if (poiInfoBuilder_ == null) { result.poiInfo_ = poiInfo_; } else { result.poiInfo_ = poiInfoBuilder_.build(); } to_bitField0_ |= 0x00010000; } if (((from_bitField0_ & 0x00200000) != 0)) { to_bitField0_ |= 0x00020000; } result.fromScene_ = fromScene_; if (((from_bitField0_ & 0x00400000) != 0)) { if (canvasInfoBuilder_ == null) { result.canvasInfo_ = canvasInfo_; } else { result.canvasInfo_ = canvasInfoBuilder_.build(); } to_bitField0_ |= 0x00040000; } if (((from_bitField0_ & 0x00800000) != 0)) { result.mediaInfoNum_ = mediaInfoNum_; to_bitField0_ |= 0x00080000; } if (mediaInfoBuilder_ == null) { if (((bitField0_ & 0x01000000) != 0)) { mediaInfo_ = java.util.Collections.unmodifiableList(mediaInfo_); bitField0_ = (bitField0_ & ~0x01000000); } result.mediaInfo_ = mediaInfo_; } else { result.mediaInfo_ = mediaInfoBuilder_.build(); } if (((from_bitField0_ & 0x02000000) != 0)) { if (weAppInfoBuilder_ == null) { result.weAppInfo_ = weAppInfo_; } else { result.weAppInfo_ = weAppInfoBuilder_.build(); } to_bitField0_ |= 0x00100000; } if (((from_bitField0_ & 0x04000000) != 0)) { if (clientCheckDataBuilder_ == null) { result.clientCheckData_ = clientCheckData_; } else { result.clientCheckData_ = clientCheckDataBuilder_.build(); } to_bitField0_ |= 0x00200000; } if (((from_bitField0_ & 0x08000000) != 0)) { if (extSpamInfoBuilder_ == null) { result.extSpamInfo_ = extSpamInfo_; } else { result.extSpamInfo_ = extSpamInfoBuilder_.build(); } to_bitField0_ |= 0x00400000; } 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.Friendgroup.SnsPostRequest) { return mergeFrom((wechat.protobuf.Friendgroup.SnsPostRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsPostRequest other) { if (other == wechat.protobuf.Friendgroup.SnsPostRequest.getDefaultInstance()) return this; if (other.hasBaseRequest()) { mergeBaseRequest(other.getBaseRequest()); } if (other.hasObjectDesc()) { mergeObjectDesc(other.getObjectDesc()); } if (other.hasWithUserListNum()) { setWithUserListNum(other.getWithUserListNum()); } if (withUserListBuilder_ == null) { if (!other.withUserList_.isEmpty()) { if (withUserList_.isEmpty()) { withUserList_ = other.withUserList_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureWithUserListIsMutable(); withUserList_.addAll(other.withUserList_); } onChanged(); } } else { if (!other.withUserList_.isEmpty()) { if (withUserListBuilder_.isEmpty()) { withUserListBuilder_.dispose(); withUserListBuilder_ = null; withUserList_ = other.withUserList_; bitField0_ = (bitField0_ & ~0x00000008); withUserListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getWithUserListFieldBuilder() : null; } else { withUserListBuilder_.addAllMessages(other.withUserList_); } } } if (other.hasPrivacy()) { setPrivacy(other.getPrivacy()); } if (other.hasSyncFlag()) { setSyncFlag(other.getSyncFlag()); } if (other.hasClientId()) { bitField0_ |= 0x00000040; clientId_ = other.clientId_; onChanged(); } if (other.hasPostBgimgType()) { setPostBgimgType(other.getPostBgimgType()); } if (other.hasGroupNum()) { setGroupNum(other.getGroupNum()); } if (groupIdsBuilder_ == null) { if (!other.groupIds_.isEmpty()) { if (groupIds_.isEmpty()) { groupIds_ = other.groupIds_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureGroupIdsIsMutable(); groupIds_.addAll(other.groupIds_); } onChanged(); } } else { if (!other.groupIds_.isEmpty()) { if (groupIdsBuilder_.isEmpty()) { groupIdsBuilder_.dispose(); groupIdsBuilder_ = null; groupIds_ = other.groupIds_; bitField0_ = (bitField0_ & ~0x00000200); groupIdsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGroupIdsFieldBuilder() : null; } else { groupIdsBuilder_.addAllMessages(other.groupIds_); } } } if (other.hasObjectSource()) { setObjectSource(other.getObjectSource()); } if (other.hasReferId()) { setReferId(other.getReferId()); } if (other.hasBlackListNum()) { setBlackListNum(other.getBlackListNum()); } if (blackListBuilder_ == null) { if (!other.blackList_.isEmpty()) { if (blackList_.isEmpty()) { blackList_ = other.blackList_; bitField0_ = (bitField0_ & ~0x00002000); } else { ensureBlackListIsMutable(); blackList_.addAll(other.blackList_); } onChanged(); } } else { if (!other.blackList_.isEmpty()) { if (blackListBuilder_.isEmpty()) { blackListBuilder_.dispose(); blackListBuilder_ = null; blackList_ = other.blackList_; bitField0_ = (bitField0_ & ~0x00002000); blackListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getBlackListFieldBuilder() : null; } else { blackListBuilder_.addAllMessages(other.blackList_); } } } if (other.hasTwitterInfo()) { mergeTwitterInfo(other.getTwitterInfo()); } if (other.hasGroupUserNum()) { setGroupUserNum(other.getGroupUserNum()); } if (groupUserBuilder_ == null) { if (!other.groupUser_.isEmpty()) { if (groupUser_.isEmpty()) { groupUser_ = other.groupUser_; bitField0_ = (bitField0_ & ~0x00010000); } else { ensureGroupUserIsMutable(); groupUser_.addAll(other.groupUser_); } onChanged(); } } else { if (!other.groupUser_.isEmpty()) { if (groupUserBuilder_.isEmpty()) { groupUserBuilder_.dispose(); groupUserBuilder_ = null; groupUser_ = other.groupUser_; bitField0_ = (bitField0_ & ~0x00010000); groupUserBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGroupUserFieldBuilder() : null; } else { groupUserBuilder_.addAllMessages(other.groupUser_); } } } if (other.hasCtocUploadInfo()) { mergeCtocUploadInfo(other.getCtocUploadInfo()); } if (other.hasSnsPostOperationFields()) { mergeSnsPostOperationFields(other.getSnsPostOperationFields()); } if (other.hasSnsRedEnvelops()) { mergeSnsRedEnvelops(other.getSnsRedEnvelops()); } if (other.hasPoiInfo()) { mergePoiInfo(other.getPoiInfo()); } if (other.hasFromScene()) { bitField0_ |= 0x00200000; fromScene_ = other.fromScene_; onChanged(); } if (other.hasCanvasInfo()) { mergeCanvasInfo(other.getCanvasInfo()); } if (other.hasMediaInfoNum()) { setMediaInfoNum(other.getMediaInfoNum()); } if (mediaInfoBuilder_ == null) { if (!other.mediaInfo_.isEmpty()) { if (mediaInfo_.isEmpty()) { mediaInfo_ = other.mediaInfo_; bitField0_ = (bitField0_ & ~0x01000000); } else { ensureMediaInfoIsMutable(); mediaInfo_.addAll(other.mediaInfo_); } onChanged(); } } else { if (!other.mediaInfo_.isEmpty()) { if (mediaInfoBuilder_.isEmpty()) { mediaInfoBuilder_.dispose(); mediaInfoBuilder_ = null; mediaInfo_ = other.mediaInfo_; bitField0_ = (bitField0_ & ~0x01000000); mediaInfoBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMediaInfoFieldBuilder() : null; } else { mediaInfoBuilder_.addAllMessages(other.mediaInfo_); } } } if (other.hasWeAppInfo()) { mergeWeAppInfo(other.getWeAppInfo()); } if (other.hasClientCheckData()) { mergeClientCheckData(other.getClientCheckData()); } if (other.hasExtSpamInfo()) { mergeExtSpamInfo(other.getExtSpamInfo()); } 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.Friendgroup.SnsPostRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsPostRequest) 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 wechat.protobuf.SKBuiltinString_ objectDesc_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> objectDescBuilder_; /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 2; * @return Whether the objectDesc field is set. */ public boolean hasObjectDesc() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 2; * @return The objectDesc. */ public wechat.protobuf.SKBuiltinString_ getObjectDesc() { if (objectDescBuilder_ == null) { return objectDesc_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_; } else { return objectDescBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 2; */ public Builder setObjectDesc(wechat.protobuf.SKBuiltinString_ value) { if (objectDescBuilder_ == null) { if (value == null) { throw new NullPointerException(); } objectDesc_ = value; onChanged(); } else { objectDescBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 2; */ public Builder setObjectDesc( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (objectDescBuilder_ == null) { objectDesc_ = builderForValue.build(); onChanged(); } else { objectDescBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 2; */ public Builder mergeObjectDesc(wechat.protobuf.SKBuiltinString_ value) { if (objectDescBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && objectDesc_ != null && objectDesc_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { objectDesc_ = wechat.protobuf.SKBuiltinString_.newBuilder(objectDesc_).mergeFrom(value).buildPartial(); } else { objectDesc_ = value; } onChanged(); } else { objectDescBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 2; */ public Builder clearObjectDesc() { if (objectDescBuilder_ == null) { objectDesc_ = null; onChanged(); } else { objectDescBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 2; */ public wechat.protobuf.SKBuiltinString_.Builder getObjectDescBuilder() { bitField0_ |= 0x00000002; onChanged(); return getObjectDescFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 2; */ public wechat.protobuf.SKBuiltinString_OrBuilder getObjectDescOrBuilder() { if (objectDescBuilder_ != null) { return objectDescBuilder_.getMessageOrBuilder(); } else { return objectDesc_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_; } } /** * optional .wechat_proto.SKBuiltinString_ objectDesc = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getObjectDescFieldBuilder() { if (objectDescBuilder_ == null) { objectDescBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getObjectDesc(), getParentForChildren(), isClean()); objectDesc_ = null; } return objectDescBuilder_; } private int withUserListNum_ ; /** * optional uint32 withUserListNum = 3; * @return Whether the withUserListNum field is set. */ @java.lang.Override public boolean hasWithUserListNum() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 withUserListNum = 3; * @return The withUserListNum. */ @java.lang.Override public int getWithUserListNum() { return withUserListNum_; } /** * optional uint32 withUserListNum = 3; * @param value The withUserListNum to set. * @return This builder for chaining. */ public Builder setWithUserListNum(int value) { bitField0_ |= 0x00000004; withUserListNum_ = value; onChanged(); return this; } /** * optional uint32 withUserListNum = 3; * @return This builder for chaining. */ public Builder clearWithUserListNum() { bitField0_ = (bitField0_ & ~0x00000004); withUserListNum_ = 0; onChanged(); return this; } private java.util.List withUserList_ = java.util.Collections.emptyList(); private void ensureWithUserListIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { withUserList_ = new java.util.ArrayList(withUserList_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> withUserListBuilder_; /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public java.util.List getWithUserListList() { if (withUserListBuilder_ == null) { return java.util.Collections.unmodifiableList(withUserList_); } else { return withUserListBuilder_.getMessageList(); } } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public int getWithUserListCount() { if (withUserListBuilder_ == null) { return withUserList_.size(); } else { return withUserListBuilder_.getCount(); } } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public wechat.protobuf.SKBuiltinString getWithUserList(int index) { if (withUserListBuilder_ == null) { return withUserList_.get(index); } else { return withUserListBuilder_.getMessage(index); } } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public Builder setWithUserList( int index, wechat.protobuf.SKBuiltinString value) { if (withUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWithUserListIsMutable(); withUserList_.set(index, value); onChanged(); } else { withUserListBuilder_.setMessage(index, value); } return this; } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public Builder setWithUserList( int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (withUserListBuilder_ == null) { ensureWithUserListIsMutable(); withUserList_.set(index, builderForValue.build()); onChanged(); } else { withUserListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public Builder addWithUserList(wechat.protobuf.SKBuiltinString value) { if (withUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWithUserListIsMutable(); withUserList_.add(value); onChanged(); } else { withUserListBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public Builder addWithUserList( int index, wechat.protobuf.SKBuiltinString value) { if (withUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWithUserListIsMutable(); withUserList_.add(index, value); onChanged(); } else { withUserListBuilder_.addMessage(index, value); } return this; } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public Builder addWithUserList( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (withUserListBuilder_ == null) { ensureWithUserListIsMutable(); withUserList_.add(builderForValue.build()); onChanged(); } else { withUserListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public Builder addWithUserList( int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (withUserListBuilder_ == null) { ensureWithUserListIsMutable(); withUserList_.add(index, builderForValue.build()); onChanged(); } else { withUserListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public Builder addAllWithUserList( java.lang.Iterable values) { if (withUserListBuilder_ == null) { ensureWithUserListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, withUserList_); onChanged(); } else { withUserListBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public Builder clearWithUserList() { if (withUserListBuilder_ == null) { withUserList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { withUserListBuilder_.clear(); } return this; } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public Builder removeWithUserList(int index) { if (withUserListBuilder_ == null) { ensureWithUserListIsMutable(); withUserList_.remove(index); onChanged(); } else { withUserListBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public wechat.protobuf.SKBuiltinString.Builder getWithUserListBuilder( int index) { return getWithUserListFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public wechat.protobuf.SKBuiltinStringOrBuilder getWithUserListOrBuilder( int index) { if (withUserListBuilder_ == null) { return withUserList_.get(index); } else { return withUserListBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public java.util.List getWithUserListOrBuilderList() { if (withUserListBuilder_ != null) { return withUserListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(withUserList_); } } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public wechat.protobuf.SKBuiltinString.Builder addWithUserListBuilder() { return getWithUserListFieldBuilder().addBuilder( wechat.protobuf.SKBuiltinString.getDefaultInstance()); } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public wechat.protobuf.SKBuiltinString.Builder addWithUserListBuilder( int index) { return getWithUserListFieldBuilder().addBuilder( index, wechat.protobuf.SKBuiltinString.getDefaultInstance()); } /** * repeated .wechat_proto.SKBuiltinString withUserList = 4; */ public java.util.List getWithUserListBuilderList() { return getWithUserListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getWithUserListFieldBuilder() { if (withUserListBuilder_ == null) { withUserListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( withUserList_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); withUserList_ = null; } return withUserListBuilder_; } private int privacy_ ; /** * optional uint32 privacy = 5; * @return Whether the privacy field is set. */ @java.lang.Override public boolean hasPrivacy() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 privacy = 5; * @return The privacy. */ @java.lang.Override public int getPrivacy() { return privacy_; } /** * optional uint32 privacy = 5; * @param value The privacy to set. * @return This builder for chaining. */ public Builder setPrivacy(int value) { bitField0_ |= 0x00000010; privacy_ = value; onChanged(); return this; } /** * optional uint32 privacy = 5; * @return This builder for chaining. */ public Builder clearPrivacy() { bitField0_ = (bitField0_ & ~0x00000010); privacy_ = 0; onChanged(); return this; } private int syncFlag_ ; /** * optional uint32 syncFlag = 6; * @return Whether the syncFlag field is set. */ @java.lang.Override public boolean hasSyncFlag() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 syncFlag = 6; * @return The syncFlag. */ @java.lang.Override public int getSyncFlag() { return syncFlag_; } /** * optional uint32 syncFlag = 6; * @param value The syncFlag to set. * @return This builder for chaining. */ public Builder setSyncFlag(int value) { bitField0_ |= 0x00000020; syncFlag_ = value; onChanged(); return this; } /** * optional uint32 syncFlag = 6; * @return This builder for chaining. */ public Builder clearSyncFlag() { bitField0_ = (bitField0_ & ~0x00000020); syncFlag_ = 0; onChanged(); return this; } private java.lang.Object clientId_ = ""; /** * optional string clientId = 7; * @return Whether the clientId field is set. */ public boolean hasClientId() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string clientId = 7; * @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 = 7; * @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 = 7; * @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_ |= 0x00000040; clientId_ = value; onChanged(); return this; } /** * optional string clientId = 7; * @return This builder for chaining. */ public Builder clearClientId() { bitField0_ = (bitField0_ & ~0x00000040); clientId_ = getDefaultInstance().getClientId(); onChanged(); return this; } /** * optional string clientId = 7; * @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_ |= 0x00000040; clientId_ = value; onChanged(); return this; } private int postBgimgType_ ; /** * optional uint32 postBgimgType = 8; * @return Whether the postBgimgType field is set. */ @java.lang.Override public boolean hasPostBgimgType() { return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 postBgimgType = 8; * @return The postBgimgType. */ @java.lang.Override public int getPostBgimgType() { return postBgimgType_; } /** * optional uint32 postBgimgType = 8; * @param value The postBgimgType to set. * @return This builder for chaining. */ public Builder setPostBgimgType(int value) { bitField0_ |= 0x00000080; postBgimgType_ = value; onChanged(); return this; } /** * optional uint32 postBgimgType = 8; * @return This builder for chaining. */ public Builder clearPostBgimgType() { bitField0_ = (bitField0_ & ~0x00000080); postBgimgType_ = 0; onChanged(); return this; } private int groupNum_ ; /** * optional uint32 groupNum = 9; * @return Whether the groupNum field is set. */ @java.lang.Override public boolean hasGroupNum() { return ((bitField0_ & 0x00000100) != 0); } /** * optional uint32 groupNum = 9; * @return The groupNum. */ @java.lang.Override public int getGroupNum() { return groupNum_; } /** * optional uint32 groupNum = 9; * @param value The groupNum to set. * @return This builder for chaining. */ public Builder setGroupNum(int value) { bitField0_ |= 0x00000100; groupNum_ = value; onChanged(); return this; } /** * optional uint32 groupNum = 9; * @return This builder for chaining. */ public Builder clearGroupNum() { bitField0_ = (bitField0_ & ~0x00000100); groupNum_ = 0; onChanged(); return this; } private java.util.List groupIds_ = java.util.Collections.emptyList(); private void ensureGroupIdsIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { groupIds_ = new java.util.ArrayList(groupIds_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsGroup, wechat.protobuf.Friendgroup.SnsGroup.Builder, wechat.protobuf.Friendgroup.SnsGroupOrBuilder> groupIdsBuilder_; /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public java.util.List getGroupIdsList() { if (groupIdsBuilder_ == null) { return java.util.Collections.unmodifiableList(groupIds_); } else { return groupIdsBuilder_.getMessageList(); } } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public int getGroupIdsCount() { if (groupIdsBuilder_ == null) { return groupIds_.size(); } else { return groupIdsBuilder_.getCount(); } } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public wechat.protobuf.Friendgroup.SnsGroup getGroupIds(int index) { if (groupIdsBuilder_ == null) { return groupIds_.get(index); } else { return groupIdsBuilder_.getMessage(index); } } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public Builder setGroupIds( int index, wechat.protobuf.Friendgroup.SnsGroup value) { if (groupIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupIdsIsMutable(); groupIds_.set(index, value); onChanged(); } else { groupIdsBuilder_.setMessage(index, value); } return this; } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public Builder setGroupIds( int index, wechat.protobuf.Friendgroup.SnsGroup.Builder builderForValue) { if (groupIdsBuilder_ == null) { ensureGroupIdsIsMutable(); groupIds_.set(index, builderForValue.build()); onChanged(); } else { groupIdsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public Builder addGroupIds(wechat.protobuf.Friendgroup.SnsGroup value) { if (groupIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupIdsIsMutable(); groupIds_.add(value); onChanged(); } else { groupIdsBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public Builder addGroupIds( int index, wechat.protobuf.Friendgroup.SnsGroup value) { if (groupIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupIdsIsMutable(); groupIds_.add(index, value); onChanged(); } else { groupIdsBuilder_.addMessage(index, value); } return this; } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public Builder addGroupIds( wechat.protobuf.Friendgroup.SnsGroup.Builder builderForValue) { if (groupIdsBuilder_ == null) { ensureGroupIdsIsMutable(); groupIds_.add(builderForValue.build()); onChanged(); } else { groupIdsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public Builder addGroupIds( int index, wechat.protobuf.Friendgroup.SnsGroup.Builder builderForValue) { if (groupIdsBuilder_ == null) { ensureGroupIdsIsMutable(); groupIds_.add(index, builderForValue.build()); onChanged(); } else { groupIdsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public Builder addAllGroupIds( java.lang.Iterable values) { if (groupIdsBuilder_ == null) { ensureGroupIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, groupIds_); onChanged(); } else { groupIdsBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public Builder clearGroupIds() { if (groupIdsBuilder_ == null) { groupIds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { groupIdsBuilder_.clear(); } return this; } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public Builder removeGroupIds(int index) { if (groupIdsBuilder_ == null) { ensureGroupIdsIsMutable(); groupIds_.remove(index); onChanged(); } else { groupIdsBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public wechat.protobuf.Friendgroup.SnsGroup.Builder getGroupIdsBuilder( int index) { return getGroupIdsFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public wechat.protobuf.Friendgroup.SnsGroupOrBuilder getGroupIdsOrBuilder( int index) { if (groupIdsBuilder_ == null) { return groupIds_.get(index); } else { return groupIdsBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public java.util.List getGroupIdsOrBuilderList() { if (groupIdsBuilder_ != null) { return groupIdsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(groupIds_); } } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public wechat.protobuf.Friendgroup.SnsGroup.Builder addGroupIdsBuilder() { return getGroupIdsFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.SnsGroup.getDefaultInstance()); } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public wechat.protobuf.Friendgroup.SnsGroup.Builder addGroupIdsBuilder( int index) { return getGroupIdsFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.SnsGroup.getDefaultInstance()); } /** * repeated .wechat_proto.SnsGroup groupIds = 10; */ public java.util.List getGroupIdsBuilderList() { return getGroupIdsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsGroup, wechat.protobuf.Friendgroup.SnsGroup.Builder, wechat.protobuf.Friendgroup.SnsGroupOrBuilder> getGroupIdsFieldBuilder() { if (groupIdsBuilder_ == null) { groupIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsGroup, wechat.protobuf.Friendgroup.SnsGroup.Builder, wechat.protobuf.Friendgroup.SnsGroupOrBuilder>( groupIds_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); groupIds_ = null; } return groupIdsBuilder_; } private int objectSource_ ; /** * optional uint32 objectSource = 11; * @return Whether the objectSource field is set. */ @java.lang.Override public boolean hasObjectSource() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint32 objectSource = 11; * @return The objectSource. */ @java.lang.Override public int getObjectSource() { return objectSource_; } /** * optional uint32 objectSource = 11; * @param value The objectSource to set. * @return This builder for chaining. */ public Builder setObjectSource(int value) { bitField0_ |= 0x00000400; objectSource_ = value; onChanged(); return this; } /** * optional uint32 objectSource = 11; * @return This builder for chaining. */ public Builder clearObjectSource() { bitField0_ = (bitField0_ & ~0x00000400); objectSource_ = 0; onChanged(); return this; } private long referId_ ; /** * optional uint64 referId = 12; * @return Whether the referId field is set. */ @java.lang.Override public boolean hasReferId() { return ((bitField0_ & 0x00000800) != 0); } /** * optional uint64 referId = 12; * @return The referId. */ @java.lang.Override public long getReferId() { return referId_; } /** * optional uint64 referId = 12; * @param value The referId to set. * @return This builder for chaining. */ public Builder setReferId(long value) { bitField0_ |= 0x00000800; referId_ = value; onChanged(); return this; } /** * optional uint64 referId = 12; * @return This builder for chaining. */ public Builder clearReferId() { bitField0_ = (bitField0_ & ~0x00000800); referId_ = 0L; onChanged(); return this; } private int blackListNum_ ; /** * optional uint32 blackListNum = 13; * @return Whether the blackListNum field is set. */ @java.lang.Override public boolean hasBlackListNum() { return ((bitField0_ & 0x00001000) != 0); } /** * optional uint32 blackListNum = 13; * @return The blackListNum. */ @java.lang.Override public int getBlackListNum() { return blackListNum_; } /** * optional uint32 blackListNum = 13; * @param value The blackListNum to set. * @return This builder for chaining. */ public Builder setBlackListNum(int value) { bitField0_ |= 0x00001000; blackListNum_ = value; onChanged(); return this; } /** * optional uint32 blackListNum = 13; * @return This builder for chaining. */ public Builder clearBlackListNum() { bitField0_ = (bitField0_ & ~0x00001000); blackListNum_ = 0; onChanged(); return this; } private java.util.List blackList_ = java.util.Collections.emptyList(); private void ensureBlackListIsMutable() { if (!((bitField0_ & 0x00002000) != 0)) { blackList_ = new java.util.ArrayList(blackList_); bitField0_ |= 0x00002000; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> blackListBuilder_; /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public java.util.List getBlackListList() { if (blackListBuilder_ == null) { return java.util.Collections.unmodifiableList(blackList_); } else { return blackListBuilder_.getMessageList(); } } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public int getBlackListCount() { if (blackListBuilder_ == null) { return blackList_.size(); } else { return blackListBuilder_.getCount(); } } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public wechat.protobuf.SKBuiltinString getBlackList(int index) { if (blackListBuilder_ == null) { return blackList_.get(index); } else { return blackListBuilder_.getMessage(index); } } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public Builder setBlackList( int index, wechat.protobuf.SKBuiltinString value) { if (blackListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBlackListIsMutable(); blackList_.set(index, value); onChanged(); } else { blackListBuilder_.setMessage(index, value); } return this; } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public Builder setBlackList( int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (blackListBuilder_ == null) { ensureBlackListIsMutable(); blackList_.set(index, builderForValue.build()); onChanged(); } else { blackListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public Builder addBlackList(wechat.protobuf.SKBuiltinString value) { if (blackListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBlackListIsMutable(); blackList_.add(value); onChanged(); } else { blackListBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public Builder addBlackList( int index, wechat.protobuf.SKBuiltinString value) { if (blackListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBlackListIsMutable(); blackList_.add(index, value); onChanged(); } else { blackListBuilder_.addMessage(index, value); } return this; } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public Builder addBlackList( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (blackListBuilder_ == null) { ensureBlackListIsMutable(); blackList_.add(builderForValue.build()); onChanged(); } else { blackListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public Builder addBlackList( int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (blackListBuilder_ == null) { ensureBlackListIsMutable(); blackList_.add(index, builderForValue.build()); onChanged(); } else { blackListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public Builder addAllBlackList( java.lang.Iterable values) { if (blackListBuilder_ == null) { ensureBlackListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, blackList_); onChanged(); } else { blackListBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public Builder clearBlackList() { if (blackListBuilder_ == null) { blackList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); } else { blackListBuilder_.clear(); } return this; } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public Builder removeBlackList(int index) { if (blackListBuilder_ == null) { ensureBlackListIsMutable(); blackList_.remove(index); onChanged(); } else { blackListBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public wechat.protobuf.SKBuiltinString.Builder getBlackListBuilder( int index) { return getBlackListFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public wechat.protobuf.SKBuiltinStringOrBuilder getBlackListOrBuilder( int index) { if (blackListBuilder_ == null) { return blackList_.get(index); } else { return blackListBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public java.util.List getBlackListOrBuilderList() { if (blackListBuilder_ != null) { return blackListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(blackList_); } } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public wechat.protobuf.SKBuiltinString.Builder addBlackListBuilder() { return getBlackListFieldBuilder().addBuilder( wechat.protobuf.SKBuiltinString.getDefaultInstance()); } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public wechat.protobuf.SKBuiltinString.Builder addBlackListBuilder( int index) { return getBlackListFieldBuilder().addBuilder( index, wechat.protobuf.SKBuiltinString.getDefaultInstance()); } /** * repeated .wechat_proto.SKBuiltinString blackList = 14; */ public java.util.List getBlackListBuilderList() { return getBlackListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getBlackListFieldBuilder() { if (blackListBuilder_ == null) { blackListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( blackList_, ((bitField0_ & 0x00002000) != 0), getParentForChildren(), isClean()); blackList_ = null; } return blackListBuilder_; } private wechat.protobuf.Friendgroup.TwitterInfo twitterInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.TwitterInfo, wechat.protobuf.Friendgroup.TwitterInfo.Builder, wechat.protobuf.Friendgroup.TwitterInfoOrBuilder> twitterInfoBuilder_; /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; * @return Whether the twitterInfo field is set. */ public boolean hasTwitterInfo() { return ((bitField0_ & 0x00004000) != 0); } /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; * @return The twitterInfo. */ public wechat.protobuf.Friendgroup.TwitterInfo getTwitterInfo() { if (twitterInfoBuilder_ == null) { return twitterInfo_ == null ? wechat.protobuf.Friendgroup.TwitterInfo.getDefaultInstance() : twitterInfo_; } else { return twitterInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; */ public Builder setTwitterInfo(wechat.protobuf.Friendgroup.TwitterInfo value) { if (twitterInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } twitterInfo_ = value; onChanged(); } else { twitterInfoBuilder_.setMessage(value); } bitField0_ |= 0x00004000; return this; } /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; */ public Builder setTwitterInfo( wechat.protobuf.Friendgroup.TwitterInfo.Builder builderForValue) { if (twitterInfoBuilder_ == null) { twitterInfo_ = builderForValue.build(); onChanged(); } else { twitterInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00004000; return this; } /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; */ public Builder mergeTwitterInfo(wechat.protobuf.Friendgroup.TwitterInfo value) { if (twitterInfoBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0) && twitterInfo_ != null && twitterInfo_ != wechat.protobuf.Friendgroup.TwitterInfo.getDefaultInstance()) { twitterInfo_ = wechat.protobuf.Friendgroup.TwitterInfo.newBuilder(twitterInfo_).mergeFrom(value).buildPartial(); } else { twitterInfo_ = value; } onChanged(); } else { twitterInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00004000; return this; } /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; */ public Builder clearTwitterInfo() { if (twitterInfoBuilder_ == null) { twitterInfo_ = null; onChanged(); } else { twitterInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00004000); return this; } /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; */ public wechat.protobuf.Friendgroup.TwitterInfo.Builder getTwitterInfoBuilder() { bitField0_ |= 0x00004000; onChanged(); return getTwitterInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; */ public wechat.protobuf.Friendgroup.TwitterInfoOrBuilder getTwitterInfoOrBuilder() { if (twitterInfoBuilder_ != null) { return twitterInfoBuilder_.getMessageOrBuilder(); } else { return twitterInfo_ == null ? wechat.protobuf.Friendgroup.TwitterInfo.getDefaultInstance() : twitterInfo_; } } /** * optional .wechat_proto.TwitterInfo twitterInfo = 15; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.TwitterInfo, wechat.protobuf.Friendgroup.TwitterInfo.Builder, wechat.protobuf.Friendgroup.TwitterInfoOrBuilder> getTwitterInfoFieldBuilder() { if (twitterInfoBuilder_ == null) { twitterInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.TwitterInfo, wechat.protobuf.Friendgroup.TwitterInfo.Builder, wechat.protobuf.Friendgroup.TwitterInfoOrBuilder>( getTwitterInfo(), getParentForChildren(), isClean()); twitterInfo_ = null; } return twitterInfoBuilder_; } private int groupUserNum_ ; /** * optional uint32 groupUserNum = 16; * @return Whether the groupUserNum field is set. */ @java.lang.Override public boolean hasGroupUserNum() { return ((bitField0_ & 0x00008000) != 0); } /** * optional uint32 groupUserNum = 16; * @return The groupUserNum. */ @java.lang.Override public int getGroupUserNum() { return groupUserNum_; } /** * optional uint32 groupUserNum = 16; * @param value The groupUserNum to set. * @return This builder for chaining. */ public Builder setGroupUserNum(int value) { bitField0_ |= 0x00008000; groupUserNum_ = value; onChanged(); return this; } /** * optional uint32 groupUserNum = 16; * @return This builder for chaining. */ public Builder clearGroupUserNum() { bitField0_ = (bitField0_ & ~0x00008000); groupUserNum_ = 0; onChanged(); return this; } private java.util.List groupUser_ = java.util.Collections.emptyList(); private void ensureGroupUserIsMutable() { if (!((bitField0_ & 0x00010000) != 0)) { groupUser_ = new java.util.ArrayList(groupUser_); bitField0_ |= 0x00010000; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> groupUserBuilder_; /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public java.util.List getGroupUserList() { if (groupUserBuilder_ == null) { return java.util.Collections.unmodifiableList(groupUser_); } else { return groupUserBuilder_.getMessageList(); } } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public int getGroupUserCount() { if (groupUserBuilder_ == null) { return groupUser_.size(); } else { return groupUserBuilder_.getCount(); } } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public wechat.protobuf.SKBuiltinString getGroupUser(int index) { if (groupUserBuilder_ == null) { return groupUser_.get(index); } else { return groupUserBuilder_.getMessage(index); } } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public Builder setGroupUser( int index, wechat.protobuf.SKBuiltinString value) { if (groupUserBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupUserIsMutable(); groupUser_.set(index, value); onChanged(); } else { groupUserBuilder_.setMessage(index, value); } return this; } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public Builder setGroupUser( int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (groupUserBuilder_ == null) { ensureGroupUserIsMutable(); groupUser_.set(index, builderForValue.build()); onChanged(); } else { groupUserBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public Builder addGroupUser(wechat.protobuf.SKBuiltinString value) { if (groupUserBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupUserIsMutable(); groupUser_.add(value); onChanged(); } else { groupUserBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public Builder addGroupUser( int index, wechat.protobuf.SKBuiltinString value) { if (groupUserBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupUserIsMutable(); groupUser_.add(index, value); onChanged(); } else { groupUserBuilder_.addMessage(index, value); } return this; } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public Builder addGroupUser( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (groupUserBuilder_ == null) { ensureGroupUserIsMutable(); groupUser_.add(builderForValue.build()); onChanged(); } else { groupUserBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public Builder addGroupUser( int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (groupUserBuilder_ == null) { ensureGroupUserIsMutable(); groupUser_.add(index, builderForValue.build()); onChanged(); } else { groupUserBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public Builder addAllGroupUser( java.lang.Iterable values) { if (groupUserBuilder_ == null) { ensureGroupUserIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, groupUser_); onChanged(); } else { groupUserBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public Builder clearGroupUser() { if (groupUserBuilder_ == null) { groupUser_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00010000); onChanged(); } else { groupUserBuilder_.clear(); } return this; } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public Builder removeGroupUser(int index) { if (groupUserBuilder_ == null) { ensureGroupUserIsMutable(); groupUser_.remove(index); onChanged(); } else { groupUserBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public wechat.protobuf.SKBuiltinString.Builder getGroupUserBuilder( int index) { return getGroupUserFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public wechat.protobuf.SKBuiltinStringOrBuilder getGroupUserOrBuilder( int index) { if (groupUserBuilder_ == null) { return groupUser_.get(index); } else { return groupUserBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public java.util.List getGroupUserOrBuilderList() { if (groupUserBuilder_ != null) { return groupUserBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(groupUser_); } } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public wechat.protobuf.SKBuiltinString.Builder addGroupUserBuilder() { return getGroupUserFieldBuilder().addBuilder( wechat.protobuf.SKBuiltinString.getDefaultInstance()); } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public wechat.protobuf.SKBuiltinString.Builder addGroupUserBuilder( int index) { return getGroupUserFieldBuilder().addBuilder( index, wechat.protobuf.SKBuiltinString.getDefaultInstance()); } /** * repeated .wechat_proto.SKBuiltinString groupUser = 17; */ public java.util.List getGroupUserBuilderList() { return getGroupUserFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getGroupUserFieldBuilder() { if (groupUserBuilder_ == null) { groupUserBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( groupUser_, ((bitField0_ & 0x00010000) != 0), getParentForChildren(), isClean()); groupUser_ = null; } return groupUserBuilder_; } private wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo ctocUploadInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfoOrBuilder> ctocUploadInfoBuilder_; /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; * @return Whether the ctocUploadInfo field is set. */ public boolean hasCtocUploadInfo() { return ((bitField0_ & 0x00020000) != 0); } /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; * @return The ctocUploadInfo. */ public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo getCtocUploadInfo() { if (ctocUploadInfoBuilder_ == null) { return ctocUploadInfo_ == null ? wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.getDefaultInstance() : ctocUploadInfo_; } else { return ctocUploadInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; */ public Builder setCtocUploadInfo(wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo value) { if (ctocUploadInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ctocUploadInfo_ = value; onChanged(); } else { ctocUploadInfoBuilder_.setMessage(value); } bitField0_ |= 0x00020000; return this; } /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; */ public Builder setCtocUploadInfo( wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder builderForValue) { if (ctocUploadInfoBuilder_ == null) { ctocUploadInfo_ = builderForValue.build(); onChanged(); } else { ctocUploadInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00020000; return this; } /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; */ public Builder mergeCtocUploadInfo(wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo value) { if (ctocUploadInfoBuilder_ == null) { if (((bitField0_ & 0x00020000) != 0) && ctocUploadInfo_ != null && ctocUploadInfo_ != wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.getDefaultInstance()) { ctocUploadInfo_ = wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.newBuilder(ctocUploadInfo_).mergeFrom(value).buildPartial(); } else { ctocUploadInfo_ = value; } onChanged(); } else { ctocUploadInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00020000; return this; } /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; */ public Builder clearCtocUploadInfo() { if (ctocUploadInfoBuilder_ == null) { ctocUploadInfo_ = null; onChanged(); } else { ctocUploadInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00020000); return this; } /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; */ public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder getCtocUploadInfoBuilder() { bitField0_ |= 0x00020000; onChanged(); return getCtocUploadInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; */ public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfoOrBuilder getCtocUploadInfoOrBuilder() { if (ctocUploadInfoBuilder_ != null) { return ctocUploadInfoBuilder_.getMessageOrBuilder(); } else { return ctocUploadInfo_ == null ? wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.getDefaultInstance() : ctocUploadInfo_; } } /** * optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfoOrBuilder> getCtocUploadInfoFieldBuilder() { if (ctocUploadInfoBuilder_ == null) { ctocUploadInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfoOrBuilder>( getCtocUploadInfo(), getParentForChildren(), isClean()); ctocUploadInfo_ = null; } return ctocUploadInfoBuilder_; } private wechat.protobuf.Friendgroup.SnsPostOperationFields snsPostOperationFields_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsPostOperationFields, wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder, wechat.protobuf.Friendgroup.SnsPostOperationFieldsOrBuilder> snsPostOperationFieldsBuilder_; /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; * @return Whether the snsPostOperationFields field is set. */ public boolean hasSnsPostOperationFields() { return ((bitField0_ & 0x00040000) != 0); } /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; * @return The snsPostOperationFields. */ public wechat.protobuf.Friendgroup.SnsPostOperationFields getSnsPostOperationFields() { if (snsPostOperationFieldsBuilder_ == null) { return snsPostOperationFields_ == null ? wechat.protobuf.Friendgroup.SnsPostOperationFields.getDefaultInstance() : snsPostOperationFields_; } else { return snsPostOperationFieldsBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; */ public Builder setSnsPostOperationFields(wechat.protobuf.Friendgroup.SnsPostOperationFields value) { if (snsPostOperationFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snsPostOperationFields_ = value; onChanged(); } else { snsPostOperationFieldsBuilder_.setMessage(value); } bitField0_ |= 0x00040000; return this; } /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; */ public Builder setSnsPostOperationFields( wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder builderForValue) { if (snsPostOperationFieldsBuilder_ == null) { snsPostOperationFields_ = builderForValue.build(); onChanged(); } else { snsPostOperationFieldsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00040000; return this; } /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; */ public Builder mergeSnsPostOperationFields(wechat.protobuf.Friendgroup.SnsPostOperationFields value) { if (snsPostOperationFieldsBuilder_ == null) { if (((bitField0_ & 0x00040000) != 0) && snsPostOperationFields_ != null && snsPostOperationFields_ != wechat.protobuf.Friendgroup.SnsPostOperationFields.getDefaultInstance()) { snsPostOperationFields_ = wechat.protobuf.Friendgroup.SnsPostOperationFields.newBuilder(snsPostOperationFields_).mergeFrom(value).buildPartial(); } else { snsPostOperationFields_ = value; } onChanged(); } else { snsPostOperationFieldsBuilder_.mergeFrom(value); } bitField0_ |= 0x00040000; return this; } /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; */ public Builder clearSnsPostOperationFields() { if (snsPostOperationFieldsBuilder_ == null) { snsPostOperationFields_ = null; onChanged(); } else { snsPostOperationFieldsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00040000); return this; } /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; */ public wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder getSnsPostOperationFieldsBuilder() { bitField0_ |= 0x00040000; onChanged(); return getSnsPostOperationFieldsFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; */ public wechat.protobuf.Friendgroup.SnsPostOperationFieldsOrBuilder getSnsPostOperationFieldsOrBuilder() { if (snsPostOperationFieldsBuilder_ != null) { return snsPostOperationFieldsBuilder_.getMessageOrBuilder(); } else { return snsPostOperationFields_ == null ? wechat.protobuf.Friendgroup.SnsPostOperationFields.getDefaultInstance() : snsPostOperationFields_; } } /** * optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsPostOperationFields, wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder, wechat.protobuf.Friendgroup.SnsPostOperationFieldsOrBuilder> getSnsPostOperationFieldsFieldBuilder() { if (snsPostOperationFieldsBuilder_ == null) { snsPostOperationFieldsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsPostOperationFields, wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder, wechat.protobuf.Friendgroup.SnsPostOperationFieldsOrBuilder>( getSnsPostOperationFields(), getParentForChildren(), isClean()); snsPostOperationFields_ = null; } return snsPostOperationFieldsBuilder_; } private wechat.protobuf.Friendgroup.SnsRedEnvelops snsRedEnvelops_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsRedEnvelops, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder, wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder> snsRedEnvelopsBuilder_; /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; * @return Whether the snsRedEnvelops field is set. */ public boolean hasSnsRedEnvelops() { return ((bitField0_ & 0x00080000) != 0); } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; * @return The snsRedEnvelops. */ public wechat.protobuf.Friendgroup.SnsRedEnvelops getSnsRedEnvelops() { if (snsRedEnvelopsBuilder_ == null) { return snsRedEnvelops_ == null ? wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_; } else { return snsRedEnvelopsBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; */ public Builder setSnsRedEnvelops(wechat.protobuf.Friendgroup.SnsRedEnvelops value) { if (snsRedEnvelopsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snsRedEnvelops_ = value; onChanged(); } else { snsRedEnvelopsBuilder_.setMessage(value); } bitField0_ |= 0x00080000; return this; } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; */ public Builder setSnsRedEnvelops( wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder builderForValue) { if (snsRedEnvelopsBuilder_ == null) { snsRedEnvelops_ = builderForValue.build(); onChanged(); } else { snsRedEnvelopsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00080000; return this; } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; */ public Builder mergeSnsRedEnvelops(wechat.protobuf.Friendgroup.SnsRedEnvelops value) { if (snsRedEnvelopsBuilder_ == null) { if (((bitField0_ & 0x00080000) != 0) && snsRedEnvelops_ != null && snsRedEnvelops_ != wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance()) { snsRedEnvelops_ = wechat.protobuf.Friendgroup.SnsRedEnvelops.newBuilder(snsRedEnvelops_).mergeFrom(value).buildPartial(); } else { snsRedEnvelops_ = value; } onChanged(); } else { snsRedEnvelopsBuilder_.mergeFrom(value); } bitField0_ |= 0x00080000; return this; } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; */ public Builder clearSnsRedEnvelops() { if (snsRedEnvelopsBuilder_ == null) { snsRedEnvelops_ = null; onChanged(); } else { snsRedEnvelopsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00080000); return this; } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; */ public wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder getSnsRedEnvelopsBuilder() { bitField0_ |= 0x00080000; onChanged(); return getSnsRedEnvelopsFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; */ public wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder getSnsRedEnvelopsOrBuilder() { if (snsRedEnvelopsBuilder_ != null) { return snsRedEnvelopsBuilder_.getMessageOrBuilder(); } else { return snsRedEnvelops_ == null ? wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_; } } /** * optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsRedEnvelops, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder, wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder> getSnsRedEnvelopsFieldBuilder() { if (snsRedEnvelopsBuilder_ == null) { snsRedEnvelopsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsRedEnvelops, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder, wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder>( getSnsRedEnvelops(), getParentForChildren(), isClean()); snsRedEnvelops_ = null; } return snsRedEnvelopsBuilder_; } private wechat.protobuf.SKBuiltinString_ poiInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> poiInfoBuilder_; /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; * @return Whether the poiInfo field is set. */ public boolean hasPoiInfo() { return ((bitField0_ & 0x00100000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; * @return The poiInfo. */ public wechat.protobuf.SKBuiltinString_ getPoiInfo() { if (poiInfoBuilder_ == null) { return poiInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : poiInfo_; } else { return poiInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; */ public Builder setPoiInfo(wechat.protobuf.SKBuiltinString_ value) { if (poiInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } poiInfo_ = value; onChanged(); } else { poiInfoBuilder_.setMessage(value); } bitField0_ |= 0x00100000; return this; } /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; */ public Builder setPoiInfo( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (poiInfoBuilder_ == null) { poiInfo_ = builderForValue.build(); onChanged(); } else { poiInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00100000; return this; } /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; */ public Builder mergePoiInfo(wechat.protobuf.SKBuiltinString_ value) { if (poiInfoBuilder_ == null) { if (((bitField0_ & 0x00100000) != 0) && poiInfo_ != null && poiInfo_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { poiInfo_ = wechat.protobuf.SKBuiltinString_.newBuilder(poiInfo_).mergeFrom(value).buildPartial(); } else { poiInfo_ = value; } onChanged(); } else { poiInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00100000; return this; } /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; */ public Builder clearPoiInfo() { if (poiInfoBuilder_ == null) { poiInfo_ = null; onChanged(); } else { poiInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00100000); return this; } /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; */ public wechat.protobuf.SKBuiltinString_.Builder getPoiInfoBuilder() { bitField0_ |= 0x00100000; onChanged(); return getPoiInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; */ public wechat.protobuf.SKBuiltinString_OrBuilder getPoiInfoOrBuilder() { if (poiInfoBuilder_ != null) { return poiInfoBuilder_.getMessageOrBuilder(); } else { return poiInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : poiInfo_; } } /** * optional .wechat_proto.SKBuiltinString_ poiInfo = 21; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getPoiInfoFieldBuilder() { if (poiInfoBuilder_ == null) { poiInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getPoiInfo(), getParentForChildren(), isClean()); poiInfo_ = null; } return poiInfoBuilder_; } private java.lang.Object fromScene_ = ""; /** * optional string fromScene = 22; * @return Whether the fromScene field is set. */ public boolean hasFromScene() { return ((bitField0_ & 0x00200000) != 0); } /** * optional string fromScene = 22; * @return The fromScene. */ public java.lang.String getFromScene() { java.lang.Object ref = fromScene_; 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()) { fromScene_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string fromScene = 22; * @return The bytes for fromScene. */ public com.google.protobuf.ByteString getFromSceneBytes() { java.lang.Object ref = fromScene_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fromScene_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string fromScene = 22; * @param value The fromScene to set. * @return This builder for chaining. */ public Builder setFromScene( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00200000; fromScene_ = value; onChanged(); return this; } /** * optional string fromScene = 22; * @return This builder for chaining. */ public Builder clearFromScene() { bitField0_ = (bitField0_ & ~0x00200000); fromScene_ = getDefaultInstance().getFromScene(); onChanged(); return this; } /** * optional string fromScene = 22; * @param value The bytes for fromScene to set. * @return This builder for chaining. */ public Builder setFromSceneBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00200000; fromScene_ = value; onChanged(); return this; } private wechat.protobuf.Friendgroup.CanvasInfo canvasInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.CanvasInfo, wechat.protobuf.Friendgroup.CanvasInfo.Builder, wechat.protobuf.Friendgroup.CanvasInfoOrBuilder> canvasInfoBuilder_; /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; * @return Whether the canvasInfo field is set. */ public boolean hasCanvasInfo() { return ((bitField0_ & 0x00400000) != 0); } /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; * @return The canvasInfo. */ public wechat.protobuf.Friendgroup.CanvasInfo getCanvasInfo() { if (canvasInfoBuilder_ == null) { return canvasInfo_ == null ? wechat.protobuf.Friendgroup.CanvasInfo.getDefaultInstance() : canvasInfo_; } else { return canvasInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; */ public Builder setCanvasInfo(wechat.protobuf.Friendgroup.CanvasInfo value) { if (canvasInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } canvasInfo_ = value; onChanged(); } else { canvasInfoBuilder_.setMessage(value); } bitField0_ |= 0x00400000; return this; } /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; */ public Builder setCanvasInfo( wechat.protobuf.Friendgroup.CanvasInfo.Builder builderForValue) { if (canvasInfoBuilder_ == null) { canvasInfo_ = builderForValue.build(); onChanged(); } else { canvasInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00400000; return this; } /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; */ public Builder mergeCanvasInfo(wechat.protobuf.Friendgroup.CanvasInfo value) { if (canvasInfoBuilder_ == null) { if (((bitField0_ & 0x00400000) != 0) && canvasInfo_ != null && canvasInfo_ != wechat.protobuf.Friendgroup.CanvasInfo.getDefaultInstance()) { canvasInfo_ = wechat.protobuf.Friendgroup.CanvasInfo.newBuilder(canvasInfo_).mergeFrom(value).buildPartial(); } else { canvasInfo_ = value; } onChanged(); } else { canvasInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00400000; return this; } /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; */ public Builder clearCanvasInfo() { if (canvasInfoBuilder_ == null) { canvasInfo_ = null; onChanged(); } else { canvasInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00400000); return this; } /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; */ public wechat.protobuf.Friendgroup.CanvasInfo.Builder getCanvasInfoBuilder() { bitField0_ |= 0x00400000; onChanged(); return getCanvasInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; */ public wechat.protobuf.Friendgroup.CanvasInfoOrBuilder getCanvasInfoOrBuilder() { if (canvasInfoBuilder_ != null) { return canvasInfoBuilder_.getMessageOrBuilder(); } else { return canvasInfo_ == null ? wechat.protobuf.Friendgroup.CanvasInfo.getDefaultInstance() : canvasInfo_; } } /** * optional .wechat_proto.CanvasInfo canvasInfo = 23; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.CanvasInfo, wechat.protobuf.Friendgroup.CanvasInfo.Builder, wechat.protobuf.Friendgroup.CanvasInfoOrBuilder> getCanvasInfoFieldBuilder() { if (canvasInfoBuilder_ == null) { canvasInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.CanvasInfo, wechat.protobuf.Friendgroup.CanvasInfo.Builder, wechat.protobuf.Friendgroup.CanvasInfoOrBuilder>( getCanvasInfo(), getParentForChildren(), isClean()); canvasInfo_ = null; } return canvasInfoBuilder_; } private int mediaInfoNum_ ; /** * optional uint32 mediaInfoNum = 24; * @return Whether the mediaInfoNum field is set. */ @java.lang.Override public boolean hasMediaInfoNum() { return ((bitField0_ & 0x00800000) != 0); } /** * optional uint32 mediaInfoNum = 24; * @return The mediaInfoNum. */ @java.lang.Override public int getMediaInfoNum() { return mediaInfoNum_; } /** * optional uint32 mediaInfoNum = 24; * @param value The mediaInfoNum to set. * @return This builder for chaining. */ public Builder setMediaInfoNum(int value) { bitField0_ |= 0x00800000; mediaInfoNum_ = value; onChanged(); return this; } /** * optional uint32 mediaInfoNum = 24; * @return This builder for chaining. */ public Builder clearMediaInfoNum() { bitField0_ = (bitField0_ & ~0x00800000); mediaInfoNum_ = 0; onChanged(); return this; } private java.util.List mediaInfo_ = java.util.Collections.emptyList(); private void ensureMediaInfoIsMutable() { if (!((bitField0_ & 0x01000000) != 0)) { mediaInfo_ = new java.util.ArrayList(mediaInfo_); bitField0_ |= 0x01000000; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.MediaInfo, wechat.protobuf.Friendgroup.MediaInfo.Builder, wechat.protobuf.Friendgroup.MediaInfoOrBuilder> mediaInfoBuilder_; /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public java.util.List getMediaInfoList() { if (mediaInfoBuilder_ == null) { return java.util.Collections.unmodifiableList(mediaInfo_); } else { return mediaInfoBuilder_.getMessageList(); } } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public int getMediaInfoCount() { if (mediaInfoBuilder_ == null) { return mediaInfo_.size(); } else { return mediaInfoBuilder_.getCount(); } } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public wechat.protobuf.Friendgroup.MediaInfo getMediaInfo(int index) { if (mediaInfoBuilder_ == null) { return mediaInfo_.get(index); } else { return mediaInfoBuilder_.getMessage(index); } } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public Builder setMediaInfo( int index, wechat.protobuf.Friendgroup.MediaInfo value) { if (mediaInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMediaInfoIsMutable(); mediaInfo_.set(index, value); onChanged(); } else { mediaInfoBuilder_.setMessage(index, value); } return this; } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public Builder setMediaInfo( int index, wechat.protobuf.Friendgroup.MediaInfo.Builder builderForValue) { if (mediaInfoBuilder_ == null) { ensureMediaInfoIsMutable(); mediaInfo_.set(index, builderForValue.build()); onChanged(); } else { mediaInfoBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public Builder addMediaInfo(wechat.protobuf.Friendgroup.MediaInfo value) { if (mediaInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMediaInfoIsMutable(); mediaInfo_.add(value); onChanged(); } else { mediaInfoBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public Builder addMediaInfo( int index, wechat.protobuf.Friendgroup.MediaInfo value) { if (mediaInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMediaInfoIsMutable(); mediaInfo_.add(index, value); onChanged(); } else { mediaInfoBuilder_.addMessage(index, value); } return this; } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public Builder addMediaInfo( wechat.protobuf.Friendgroup.MediaInfo.Builder builderForValue) { if (mediaInfoBuilder_ == null) { ensureMediaInfoIsMutable(); mediaInfo_.add(builderForValue.build()); onChanged(); } else { mediaInfoBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public Builder addMediaInfo( int index, wechat.protobuf.Friendgroup.MediaInfo.Builder builderForValue) { if (mediaInfoBuilder_ == null) { ensureMediaInfoIsMutable(); mediaInfo_.add(index, builderForValue.build()); onChanged(); } else { mediaInfoBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public Builder addAllMediaInfo( java.lang.Iterable values) { if (mediaInfoBuilder_ == null) { ensureMediaInfoIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, mediaInfo_); onChanged(); } else { mediaInfoBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public Builder clearMediaInfo() { if (mediaInfoBuilder_ == null) { mediaInfo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x01000000); onChanged(); } else { mediaInfoBuilder_.clear(); } return this; } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public Builder removeMediaInfo(int index) { if (mediaInfoBuilder_ == null) { ensureMediaInfoIsMutable(); mediaInfo_.remove(index); onChanged(); } else { mediaInfoBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public wechat.protobuf.Friendgroup.MediaInfo.Builder getMediaInfoBuilder( int index) { return getMediaInfoFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public wechat.protobuf.Friendgroup.MediaInfoOrBuilder getMediaInfoOrBuilder( int index) { if (mediaInfoBuilder_ == null) { return mediaInfo_.get(index); } else { return mediaInfoBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public java.util.List getMediaInfoOrBuilderList() { if (mediaInfoBuilder_ != null) { return mediaInfoBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(mediaInfo_); } } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public wechat.protobuf.Friendgroup.MediaInfo.Builder addMediaInfoBuilder() { return getMediaInfoFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.MediaInfo.getDefaultInstance()); } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public wechat.protobuf.Friendgroup.MediaInfo.Builder addMediaInfoBuilder( int index) { return getMediaInfoFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.MediaInfo.getDefaultInstance()); } /** * repeated .wechat_proto.MediaInfo mediaInfo = 25; */ public java.util.List getMediaInfoBuilderList() { return getMediaInfoFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.MediaInfo, wechat.protobuf.Friendgroup.MediaInfo.Builder, wechat.protobuf.Friendgroup.MediaInfoOrBuilder> getMediaInfoFieldBuilder() { if (mediaInfoBuilder_ == null) { mediaInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.MediaInfo, wechat.protobuf.Friendgroup.MediaInfo.Builder, wechat.protobuf.Friendgroup.MediaInfoOrBuilder>( mediaInfo_, ((bitField0_ & 0x01000000) != 0), getParentForChildren(), isClean()); mediaInfo_ = null; } return mediaInfoBuilder_; } private wechat.protobuf.Friendgroup.SnsWeAppInfo weAppInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsWeAppInfo, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder, wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder> weAppInfoBuilder_; /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; * @return Whether the weAppInfo field is set. */ public boolean hasWeAppInfo() { return ((bitField0_ & 0x02000000) != 0); } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; * @return The weAppInfo. */ public wechat.protobuf.Friendgroup.SnsWeAppInfo getWeAppInfo() { if (weAppInfoBuilder_ == null) { return weAppInfo_ == null ? wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_; } else { return weAppInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; */ public Builder setWeAppInfo(wechat.protobuf.Friendgroup.SnsWeAppInfo value) { if (weAppInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } weAppInfo_ = value; onChanged(); } else { weAppInfoBuilder_.setMessage(value); } bitField0_ |= 0x02000000; return this; } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; */ public Builder setWeAppInfo( wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder builderForValue) { if (weAppInfoBuilder_ == null) { weAppInfo_ = builderForValue.build(); onChanged(); } else { weAppInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x02000000; return this; } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; */ public Builder mergeWeAppInfo(wechat.protobuf.Friendgroup.SnsWeAppInfo value) { if (weAppInfoBuilder_ == null) { if (((bitField0_ & 0x02000000) != 0) && weAppInfo_ != null && weAppInfo_ != wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance()) { weAppInfo_ = wechat.protobuf.Friendgroup.SnsWeAppInfo.newBuilder(weAppInfo_).mergeFrom(value).buildPartial(); } else { weAppInfo_ = value; } onChanged(); } else { weAppInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x02000000; return this; } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; */ public Builder clearWeAppInfo() { if (weAppInfoBuilder_ == null) { weAppInfo_ = null; onChanged(); } else { weAppInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x02000000); return this; } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; */ public wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder getWeAppInfoBuilder() { bitField0_ |= 0x02000000; onChanged(); return getWeAppInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; */ public wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder getWeAppInfoOrBuilder() { if (weAppInfoBuilder_ != null) { return weAppInfoBuilder_.getMessageOrBuilder(); } else { return weAppInfo_ == null ? wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_; } } /** * optional .wechat_proto.SnsWeAppInfo weAppInfo = 26; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsWeAppInfo, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder, wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder> getWeAppInfoFieldBuilder() { if (weAppInfoBuilder_ == null) { weAppInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsWeAppInfo, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder, wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder>( getWeAppInfo(), getParentForChildren(), isClean()); weAppInfo_ = null; } return weAppInfoBuilder_; } private wechat.protobuf.SKBuiltinString_ clientCheckData_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> clientCheckDataBuilder_; /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; * @return Whether the clientCheckData field is set. */ public boolean hasClientCheckData() { return ((bitField0_ & 0x04000000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; * @return The clientCheckData. */ public wechat.protobuf.SKBuiltinString_ getClientCheckData() { if (clientCheckDataBuilder_ == null) { return clientCheckData_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clientCheckData_; } else { return clientCheckDataBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; */ public Builder setClientCheckData(wechat.protobuf.SKBuiltinString_ value) { if (clientCheckDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } clientCheckData_ = value; onChanged(); } else { clientCheckDataBuilder_.setMessage(value); } bitField0_ |= 0x04000000; return this; } /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; */ public Builder setClientCheckData( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (clientCheckDataBuilder_ == null) { clientCheckData_ = builderForValue.build(); onChanged(); } else { clientCheckDataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x04000000; return this; } /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; */ public Builder mergeClientCheckData(wechat.protobuf.SKBuiltinString_ value) { if (clientCheckDataBuilder_ == null) { if (((bitField0_ & 0x04000000) != 0) && clientCheckData_ != null && clientCheckData_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { clientCheckData_ = wechat.protobuf.SKBuiltinString_.newBuilder(clientCheckData_).mergeFrom(value).buildPartial(); } else { clientCheckData_ = value; } onChanged(); } else { clientCheckDataBuilder_.mergeFrom(value); } bitField0_ |= 0x04000000; return this; } /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; */ public Builder clearClientCheckData() { if (clientCheckDataBuilder_ == null) { clientCheckData_ = null; onChanged(); } else { clientCheckDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x04000000); return this; } /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; */ public wechat.protobuf.SKBuiltinString_.Builder getClientCheckDataBuilder() { bitField0_ |= 0x04000000; onChanged(); return getClientCheckDataFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; */ public wechat.protobuf.SKBuiltinString_OrBuilder getClientCheckDataOrBuilder() { if (clientCheckDataBuilder_ != null) { return clientCheckDataBuilder_.getMessageOrBuilder(); } else { return clientCheckData_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clientCheckData_; } } /** * optional .wechat_proto.SKBuiltinString_ clientCheckData = 27; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getClientCheckDataFieldBuilder() { if (clientCheckDataBuilder_ == null) { clientCheckDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getClientCheckData(), getParentForChildren(), isClean()); clientCheckData_ = null; } return clientCheckDataBuilder_; } private wechat.protobuf.SKBuiltinString_ extSpamInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> extSpamInfoBuilder_; /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; * @return Whether the extSpamInfo field is set. */ public boolean hasExtSpamInfo() { return ((bitField0_ & 0x08000000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; * @return The extSpamInfo. */ public wechat.protobuf.SKBuiltinString_ getExtSpamInfo() { if (extSpamInfoBuilder_ == null) { return extSpamInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : extSpamInfo_; } else { return extSpamInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; */ public Builder setExtSpamInfo(wechat.protobuf.SKBuiltinString_ value) { if (extSpamInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } extSpamInfo_ = value; onChanged(); } else { extSpamInfoBuilder_.setMessage(value); } bitField0_ |= 0x08000000; return this; } /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; */ public Builder setExtSpamInfo( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (extSpamInfoBuilder_ == null) { extSpamInfo_ = builderForValue.build(); onChanged(); } else { extSpamInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x08000000; return this; } /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; */ public Builder mergeExtSpamInfo(wechat.protobuf.SKBuiltinString_ value) { if (extSpamInfoBuilder_ == null) { if (((bitField0_ & 0x08000000) != 0) && extSpamInfo_ != null && extSpamInfo_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { extSpamInfo_ = wechat.protobuf.SKBuiltinString_.newBuilder(extSpamInfo_).mergeFrom(value).buildPartial(); } else { extSpamInfo_ = value; } onChanged(); } else { extSpamInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x08000000; return this; } /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; */ public Builder clearExtSpamInfo() { if (extSpamInfoBuilder_ == null) { extSpamInfo_ = null; onChanged(); } else { extSpamInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x08000000); return this; } /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; */ public wechat.protobuf.SKBuiltinString_.Builder getExtSpamInfoBuilder() { bitField0_ |= 0x08000000; onChanged(); return getExtSpamInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; */ public wechat.protobuf.SKBuiltinString_OrBuilder getExtSpamInfoOrBuilder() { if (extSpamInfoBuilder_ != null) { return extSpamInfoBuilder_.getMessageOrBuilder(); } else { return extSpamInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : extSpamInfo_; } } /** * optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getExtSpamInfoFieldBuilder() { if (extSpamInfoBuilder_ == null) { extSpamInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getExtSpamInfo(), getParentForChildren(), isClean()); extSpamInfo_ = null; } return extSpamInfoBuilder_; } @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.SnsPostRequest) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsPostRequest) private static final wechat.protobuf.Friendgroup.SnsPostRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsPostRequest(); } public static wechat.protobuf.Friendgroup.SnsPostRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsPostRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsPostRequest(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.Friendgroup.SnsPostRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TwitterInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.TwitterInfo) com.google.protobuf.MessageOrBuilder { /** * optional string oauthToken = 1; * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** * optional string oauthToken = 1; * @return The oauthToken. */ java.lang.String getOauthToken(); /** * optional string oauthToken = 1; * @return The bytes for oauthToken. */ com.google.protobuf.ByteString getOauthTokenBytes(); /** * optional string oauthTokenSecret = 2; * @return Whether the oauthTokenSecret field is set. */ boolean hasOauthTokenSecret(); /** * optional string oauthTokenSecret = 2; * @return The oauthTokenSecret. */ java.lang.String getOauthTokenSecret(); /** * optional string oauthTokenSecret = 2; * @return The bytes for oauthTokenSecret. */ com.google.protobuf.ByteString getOauthTokenSecretBytes(); } /** * Protobuf type {@code wechat_proto.TwitterInfo} */ public static final class TwitterInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.TwitterInfo) TwitterInfoOrBuilder { private static final long serialVersionUID = 0L; // Use TwitterInfo.newBuilder() to construct. private TwitterInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TwitterInfo() { oauthToken_ = ""; oauthTokenSecret_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TwitterInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TwitterInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; oauthToken_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; oauthTokenSecret_ = 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.Friendgroup.internal_static_wechat_proto_TwitterInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_TwitterInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.TwitterInfo.class, wechat.protobuf.Friendgroup.TwitterInfo.Builder.class); } private int bitField0_; public static final int OAUTHTOKEN_FIELD_NUMBER = 1; private volatile java.lang.Object oauthToken_; /** * optional string oauthToken = 1; * @return Whether the oauthToken field is set. */ @java.lang.Override public boolean hasOauthToken() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string oauthToken = 1; * @return The oauthToken. */ @java.lang.Override public java.lang.String getOauthToken() { java.lang.Object ref = oauthToken_; 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()) { oauthToken_ = s; } return s; } } /** * optional string oauthToken = 1; * @return The bytes for oauthToken. */ @java.lang.Override public com.google.protobuf.ByteString getOauthTokenBytes() { java.lang.Object ref = oauthToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); oauthToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OAUTHTOKENSECRET_FIELD_NUMBER = 2; private volatile java.lang.Object oauthTokenSecret_; /** * optional string oauthTokenSecret = 2; * @return Whether the oauthTokenSecret field is set. */ @java.lang.Override public boolean hasOauthTokenSecret() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string oauthTokenSecret = 2; * @return The oauthTokenSecret. */ @java.lang.Override public java.lang.String getOauthTokenSecret() { java.lang.Object ref = oauthTokenSecret_; 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()) { oauthTokenSecret_ = s; } return s; } } /** * optional string oauthTokenSecret = 2; * @return The bytes for oauthTokenSecret. */ @java.lang.Override public com.google.protobuf.ByteString getOauthTokenSecretBytes() { java.lang.Object ref = oauthTokenSecret_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); oauthTokenSecret_ = 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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, oauthToken_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, oauthTokenSecret_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, oauthToken_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, oauthTokenSecret_); } 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.Friendgroup.TwitterInfo)) { return super.equals(obj); } wechat.protobuf.Friendgroup.TwitterInfo other = (wechat.protobuf.Friendgroup.TwitterInfo) obj; if (hasOauthToken() != other.hasOauthToken()) return false; if (hasOauthToken()) { if (!getOauthToken() .equals(other.getOauthToken())) return false; } if (hasOauthTokenSecret() != other.hasOauthTokenSecret()) return false; if (hasOauthTokenSecret()) { if (!getOauthTokenSecret() .equals(other.getOauthTokenSecret())) 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 (hasOauthToken()) { hash = (37 * hash) + OAUTHTOKEN_FIELD_NUMBER; hash = (53 * hash) + getOauthToken().hashCode(); } if (hasOauthTokenSecret()) { hash = (37 * hash) + OAUTHTOKENSECRET_FIELD_NUMBER; hash = (53 * hash) + getOauthTokenSecret().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.TwitterInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.TwitterInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.TwitterInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.TwitterInfo 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.Friendgroup.TwitterInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.TwitterInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.TwitterInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.TwitterInfo 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.Friendgroup.TwitterInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.TwitterInfo 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.Friendgroup.TwitterInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.TwitterInfo 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.Friendgroup.TwitterInfo 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.TwitterInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.TwitterInfo) wechat.protobuf.Friendgroup.TwitterInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_TwitterInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_TwitterInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.TwitterInfo.class, wechat.protobuf.Friendgroup.TwitterInfo.Builder.class); } // Construct using wechat.protobuf.Friendgroup.TwitterInfo.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(); oauthToken_ = ""; bitField0_ = (bitField0_ & ~0x00000001); oauthTokenSecret_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_TwitterInfo_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.TwitterInfo getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.TwitterInfo.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.TwitterInfo build() { wechat.protobuf.Friendgroup.TwitterInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.TwitterInfo buildPartial() { wechat.protobuf.Friendgroup.TwitterInfo result = new wechat.protobuf.Friendgroup.TwitterInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.oauthToken_ = oauthToken_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.oauthTokenSecret_ = oauthTokenSecret_; 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.Friendgroup.TwitterInfo) { return mergeFrom((wechat.protobuf.Friendgroup.TwitterInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.TwitterInfo other) { if (other == wechat.protobuf.Friendgroup.TwitterInfo.getDefaultInstance()) return this; if (other.hasOauthToken()) { bitField0_ |= 0x00000001; oauthToken_ = other.oauthToken_; onChanged(); } if (other.hasOauthTokenSecret()) { bitField0_ |= 0x00000002; oauthTokenSecret_ = other.oauthTokenSecret_; 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.Friendgroup.TwitterInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.TwitterInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object oauthToken_ = ""; /** * optional string oauthToken = 1; * @return Whether the oauthToken field is set. */ public boolean hasOauthToken() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string oauthToken = 1; * @return The oauthToken. */ public java.lang.String getOauthToken() { java.lang.Object ref = oauthToken_; 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()) { oauthToken_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string oauthToken = 1; * @return The bytes for oauthToken. */ public com.google.protobuf.ByteString getOauthTokenBytes() { java.lang.Object ref = oauthToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); oauthToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string oauthToken = 1; * @param value The oauthToken to set. * @return This builder for chaining. */ public Builder setOauthToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; oauthToken_ = value; onChanged(); return this; } /** * optional string oauthToken = 1; * @return This builder for chaining. */ public Builder clearOauthToken() { bitField0_ = (bitField0_ & ~0x00000001); oauthToken_ = getDefaultInstance().getOauthToken(); onChanged(); return this; } /** * optional string oauthToken = 1; * @param value The bytes for oauthToken to set. * @return This builder for chaining. */ public Builder setOauthTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; oauthToken_ = value; onChanged(); return this; } private java.lang.Object oauthTokenSecret_ = ""; /** * optional string oauthTokenSecret = 2; * @return Whether the oauthTokenSecret field is set. */ public boolean hasOauthTokenSecret() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string oauthTokenSecret = 2; * @return The oauthTokenSecret. */ public java.lang.String getOauthTokenSecret() { java.lang.Object ref = oauthTokenSecret_; 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()) { oauthTokenSecret_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string oauthTokenSecret = 2; * @return The bytes for oauthTokenSecret. */ public com.google.protobuf.ByteString getOauthTokenSecretBytes() { java.lang.Object ref = oauthTokenSecret_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); oauthTokenSecret_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string oauthTokenSecret = 2; * @param value The oauthTokenSecret to set. * @return This builder for chaining. */ public Builder setOauthTokenSecret( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; oauthTokenSecret_ = value; onChanged(); return this; } /** * optional string oauthTokenSecret = 2; * @return This builder for chaining. */ public Builder clearOauthTokenSecret() { bitField0_ = (bitField0_ & ~0x00000002); oauthTokenSecret_ = getDefaultInstance().getOauthTokenSecret(); onChanged(); return this; } /** * optional string oauthTokenSecret = 2; * @param value The bytes for oauthTokenSecret to set. * @return This builder for chaining. */ public Builder setOauthTokenSecretBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; oauthTokenSecret_ = 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.TwitterInfo) } // @@protoc_insertion_point(class_scope:wechat_proto.TwitterInfo) private static final wechat.protobuf.Friendgroup.TwitterInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.TwitterInfo(); } public static wechat.protobuf.Friendgroup.TwitterInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TwitterInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TwitterInfo(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.Friendgroup.TwitterInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsPostCtocUploadInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsPostCtocUploadInfo) com.google.protobuf.MessageOrBuilder { /** * optional uint32 flag = 1; * @return Whether the flag field is set. */ boolean hasFlag(); /** * optional uint32 flag = 1; * @return The flag. */ int getFlag(); /** * optional uint32 photoNum = 2; * @return Whether the photoNum field is set. */ boolean hasPhotoNum(); /** * optional uint32 photoNum = 2; * @return The photoNum. */ int getPhotoNum(); } /** * Protobuf type {@code wechat_proto.SnsPostCtocUploadInfo} */ public static final class SnsPostCtocUploadInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsPostCtocUploadInfo) SnsPostCtocUploadInfoOrBuilder { private static final long serialVersionUID = 0L; // Use SnsPostCtocUploadInfo.newBuilder() to construct. private SnsPostCtocUploadInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsPostCtocUploadInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsPostCtocUploadInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsPostCtocUploadInfo( 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; flag_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; photoNum_ = 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.Friendgroup.internal_static_wechat_proto_SnsPostCtocUploadInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostCtocUploadInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.class, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder.class); } private int bitField0_; public static final int FLAG_FIELD_NUMBER = 1; private int flag_; /** * optional uint32 flag = 1; * @return Whether the flag field is set. */ @java.lang.Override public boolean hasFlag() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 flag = 1; * @return The flag. */ @java.lang.Override public int getFlag() { return flag_; } public static final int PHOTONUM_FIELD_NUMBER = 2; private int photoNum_; /** * optional uint32 photoNum = 2; * @return Whether the photoNum field is set. */ @java.lang.Override public boolean hasPhotoNum() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 photoNum = 2; * @return The photoNum. */ @java.lang.Override public int getPhotoNum() { return photoNum_; } 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, flag_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, photoNum_); } 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, flag_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, photoNum_); } 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.Friendgroup.SnsPostCtocUploadInfo)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo other = (wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo) obj; if (hasFlag() != other.hasFlag()) return false; if (hasFlag()) { if (getFlag() != other.getFlag()) return false; } if (hasPhotoNum() != other.hasPhotoNum()) return false; if (hasPhotoNum()) { if (getPhotoNum() != other.getPhotoNum()) 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 (hasFlag()) { hash = (37 * hash) + FLAG_FIELD_NUMBER; hash = (53 * hash) + getFlag(); } if (hasPhotoNum()) { hash = (37 * hash) + PHOTONUM_FIELD_NUMBER; hash = (53 * hash) + getPhotoNum(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo 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.Friendgroup.SnsPostCtocUploadInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo 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.Friendgroup.SnsPostCtocUploadInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo 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.Friendgroup.SnsPostCtocUploadInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo 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.Friendgroup.SnsPostCtocUploadInfo 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.SnsPostCtocUploadInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsPostCtocUploadInfo) wechat.protobuf.Friendgroup.SnsPostCtocUploadInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostCtocUploadInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostCtocUploadInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.class, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.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(); flag_ = 0; bitField0_ = (bitField0_ & ~0x00000001); photoNum_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostCtocUploadInfo_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo build() { wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo buildPartial() { wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo result = new wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.flag_ = flag_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.photoNum_ = photoNum_; 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.Friendgroup.SnsPostCtocUploadInfo) { return mergeFrom((wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo other) { if (other == wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.getDefaultInstance()) return this; if (other.hasFlag()) { setFlag(other.getFlag()); } if (other.hasPhotoNum()) { setPhotoNum(other.getPhotoNum()); } 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.Friendgroup.SnsPostCtocUploadInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int flag_ ; /** * optional uint32 flag = 1; * @return Whether the flag field is set. */ @java.lang.Override public boolean hasFlag() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 flag = 1; * @return The flag. */ @java.lang.Override public int getFlag() { return flag_; } /** * optional uint32 flag = 1; * @param value The flag to set. * @return This builder for chaining. */ public Builder setFlag(int value) { bitField0_ |= 0x00000001; flag_ = value; onChanged(); return this; } /** * optional uint32 flag = 1; * @return This builder for chaining. */ public Builder clearFlag() { bitField0_ = (bitField0_ & ~0x00000001); flag_ = 0; onChanged(); return this; } private int photoNum_ ; /** * optional uint32 photoNum = 2; * @return Whether the photoNum field is set. */ @java.lang.Override public boolean hasPhotoNum() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 photoNum = 2; * @return The photoNum. */ @java.lang.Override public int getPhotoNum() { return photoNum_; } /** * optional uint32 photoNum = 2; * @param value The photoNum to set. * @return This builder for chaining. */ public Builder setPhotoNum(int value) { bitField0_ |= 0x00000002; photoNum_ = value; onChanged(); return this; } /** * optional uint32 photoNum = 2; * @return This builder for chaining. */ public Builder clearPhotoNum() { bitField0_ = (bitField0_ & ~0x00000002); photoNum_ = 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.SnsPostCtocUploadInfo) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsPostCtocUploadInfo) private static final wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo(); } public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsPostCtocUploadInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsPostCtocUploadInfo(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.Friendgroup.SnsPostCtocUploadInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsPostOperationFieldsOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsPostOperationFields) com.google.protobuf.MessageOrBuilder { /** * optional string shareUrlOriginal = 1; * @return Whether the shareUrlOriginal field is set. */ boolean hasShareUrlOriginal(); /** * optional string shareUrlOriginal = 1; * @return The shareUrlOriginal. */ java.lang.String getShareUrlOriginal(); /** * optional string shareUrlOriginal = 1; * @return The bytes for shareUrlOriginal. */ com.google.protobuf.ByteString getShareUrlOriginalBytes(); /** * optional string shareUrlOpen = 2; * @return Whether the shareUrlOpen field is set. */ boolean hasShareUrlOpen(); /** * optional string shareUrlOpen = 2; * @return The shareUrlOpen. */ java.lang.String getShareUrlOpen(); /** * optional string shareUrlOpen = 2; * @return The bytes for shareUrlOpen. */ com.google.protobuf.ByteString getShareUrlOpenBytes(); /** * optional string jsAppId = 3; * @return Whether the jsAppId field is set. */ boolean hasJsAppId(); /** * optional string jsAppId = 3; * @return The jsAppId. */ java.lang.String getJsAppId(); /** * optional string jsAppId = 3; * @return The bytes for jsAppId. */ com.google.protobuf.ByteString getJsAppIdBytes(); /** * optional uint32 contactTagNum = 4; * @return Whether the contactTagNum field is set. */ boolean hasContactTagNum(); /** * optional uint32 contactTagNum = 4; * @return The contactTagNum. */ int getContactTagNum(); /** * optional uint32 tempUserNum = 5; * @return Whether the tempUserNum field is set. */ boolean hasTempUserNum(); /** * optional uint32 tempUserNum = 5; * @return The tempUserNum. */ int getTempUserNum(); } /** * Protobuf type {@code wechat_proto.SnsPostOperationFields} */ public static final class SnsPostOperationFields extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsPostOperationFields) SnsPostOperationFieldsOrBuilder { private static final long serialVersionUID = 0L; // Use SnsPostOperationFields.newBuilder() to construct. private SnsPostOperationFields(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsPostOperationFields() { shareUrlOriginal_ = ""; shareUrlOpen_ = ""; jsAppId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsPostOperationFields(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsPostOperationFields( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; shareUrlOriginal_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; shareUrlOpen_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; jsAppId_ = bs; break; } case 32: { bitField0_ |= 0x00000008; contactTagNum_ = input.readUInt32(); break; } case 40: { bitField0_ |= 0x00000010; tempUserNum_ = 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.Friendgroup.internal_static_wechat_proto_SnsPostOperationFields_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostOperationFields_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsPostOperationFields.class, wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder.class); } private int bitField0_; public static final int SHAREURLORIGINAL_FIELD_NUMBER = 1; private volatile java.lang.Object shareUrlOriginal_; /** * optional string shareUrlOriginal = 1; * @return Whether the shareUrlOriginal field is set. */ @java.lang.Override public boolean hasShareUrlOriginal() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string shareUrlOriginal = 1; * @return The shareUrlOriginal. */ @java.lang.Override public java.lang.String getShareUrlOriginal() { java.lang.Object ref = shareUrlOriginal_; 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()) { shareUrlOriginal_ = s; } return s; } } /** * optional string shareUrlOriginal = 1; * @return The bytes for shareUrlOriginal. */ @java.lang.Override public com.google.protobuf.ByteString getShareUrlOriginalBytes() { java.lang.Object ref = shareUrlOriginal_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shareUrlOriginal_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHAREURLOPEN_FIELD_NUMBER = 2; private volatile java.lang.Object shareUrlOpen_; /** * optional string shareUrlOpen = 2; * @return Whether the shareUrlOpen field is set. */ @java.lang.Override public boolean hasShareUrlOpen() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string shareUrlOpen = 2; * @return The shareUrlOpen. */ @java.lang.Override public java.lang.String getShareUrlOpen() { java.lang.Object ref = shareUrlOpen_; 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()) { shareUrlOpen_ = s; } return s; } } /** * optional string shareUrlOpen = 2; * @return The bytes for shareUrlOpen. */ @java.lang.Override public com.google.protobuf.ByteString getShareUrlOpenBytes() { java.lang.Object ref = shareUrlOpen_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shareUrlOpen_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int JSAPPID_FIELD_NUMBER = 3; private volatile java.lang.Object jsAppId_; /** * optional string jsAppId = 3; * @return Whether the jsAppId field is set. */ @java.lang.Override public boolean hasJsAppId() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string jsAppId = 3; * @return The jsAppId. */ @java.lang.Override public java.lang.String getJsAppId() { java.lang.Object ref = jsAppId_; 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()) { jsAppId_ = s; } return s; } } /** * optional string jsAppId = 3; * @return The bytes for jsAppId. */ @java.lang.Override public com.google.protobuf.ByteString getJsAppIdBytes() { java.lang.Object ref = jsAppId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jsAppId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONTACTTAGNUM_FIELD_NUMBER = 4; private int contactTagNum_; /** * optional uint32 contactTagNum = 4; * @return Whether the contactTagNum field is set. */ @java.lang.Override public boolean hasContactTagNum() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 contactTagNum = 4; * @return The contactTagNum. */ @java.lang.Override public int getContactTagNum() { return contactTagNum_; } public static final int TEMPUSERNUM_FIELD_NUMBER = 5; private int tempUserNum_; /** * optional uint32 tempUserNum = 5; * @return Whether the tempUserNum field is set. */ @java.lang.Override public boolean hasTempUserNum() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 tempUserNum = 5; * @return The tempUserNum. */ @java.lang.Override public int getTempUserNum() { return tempUserNum_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, shareUrlOriginal_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shareUrlOpen_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, jsAppId_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, contactTagNum_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, tempUserNum_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, shareUrlOriginal_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shareUrlOpen_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, jsAppId_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, contactTagNum_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, tempUserNum_); } 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.Friendgroup.SnsPostOperationFields)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsPostOperationFields other = (wechat.protobuf.Friendgroup.SnsPostOperationFields) obj; if (hasShareUrlOriginal() != other.hasShareUrlOriginal()) return false; if (hasShareUrlOriginal()) { if (!getShareUrlOriginal() .equals(other.getShareUrlOriginal())) return false; } if (hasShareUrlOpen() != other.hasShareUrlOpen()) return false; if (hasShareUrlOpen()) { if (!getShareUrlOpen() .equals(other.getShareUrlOpen())) return false; } if (hasJsAppId() != other.hasJsAppId()) return false; if (hasJsAppId()) { if (!getJsAppId() .equals(other.getJsAppId())) return false; } if (hasContactTagNum() != other.hasContactTagNum()) return false; if (hasContactTagNum()) { if (getContactTagNum() != other.getContactTagNum()) return false; } if (hasTempUserNum() != other.hasTempUserNum()) return false; if (hasTempUserNum()) { if (getTempUserNum() != other.getTempUserNum()) 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 (hasShareUrlOriginal()) { hash = (37 * hash) + SHAREURLORIGINAL_FIELD_NUMBER; hash = (53 * hash) + getShareUrlOriginal().hashCode(); } if (hasShareUrlOpen()) { hash = (37 * hash) + SHAREURLOPEN_FIELD_NUMBER; hash = (53 * hash) + getShareUrlOpen().hashCode(); } if (hasJsAppId()) { hash = (37 * hash) + JSAPPID_FIELD_NUMBER; hash = (53 * hash) + getJsAppId().hashCode(); } if (hasContactTagNum()) { hash = (37 * hash) + CONTACTTAGNUM_FIELD_NUMBER; hash = (53 * hash) + getContactTagNum(); } if (hasTempUserNum()) { hash = (37 * hash) + TEMPUSERNUM_FIELD_NUMBER; hash = (53 * hash) + getTempUserNum(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsPostOperationFields parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsPostOperationFields parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsPostOperationFields parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsPostOperationFields 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.Friendgroup.SnsPostOperationFields parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsPostOperationFields parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsPostOperationFields parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsPostOperationFields 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.Friendgroup.SnsPostOperationFields parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsPostOperationFields 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.Friendgroup.SnsPostOperationFields parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsPostOperationFields 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.Friendgroup.SnsPostOperationFields 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.SnsPostOperationFields} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsPostOperationFields) wechat.protobuf.Friendgroup.SnsPostOperationFieldsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostOperationFields_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostOperationFields_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsPostOperationFields.class, wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsPostOperationFields.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(); shareUrlOriginal_ = ""; bitField0_ = (bitField0_ & ~0x00000001); shareUrlOpen_ = ""; bitField0_ = (bitField0_ & ~0x00000002); jsAppId_ = ""; bitField0_ = (bitField0_ & ~0x00000004); contactTagNum_ = 0; bitField0_ = (bitField0_ & ~0x00000008); tempUserNum_ = 0; bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostOperationFields_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostOperationFields getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsPostOperationFields.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostOperationFields build() { wechat.protobuf.Friendgroup.SnsPostOperationFields result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostOperationFields buildPartial() { wechat.protobuf.Friendgroup.SnsPostOperationFields result = new wechat.protobuf.Friendgroup.SnsPostOperationFields(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.shareUrlOriginal_ = shareUrlOriginal_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.shareUrlOpen_ = shareUrlOpen_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.jsAppId_ = jsAppId_; if (((from_bitField0_ & 0x00000008) != 0)) { result.contactTagNum_ = contactTagNum_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.tempUserNum_ = tempUserNum_; 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.Friendgroup.SnsPostOperationFields) { return mergeFrom((wechat.protobuf.Friendgroup.SnsPostOperationFields)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsPostOperationFields other) { if (other == wechat.protobuf.Friendgroup.SnsPostOperationFields.getDefaultInstance()) return this; if (other.hasShareUrlOriginal()) { bitField0_ |= 0x00000001; shareUrlOriginal_ = other.shareUrlOriginal_; onChanged(); } if (other.hasShareUrlOpen()) { bitField0_ |= 0x00000002; shareUrlOpen_ = other.shareUrlOpen_; onChanged(); } if (other.hasJsAppId()) { bitField0_ |= 0x00000004; jsAppId_ = other.jsAppId_; onChanged(); } if (other.hasContactTagNum()) { setContactTagNum(other.getContactTagNum()); } if (other.hasTempUserNum()) { setTempUserNum(other.getTempUserNum()); } 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.Friendgroup.SnsPostOperationFields parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsPostOperationFields) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object shareUrlOriginal_ = ""; /** * optional string shareUrlOriginal = 1; * @return Whether the shareUrlOriginal field is set. */ public boolean hasShareUrlOriginal() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string shareUrlOriginal = 1; * @return The shareUrlOriginal. */ public java.lang.String getShareUrlOriginal() { java.lang.Object ref = shareUrlOriginal_; 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()) { shareUrlOriginal_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string shareUrlOriginal = 1; * @return The bytes for shareUrlOriginal. */ public com.google.protobuf.ByteString getShareUrlOriginalBytes() { java.lang.Object ref = shareUrlOriginal_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shareUrlOriginal_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string shareUrlOriginal = 1; * @param value The shareUrlOriginal to set. * @return This builder for chaining. */ public Builder setShareUrlOriginal( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; shareUrlOriginal_ = value; onChanged(); return this; } /** * optional string shareUrlOriginal = 1; * @return This builder for chaining. */ public Builder clearShareUrlOriginal() { bitField0_ = (bitField0_ & ~0x00000001); shareUrlOriginal_ = getDefaultInstance().getShareUrlOriginal(); onChanged(); return this; } /** * optional string shareUrlOriginal = 1; * @param value The bytes for shareUrlOriginal to set. * @return This builder for chaining. */ public Builder setShareUrlOriginalBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; shareUrlOriginal_ = value; onChanged(); return this; } private java.lang.Object shareUrlOpen_ = ""; /** * optional string shareUrlOpen = 2; * @return Whether the shareUrlOpen field is set. */ public boolean hasShareUrlOpen() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string shareUrlOpen = 2; * @return The shareUrlOpen. */ public java.lang.String getShareUrlOpen() { java.lang.Object ref = shareUrlOpen_; 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()) { shareUrlOpen_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string shareUrlOpen = 2; * @return The bytes for shareUrlOpen. */ public com.google.protobuf.ByteString getShareUrlOpenBytes() { java.lang.Object ref = shareUrlOpen_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shareUrlOpen_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string shareUrlOpen = 2; * @param value The shareUrlOpen to set. * @return This builder for chaining. */ public Builder setShareUrlOpen( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; shareUrlOpen_ = value; onChanged(); return this; } /** * optional string shareUrlOpen = 2; * @return This builder for chaining. */ public Builder clearShareUrlOpen() { bitField0_ = (bitField0_ & ~0x00000002); shareUrlOpen_ = getDefaultInstance().getShareUrlOpen(); onChanged(); return this; } /** * optional string shareUrlOpen = 2; * @param value The bytes for shareUrlOpen to set. * @return This builder for chaining. */ public Builder setShareUrlOpenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; shareUrlOpen_ = value; onChanged(); return this; } private java.lang.Object jsAppId_ = ""; /** * optional string jsAppId = 3; * @return Whether the jsAppId field is set. */ public boolean hasJsAppId() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string jsAppId = 3; * @return The jsAppId. */ public java.lang.String getJsAppId() { java.lang.Object ref = jsAppId_; 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()) { jsAppId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string jsAppId = 3; * @return The bytes for jsAppId. */ public com.google.protobuf.ByteString getJsAppIdBytes() { java.lang.Object ref = jsAppId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jsAppId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string jsAppId = 3; * @param value The jsAppId to set. * @return This builder for chaining. */ public Builder setJsAppId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; jsAppId_ = value; onChanged(); return this; } /** * optional string jsAppId = 3; * @return This builder for chaining. */ public Builder clearJsAppId() { bitField0_ = (bitField0_ & ~0x00000004); jsAppId_ = getDefaultInstance().getJsAppId(); onChanged(); return this; } /** * optional string jsAppId = 3; * @param value The bytes for jsAppId to set. * @return This builder for chaining. */ public Builder setJsAppIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; jsAppId_ = value; onChanged(); return this; } private int contactTagNum_ ; /** * optional uint32 contactTagNum = 4; * @return Whether the contactTagNum field is set. */ @java.lang.Override public boolean hasContactTagNum() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 contactTagNum = 4; * @return The contactTagNum. */ @java.lang.Override public int getContactTagNum() { return contactTagNum_; } /** * optional uint32 contactTagNum = 4; * @param value The contactTagNum to set. * @return This builder for chaining. */ public Builder setContactTagNum(int value) { bitField0_ |= 0x00000008; contactTagNum_ = value; onChanged(); return this; } /** * optional uint32 contactTagNum = 4; * @return This builder for chaining. */ public Builder clearContactTagNum() { bitField0_ = (bitField0_ & ~0x00000008); contactTagNum_ = 0; onChanged(); return this; } private int tempUserNum_ ; /** * optional uint32 tempUserNum = 5; * @return Whether the tempUserNum field is set. */ @java.lang.Override public boolean hasTempUserNum() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 tempUserNum = 5; * @return The tempUserNum. */ @java.lang.Override public int getTempUserNum() { return tempUserNum_; } /** * optional uint32 tempUserNum = 5; * @param value The tempUserNum to set. * @return This builder for chaining. */ public Builder setTempUserNum(int value) { bitField0_ |= 0x00000010; tempUserNum_ = value; onChanged(); return this; } /** * optional uint32 tempUserNum = 5; * @return This builder for chaining. */ public Builder clearTempUserNum() { bitField0_ = (bitField0_ & ~0x00000010); tempUserNum_ = 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.SnsPostOperationFields) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsPostOperationFields) private static final wechat.protobuf.Friendgroup.SnsPostOperationFields DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsPostOperationFields(); } public static wechat.protobuf.Friendgroup.SnsPostOperationFields getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsPostOperationFields parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsPostOperationFields(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.Friendgroup.SnsPostOperationFields getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CanvasInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.CanvasInfo) com.google.protobuf.MessageOrBuilder { /** * optional string dataBuffer = 1; * @return Whether the dataBuffer field is set. */ boolean hasDataBuffer(); /** * optional string dataBuffer = 1; * @return The dataBuffer. */ java.lang.String getDataBuffer(); /** * optional string dataBuffer = 1; * @return The bytes for dataBuffer. */ com.google.protobuf.ByteString getDataBufferBytes(); } /** * Protobuf type {@code wechat_proto.CanvasInfo} */ public static final class CanvasInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.CanvasInfo) CanvasInfoOrBuilder { private static final long serialVersionUID = 0L; // Use CanvasInfo.newBuilder() to construct. private CanvasInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CanvasInfo() { dataBuffer_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CanvasInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CanvasInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; dataBuffer_ = 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.Friendgroup.internal_static_wechat_proto_CanvasInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CanvasInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.CanvasInfo.class, wechat.protobuf.Friendgroup.CanvasInfo.Builder.class); } private int bitField0_; public static final int DATABUFFER_FIELD_NUMBER = 1; private volatile java.lang.Object dataBuffer_; /** * optional string dataBuffer = 1; * @return Whether the dataBuffer field is set. */ @java.lang.Override public boolean hasDataBuffer() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string dataBuffer = 1; * @return The dataBuffer. */ @java.lang.Override public java.lang.String getDataBuffer() { java.lang.Object ref = dataBuffer_; 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()) { dataBuffer_ = s; } return s; } } /** * optional string dataBuffer = 1; * @return The bytes for dataBuffer. */ @java.lang.Override public com.google.protobuf.ByteString getDataBufferBytes() { java.lang.Object ref = dataBuffer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dataBuffer_ = 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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataBuffer_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dataBuffer_); } 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.Friendgroup.CanvasInfo)) { return super.equals(obj); } wechat.protobuf.Friendgroup.CanvasInfo other = (wechat.protobuf.Friendgroup.CanvasInfo) obj; if (hasDataBuffer() != other.hasDataBuffer()) return false; if (hasDataBuffer()) { if (!getDataBuffer() .equals(other.getDataBuffer())) 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 (hasDataBuffer()) { hash = (37 * hash) + DATABUFFER_FIELD_NUMBER; hash = (53 * hash) + getDataBuffer().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.CanvasInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.CanvasInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.CanvasInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.CanvasInfo 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.Friendgroup.CanvasInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.CanvasInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.CanvasInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.CanvasInfo 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.Friendgroup.CanvasInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.CanvasInfo 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.Friendgroup.CanvasInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.CanvasInfo 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.Friendgroup.CanvasInfo 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.CanvasInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.CanvasInfo) wechat.protobuf.Friendgroup.CanvasInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CanvasInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CanvasInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.CanvasInfo.class, wechat.protobuf.Friendgroup.CanvasInfo.Builder.class); } // Construct using wechat.protobuf.Friendgroup.CanvasInfo.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(); dataBuffer_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CanvasInfo_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.CanvasInfo getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.CanvasInfo.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.CanvasInfo build() { wechat.protobuf.Friendgroup.CanvasInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.CanvasInfo buildPartial() { wechat.protobuf.Friendgroup.CanvasInfo result = new wechat.protobuf.Friendgroup.CanvasInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.dataBuffer_ = dataBuffer_; 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.Friendgroup.CanvasInfo) { return mergeFrom((wechat.protobuf.Friendgroup.CanvasInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.CanvasInfo other) { if (other == wechat.protobuf.Friendgroup.CanvasInfo.getDefaultInstance()) return this; if (other.hasDataBuffer()) { bitField0_ |= 0x00000001; dataBuffer_ = other.dataBuffer_; 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.Friendgroup.CanvasInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.CanvasInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object dataBuffer_ = ""; /** * optional string dataBuffer = 1; * @return Whether the dataBuffer field is set. */ public boolean hasDataBuffer() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string dataBuffer = 1; * @return The dataBuffer. */ public java.lang.String getDataBuffer() { java.lang.Object ref = dataBuffer_; 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()) { dataBuffer_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string dataBuffer = 1; * @return The bytes for dataBuffer. */ public com.google.protobuf.ByteString getDataBufferBytes() { java.lang.Object ref = dataBuffer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dataBuffer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string dataBuffer = 1; * @param value The dataBuffer to set. * @return This builder for chaining. */ public Builder setDataBuffer( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; dataBuffer_ = value; onChanged(); return this; } /** * optional string dataBuffer = 1; * @return This builder for chaining. */ public Builder clearDataBuffer() { bitField0_ = (bitField0_ & ~0x00000001); dataBuffer_ = getDefaultInstance().getDataBuffer(); onChanged(); return this; } /** * optional string dataBuffer = 1; * @param value The bytes for dataBuffer to set. * @return This builder for chaining. */ public Builder setDataBufferBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; dataBuffer_ = 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.CanvasInfo) } // @@protoc_insertion_point(class_scope:wechat_proto.CanvasInfo) private static final wechat.protobuf.Friendgroup.CanvasInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.CanvasInfo(); } public static wechat.protobuf.Friendgroup.CanvasInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CanvasInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CanvasInfo(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.Friendgroup.CanvasInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MediaInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.MediaInfo) com.google.protobuf.MessageOrBuilder { /** * optional uint32 source = 1; * @return Whether the source field is set. */ boolean hasSource(); /** * optional uint32 source = 1; * @return The source. */ int getSource(); /** * optional uint32 mediaType = 2; * @return Whether the mediaType field is set. */ boolean hasMediaType(); /** * optional uint32 mediaType = 2; * @return The mediaType. */ int getMediaType(); /** * optional uint32 videoPlayLength = 3; * @return Whether the videoPlayLength field is set. */ boolean hasVideoPlayLength(); /** * optional uint32 videoPlayLength = 3; * @return The videoPlayLength. */ int getVideoPlayLength(); /** * optional string sessionId = 4; * @return Whether the sessionId field is set. */ boolean hasSessionId(); /** * optional string sessionId = 4; * @return The sessionId. */ java.lang.String getSessionId(); /** * optional string sessionId = 4; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** * optional uint32 startTime = 5; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** * optional uint32 startTime = 5; * @return The startTime. */ int getStartTime(); } /** * Protobuf type {@code wechat_proto.MediaInfo} */ public static final class MediaInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.MediaInfo) MediaInfoOrBuilder { private static final long serialVersionUID = 0L; // Use MediaInfo.newBuilder() to construct. private MediaInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MediaInfo() { sessionId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MediaInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MediaInfo( 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; source_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; mediaType_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; videoPlayLength_ = input.readUInt32(); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; sessionId_ = bs; break; } case 40: { bitField0_ |= 0x00000010; startTime_ = 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.Friendgroup.internal_static_wechat_proto_MediaInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_MediaInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.MediaInfo.class, wechat.protobuf.Friendgroup.MediaInfo.Builder.class); } private int bitField0_; public static final int SOURCE_FIELD_NUMBER = 1; private int source_; /** * optional uint32 source = 1; * @return Whether the source field is set. */ @java.lang.Override public boolean hasSource() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 source = 1; * @return The source. */ @java.lang.Override public int getSource() { return source_; } public static final int MEDIATYPE_FIELD_NUMBER = 2; private int mediaType_; /** * optional uint32 mediaType = 2; * @return Whether the mediaType field is set. */ @java.lang.Override public boolean hasMediaType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 mediaType = 2; * @return The mediaType. */ @java.lang.Override public int getMediaType() { return mediaType_; } public static final int VIDEOPLAYLENGTH_FIELD_NUMBER = 3; private int videoPlayLength_; /** * optional uint32 videoPlayLength = 3; * @return Whether the videoPlayLength field is set. */ @java.lang.Override public boolean hasVideoPlayLength() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 videoPlayLength = 3; * @return The videoPlayLength. */ @java.lang.Override public int getVideoPlayLength() { return videoPlayLength_; } public static final int SESSIONID_FIELD_NUMBER = 4; private volatile java.lang.Object sessionId_; /** * optional string sessionId = 4; * @return Whether the sessionId field is set. */ @java.lang.Override public boolean hasSessionId() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string sessionId = 4; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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()) { sessionId_ = s; } return s; } } /** * optional string sessionId = 4; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STARTTIME_FIELD_NUMBER = 5; private int startTime_; /** * optional uint32 startTime = 5; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 startTime = 5; * @return The startTime. */ @java.lang.Override public int getStartTime() { return startTime_; } 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, source_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, mediaType_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, videoPlayLength_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sessionId_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, startTime_); } 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, source_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, mediaType_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, videoPlayLength_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sessionId_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, startTime_); } 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.Friendgroup.MediaInfo)) { return super.equals(obj); } wechat.protobuf.Friendgroup.MediaInfo other = (wechat.protobuf.Friendgroup.MediaInfo) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { if (getSource() != other.getSource()) return false; } if (hasMediaType() != other.hasMediaType()) return false; if (hasMediaType()) { if (getMediaType() != other.getMediaType()) return false; } if (hasVideoPlayLength() != other.hasVideoPlayLength()) return false; if (hasVideoPlayLength()) { if (getVideoPlayLength() != other.getVideoPlayLength()) return false; } if (hasSessionId() != other.hasSessionId()) return false; if (hasSessionId()) { if (!getSessionId() .equals(other.getSessionId())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { if (getStartTime() != other.getStartTime()) 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 (hasSource()) { hash = (37 * hash) + SOURCE_FIELD_NUMBER; hash = (53 * hash) + getSource(); } if (hasMediaType()) { hash = (37 * hash) + MEDIATYPE_FIELD_NUMBER; hash = (53 * hash) + getMediaType(); } if (hasVideoPlayLength()) { hash = (37 * hash) + VIDEOPLAYLENGTH_FIELD_NUMBER; hash = (53 * hash) + getVideoPlayLength(); } if (hasSessionId()) { hash = (37 * hash) + SESSIONID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); } if (hasStartTime()) { hash = (37 * hash) + STARTTIME_FIELD_NUMBER; hash = (53 * hash) + getStartTime(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.MediaInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.MediaInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.MediaInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.MediaInfo 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.Friendgroup.MediaInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.MediaInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.MediaInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.MediaInfo 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.Friendgroup.MediaInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.MediaInfo 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.Friendgroup.MediaInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.MediaInfo 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.Friendgroup.MediaInfo 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.MediaInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.MediaInfo) wechat.protobuf.Friendgroup.MediaInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_MediaInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_MediaInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.MediaInfo.class, wechat.protobuf.Friendgroup.MediaInfo.Builder.class); } // Construct using wechat.protobuf.Friendgroup.MediaInfo.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(); source_ = 0; bitField0_ = (bitField0_ & ~0x00000001); mediaType_ = 0; bitField0_ = (bitField0_ & ~0x00000002); videoPlayLength_ = 0; bitField0_ = (bitField0_ & ~0x00000004); sessionId_ = ""; bitField0_ = (bitField0_ & ~0x00000008); startTime_ = 0; bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_MediaInfo_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.MediaInfo getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.MediaInfo.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.MediaInfo build() { wechat.protobuf.Friendgroup.MediaInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.MediaInfo buildPartial() { wechat.protobuf.Friendgroup.MediaInfo result = new wechat.protobuf.Friendgroup.MediaInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.source_ = source_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.mediaType_ = mediaType_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.videoPlayLength_ = videoPlayLength_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.sessionId_ = sessionId_; if (((from_bitField0_ & 0x00000010) != 0)) { result.startTime_ = startTime_; 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.Friendgroup.MediaInfo) { return mergeFrom((wechat.protobuf.Friendgroup.MediaInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.MediaInfo other) { if (other == wechat.protobuf.Friendgroup.MediaInfo.getDefaultInstance()) return this; if (other.hasSource()) { setSource(other.getSource()); } if (other.hasMediaType()) { setMediaType(other.getMediaType()); } if (other.hasVideoPlayLength()) { setVideoPlayLength(other.getVideoPlayLength()); } if (other.hasSessionId()) { bitField0_ |= 0x00000008; sessionId_ = other.sessionId_; onChanged(); } if (other.hasStartTime()) { setStartTime(other.getStartTime()); } 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.Friendgroup.MediaInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.MediaInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int source_ ; /** * optional uint32 source = 1; * @return Whether the source field is set. */ @java.lang.Override public boolean hasSource() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 source = 1; * @return The source. */ @java.lang.Override public int getSource() { return source_; } /** * optional uint32 source = 1; * @param value The source to set. * @return This builder for chaining. */ public Builder setSource(int value) { bitField0_ |= 0x00000001; source_ = value; onChanged(); return this; } /** * optional uint32 source = 1; * @return This builder for chaining. */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000001); source_ = 0; onChanged(); return this; } private int mediaType_ ; /** * optional uint32 mediaType = 2; * @return Whether the mediaType field is set. */ @java.lang.Override public boolean hasMediaType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 mediaType = 2; * @return The mediaType. */ @java.lang.Override public int getMediaType() { return mediaType_; } /** * optional uint32 mediaType = 2; * @param value The mediaType to set. * @return This builder for chaining. */ public Builder setMediaType(int value) { bitField0_ |= 0x00000002; mediaType_ = value; onChanged(); return this; } /** * optional uint32 mediaType = 2; * @return This builder for chaining. */ public Builder clearMediaType() { bitField0_ = (bitField0_ & ~0x00000002); mediaType_ = 0; onChanged(); return this; } private int videoPlayLength_ ; /** * optional uint32 videoPlayLength = 3; * @return Whether the videoPlayLength field is set. */ @java.lang.Override public boolean hasVideoPlayLength() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 videoPlayLength = 3; * @return The videoPlayLength. */ @java.lang.Override public int getVideoPlayLength() { return videoPlayLength_; } /** * optional uint32 videoPlayLength = 3; * @param value The videoPlayLength to set. * @return This builder for chaining. */ public Builder setVideoPlayLength(int value) { bitField0_ |= 0x00000004; videoPlayLength_ = value; onChanged(); return this; } /** * optional uint32 videoPlayLength = 3; * @return This builder for chaining. */ public Builder clearVideoPlayLength() { bitField0_ = (bitField0_ & ~0x00000004); videoPlayLength_ = 0; onChanged(); return this; } private java.lang.Object sessionId_ = ""; /** * optional string sessionId = 4; * @return Whether the sessionId field is set. */ public boolean hasSessionId() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string sessionId = 4; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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()) { sessionId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string sessionId = 4; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string sessionId = 4; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; sessionId_ = value; onChanged(); return this; } /** * optional string sessionId = 4; * @return This builder for chaining. */ public Builder clearSessionId() { bitField0_ = (bitField0_ & ~0x00000008); sessionId_ = getDefaultInstance().getSessionId(); onChanged(); return this; } /** * optional string sessionId = 4; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; sessionId_ = value; onChanged(); return this; } private int startTime_ ; /** * optional uint32 startTime = 5; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 startTime = 5; * @return The startTime. */ @java.lang.Override public int getStartTime() { return startTime_; } /** * optional uint32 startTime = 5; * @param value The startTime to set. * @return This builder for chaining. */ public Builder setStartTime(int value) { bitField0_ |= 0x00000010; startTime_ = value; onChanged(); return this; } /** * optional uint32 startTime = 5; * @return This builder for chaining. */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000010); startTime_ = 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.MediaInfo) } // @@protoc_insertion_point(class_scope:wechat_proto.MediaInfo) private static final wechat.protobuf.Friendgroup.MediaInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.MediaInfo(); } public static wechat.protobuf.Friendgroup.MediaInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MediaInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MediaInfo(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.Friendgroup.MediaInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsPostResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsPostResponse) 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 .wechat_proto.SnsObject snsObject = 2; * @return Whether the snsObject field is set. */ boolean hasSnsObject(); /** * optional .wechat_proto.SnsObject snsObject = 2; * @return The snsObject. */ wechat.protobuf.Friendgroup.SnsObject getSnsObject(); /** * optional .wechat_proto.SnsObject snsObject = 2; */ wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder(); /** * optional string spamTips = 3; * @return Whether the spamTips field is set. */ boolean hasSpamTips(); /** * optional string spamTips = 3; * @return The spamTips. */ java.lang.String getSpamTips(); /** * optional string spamTips = 3; * @return The bytes for spamTips. */ com.google.protobuf.ByteString getSpamTipsBytes(); } /** * Protobuf type {@code wechat_proto.SnsPostResponse} */ public static final class SnsPostResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsPostResponse) SnsPostResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SnsPostResponse.newBuilder() to construct. private SnsPostResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsPostResponse() { spamTips_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsPostResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsPostResponse( 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 18: { wechat.protobuf.Friendgroup.SnsObject.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = snsObject_.toBuilder(); } snsObject_ = input.readMessage(wechat.protobuf.Friendgroup.SnsObject.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(snsObject_); snsObject_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; spamTips_ = 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.Friendgroup.internal_static_wechat_proto_SnsPostResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsPostResponse.class, wechat.protobuf.Friendgroup.SnsPostResponse.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 SNSOBJECT_FIELD_NUMBER = 2; private wechat.protobuf.Friendgroup.SnsObject snsObject_; /** * optional .wechat_proto.SnsObject snsObject = 2; * @return Whether the snsObject field is set. */ @java.lang.Override public boolean hasSnsObject() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SnsObject snsObject = 2; * @return The snsObject. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsObject getSnsObject() { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } /** * optional .wechat_proto.SnsObject snsObject = 2; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder() { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } public static final int SPAMTIPS_FIELD_NUMBER = 3; private volatile java.lang.Object spamTips_; /** * optional string spamTips = 3; * @return Whether the spamTips field is set. */ @java.lang.Override public boolean hasSpamTips() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string spamTips = 3; * @return The spamTips. */ @java.lang.Override public java.lang.String getSpamTips() { java.lang.Object ref = spamTips_; 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()) { spamTips_ = s; } return s; } } /** * optional string spamTips = 3; * @return The bytes for spamTips. */ @java.lang.Override public com.google.protobuf.ByteString getSpamTipsBytes() { java.lang.Object ref = spamTips_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); spamTips_ = 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, getBaseResponse()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getSnsObject()); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, spamTips_); } 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 .computeMessageSize(2, getSnsObject()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, spamTips_); } 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.Friendgroup.SnsPostResponse)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsPostResponse other = (wechat.protobuf.Friendgroup.SnsPostResponse) obj; if (hasBaseResponse() != other.hasBaseResponse()) return false; if (hasBaseResponse()) { if (!getBaseResponse() .equals(other.getBaseResponse())) return false; } if (hasSnsObject() != other.hasSnsObject()) return false; if (hasSnsObject()) { if (!getSnsObject() .equals(other.getSnsObject())) return false; } if (hasSpamTips() != other.hasSpamTips()) return false; if (hasSpamTips()) { if (!getSpamTips() .equals(other.getSpamTips())) 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 (hasSnsObject()) { hash = (37 * hash) + SNSOBJECT_FIELD_NUMBER; hash = (53 * hash) + getSnsObject().hashCode(); } if (hasSpamTips()) { hash = (37 * hash) + SPAMTIPS_FIELD_NUMBER; hash = (53 * hash) + getSpamTips().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsPostResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsPostResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsPostResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsPostResponse 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.Friendgroup.SnsPostResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsPostResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsPostResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsPostResponse 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.Friendgroup.SnsPostResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsPostResponse 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.Friendgroup.SnsPostResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsPostResponse 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.Friendgroup.SnsPostResponse 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.SnsPostResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsPostResponse) wechat.protobuf.Friendgroup.SnsPostResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsPostResponse.class, wechat.protobuf.Friendgroup.SnsPostResponse.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsPostResponse.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(); getSnsObjectFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseResponseBuilder_ == null) { baseResponse_ = null; } else { baseResponseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (snsObjectBuilder_ == null) { snsObject_ = null; } else { snsObjectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); spamTips_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostResponse_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostResponse getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsPostResponse.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostResponse build() { wechat.protobuf.Friendgroup.SnsPostResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsPostResponse buildPartial() { wechat.protobuf.Friendgroup.SnsPostResponse result = new wechat.protobuf.Friendgroup.SnsPostResponse(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)) { if (snsObjectBuilder_ == null) { result.snsObject_ = snsObject_; } else { result.snsObject_ = snsObjectBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.spamTips_ = spamTips_; 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.Friendgroup.SnsPostResponse) { return mergeFrom((wechat.protobuf.Friendgroup.SnsPostResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsPostResponse other) { if (other == wechat.protobuf.Friendgroup.SnsPostResponse.getDefaultInstance()) return this; if (other.hasBaseResponse()) { mergeBaseResponse(other.getBaseResponse()); } if (other.hasSnsObject()) { mergeSnsObject(other.getSnsObject()); } if (other.hasSpamTips()) { bitField0_ |= 0x00000004; spamTips_ = other.spamTips_; 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.Friendgroup.SnsPostResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsPostResponse) 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 wechat.protobuf.Friendgroup.SnsObject snsObject_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> snsObjectBuilder_; /** * optional .wechat_proto.SnsObject snsObject = 2; * @return Whether the snsObject field is set. */ public boolean hasSnsObject() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SnsObject snsObject = 2; * @return The snsObject. */ public wechat.protobuf.Friendgroup.SnsObject getSnsObject() { if (snsObjectBuilder_ == null) { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } else { return snsObjectBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsObject snsObject = 2; */ public Builder setSnsObject(wechat.protobuf.Friendgroup.SnsObject value) { if (snsObjectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snsObject_ = value; onChanged(); } else { snsObjectBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsObject snsObject = 2; */ public Builder setSnsObject( wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) { if (snsObjectBuilder_ == null) { snsObject_ = builderForValue.build(); onChanged(); } else { snsObjectBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsObject snsObject = 2; */ public Builder mergeSnsObject(wechat.protobuf.Friendgroup.SnsObject value) { if (snsObjectBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && snsObject_ != null && snsObject_ != wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance()) { snsObject_ = wechat.protobuf.Friendgroup.SnsObject.newBuilder(snsObject_).mergeFrom(value).buildPartial(); } else { snsObject_ = value; } onChanged(); } else { snsObjectBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsObject snsObject = 2; */ public Builder clearSnsObject() { if (snsObjectBuilder_ == null) { snsObject_ = null; onChanged(); } else { snsObjectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SnsObject snsObject = 2; */ public wechat.protobuf.Friendgroup.SnsObject.Builder getSnsObjectBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSnsObjectFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsObject snsObject = 2; */ public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder() { if (snsObjectBuilder_ != null) { return snsObjectBuilder_.getMessageOrBuilder(); } else { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } } /** * optional .wechat_proto.SnsObject snsObject = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> getSnsObjectFieldBuilder() { if (snsObjectBuilder_ == null) { snsObjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder>( getSnsObject(), getParentForChildren(), isClean()); snsObject_ = null; } return snsObjectBuilder_; } private java.lang.Object spamTips_ = ""; /** * optional string spamTips = 3; * @return Whether the spamTips field is set. */ public boolean hasSpamTips() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string spamTips = 3; * @return The spamTips. */ public java.lang.String getSpamTips() { java.lang.Object ref = spamTips_; 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()) { spamTips_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string spamTips = 3; * @return The bytes for spamTips. */ public com.google.protobuf.ByteString getSpamTipsBytes() { java.lang.Object ref = spamTips_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); spamTips_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string spamTips = 3; * @param value The spamTips to set. * @return This builder for chaining. */ public Builder setSpamTips( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; spamTips_ = value; onChanged(); return this; } /** * optional string spamTips = 3; * @return This builder for chaining. */ public Builder clearSpamTips() { bitField0_ = (bitField0_ & ~0x00000004); spamTips_ = getDefaultInstance().getSpamTips(); onChanged(); return this; } /** * optional string spamTips = 3; * @param value The bytes for spamTips to set. * @return This builder for chaining. */ public Builder setSpamTipsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; spamTips_ = 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.SnsPostResponse) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsPostResponse) private static final wechat.protobuf.Friendgroup.SnsPostResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsPostResponse(); } public static wechat.protobuf.Friendgroup.SnsPostResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsPostResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsPostResponse(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.Friendgroup.SnsPostResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsObjectOpRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsObjectOpRequest) 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 opNum = 2; * @return Whether the opNum field is set. */ boolean hasOpNum(); /** * optional uint32 opNum = 2; * @return The opNum. */ int getOpNum(); /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ java.util.List getOpListList(); /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ wechat.protobuf.Friendgroup.SnsObjectOp getOpList(int index); /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ int getOpListCount(); /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ java.util.List getOpListOrBuilderList(); /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder getOpListOrBuilder( int index); } /** * Protobuf type {@code wechat_proto.SnsObjectOpRequest} */ public static final class SnsObjectOpRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsObjectOpRequest) SnsObjectOpRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SnsObjectOpRequest.newBuilder() to construct. private SnsObjectOpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsObjectOpRequest() { opList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsObjectOpRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsObjectOpRequest( 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; opNum_ = input.readUInt32(); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { opList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } opList_.add( input.readMessage(wechat.protobuf.Friendgroup.SnsObjectOp.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)) { opList_ = java.util.Collections.unmodifiableList(opList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsObjectOpRequest.class, wechat.protobuf.Friendgroup.SnsObjectOpRequest.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 OPNUM_FIELD_NUMBER = 2; private int opNum_; /** * optional uint32 opNum = 2; * @return Whether the opNum field is set. */ @java.lang.Override public boolean hasOpNum() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 opNum = 2; * @return The opNum. */ @java.lang.Override public int getOpNum() { return opNum_; } public static final int OPLIST_FIELD_NUMBER = 3; private java.util.List opList_; /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ @java.lang.Override public java.util.List getOpListList() { return opList_; } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ @java.lang.Override public java.util.List getOpListOrBuilderList() { return opList_; } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ @java.lang.Override public int getOpListCount() { return opList_.size(); } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOp getOpList(int index) { return opList_.get(index); } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder getOpListOrBuilder( int index) { return opList_.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, getBaseRequest()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, opNum_); } for (int i = 0; i < opList_.size(); i++) { output.writeMessage(3, opList_.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, getBaseRequest()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, opNum_); } for (int i = 0; i < opList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, opList_.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.Friendgroup.SnsObjectOpRequest)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsObjectOpRequest other = (wechat.protobuf.Friendgroup.SnsObjectOpRequest) obj; if (hasBaseRequest() != other.hasBaseRequest()) return false; if (hasBaseRequest()) { if (!getBaseRequest() .equals(other.getBaseRequest())) return false; } if (hasOpNum() != other.hasOpNum()) return false; if (hasOpNum()) { if (getOpNum() != other.getOpNum()) return false; } if (!getOpListList() .equals(other.getOpListList())) 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 (hasOpNum()) { hash = (37 * hash) + OPNUM_FIELD_NUMBER; hash = (53 * hash) + getOpNum(); } if (getOpListCount() > 0) { hash = (37 * hash) + OPLIST_FIELD_NUMBER; hash = (53 * hash) + getOpListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsObjectOpRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectOpRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsObjectOpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectOpRequest 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.Friendgroup.SnsObjectOpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectOpRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsObjectOpRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectOpRequest 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.Friendgroup.SnsObjectOpRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectOpRequest 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.Friendgroup.SnsObjectOpRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectOpRequest 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.Friendgroup.SnsObjectOpRequest 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.SnsObjectOpRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsObjectOpRequest) wechat.protobuf.Friendgroup.SnsObjectOpRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsObjectOpRequest.class, wechat.protobuf.Friendgroup.SnsObjectOpRequest.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsObjectOpRequest.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(); getOpListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseRequestBuilder_ == null) { baseRequest_ = null; } else { baseRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); opNum_ = 0; bitField0_ = (bitField0_ & ~0x00000002); if (opListBuilder_ == null) { opList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { opListBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpRequest_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOpRequest getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsObjectOpRequest.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOpRequest build() { wechat.protobuf.Friendgroup.SnsObjectOpRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOpRequest buildPartial() { wechat.protobuf.Friendgroup.SnsObjectOpRequest result = new wechat.protobuf.Friendgroup.SnsObjectOpRequest(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.opNum_ = opNum_; to_bitField0_ |= 0x00000002; } if (opListBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { opList_ = java.util.Collections.unmodifiableList(opList_); bitField0_ = (bitField0_ & ~0x00000004); } result.opList_ = opList_; } else { result.opList_ = opListBuilder_.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.Friendgroup.SnsObjectOpRequest) { return mergeFrom((wechat.protobuf.Friendgroup.SnsObjectOpRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsObjectOpRequest other) { if (other == wechat.protobuf.Friendgroup.SnsObjectOpRequest.getDefaultInstance()) return this; if (other.hasBaseRequest()) { mergeBaseRequest(other.getBaseRequest()); } if (other.hasOpNum()) { setOpNum(other.getOpNum()); } if (opListBuilder_ == null) { if (!other.opList_.isEmpty()) { if (opList_.isEmpty()) { opList_ = other.opList_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureOpListIsMutable(); opList_.addAll(other.opList_); } onChanged(); } } else { if (!other.opList_.isEmpty()) { if (opListBuilder_.isEmpty()) { opListBuilder_.dispose(); opListBuilder_ = null; opList_ = other.opList_; bitField0_ = (bitField0_ & ~0x00000004); opListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOpListFieldBuilder() : null; } else { opListBuilder_.addAllMessages(other.opList_); } } } 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.Friendgroup.SnsObjectOpRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsObjectOpRequest) 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 opNum_ ; /** * optional uint32 opNum = 2; * @return Whether the opNum field is set. */ @java.lang.Override public boolean hasOpNum() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 opNum = 2; * @return The opNum. */ @java.lang.Override public int getOpNum() { return opNum_; } /** * optional uint32 opNum = 2; * @param value The opNum to set. * @return This builder for chaining. */ public Builder setOpNum(int value) { bitField0_ |= 0x00000002; opNum_ = value; onChanged(); return this; } /** * optional uint32 opNum = 2; * @return This builder for chaining. */ public Builder clearOpNum() { bitField0_ = (bitField0_ & ~0x00000002); opNum_ = 0; onChanged(); return this; } private java.util.List opList_ = java.util.Collections.emptyList(); private void ensureOpListIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { opList_ = new java.util.ArrayList(opList_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObjectOp, wechat.protobuf.Friendgroup.SnsObjectOp.Builder, wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder> opListBuilder_; /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public java.util.List getOpListList() { if (opListBuilder_ == null) { return java.util.Collections.unmodifiableList(opList_); } else { return opListBuilder_.getMessageList(); } } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public int getOpListCount() { if (opListBuilder_ == null) { return opList_.size(); } else { return opListBuilder_.getCount(); } } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public wechat.protobuf.Friendgroup.SnsObjectOp getOpList(int index) { if (opListBuilder_ == null) { return opList_.get(index); } else { return opListBuilder_.getMessage(index); } } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public Builder setOpList( int index, wechat.protobuf.Friendgroup.SnsObjectOp value) { if (opListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOpListIsMutable(); opList_.set(index, value); onChanged(); } else { opListBuilder_.setMessage(index, value); } return this; } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public Builder setOpList( int index, wechat.protobuf.Friendgroup.SnsObjectOp.Builder builderForValue) { if (opListBuilder_ == null) { ensureOpListIsMutable(); opList_.set(index, builderForValue.build()); onChanged(); } else { opListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public Builder addOpList(wechat.protobuf.Friendgroup.SnsObjectOp value) { if (opListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOpListIsMutable(); opList_.add(value); onChanged(); } else { opListBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public Builder addOpList( int index, wechat.protobuf.Friendgroup.SnsObjectOp value) { if (opListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOpListIsMutable(); opList_.add(index, value); onChanged(); } else { opListBuilder_.addMessage(index, value); } return this; } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public Builder addOpList( wechat.protobuf.Friendgroup.SnsObjectOp.Builder builderForValue) { if (opListBuilder_ == null) { ensureOpListIsMutable(); opList_.add(builderForValue.build()); onChanged(); } else { opListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public Builder addOpList( int index, wechat.protobuf.Friendgroup.SnsObjectOp.Builder builderForValue) { if (opListBuilder_ == null) { ensureOpListIsMutable(); opList_.add(index, builderForValue.build()); onChanged(); } else { opListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public Builder addAllOpList( java.lang.Iterable values) { if (opListBuilder_ == null) { ensureOpListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, opList_); onChanged(); } else { opListBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public Builder clearOpList() { if (opListBuilder_ == null) { opList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { opListBuilder_.clear(); } return this; } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public Builder removeOpList(int index) { if (opListBuilder_ == null) { ensureOpListIsMutable(); opList_.remove(index); onChanged(); } else { opListBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public wechat.protobuf.Friendgroup.SnsObjectOp.Builder getOpListBuilder( int index) { return getOpListFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder getOpListOrBuilder( int index) { if (opListBuilder_ == null) { return opList_.get(index); } else { return opListBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public java.util.List getOpListOrBuilderList() { if (opListBuilder_ != null) { return opListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(opList_); } } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public wechat.protobuf.Friendgroup.SnsObjectOp.Builder addOpListBuilder() { return getOpListFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.SnsObjectOp.getDefaultInstance()); } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public wechat.protobuf.Friendgroup.SnsObjectOp.Builder addOpListBuilder( int index) { return getOpListFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.SnsObjectOp.getDefaultInstance()); } /** * repeated .wechat_proto.SnsObjectOp opList = 3; */ public java.util.List getOpListBuilderList() { return getOpListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObjectOp, wechat.protobuf.Friendgroup.SnsObjectOp.Builder, wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder> getOpListFieldBuilder() { if (opListBuilder_ == null) { opListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObjectOp, wechat.protobuf.Friendgroup.SnsObjectOp.Builder, wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder>( opList_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); opList_ = null; } return opListBuilder_; } @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.SnsObjectOpRequest) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsObjectOpRequest) private static final wechat.protobuf.Friendgroup.SnsObjectOpRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsObjectOpRequest(); } public static wechat.protobuf.Friendgroup.SnsObjectOpRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsObjectOpRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsObjectOpRequest(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.Friendgroup.SnsObjectOpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsObjectOpResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsObjectOpResponse) 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 opNum = 2; * @return Whether the opNum field is set. */ boolean hasOpNum(); /** * optional uint32 opNum = 2; * @return The opNum. */ int getOpNum(); /** * repeated int32 opRetList = 3; * @return A list containing the opRetList. */ java.util.List getOpRetListList(); /** * repeated int32 opRetList = 3; * @return The count of opRetList. */ int getOpRetListCount(); /** * repeated int32 opRetList = 3; * @param index The index of the element to return. * @return The opRetList at the given index. */ int getOpRetList(int index); } /** * Protobuf type {@code wechat_proto.SnsObjectOpResponse} */ public static final class SnsObjectOpResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsObjectOpResponse) SnsObjectOpResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SnsObjectOpResponse.newBuilder() to construct. private SnsObjectOpResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsObjectOpResponse() { opRetList_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsObjectOpResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsObjectOpResponse( 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; opNum_ = input.readUInt32(); break; } case 24: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { opRetList_ = newIntList(); mutable_bitField0_ |= 0x00000004; } opRetList_.addInt(input.readInt32()); break; } case 26: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { opRetList_ = newIntList(); mutable_bitField0_ |= 0x00000004; } while (input.getBytesUntilLimit() > 0) { opRetList_.addInt(input.readInt32()); } input.popLimit(limit); 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)) { opRetList_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsObjectOpResponse.class, wechat.protobuf.Friendgroup.SnsObjectOpResponse.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 OPNUM_FIELD_NUMBER = 2; private int opNum_; /** * optional uint32 opNum = 2; * @return Whether the opNum field is set. */ @java.lang.Override public boolean hasOpNum() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 opNum = 2; * @return The opNum. */ @java.lang.Override public int getOpNum() { return opNum_; } public static final int OPRETLIST_FIELD_NUMBER = 3; private com.google.protobuf.Internal.IntList opRetList_; /** * repeated int32 opRetList = 3; * @return A list containing the opRetList. */ @java.lang.Override public java.util.List getOpRetListList() { return opRetList_; } /** * repeated int32 opRetList = 3; * @return The count of opRetList. */ public int getOpRetListCount() { return opRetList_.size(); } /** * repeated int32 opRetList = 3; * @param index The index of the element to return. * @return The opRetList at the given index. */ public int getOpRetList(int index) { return opRetList_.getInt(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, opNum_); } for (int i = 0; i < opRetList_.size(); i++) { output.writeInt32(3, opRetList_.getInt(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, opNum_); } { int dataSize = 0; for (int i = 0; i < opRetList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(opRetList_.getInt(i)); } size += dataSize; size += 1 * getOpRetListList().size(); } 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.Friendgroup.SnsObjectOpResponse)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsObjectOpResponse other = (wechat.protobuf.Friendgroup.SnsObjectOpResponse) obj; if (hasBaseResponse() != other.hasBaseResponse()) return false; if (hasBaseResponse()) { if (!getBaseResponse() .equals(other.getBaseResponse())) return false; } if (hasOpNum() != other.hasOpNum()) return false; if (hasOpNum()) { if (getOpNum() != other.getOpNum()) return false; } if (!getOpRetListList() .equals(other.getOpRetListList())) 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 (hasOpNum()) { hash = (37 * hash) + OPNUM_FIELD_NUMBER; hash = (53 * hash) + getOpNum(); } if (getOpRetListCount() > 0) { hash = (37 * hash) + OPRETLIST_FIELD_NUMBER; hash = (53 * hash) + getOpRetListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsObjectOpResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectOpResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsObjectOpResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectOpResponse 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.Friendgroup.SnsObjectOpResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectOpResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsObjectOpResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectOpResponse 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.Friendgroup.SnsObjectOpResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectOpResponse 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.Friendgroup.SnsObjectOpResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectOpResponse 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.Friendgroup.SnsObjectOpResponse 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.SnsObjectOpResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsObjectOpResponse) wechat.protobuf.Friendgroup.SnsObjectOpResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsObjectOpResponse.class, wechat.protobuf.Friendgroup.SnsObjectOpResponse.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsObjectOpResponse.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); opNum_ = 0; bitField0_ = (bitField0_ & ~0x00000002); opRetList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpResponse_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOpResponse getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsObjectOpResponse.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOpResponse build() { wechat.protobuf.Friendgroup.SnsObjectOpResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOpResponse buildPartial() { wechat.protobuf.Friendgroup.SnsObjectOpResponse result = new wechat.protobuf.Friendgroup.SnsObjectOpResponse(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.opNum_ = opNum_; to_bitField0_ |= 0x00000002; } if (((bitField0_ & 0x00000004) != 0)) { opRetList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000004); } result.opRetList_ = opRetList_; 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.Friendgroup.SnsObjectOpResponse) { return mergeFrom((wechat.protobuf.Friendgroup.SnsObjectOpResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsObjectOpResponse other) { if (other == wechat.protobuf.Friendgroup.SnsObjectOpResponse.getDefaultInstance()) return this; if (other.hasBaseResponse()) { mergeBaseResponse(other.getBaseResponse()); } if (other.hasOpNum()) { setOpNum(other.getOpNum()); } if (!other.opRetList_.isEmpty()) { if (opRetList_.isEmpty()) { opRetList_ = other.opRetList_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureOpRetListIsMutable(); opRetList_.addAll(other.opRetList_); } 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.Friendgroup.SnsObjectOpResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsObjectOpResponse) 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 opNum_ ; /** * optional uint32 opNum = 2; * @return Whether the opNum field is set. */ @java.lang.Override public boolean hasOpNum() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 opNum = 2; * @return The opNum. */ @java.lang.Override public int getOpNum() { return opNum_; } /** * optional uint32 opNum = 2; * @param value The opNum to set. * @return This builder for chaining. */ public Builder setOpNum(int value) { bitField0_ |= 0x00000002; opNum_ = value; onChanged(); return this; } /** * optional uint32 opNum = 2; * @return This builder for chaining. */ public Builder clearOpNum() { bitField0_ = (bitField0_ & ~0x00000002); opNum_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.IntList opRetList_ = emptyIntList(); private void ensureOpRetListIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { opRetList_ = mutableCopy(opRetList_); bitField0_ |= 0x00000004; } } /** * repeated int32 opRetList = 3; * @return A list containing the opRetList. */ public java.util.List getOpRetListList() { return ((bitField0_ & 0x00000004) != 0) ? java.util.Collections.unmodifiableList(opRetList_) : opRetList_; } /** * repeated int32 opRetList = 3; * @return The count of opRetList. */ public int getOpRetListCount() { return opRetList_.size(); } /** * repeated int32 opRetList = 3; * @param index The index of the element to return. * @return The opRetList at the given index. */ public int getOpRetList(int index) { return opRetList_.getInt(index); } /** * repeated int32 opRetList = 3; * @param index The index to set the value at. * @param value The opRetList to set. * @return This builder for chaining. */ public Builder setOpRetList( int index, int value) { ensureOpRetListIsMutable(); opRetList_.setInt(index, value); onChanged(); return this; } /** * repeated int32 opRetList = 3; * @param value The opRetList to add. * @return This builder for chaining. */ public Builder addOpRetList(int value) { ensureOpRetListIsMutable(); opRetList_.addInt(value); onChanged(); return this; } /** * repeated int32 opRetList = 3; * @param values The opRetList to add. * @return This builder for chaining. */ public Builder addAllOpRetList( java.lang.Iterable values) { ensureOpRetListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, opRetList_); onChanged(); return this; } /** * repeated int32 opRetList = 3; * @return This builder for chaining. */ public Builder clearOpRetList() { opRetList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); 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.SnsObjectOpResponse) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsObjectOpResponse) private static final wechat.protobuf.Friendgroup.SnsObjectOpResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsObjectOpResponse(); } public static wechat.protobuf.Friendgroup.SnsObjectOpResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsObjectOpResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsObjectOpResponse(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.Friendgroup.SnsObjectOpResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsObjectOpOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsObjectOp) com.google.protobuf.MessageOrBuilder { /** * optional uint64 id = 1; * @return Whether the id field is set. */ boolean hasId(); /** * optional uint64 id = 1; * @return The id. */ long getId(); /** * optional uint32 opType = 2; * @return Whether the opType field is set. */ boolean hasOpType(); /** * optional uint32 opType = 2; * @return The opType. */ int getOpType(); /** * optional .wechat_proto.SKBuiltinString_ ext = 3; * @return Whether the ext field is set. */ boolean hasExt(); /** * optional .wechat_proto.SKBuiltinString_ ext = 3; * @return The ext. */ wechat.protobuf.SKBuiltinString_ getExt(); /** * optional .wechat_proto.SKBuiltinString_ ext = 3; */ wechat.protobuf.SKBuiltinString_OrBuilder getExtOrBuilder(); } /** * Protobuf type {@code wechat_proto.SnsObjectOp} */ public static final class SnsObjectOp extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsObjectOp) SnsObjectOpOrBuilder { private static final long serialVersionUID = 0L; // Use SnsObjectOp.newBuilder() to construct. private SnsObjectOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsObjectOp() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsObjectOp(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsObjectOp( 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; id_ = input.readUInt64(); break; } case 16: { bitField0_ |= 0x00000002; opType_ = input.readUInt32(); break; } case 26: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = ext_.toBuilder(); } ext_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(ext_); ext_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; 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.Friendgroup.internal_static_wechat_proto_SnsObjectOp_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOp_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsObjectOp.class, wechat.protobuf.Friendgroup.SnsObjectOp.Builder.class); } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private long id_; /** * optional uint64 id = 1; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint64 id = 1; * @return The id. */ @java.lang.Override public long getId() { return id_; } public static final int OPTYPE_FIELD_NUMBER = 2; private int opType_; /** * optional uint32 opType = 2; * @return Whether the opType field is set. */ @java.lang.Override public boolean hasOpType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 opType = 2; * @return The opType. */ @java.lang.Override public int getOpType() { return opType_; } public static final int EXT_FIELD_NUMBER = 3; private wechat.protobuf.SKBuiltinString_ ext_; /** * optional .wechat_proto.SKBuiltinString_ ext = 3; * @return Whether the ext field is set. */ @java.lang.Override public boolean hasExt() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .wechat_proto.SKBuiltinString_ ext = 3; * @return The ext. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getExt() { return ext_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : ext_; } /** * optional .wechat_proto.SKBuiltinString_ ext = 3; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getExtOrBuilder() { return ext_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : ext_; } 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.writeUInt64(1, id_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, opType_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getExt()); } 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 .computeUInt64Size(1, id_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, opType_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getExt()); } 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.Friendgroup.SnsObjectOp)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsObjectOp other = (wechat.protobuf.Friendgroup.SnsObjectOp) obj; if (hasId() != other.hasId()) return false; if (hasId()) { if (getId() != other.getId()) return false; } if (hasOpType() != other.hasOpType()) return false; if (hasOpType()) { if (getOpType() != other.getOpType()) return false; } if (hasExt() != other.hasExt()) return false; if (hasExt()) { if (!getExt() .equals(other.getExt())) 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 (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getId()); } if (hasOpType()) { hash = (37 * hash) + OPTYPE_FIELD_NUMBER; hash = (53 * hash) + getOpType(); } if (hasExt()) { hash = (37 * hash) + EXT_FIELD_NUMBER; hash = (53 * hash) + getExt().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsObjectOp parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectOp parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsObjectOp parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectOp 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.Friendgroup.SnsObjectOp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectOp parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsObjectOp parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectOp 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.Friendgroup.SnsObjectOp parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectOp 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.Friendgroup.SnsObjectOp parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectOp 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.Friendgroup.SnsObjectOp 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.SnsObjectOp} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsObjectOp) wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOp_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOp_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsObjectOp.class, wechat.protobuf.Friendgroup.SnsObjectOp.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsObjectOp.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExtFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); opType_ = 0; bitField0_ = (bitField0_ & ~0x00000002); if (extBuilder_ == null) { ext_ = null; } else { extBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOp_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOp getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsObjectOp.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOp build() { wechat.protobuf.Friendgroup.SnsObjectOp result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOp buildPartial() { wechat.protobuf.Friendgroup.SnsObjectOp result = new wechat.protobuf.Friendgroup.SnsObjectOp(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.id_ = id_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.opType_ = opType_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (extBuilder_ == null) { result.ext_ = ext_; } else { result.ext_ = extBuilder_.build(); } to_bitField0_ |= 0x00000004; } 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.Friendgroup.SnsObjectOp) { return mergeFrom((wechat.protobuf.Friendgroup.SnsObjectOp)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsObjectOp other) { if (other == wechat.protobuf.Friendgroup.SnsObjectOp.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasOpType()) { setOpType(other.getOpType()); } if (other.hasExt()) { mergeExt(other.getExt()); } 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.Friendgroup.SnsObjectOp parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsObjectOp) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long id_ ; /** * optional uint64 id = 1; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint64 id = 1; * @return The id. */ @java.lang.Override public long getId() { return id_; } /** * optional uint64 id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId(long value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /** * optional uint64 id = 1; * @return This builder for chaining. */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0L; onChanged(); return this; } private int opType_ ; /** * optional uint32 opType = 2; * @return Whether the opType field is set. */ @java.lang.Override public boolean hasOpType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 opType = 2; * @return The opType. */ @java.lang.Override public int getOpType() { return opType_; } /** * optional uint32 opType = 2; * @param value The opType to set. * @return This builder for chaining. */ public Builder setOpType(int value) { bitField0_ |= 0x00000002; opType_ = value; onChanged(); return this; } /** * optional uint32 opType = 2; * @return This builder for chaining. */ public Builder clearOpType() { bitField0_ = (bitField0_ & ~0x00000002); opType_ = 0; onChanged(); return this; } private wechat.protobuf.SKBuiltinString_ ext_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> extBuilder_; /** * optional .wechat_proto.SKBuiltinString_ ext = 3; * @return Whether the ext field is set. */ public boolean hasExt() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .wechat_proto.SKBuiltinString_ ext = 3; * @return The ext. */ public wechat.protobuf.SKBuiltinString_ getExt() { if (extBuilder_ == null) { return ext_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : ext_; } else { return extBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ ext = 3; */ public Builder setExt(wechat.protobuf.SKBuiltinString_ value) { if (extBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ext_ = value; onChanged(); } else { extBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString_ ext = 3; */ public Builder setExt( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (extBuilder_ == null) { ext_ = builderForValue.build(); onChanged(); } else { extBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString_ ext = 3; */ public Builder mergeExt(wechat.protobuf.SKBuiltinString_ value) { if (extBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && ext_ != null && ext_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { ext_ = wechat.protobuf.SKBuiltinString_.newBuilder(ext_).mergeFrom(value).buildPartial(); } else { ext_ = value; } onChanged(); } else { extBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString_ ext = 3; */ public Builder clearExt() { if (extBuilder_ == null) { ext_ = null; onChanged(); } else { extBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .wechat_proto.SKBuiltinString_ ext = 3; */ public wechat.protobuf.SKBuiltinString_.Builder getExtBuilder() { bitField0_ |= 0x00000004; onChanged(); return getExtFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ ext = 3; */ public wechat.protobuf.SKBuiltinString_OrBuilder getExtOrBuilder() { if (extBuilder_ != null) { return extBuilder_.getMessageOrBuilder(); } else { return ext_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : ext_; } } /** * optional .wechat_proto.SKBuiltinString_ ext = 3; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getExtFieldBuilder() { if (extBuilder_ == null) { extBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getExt(), getParentForChildren(), isClean()); ext_ = null; } return extBuilder_; } @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.SnsObjectOp) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsObjectOp) private static final wechat.protobuf.Friendgroup.SnsObjectOp DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsObjectOp(); } public static wechat.protobuf.Friendgroup.SnsObjectOp getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsObjectOp parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsObjectOp(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.Friendgroup.SnsObjectOp getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsObjectOpDeleteCommentOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsObjectOpDeleteComment) com.google.protobuf.MessageOrBuilder { /** * optional uint32 commentId = 1; * @return Whether the commentId field is set. */ boolean hasCommentId(); /** * optional uint32 commentId = 1; * @return The commentId. */ int getCommentId(); } /** * Protobuf type {@code wechat_proto.SnsObjectOpDeleteComment} */ public static final class SnsObjectOpDeleteComment extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsObjectOpDeleteComment) SnsObjectOpDeleteCommentOrBuilder { private static final long serialVersionUID = 0L; // Use SnsObjectOpDeleteComment.newBuilder() to construct. private SnsObjectOpDeleteComment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsObjectOpDeleteComment() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsObjectOpDeleteComment(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsObjectOpDeleteComment( 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; commentId_ = 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.Friendgroup.internal_static_wechat_proto_SnsObjectOpDeleteComment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpDeleteComment_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment.class, wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment.Builder.class); } private int bitField0_; public static final int COMMENTID_FIELD_NUMBER = 1; private int commentId_; /** * optional uint32 commentId = 1; * @return Whether the commentId field is set. */ @java.lang.Override public boolean hasCommentId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 commentId = 1; * @return The commentId. */ @java.lang.Override public int getCommentId() { return commentId_; } 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, commentId_); } 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, commentId_); } 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.Friendgroup.SnsObjectOpDeleteComment)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment other = (wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment) obj; if (hasCommentId() != other.hasCommentId()) return false; if (hasCommentId()) { if (getCommentId() != other.getCommentId()) 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 (hasCommentId()) { hash = (37 * hash) + COMMENTID_FIELD_NUMBER; hash = (53 * hash) + getCommentId(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment 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.Friendgroup.SnsObjectOpDeleteComment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment 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.Friendgroup.SnsObjectOpDeleteComment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment 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.Friendgroup.SnsObjectOpDeleteComment parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment 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.Friendgroup.SnsObjectOpDeleteComment 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.SnsObjectOpDeleteComment} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsObjectOpDeleteComment) wechat.protobuf.Friendgroup.SnsObjectOpDeleteCommentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpDeleteComment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpDeleteComment_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment.class, wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment.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(); commentId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpDeleteComment_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment build() { wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment buildPartial() { wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment result = new wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.commentId_ = commentId_; 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.Friendgroup.SnsObjectOpDeleteComment) { return mergeFrom((wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment other) { if (other == wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment.getDefaultInstance()) return this; if (other.hasCommentId()) { setCommentId(other.getCommentId()); } 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.Friendgroup.SnsObjectOpDeleteComment parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int commentId_ ; /** * optional uint32 commentId = 1; * @return Whether the commentId field is set. */ @java.lang.Override public boolean hasCommentId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 commentId = 1; * @return The commentId. */ @java.lang.Override public int getCommentId() { return commentId_; } /** * optional uint32 commentId = 1; * @param value The commentId to set. * @return This builder for chaining. */ public Builder setCommentId(int value) { bitField0_ |= 0x00000001; commentId_ = value; onChanged(); return this; } /** * optional uint32 commentId = 1; * @return This builder for chaining. */ public Builder clearCommentId() { bitField0_ = (bitField0_ & ~0x00000001); commentId_ = 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.SnsObjectOpDeleteComment) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsObjectOpDeleteComment) private static final wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment(); } public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsObjectOpDeleteComment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsObjectOpDeleteComment(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.Friendgroup.SnsObjectOpDeleteComment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsCommentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsCommentRequest) 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 .wechat_proto.SnsActionGroup action = 2; * @return Whether the action field is set. */ boolean hasAction(); /** * optional .wechat_proto.SnsActionGroup action = 2; * @return The action. */ wechat.protobuf.Syncitem.SnsActionGroup getAction(); /** * optional .wechat_proto.SnsActionGroup action = 2; */ wechat.protobuf.Syncitem.SnsActionGroupOrBuilder getActionOrBuilder(); /** * optional string clientId = 3; * @return Whether the clientId field is set. */ boolean hasClientId(); /** * optional string clientId = 3; * @return The clientId. */ java.lang.String getClientId(); /** * optional string clientId = 3; * @return The bytes for clientId. */ com.google.protobuf.ByteString getClientIdBytes(); } /** * Protobuf type {@code wechat_proto.SnsCommentRequest} */ public static final class SnsCommentRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsCommentRequest) SnsCommentRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SnsCommentRequest.newBuilder() to construct. private SnsCommentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsCommentRequest() { clientId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsCommentRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsCommentRequest( 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: { wechat.protobuf.Syncitem.SnsActionGroup.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = action_.toBuilder(); } action_ = input.readMessage(wechat.protobuf.Syncitem.SnsActionGroup.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(action_); action_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; clientId_ = 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.Friendgroup.internal_static_wechat_proto_SnsCommentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsCommentRequest.class, wechat.protobuf.Friendgroup.SnsCommentRequest.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 ACTION_FIELD_NUMBER = 2; private wechat.protobuf.Syncitem.SnsActionGroup action_; /** * optional .wechat_proto.SnsActionGroup action = 2; * @return Whether the action field is set. */ @java.lang.Override public boolean hasAction() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SnsActionGroup action = 2; * @return The action. */ @java.lang.Override public wechat.protobuf.Syncitem.SnsActionGroup getAction() { return action_ == null ? wechat.protobuf.Syncitem.SnsActionGroup.getDefaultInstance() : action_; } /** * optional .wechat_proto.SnsActionGroup action = 2; */ @java.lang.Override public wechat.protobuf.Syncitem.SnsActionGroupOrBuilder getActionOrBuilder() { return action_ == null ? wechat.protobuf.Syncitem.SnsActionGroup.getDefaultInstance() : action_; } public static final int CLIENTID_FIELD_NUMBER = 3; private volatile java.lang.Object clientId_; /** * optional string clientId = 3; * @return Whether the clientId field is set. */ @java.lang.Override public boolean hasClientId() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string clientId = 3; * @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 = 3; * @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; } } 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.writeMessage(2, getAction()); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clientId_); } 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 .computeMessageSize(2, getAction()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clientId_); } 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.Friendgroup.SnsCommentRequest)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsCommentRequest other = (wechat.protobuf.Friendgroup.SnsCommentRequest) obj; if (hasBaseRequest() != other.hasBaseRequest()) return false; if (hasBaseRequest()) { if (!getBaseRequest() .equals(other.getBaseRequest())) return false; } if (hasAction() != other.hasAction()) return false; if (hasAction()) { if (!getAction() .equals(other.getAction())) return false; } if (hasClientId() != other.hasClientId()) return false; if (hasClientId()) { if (!getClientId() .equals(other.getClientId())) 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 (hasAction()) { hash = (37 * hash) + ACTION_FIELD_NUMBER; hash = (53 * hash) + getAction().hashCode(); } if (hasClientId()) { hash = (37 * hash) + CLIENTID_FIELD_NUMBER; hash = (53 * hash) + getClientId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsCommentRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsCommentRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsCommentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsCommentRequest 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.Friendgroup.SnsCommentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsCommentRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsCommentRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsCommentRequest 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.Friendgroup.SnsCommentRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsCommentRequest 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.Friendgroup.SnsCommentRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsCommentRequest 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.Friendgroup.SnsCommentRequest 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.SnsCommentRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsCommentRequest) wechat.protobuf.Friendgroup.SnsCommentRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsCommentRequest.class, wechat.protobuf.Friendgroup.SnsCommentRequest.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsCommentRequest.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(); getActionFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseRequestBuilder_ == null) { baseRequest_ = null; } else { baseRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (actionBuilder_ == null) { action_ = null; } else { actionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); clientId_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentRequest_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentRequest getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsCommentRequest.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentRequest build() { wechat.protobuf.Friendgroup.SnsCommentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentRequest buildPartial() { wechat.protobuf.Friendgroup.SnsCommentRequest result = new wechat.protobuf.Friendgroup.SnsCommentRequest(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)) { if (actionBuilder_ == null) { result.action_ = action_; } else { result.action_ = actionBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.clientId_ = clientId_; 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.Friendgroup.SnsCommentRequest) { return mergeFrom((wechat.protobuf.Friendgroup.SnsCommentRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsCommentRequest other) { if (other == wechat.protobuf.Friendgroup.SnsCommentRequest.getDefaultInstance()) return this; if (other.hasBaseRequest()) { mergeBaseRequest(other.getBaseRequest()); } if (other.hasAction()) { mergeAction(other.getAction()); } if (other.hasClientId()) { bitField0_ |= 0x00000004; clientId_ = other.clientId_; 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.Friendgroup.SnsCommentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsCommentRequest) 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 wechat.protobuf.Syncitem.SnsActionGroup action_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.SnsActionGroup, wechat.protobuf.Syncitem.SnsActionGroup.Builder, wechat.protobuf.Syncitem.SnsActionGroupOrBuilder> actionBuilder_; /** * optional .wechat_proto.SnsActionGroup action = 2; * @return Whether the action field is set. */ public boolean hasAction() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SnsActionGroup action = 2; * @return The action. */ public wechat.protobuf.Syncitem.SnsActionGroup getAction() { if (actionBuilder_ == null) { return action_ == null ? wechat.protobuf.Syncitem.SnsActionGroup.getDefaultInstance() : action_; } else { return actionBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsActionGroup action = 2; */ public Builder setAction(wechat.protobuf.Syncitem.SnsActionGroup value) { if (actionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } action_ = value; onChanged(); } else { actionBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsActionGroup action = 2; */ public Builder setAction( wechat.protobuf.Syncitem.SnsActionGroup.Builder builderForValue) { if (actionBuilder_ == null) { action_ = builderForValue.build(); onChanged(); } else { actionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsActionGroup action = 2; */ public Builder mergeAction(wechat.protobuf.Syncitem.SnsActionGroup value) { if (actionBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && action_ != null && action_ != wechat.protobuf.Syncitem.SnsActionGroup.getDefaultInstance()) { action_ = wechat.protobuf.Syncitem.SnsActionGroup.newBuilder(action_).mergeFrom(value).buildPartial(); } else { action_ = value; } onChanged(); } else { actionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsActionGroup action = 2; */ public Builder clearAction() { if (actionBuilder_ == null) { action_ = null; onChanged(); } else { actionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SnsActionGroup action = 2; */ public wechat.protobuf.Syncitem.SnsActionGroup.Builder getActionBuilder() { bitField0_ |= 0x00000002; onChanged(); return getActionFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsActionGroup action = 2; */ public wechat.protobuf.Syncitem.SnsActionGroupOrBuilder getActionOrBuilder() { if (actionBuilder_ != null) { return actionBuilder_.getMessageOrBuilder(); } else { return action_ == null ? wechat.protobuf.Syncitem.SnsActionGroup.getDefaultInstance() : action_; } } /** * optional .wechat_proto.SnsActionGroup action = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.SnsActionGroup, wechat.protobuf.Syncitem.SnsActionGroup.Builder, wechat.protobuf.Syncitem.SnsActionGroupOrBuilder> getActionFieldBuilder() { if (actionBuilder_ == null) { actionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.SnsActionGroup, wechat.protobuf.Syncitem.SnsActionGroup.Builder, wechat.protobuf.Syncitem.SnsActionGroupOrBuilder>( getAction(), getParentForChildren(), isClean()); action_ = null; } return actionBuilder_; } private java.lang.Object clientId_ = ""; /** * optional string clientId = 3; * @return Whether the clientId field is set. */ public boolean hasClientId() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string clientId = 3; * @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 = 3; * @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 = 3; * @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_ |= 0x00000004; clientId_ = value; onChanged(); return this; } /** * optional string clientId = 3; * @return This builder for chaining. */ public Builder clearClientId() { bitField0_ = (bitField0_ & ~0x00000004); clientId_ = getDefaultInstance().getClientId(); onChanged(); return this; } /** * optional string clientId = 3; * @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_ |= 0x00000004; clientId_ = 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.SnsCommentRequest) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsCommentRequest) private static final wechat.protobuf.Friendgroup.SnsCommentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsCommentRequest(); } public static wechat.protobuf.Friendgroup.SnsCommentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsCommentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsCommentRequest(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.Friendgroup.SnsCommentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsCommentResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsCommentResponse) 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 .wechat_proto.SnsObject snsObject = 2; * @return Whether the snsObject field is set. */ boolean hasSnsObject(); /** * optional .wechat_proto.SnsObject snsObject = 2; * @return The snsObject. */ wechat.protobuf.Friendgroup.SnsObject getSnsObject(); /** * optional .wechat_proto.SnsObject snsObject = 2; */ wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder(); } /** * Protobuf type {@code wechat_proto.SnsCommentResponse} */ public static final class SnsCommentResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsCommentResponse) SnsCommentResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SnsCommentResponse.newBuilder() to construct. private SnsCommentResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsCommentResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsCommentResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsCommentResponse( 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 18: { wechat.protobuf.Friendgroup.SnsObject.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = snsObject_.toBuilder(); } snsObject_ = input.readMessage(wechat.protobuf.Friendgroup.SnsObject.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(snsObject_); snsObject_ = 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.Friendgroup.internal_static_wechat_proto_SnsCommentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsCommentResponse.class, wechat.protobuf.Friendgroup.SnsCommentResponse.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 SNSOBJECT_FIELD_NUMBER = 2; private wechat.protobuf.Friendgroup.SnsObject snsObject_; /** * optional .wechat_proto.SnsObject snsObject = 2; * @return Whether the snsObject field is set. */ @java.lang.Override public boolean hasSnsObject() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SnsObject snsObject = 2; * @return The snsObject. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsObject getSnsObject() { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } /** * optional .wechat_proto.SnsObject snsObject = 2; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder() { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } 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.writeMessage(2, getSnsObject()); } 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 .computeMessageSize(2, getSnsObject()); } 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.Friendgroup.SnsCommentResponse)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsCommentResponse other = (wechat.protobuf.Friendgroup.SnsCommentResponse) obj; if (hasBaseResponse() != other.hasBaseResponse()) return false; if (hasBaseResponse()) { if (!getBaseResponse() .equals(other.getBaseResponse())) return false; } if (hasSnsObject() != other.hasSnsObject()) return false; if (hasSnsObject()) { if (!getSnsObject() .equals(other.getSnsObject())) 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 (hasSnsObject()) { hash = (37 * hash) + SNSOBJECT_FIELD_NUMBER; hash = (53 * hash) + getSnsObject().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsCommentResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsCommentResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsCommentResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsCommentResponse 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.Friendgroup.SnsCommentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsCommentResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsCommentResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsCommentResponse 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.Friendgroup.SnsCommentResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsCommentResponse 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.Friendgroup.SnsCommentResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsCommentResponse 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.Friendgroup.SnsCommentResponse 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.SnsCommentResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsCommentResponse) wechat.protobuf.Friendgroup.SnsCommentResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsCommentResponse.class, wechat.protobuf.Friendgroup.SnsCommentResponse.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsCommentResponse.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(); getSnsObjectFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseResponseBuilder_ == null) { baseResponse_ = null; } else { baseResponseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (snsObjectBuilder_ == null) { snsObject_ = null; } else { snsObjectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentResponse_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentResponse getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsCommentResponse.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentResponse build() { wechat.protobuf.Friendgroup.SnsCommentResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsCommentResponse buildPartial() { wechat.protobuf.Friendgroup.SnsCommentResponse result = new wechat.protobuf.Friendgroup.SnsCommentResponse(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)) { if (snsObjectBuilder_ == null) { result.snsObject_ = snsObject_; } else { result.snsObject_ = snsObjectBuilder_.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.Friendgroup.SnsCommentResponse) { return mergeFrom((wechat.protobuf.Friendgroup.SnsCommentResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsCommentResponse other) { if (other == wechat.protobuf.Friendgroup.SnsCommentResponse.getDefaultInstance()) return this; if (other.hasBaseResponse()) { mergeBaseResponse(other.getBaseResponse()); } if (other.hasSnsObject()) { mergeSnsObject(other.getSnsObject()); } 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.Friendgroup.SnsCommentResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsCommentResponse) 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 wechat.protobuf.Friendgroup.SnsObject snsObject_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> snsObjectBuilder_; /** * optional .wechat_proto.SnsObject snsObject = 2; * @return Whether the snsObject field is set. */ public boolean hasSnsObject() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SnsObject snsObject = 2; * @return The snsObject. */ public wechat.protobuf.Friendgroup.SnsObject getSnsObject() { if (snsObjectBuilder_ == null) { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } else { return snsObjectBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsObject snsObject = 2; */ public Builder setSnsObject(wechat.protobuf.Friendgroup.SnsObject value) { if (snsObjectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snsObject_ = value; onChanged(); } else { snsObjectBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsObject snsObject = 2; */ public Builder setSnsObject( wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) { if (snsObjectBuilder_ == null) { snsObject_ = builderForValue.build(); onChanged(); } else { snsObjectBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsObject snsObject = 2; */ public Builder mergeSnsObject(wechat.protobuf.Friendgroup.SnsObject value) { if (snsObjectBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && snsObject_ != null && snsObject_ != wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance()) { snsObject_ = wechat.protobuf.Friendgroup.SnsObject.newBuilder(snsObject_).mergeFrom(value).buildPartial(); } else { snsObject_ = value; } onChanged(); } else { snsObjectBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsObject snsObject = 2; */ public Builder clearSnsObject() { if (snsObjectBuilder_ == null) { snsObject_ = null; onChanged(); } else { snsObjectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SnsObject snsObject = 2; */ public wechat.protobuf.Friendgroup.SnsObject.Builder getSnsObjectBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSnsObjectFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsObject snsObject = 2; */ public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder() { if (snsObjectBuilder_ != null) { return snsObjectBuilder_.getMessageOrBuilder(); } else { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } } /** * optional .wechat_proto.SnsObject snsObject = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> getSnsObjectFieldBuilder() { if (snsObjectBuilder_ == null) { snsObjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder>( getSnsObject(), getParentForChildren(), isClean()); snsObject_ = null; } return snsObjectBuilder_; } @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.SnsCommentResponse) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsCommentResponse) private static final wechat.protobuf.Friendgroup.SnsCommentResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsCommentResponse(); } public static wechat.protobuf.Friendgroup.SnsCommentResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsCommentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsCommentResponse(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.Friendgroup.SnsCommentResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ModSnsBlackListOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.ModSnsBlackList) com.google.protobuf.MessageOrBuilder { /** * optional string contactUsername = 1; * @return Whether the contactUsername field is set. */ boolean hasContactUsername(); /** * optional string contactUsername = 1; * @return The contactUsername. */ java.lang.String getContactUsername(); /** * optional string contactUsername = 1; * @return The bytes for contactUsername. */ com.google.protobuf.ByteString getContactUsernameBytes(); /** * optional uint32 modType = 2; * @return Whether the modType field is set. */ boolean hasModType(); /** * optional uint32 modType = 2; * @return The modType. */ int getModType(); } /** * Protobuf type {@code wechat_proto.ModSnsBlackList} */ public static final class ModSnsBlackList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.ModSnsBlackList) ModSnsBlackListOrBuilder { private static final long serialVersionUID = 0L; // Use ModSnsBlackList.newBuilder() to construct. private ModSnsBlackList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ModSnsBlackList() { contactUsername_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ModSnsBlackList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ModSnsBlackList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; contactUsername_ = bs; break; } case 16: { bitField0_ |= 0x00000002; modType_ = 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.Friendgroup.internal_static_wechat_proto_ModSnsBlackList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_ModSnsBlackList_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.ModSnsBlackList.class, wechat.protobuf.Friendgroup.ModSnsBlackList.Builder.class); } private int bitField0_; public static final int CONTACTUSERNAME_FIELD_NUMBER = 1; private volatile java.lang.Object contactUsername_; /** * optional string contactUsername = 1; * @return Whether the contactUsername field is set. */ @java.lang.Override public boolean hasContactUsername() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string contactUsername = 1; * @return The contactUsername. */ @java.lang.Override public java.lang.String getContactUsername() { java.lang.Object ref = contactUsername_; 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()) { contactUsername_ = s; } return s; } } /** * optional string contactUsername = 1; * @return The bytes for contactUsername. */ @java.lang.Override public com.google.protobuf.ByteString getContactUsernameBytes() { java.lang.Object ref = contactUsername_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contactUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MODTYPE_FIELD_NUMBER = 2; private int modType_; /** * optional uint32 modType = 2; * @return Whether the modType field is set. */ @java.lang.Override public boolean hasModType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 modType = 2; * @return The modType. */ @java.lang.Override public int getModType() { return modType_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, contactUsername_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, modType_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, contactUsername_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, modType_); } 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.Friendgroup.ModSnsBlackList)) { return super.equals(obj); } wechat.protobuf.Friendgroup.ModSnsBlackList other = (wechat.protobuf.Friendgroup.ModSnsBlackList) obj; if (hasContactUsername() != other.hasContactUsername()) return false; if (hasContactUsername()) { if (!getContactUsername() .equals(other.getContactUsername())) return false; } if (hasModType() != other.hasModType()) return false; if (hasModType()) { if (getModType() != other.getModType()) 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 (hasContactUsername()) { hash = (37 * hash) + CONTACTUSERNAME_FIELD_NUMBER; hash = (53 * hash) + getContactUsername().hashCode(); } if (hasModType()) { hash = (37 * hash) + MODTYPE_FIELD_NUMBER; hash = (53 * hash) + getModType(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.ModSnsBlackList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.ModSnsBlackList parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.ModSnsBlackList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.ModSnsBlackList 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.Friendgroup.ModSnsBlackList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.ModSnsBlackList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.ModSnsBlackList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.ModSnsBlackList 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.Friendgroup.ModSnsBlackList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.ModSnsBlackList 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.Friendgroup.ModSnsBlackList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.ModSnsBlackList 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.Friendgroup.ModSnsBlackList 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.ModSnsBlackList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.ModSnsBlackList) wechat.protobuf.Friendgroup.ModSnsBlackListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_ModSnsBlackList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_ModSnsBlackList_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.ModSnsBlackList.class, wechat.protobuf.Friendgroup.ModSnsBlackList.Builder.class); } // Construct using wechat.protobuf.Friendgroup.ModSnsBlackList.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(); contactUsername_ = ""; bitField0_ = (bitField0_ & ~0x00000001); modType_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_ModSnsBlackList_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.ModSnsBlackList getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.ModSnsBlackList.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.ModSnsBlackList build() { wechat.protobuf.Friendgroup.ModSnsBlackList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.ModSnsBlackList buildPartial() { wechat.protobuf.Friendgroup.ModSnsBlackList result = new wechat.protobuf.Friendgroup.ModSnsBlackList(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.contactUsername_ = contactUsername_; if (((from_bitField0_ & 0x00000002) != 0)) { result.modType_ = modType_; 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.Friendgroup.ModSnsBlackList) { return mergeFrom((wechat.protobuf.Friendgroup.ModSnsBlackList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.ModSnsBlackList other) { if (other == wechat.protobuf.Friendgroup.ModSnsBlackList.getDefaultInstance()) return this; if (other.hasContactUsername()) { bitField0_ |= 0x00000001; contactUsername_ = other.contactUsername_; onChanged(); } if (other.hasModType()) { setModType(other.getModType()); } 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.Friendgroup.ModSnsBlackList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.ModSnsBlackList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object contactUsername_ = ""; /** * optional string contactUsername = 1; * @return Whether the contactUsername field is set. */ public boolean hasContactUsername() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string contactUsername = 1; * @return The contactUsername. */ public java.lang.String getContactUsername() { java.lang.Object ref = contactUsername_; 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()) { contactUsername_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string contactUsername = 1; * @return The bytes for contactUsername. */ public com.google.protobuf.ByteString getContactUsernameBytes() { java.lang.Object ref = contactUsername_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contactUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string contactUsername = 1; * @param value The contactUsername to set. * @return This builder for chaining. */ public Builder setContactUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; contactUsername_ = value; onChanged(); return this; } /** * optional string contactUsername = 1; * @return This builder for chaining. */ public Builder clearContactUsername() { bitField0_ = (bitField0_ & ~0x00000001); contactUsername_ = getDefaultInstance().getContactUsername(); onChanged(); return this; } /** * optional string contactUsername = 1; * @param value The bytes for contactUsername to set. * @return This builder for chaining. */ public Builder setContactUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; contactUsername_ = value; onChanged(); return this; } private int modType_ ; /** * optional uint32 modType = 2; * @return Whether the modType field is set. */ @java.lang.Override public boolean hasModType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 modType = 2; * @return The modType. */ @java.lang.Override public int getModType() { return modType_; } /** * optional uint32 modType = 2; * @param value The modType to set. * @return This builder for chaining. */ public Builder setModType(int value) { bitField0_ |= 0x00000002; modType_ = value; onChanged(); return this; } /** * optional uint32 modType = 2; * @return This builder for chaining. */ public Builder clearModType() { bitField0_ = (bitField0_ & ~0x00000002); modType_ = 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.ModSnsBlackList) } // @@protoc_insertion_point(class_scope:wechat_proto.ModSnsBlackList) private static final wechat.protobuf.Friendgroup.ModSnsBlackList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.ModSnsBlackList(); } public static wechat.protobuf.Friendgroup.ModSnsBlackList getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ModSnsBlackList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ModSnsBlackList(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.Friendgroup.ModSnsBlackList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsTagMemberOptionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsTagMemberOptionRequest) 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 opCode = 2; * @return Whether the opCode field is set. */ boolean hasOpCode(); /** * optional uint32 opCode = 2; * @return The opCode. */ int getOpCode(); /** * optional uint64 tagId = 3; * @return Whether the tagId field is set. */ boolean hasTagId(); /** * optional uint64 tagId = 3; * @return The tagId. */ long getTagId(); /** * optional string tagName = 4; * @return Whether the tagName field is set. */ boolean hasTagName(); /** * optional string tagName = 4; * @return The tagName. */ java.lang.String getTagName(); /** * optional string tagName = 4; * @return The bytes for tagName. */ com.google.protobuf.ByteString getTagNameBytes(); /** * optional uint32 count = 5; * @return Whether the count field is set. */ boolean hasCount(); /** * optional uint32 count = 5; * @return The count. */ int getCount(); /** * repeated .wechat_proto.SKBuiltinString list = 6; */ java.util.List getListList(); /** * repeated .wechat_proto.SKBuiltinString list = 6; */ wechat.protobuf.SKBuiltinString getList(int index); /** * repeated .wechat_proto.SKBuiltinString list = 6; */ int getListCount(); /** * repeated .wechat_proto.SKBuiltinString list = 6; */ java.util.List getListOrBuilderList(); /** * repeated .wechat_proto.SKBuiltinString list = 6; */ wechat.protobuf.SKBuiltinStringOrBuilder getListOrBuilder( int index); /** * optional uint32 scene = 7; * @return Whether the scene field is set. */ boolean hasScene(); /** * optional uint32 scene = 7; * @return The scene. */ int getScene(); } /** * Protobuf type {@code wechat_proto.SnsTagMemberOptionRequest} */ public static final class SnsTagMemberOptionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsTagMemberOptionRequest) SnsTagMemberOptionRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SnsTagMemberOptionRequest.newBuilder() to construct. private SnsTagMemberOptionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsTagMemberOptionRequest() { tagName_ = ""; list_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsTagMemberOptionRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsTagMemberOptionRequest( 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; opCode_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; tagId_ = input.readUInt64(); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; tagName_ = bs; break; } case 40: { bitField0_ |= 0x00000010; count_ = input.readUInt32(); break; } case 50: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { list_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } list_.add( input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry)); break; } case 56: { bitField0_ |= 0x00000020; scene_ = 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 { if (((mutable_bitField0_ & 0x00000020) != 0)) { list_ = java.util.Collections.unmodifiableList(list_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest.class, wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest.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 OPCODE_FIELD_NUMBER = 2; private int opCode_; /** * optional uint32 opCode = 2; * @return Whether the opCode field is set. */ @java.lang.Override public boolean hasOpCode() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 opCode = 2; * @return The opCode. */ @java.lang.Override public int getOpCode() { return opCode_; } public static final int TAGID_FIELD_NUMBER = 3; private long tagId_; /** * optional uint64 tagId = 3; * @return Whether the tagId field is set. */ @java.lang.Override public boolean hasTagId() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint64 tagId = 3; * @return The tagId. */ @java.lang.Override public long getTagId() { return tagId_; } public static final int TAGNAME_FIELD_NUMBER = 4; private volatile java.lang.Object tagName_; /** * optional string tagName = 4; * @return Whether the tagName field is set. */ @java.lang.Override public boolean hasTagName() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string tagName = 4; * @return The tagName. */ @java.lang.Override public java.lang.String getTagName() { java.lang.Object ref = tagName_; 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()) { tagName_ = s; } return s; } } /** * optional string tagName = 4; * @return The bytes for tagName. */ @java.lang.Override public com.google.protobuf.ByteString getTagNameBytes() { java.lang.Object ref = tagName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tagName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COUNT_FIELD_NUMBER = 5; private int count_; /** * optional uint32 count = 5; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 count = 5; * @return The count. */ @java.lang.Override public int getCount() { return count_; } public static final int LIST_FIELD_NUMBER = 6; private java.util.List list_; /** * repeated .wechat_proto.SKBuiltinString list = 6; */ @java.lang.Override public java.util.List getListList() { return list_; } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ @java.lang.Override public java.util.List getListOrBuilderList() { return list_; } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ @java.lang.Override public int getListCount() { return list_.size(); } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ @java.lang.Override public wechat.protobuf.SKBuiltinString getList(int index) { return list_.get(index); } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder getListOrBuilder( int index) { return list_.get(index); } public static final int SCENE_FIELD_NUMBER = 7; private int scene_; /** * optional uint32 scene = 7; * @return Whether the scene field is set. */ @java.lang.Override public boolean hasScene() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 scene = 7; * @return The scene. */ @java.lang.Override public int getScene() { return scene_; } 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, opCode_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt64(3, tagId_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, tagName_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, count_); } for (int i = 0; i < list_.size(); i++) { output.writeMessage(6, list_.get(i)); } if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(7, scene_); } 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, opCode_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, tagId_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, tagName_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, count_); } for (int i = 0; i < list_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, list_.get(i)); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, scene_); } 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.Friendgroup.SnsTagMemberOptionRequest)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest other = (wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest) obj; if (hasBaseRequest() != other.hasBaseRequest()) return false; if (hasBaseRequest()) { if (!getBaseRequest() .equals(other.getBaseRequest())) return false; } if (hasOpCode() != other.hasOpCode()) return false; if (hasOpCode()) { if (getOpCode() != other.getOpCode()) return false; } if (hasTagId() != other.hasTagId()) return false; if (hasTagId()) { if (getTagId() != other.getTagId()) return false; } if (hasTagName() != other.hasTagName()) return false; if (hasTagName()) { if (!getTagName() .equals(other.getTagName())) return false; } if (hasCount() != other.hasCount()) return false; if (hasCount()) { if (getCount() != other.getCount()) return false; } if (!getListList() .equals(other.getListList())) return false; if (hasScene() != other.hasScene()) return false; if (hasScene()) { if (getScene() != other.getScene()) 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 (hasOpCode()) { hash = (37 * hash) + OPCODE_FIELD_NUMBER; hash = (53 * hash) + getOpCode(); } if (hasTagId()) { hash = (37 * hash) + TAGID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTagId()); } if (hasTagName()) { hash = (37 * hash) + TAGNAME_FIELD_NUMBER; hash = (53 * hash) + getTagName().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(); } if (hasScene()) { hash = (37 * hash) + SCENE_FIELD_NUMBER; hash = (53 * hash) + getScene(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest 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.Friendgroup.SnsTagMemberOptionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest 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.Friendgroup.SnsTagMemberOptionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest 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.Friendgroup.SnsTagMemberOptionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest 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.Friendgroup.SnsTagMemberOptionRequest 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.SnsTagMemberOptionRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsTagMemberOptionRequest) wechat.protobuf.Friendgroup.SnsTagMemberOptionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest.class, wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest.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(); getListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseRequestBuilder_ == null) { baseRequest_ = null; } else { baseRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); opCode_ = 0; bitField0_ = (bitField0_ & ~0x00000002); tagId_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); tagName_ = ""; bitField0_ = (bitField0_ & ~0x00000008); count_ = 0; bitField0_ = (bitField0_ & ~0x00000010); if (listBuilder_ == null) { list_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); } else { listBuilder_.clear(); } scene_ = 0; bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionRequest_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest build() { wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest buildPartial() { wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest result = new wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest(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.opCode_ = opCode_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.tagId_ = tagId_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.tagName_ = tagName_; if (((from_bitField0_ & 0x00000010) != 0)) { result.count_ = count_; to_bitField0_ |= 0x00000010; } if (listBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { list_ = java.util.Collections.unmodifiableList(list_); bitField0_ = (bitField0_ & ~0x00000020); } result.list_ = list_; } else { result.list_ = listBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.scene_ = scene_; 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.Friendgroup.SnsTagMemberOptionRequest) { return mergeFrom((wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest other) { if (other == wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest.getDefaultInstance()) return this; if (other.hasBaseRequest()) { mergeBaseRequest(other.getBaseRequest()); } if (other.hasOpCode()) { setOpCode(other.getOpCode()); } if (other.hasTagId()) { setTagId(other.getTagId()); } if (other.hasTagName()) { bitField0_ |= 0x00000008; tagName_ = other.tagName_; onChanged(); } if (other.hasCount()) { setCount(other.getCount()); } if (listBuilder_ == null) { if (!other.list_.isEmpty()) { if (list_.isEmpty()) { list_ = other.list_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureListIsMutable(); list_.addAll(other.list_); } onChanged(); } } else { if (!other.list_.isEmpty()) { if (listBuilder_.isEmpty()) { listBuilder_.dispose(); listBuilder_ = null; list_ = other.list_; bitField0_ = (bitField0_ & ~0x00000020); listBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getListFieldBuilder() : null; } else { listBuilder_.addAllMessages(other.list_); } } } if (other.hasScene()) { setScene(other.getScene()); } 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.Friendgroup.SnsTagMemberOptionRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest) 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 opCode_ ; /** * optional uint32 opCode = 2; * @return Whether the opCode field is set. */ @java.lang.Override public boolean hasOpCode() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 opCode = 2; * @return The opCode. */ @java.lang.Override public int getOpCode() { return opCode_; } /** * optional uint32 opCode = 2; * @param value The opCode to set. * @return This builder for chaining. */ public Builder setOpCode(int value) { bitField0_ |= 0x00000002; opCode_ = value; onChanged(); return this; } /** * optional uint32 opCode = 2; * @return This builder for chaining. */ public Builder clearOpCode() { bitField0_ = (bitField0_ & ~0x00000002); opCode_ = 0; onChanged(); return this; } private long tagId_ ; /** * optional uint64 tagId = 3; * @return Whether the tagId field is set. */ @java.lang.Override public boolean hasTagId() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint64 tagId = 3; * @return The tagId. */ @java.lang.Override public long getTagId() { return tagId_; } /** * optional uint64 tagId = 3; * @param value The tagId to set. * @return This builder for chaining. */ public Builder setTagId(long value) { bitField0_ |= 0x00000004; tagId_ = value; onChanged(); return this; } /** * optional uint64 tagId = 3; * @return This builder for chaining. */ public Builder clearTagId() { bitField0_ = (bitField0_ & ~0x00000004); tagId_ = 0L; onChanged(); return this; } private java.lang.Object tagName_ = ""; /** * optional string tagName = 4; * @return Whether the tagName field is set. */ public boolean hasTagName() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string tagName = 4; * @return The tagName. */ public java.lang.String getTagName() { java.lang.Object ref = tagName_; 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()) { tagName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string tagName = 4; * @return The bytes for tagName. */ public com.google.protobuf.ByteString getTagNameBytes() { java.lang.Object ref = tagName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tagName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string tagName = 4; * @param value The tagName to set. * @return This builder for chaining. */ public Builder setTagName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; tagName_ = value; onChanged(); return this; } /** * optional string tagName = 4; * @return This builder for chaining. */ public Builder clearTagName() { bitField0_ = (bitField0_ & ~0x00000008); tagName_ = getDefaultInstance().getTagName(); onChanged(); return this; } /** * optional string tagName = 4; * @param value The bytes for tagName to set. * @return This builder for chaining. */ public Builder setTagNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; tagName_ = value; onChanged(); return this; } private int count_ ; /** * optional uint32 count = 5; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 count = 5; * @return The count. */ @java.lang.Override public int getCount() { return count_; } /** * optional uint32 count = 5; * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { bitField0_ |= 0x00000010; count_ = value; onChanged(); return this; } /** * optional uint32 count = 5; * @return This builder for chaining. */ public Builder clearCount() { bitField0_ = (bitField0_ & ~0x00000010); count_ = 0; onChanged(); return this; } private java.util.List list_ = java.util.Collections.emptyList(); private void ensureListIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { list_ = new java.util.ArrayList(list_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> listBuilder_; /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public java.util.List getListList() { if (listBuilder_ == null) { return java.util.Collections.unmodifiableList(list_); } else { return listBuilder_.getMessageList(); } } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public int getListCount() { if (listBuilder_ == null) { return list_.size(); } else { return listBuilder_.getCount(); } } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public wechat.protobuf.SKBuiltinString getList(int index) { if (listBuilder_ == null) { return list_.get(index); } else { return listBuilder_.getMessage(index); } } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public Builder setList( int index, wechat.protobuf.SKBuiltinString 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.SKBuiltinString list = 6; */ public Builder setList( int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.set(index, builderForValue.build()); onChanged(); } else { listBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public Builder addList(wechat.protobuf.SKBuiltinString value) { if (listBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListIsMutable(); list_.add(value); onChanged(); } else { listBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public Builder addList( int index, wechat.protobuf.SKBuiltinString 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.SKBuiltinString list = 6; */ public Builder addList( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.add(builderForValue.build()); onChanged(); } else { listBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public Builder addList( int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.add(index, builderForValue.build()); onChanged(); } else { listBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public Builder addAllList( java.lang.Iterable values) { if (listBuilder_ == null) { ensureListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, list_); onChanged(); } else { listBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public Builder clearList() { if (listBuilder_ == null) { list_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { listBuilder_.clear(); } return this; } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public Builder removeList(int index) { if (listBuilder_ == null) { ensureListIsMutable(); list_.remove(index); onChanged(); } else { listBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public wechat.protobuf.SKBuiltinString.Builder getListBuilder( int index) { return getListFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public wechat.protobuf.SKBuiltinStringOrBuilder getListOrBuilder( int index) { if (listBuilder_ == null) { return list_.get(index); } else { return listBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public java.util.List getListOrBuilderList() { if (listBuilder_ != null) { return listBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(list_); } } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public wechat.protobuf.SKBuiltinString.Builder addListBuilder() { return getListFieldBuilder().addBuilder( wechat.protobuf.SKBuiltinString.getDefaultInstance()); } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public wechat.protobuf.SKBuiltinString.Builder addListBuilder( int index) { return getListFieldBuilder().addBuilder( index, wechat.protobuf.SKBuiltinString.getDefaultInstance()); } /** * repeated .wechat_proto.SKBuiltinString list = 6; */ public java.util.List getListBuilderList() { return getListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getListFieldBuilder() { if (listBuilder_ == null) { listBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( list_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); list_ = null; } return listBuilder_; } private int scene_ ; /** * optional uint32 scene = 7; * @return Whether the scene field is set. */ @java.lang.Override public boolean hasScene() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 scene = 7; * @return The scene. */ @java.lang.Override public int getScene() { return scene_; } /** * optional uint32 scene = 7; * @param value The scene to set. * @return This builder for chaining. */ public Builder setScene(int value) { bitField0_ |= 0x00000040; scene_ = value; onChanged(); return this; } /** * optional uint32 scene = 7; * @return This builder for chaining. */ public Builder clearScene() { bitField0_ = (bitField0_ & ~0x00000040); scene_ = 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.SnsTagMemberOptionRequest) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsTagMemberOptionRequest) private static final wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest(); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsTagMemberOptionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsTagMemberOptionRequest(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.Friendgroup.SnsTagMemberOptionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsTagMemberOptionResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsTagMemberOptionResponse) 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 .wechat_proto.SnsTag snsTag = 2; * @return Whether the snsTag field is set. */ boolean hasSnsTag(); /** * optional .wechat_proto.SnsTag snsTag = 2; * @return The snsTag. */ wechat.protobuf.Friendgroup.SnsTag getSnsTag(); /** * optional .wechat_proto.SnsTag snsTag = 2; */ wechat.protobuf.Friendgroup.SnsTagOrBuilder getSnsTagOrBuilder(); } /** * Protobuf type {@code wechat_proto.SnsTagMemberOptionResponse} */ public static final class SnsTagMemberOptionResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsTagMemberOptionResponse) SnsTagMemberOptionResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SnsTagMemberOptionResponse.newBuilder() to construct. private SnsTagMemberOptionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsTagMemberOptionResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsTagMemberOptionResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsTagMemberOptionResponse( 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 18: { wechat.protobuf.Friendgroup.SnsTag.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = snsTag_.toBuilder(); } snsTag_ = input.readMessage(wechat.protobuf.Friendgroup.SnsTag.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(snsTag_); snsTag_ = 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.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse.class, wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse.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 SNSTAG_FIELD_NUMBER = 2; private wechat.protobuf.Friendgroup.SnsTag snsTag_; /** * optional .wechat_proto.SnsTag snsTag = 2; * @return Whether the snsTag field is set. */ @java.lang.Override public boolean hasSnsTag() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SnsTag snsTag = 2; * @return The snsTag. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsTag getSnsTag() { return snsTag_ == null ? wechat.protobuf.Friendgroup.SnsTag.getDefaultInstance() : snsTag_; } /** * optional .wechat_proto.SnsTag snsTag = 2; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsTagOrBuilder getSnsTagOrBuilder() { return snsTag_ == null ? wechat.protobuf.Friendgroup.SnsTag.getDefaultInstance() : snsTag_; } 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.writeMessage(2, getSnsTag()); } 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 .computeMessageSize(2, getSnsTag()); } 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.Friendgroup.SnsTagMemberOptionResponse)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse other = (wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse) obj; if (hasBaseResponse() != other.hasBaseResponse()) return false; if (hasBaseResponse()) { if (!getBaseResponse() .equals(other.getBaseResponse())) return false; } if (hasSnsTag() != other.hasSnsTag()) return false; if (hasSnsTag()) { if (!getSnsTag() .equals(other.getSnsTag())) 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 (hasSnsTag()) { hash = (37 * hash) + SNSTAG_FIELD_NUMBER; hash = (53 * hash) + getSnsTag().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse 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.Friendgroup.SnsTagMemberOptionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse 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.Friendgroup.SnsTagMemberOptionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse 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.Friendgroup.SnsTagMemberOptionResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse 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.Friendgroup.SnsTagMemberOptionResponse 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.SnsTagMemberOptionResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsTagMemberOptionResponse) wechat.protobuf.Friendgroup.SnsTagMemberOptionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse.class, wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse.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(); getSnsTagFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseResponseBuilder_ == null) { baseResponse_ = null; } else { baseResponseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (snsTagBuilder_ == null) { snsTag_ = null; } else { snsTagBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionResponse_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse build() { wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse buildPartial() { wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse result = new wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse(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)) { if (snsTagBuilder_ == null) { result.snsTag_ = snsTag_; } else { result.snsTag_ = snsTagBuilder_.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.Friendgroup.SnsTagMemberOptionResponse) { return mergeFrom((wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse other) { if (other == wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse.getDefaultInstance()) return this; if (other.hasBaseResponse()) { mergeBaseResponse(other.getBaseResponse()); } if (other.hasSnsTag()) { mergeSnsTag(other.getSnsTag()); } 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.Friendgroup.SnsTagMemberOptionResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse) 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 wechat.protobuf.Friendgroup.SnsTag snsTag_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsTag, wechat.protobuf.Friendgroup.SnsTag.Builder, wechat.protobuf.Friendgroup.SnsTagOrBuilder> snsTagBuilder_; /** * optional .wechat_proto.SnsTag snsTag = 2; * @return Whether the snsTag field is set. */ public boolean hasSnsTag() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SnsTag snsTag = 2; * @return The snsTag. */ public wechat.protobuf.Friendgroup.SnsTag getSnsTag() { if (snsTagBuilder_ == null) { return snsTag_ == null ? wechat.protobuf.Friendgroup.SnsTag.getDefaultInstance() : snsTag_; } else { return snsTagBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsTag snsTag = 2; */ public Builder setSnsTag(wechat.protobuf.Friendgroup.SnsTag value) { if (snsTagBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snsTag_ = value; onChanged(); } else { snsTagBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsTag snsTag = 2; */ public Builder setSnsTag( wechat.protobuf.Friendgroup.SnsTag.Builder builderForValue) { if (snsTagBuilder_ == null) { snsTag_ = builderForValue.build(); onChanged(); } else { snsTagBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsTag snsTag = 2; */ public Builder mergeSnsTag(wechat.protobuf.Friendgroup.SnsTag value) { if (snsTagBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && snsTag_ != null && snsTag_ != wechat.protobuf.Friendgroup.SnsTag.getDefaultInstance()) { snsTag_ = wechat.protobuf.Friendgroup.SnsTag.newBuilder(snsTag_).mergeFrom(value).buildPartial(); } else { snsTag_ = value; } onChanged(); } else { snsTagBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsTag snsTag = 2; */ public Builder clearSnsTag() { if (snsTagBuilder_ == null) { snsTag_ = null; onChanged(); } else { snsTagBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SnsTag snsTag = 2; */ public wechat.protobuf.Friendgroup.SnsTag.Builder getSnsTagBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSnsTagFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsTag snsTag = 2; */ public wechat.protobuf.Friendgroup.SnsTagOrBuilder getSnsTagOrBuilder() { if (snsTagBuilder_ != null) { return snsTagBuilder_.getMessageOrBuilder(); } else { return snsTag_ == null ? wechat.protobuf.Friendgroup.SnsTag.getDefaultInstance() : snsTag_; } } /** * optional .wechat_proto.SnsTag snsTag = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsTag, wechat.protobuf.Friendgroup.SnsTag.Builder, wechat.protobuf.Friendgroup.SnsTagOrBuilder> getSnsTagFieldBuilder() { if (snsTagBuilder_ == null) { snsTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsTag, wechat.protobuf.Friendgroup.SnsTag.Builder, wechat.protobuf.Friendgroup.SnsTagOrBuilder>( getSnsTag(), getParentForChildren(), isClean()); snsTag_ = null; } return snsTagBuilder_; } @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.SnsTagMemberOptionResponse) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsTagMemberOptionResponse) private static final wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse(); } public static wechat.protobuf.Friendgroup.SnsTagMemberOptionResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsTagMemberOptionResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsTagMemberOptionResponse(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.Friendgroup.SnsTagMemberOptionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsTagOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsTag) com.google.protobuf.MessageOrBuilder { /** * optional uint64 tagId = 1; * @return Whether the tagId field is set. */ boolean hasTagId(); /** * optional uint64 tagId = 1; * @return The tagId. */ long getTagId(); /** * optional string tagName = 2; * @return Whether the tagName field is set. */ boolean hasTagName(); /** * optional string tagName = 2; * @return The tagName. */ java.lang.String getTagName(); /** * optional string tagName = 2; * @return The bytes for tagName. */ com.google.protobuf.ByteString getTagNameBytes(); /** * optional uint32 count = 3; * @return Whether the count field is set. */ boolean hasCount(); /** * optional uint32 count = 3; * @return The count. */ int getCount(); /** * repeated .wechat_proto.SKBuiltinString list = 4; */ java.util.List getListList(); /** * repeated .wechat_proto.SKBuiltinString list = 4; */ wechat.protobuf.SKBuiltinString getList(int index); /** * repeated .wechat_proto.SKBuiltinString list = 4; */ int getListCount(); /** * repeated .wechat_proto.SKBuiltinString list = 4; */ java.util.List getListOrBuilderList(); /** * repeated .wechat_proto.SKBuiltinString list = 4; */ wechat.protobuf.SKBuiltinStringOrBuilder getListOrBuilder( int index); } /** * Protobuf type {@code wechat_proto.SnsTag} */ public static final class SnsTag extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsTag) SnsTagOrBuilder { private static final long serialVersionUID = 0L; // Use SnsTag.newBuilder() to construct. private SnsTag(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsTag() { tagName_ = ""; list_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsTag(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsTag( 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; tagId_ = input.readUInt64(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; tagName_ = bs; break; } case 24: { bitField0_ |= 0x00000004; count_ = input.readUInt32(); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { list_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } list_.add( input.readMessage(wechat.protobuf.SKBuiltinString.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_ & 0x00000008) != 0)) { list_ = java.util.Collections.unmodifiableList(list_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTag_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTag_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsTag.class, wechat.protobuf.Friendgroup.SnsTag.Builder.class); } private int bitField0_; public static final int TAGID_FIELD_NUMBER = 1; private long tagId_; /** * optional uint64 tagId = 1; * @return Whether the tagId field is set. */ @java.lang.Override public boolean hasTagId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint64 tagId = 1; * @return The tagId. */ @java.lang.Override public long getTagId() { return tagId_; } public static final int TAGNAME_FIELD_NUMBER = 2; private volatile java.lang.Object tagName_; /** * optional string tagName = 2; * @return Whether the tagName field is set. */ @java.lang.Override public boolean hasTagName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string tagName = 2; * @return The tagName. */ @java.lang.Override public java.lang.String getTagName() { java.lang.Object ref = tagName_; 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()) { tagName_ = s; } return s; } } /** * optional string tagName = 2; * @return The bytes for tagName. */ @java.lang.Override public com.google.protobuf.ByteString getTagNameBytes() { java.lang.Object ref = tagName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tagName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COUNT_FIELD_NUMBER = 3; private int count_; /** * optional uint32 count = 3; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 count = 3; * @return The count. */ @java.lang.Override public int getCount() { return count_; } public static final int LIST_FIELD_NUMBER = 4; private java.util.List list_; /** * repeated .wechat_proto.SKBuiltinString list = 4; */ @java.lang.Override public java.util.List getListList() { return list_; } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ @java.lang.Override public java.util.List getListOrBuilderList() { return list_; } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ @java.lang.Override public int getListCount() { return list_.size(); } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ @java.lang.Override public wechat.protobuf.SKBuiltinString getList(int index) { return list_.get(index); } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder 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.writeUInt64(1, tagId_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tagName_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, count_); } for (int i = 0; i < list_.size(); i++) { output.writeMessage(4, 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 .computeUInt64Size(1, tagId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, count_); } for (int i = 0; i < list_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, 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.Friendgroup.SnsTag)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsTag other = (wechat.protobuf.Friendgroup.SnsTag) obj; if (hasTagId() != other.hasTagId()) return false; if (hasTagId()) { if (getTagId() != other.getTagId()) return false; } if (hasTagName() != other.hasTagName()) return false; if (hasTagName()) { if (!getTagName() .equals(other.getTagName())) 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 (hasTagId()) { hash = (37 * hash) + TAGID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTagId()); } if (hasTagName()) { hash = (37 * hash) + TAGNAME_FIELD_NUMBER; hash = (53 * hash) + getTagName().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.Friendgroup.SnsTag parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTag parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsTag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTag 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.Friendgroup.SnsTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTag parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsTag parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTag 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.Friendgroup.SnsTag parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTag 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.Friendgroup.SnsTag parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTag 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.Friendgroup.SnsTag 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.SnsTag} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsTag) wechat.protobuf.Friendgroup.SnsTagOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTag_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTag_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsTag.class, wechat.protobuf.Friendgroup.SnsTag.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsTag.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); tagId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); tagName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); count_ = 0; bitField0_ = (bitField0_ & ~0x00000004); if (listBuilder_ == null) { list_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { listBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTag_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTag getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsTag.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTag build() { wechat.protobuf.Friendgroup.SnsTag result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTag buildPartial() { wechat.protobuf.Friendgroup.SnsTag result = new wechat.protobuf.Friendgroup.SnsTag(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.tagId_ = tagId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.tagName_ = tagName_; if (((from_bitField0_ & 0x00000004) != 0)) { result.count_ = count_; to_bitField0_ |= 0x00000004; } if (listBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { list_ = java.util.Collections.unmodifiableList(list_); bitField0_ = (bitField0_ & ~0x00000008); } 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.Friendgroup.SnsTag) { return mergeFrom((wechat.protobuf.Friendgroup.SnsTag)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsTag other) { if (other == wechat.protobuf.Friendgroup.SnsTag.getDefaultInstance()) return this; if (other.hasTagId()) { setTagId(other.getTagId()); } if (other.hasTagName()) { bitField0_ |= 0x00000002; tagName_ = other.tagName_; onChanged(); } if (other.hasCount()) { setCount(other.getCount()); } if (listBuilder_ == null) { if (!other.list_.isEmpty()) { if (list_.isEmpty()) { list_ = other.list_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureListIsMutable(); list_.addAll(other.list_); } onChanged(); } } else { if (!other.list_.isEmpty()) { if (listBuilder_.isEmpty()) { listBuilder_.dispose(); listBuilder_ = null; list_ = other.list_; bitField0_ = (bitField0_ & ~0x00000008); 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.Friendgroup.SnsTag parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsTag) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long tagId_ ; /** * optional uint64 tagId = 1; * @return Whether the tagId field is set. */ @java.lang.Override public boolean hasTagId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint64 tagId = 1; * @return The tagId. */ @java.lang.Override public long getTagId() { return tagId_; } /** * optional uint64 tagId = 1; * @param value The tagId to set. * @return This builder for chaining. */ public Builder setTagId(long value) { bitField0_ |= 0x00000001; tagId_ = value; onChanged(); return this; } /** * optional uint64 tagId = 1; * @return This builder for chaining. */ public Builder clearTagId() { bitField0_ = (bitField0_ & ~0x00000001); tagId_ = 0L; onChanged(); return this; } private java.lang.Object tagName_ = ""; /** * optional string tagName = 2; * @return Whether the tagName field is set. */ public boolean hasTagName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string tagName = 2; * @return The tagName. */ public java.lang.String getTagName() { java.lang.Object ref = tagName_; 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()) { tagName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string tagName = 2; * @return The bytes for tagName. */ public com.google.protobuf.ByteString getTagNameBytes() { java.lang.Object ref = tagName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tagName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string tagName = 2; * @param value The tagName to set. * @return This builder for chaining. */ public Builder setTagName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; tagName_ = value; onChanged(); return this; } /** * optional string tagName = 2; * @return This builder for chaining. */ public Builder clearTagName() { bitField0_ = (bitField0_ & ~0x00000002); tagName_ = getDefaultInstance().getTagName(); onChanged(); return this; } /** * optional string tagName = 2; * @param value The bytes for tagName to set. * @return This builder for chaining. */ public Builder setTagNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; tagName_ = value; onChanged(); return this; } private int count_ ; /** * optional uint32 count = 3; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 count = 3; * @return The count. */ @java.lang.Override public int getCount() { return count_; } /** * optional uint32 count = 3; * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { bitField0_ |= 0x00000004; count_ = value; onChanged(); return this; } /** * optional uint32 count = 3; * @return This builder for chaining. */ public Builder clearCount() { bitField0_ = (bitField0_ & ~0x00000004); count_ = 0; onChanged(); return this; } private java.util.List list_ = java.util.Collections.emptyList(); private void ensureListIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { list_ = new java.util.ArrayList(list_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> listBuilder_; /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public java.util.List getListList() { if (listBuilder_ == null) { return java.util.Collections.unmodifiableList(list_); } else { return listBuilder_.getMessageList(); } } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public int getListCount() { if (listBuilder_ == null) { return list_.size(); } else { return listBuilder_.getCount(); } } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public wechat.protobuf.SKBuiltinString getList(int index) { if (listBuilder_ == null) { return list_.get(index); } else { return listBuilder_.getMessage(index); } } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public Builder setList( int index, wechat.protobuf.SKBuiltinString 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.SKBuiltinString list = 4; */ public Builder setList( int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.set(index, builderForValue.build()); onChanged(); } else { listBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public Builder addList(wechat.protobuf.SKBuiltinString value) { if (listBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListIsMutable(); list_.add(value); onChanged(); } else { listBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public Builder addList( int index, wechat.protobuf.SKBuiltinString 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.SKBuiltinString list = 4; */ public Builder addList( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.add(builderForValue.build()); onChanged(); } else { listBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public Builder addList( int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.add(index, builderForValue.build()); onChanged(); } else { listBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public Builder addAllList( java.lang.Iterable values) { if (listBuilder_ == null) { ensureListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, list_); onChanged(); } else { listBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public Builder clearList() { if (listBuilder_ == null) { list_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { listBuilder_.clear(); } return this; } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public Builder removeList(int index) { if (listBuilder_ == null) { ensureListIsMutable(); list_.remove(index); onChanged(); } else { listBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public wechat.protobuf.SKBuiltinString.Builder getListBuilder( int index) { return getListFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public wechat.protobuf.SKBuiltinStringOrBuilder getListOrBuilder( int index) { if (listBuilder_ == null) { return list_.get(index); } else { return listBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public java.util.List getListOrBuilderList() { if (listBuilder_ != null) { return listBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(list_); } } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public wechat.protobuf.SKBuiltinString.Builder addListBuilder() { return getListFieldBuilder().addBuilder( wechat.protobuf.SKBuiltinString.getDefaultInstance()); } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public wechat.protobuf.SKBuiltinString.Builder addListBuilder( int index) { return getListFieldBuilder().addBuilder( index, wechat.protobuf.SKBuiltinString.getDefaultInstance()); } /** * repeated .wechat_proto.SKBuiltinString list = 4; */ public java.util.List getListBuilderList() { return getListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getListFieldBuilder() { if (listBuilder_ == null) { listBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( list_, ((bitField0_ & 0x00000008) != 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.SnsTag) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsTag) private static final wechat.protobuf.Friendgroup.SnsTag DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsTag(); } public static wechat.protobuf.Friendgroup.SnsTag getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsTag parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsTag(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.Friendgroup.SnsTag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsTagListRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsTagListRequest) 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 opCode = 2; * @return Whether the opCode field is set. */ boolean hasOpCode(); /** * optional uint32 opCode = 2; * @return The opCode. */ int getOpCode(); /** * optional string tagListMd5 = 3; * @return Whether the tagListMd5 field is set. */ boolean hasTagListMd5(); /** * optional string tagListMd5 = 3; * @return The tagListMd5. */ java.lang.String getTagListMd5(); /** * optional string tagListMd5 = 3; * @return The bytes for tagListMd5. */ com.google.protobuf.ByteString getTagListMd5Bytes(); } /** * Protobuf type {@code wechat_proto.SnsTagListRequest} */ public static final class SnsTagListRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsTagListRequest) SnsTagListRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SnsTagListRequest.newBuilder() to construct. private SnsTagListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsTagListRequest() { tagListMd5_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsTagListRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsTagListRequest( 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; opCode_ = input.readUInt32(); break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; tagListMd5_ = 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.Friendgroup.internal_static_wechat_proto_SnsTagListRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagListRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsTagListRequest.class, wechat.protobuf.Friendgroup.SnsTagListRequest.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 OPCODE_FIELD_NUMBER = 2; private int opCode_; /** * optional uint32 opCode = 2; * @return Whether the opCode field is set. */ @java.lang.Override public boolean hasOpCode() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 opCode = 2; * @return The opCode. */ @java.lang.Override public int getOpCode() { return opCode_; } public static final int TAGLISTMD5_FIELD_NUMBER = 3; private volatile java.lang.Object tagListMd5_; /** * optional string tagListMd5 = 3; * @return Whether the tagListMd5 field is set. */ @java.lang.Override public boolean hasTagListMd5() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string tagListMd5 = 3; * @return The tagListMd5. */ @java.lang.Override public java.lang.String getTagListMd5() { java.lang.Object ref = tagListMd5_; 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()) { tagListMd5_ = s; } return s; } } /** * optional string tagListMd5 = 3; * @return The bytes for tagListMd5. */ @java.lang.Override public com.google.protobuf.ByteString getTagListMd5Bytes() { java.lang.Object ref = tagListMd5_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tagListMd5_ = 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)) { output.writeUInt32(2, opCode_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tagListMd5_); } 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, opCode_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tagListMd5_); } 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.Friendgroup.SnsTagListRequest)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsTagListRequest other = (wechat.protobuf.Friendgroup.SnsTagListRequest) obj; if (hasBaseRequest() != other.hasBaseRequest()) return false; if (hasBaseRequest()) { if (!getBaseRequest() .equals(other.getBaseRequest())) return false; } if (hasOpCode() != other.hasOpCode()) return false; if (hasOpCode()) { if (getOpCode() != other.getOpCode()) return false; } if (hasTagListMd5() != other.hasTagListMd5()) return false; if (hasTagListMd5()) { if (!getTagListMd5() .equals(other.getTagListMd5())) 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 (hasOpCode()) { hash = (37 * hash) + OPCODE_FIELD_NUMBER; hash = (53 * hash) + getOpCode(); } if (hasTagListMd5()) { hash = (37 * hash) + TAGLISTMD5_FIELD_NUMBER; hash = (53 * hash) + getTagListMd5().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsTagListRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTagListRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsTagListRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTagListRequest 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.Friendgroup.SnsTagListRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTagListRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsTagListRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTagListRequest 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.Friendgroup.SnsTagListRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTagListRequest 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.Friendgroup.SnsTagListRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTagListRequest 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.Friendgroup.SnsTagListRequest 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.SnsTagListRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsTagListRequest) wechat.protobuf.Friendgroup.SnsTagListRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagListRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagListRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsTagListRequest.class, wechat.protobuf.Friendgroup.SnsTagListRequest.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsTagListRequest.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); opCode_ = 0; bitField0_ = (bitField0_ & ~0x00000002); tagListMd5_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagListRequest_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTagListRequest getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsTagListRequest.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTagListRequest build() { wechat.protobuf.Friendgroup.SnsTagListRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTagListRequest buildPartial() { wechat.protobuf.Friendgroup.SnsTagListRequest result = new wechat.protobuf.Friendgroup.SnsTagListRequest(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.opCode_ = opCode_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.tagListMd5_ = tagListMd5_; 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.Friendgroup.SnsTagListRequest) { return mergeFrom((wechat.protobuf.Friendgroup.SnsTagListRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsTagListRequest other) { if (other == wechat.protobuf.Friendgroup.SnsTagListRequest.getDefaultInstance()) return this; if (other.hasBaseRequest()) { mergeBaseRequest(other.getBaseRequest()); } if (other.hasOpCode()) { setOpCode(other.getOpCode()); } if (other.hasTagListMd5()) { bitField0_ |= 0x00000004; tagListMd5_ = other.tagListMd5_; 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.Friendgroup.SnsTagListRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsTagListRequest) 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 opCode_ ; /** * optional uint32 opCode = 2; * @return Whether the opCode field is set. */ @java.lang.Override public boolean hasOpCode() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 opCode = 2; * @return The opCode. */ @java.lang.Override public int getOpCode() { return opCode_; } /** * optional uint32 opCode = 2; * @param value The opCode to set. * @return This builder for chaining. */ public Builder setOpCode(int value) { bitField0_ |= 0x00000002; opCode_ = value; onChanged(); return this; } /** * optional uint32 opCode = 2; * @return This builder for chaining. */ public Builder clearOpCode() { bitField0_ = (bitField0_ & ~0x00000002); opCode_ = 0; onChanged(); return this; } private java.lang.Object tagListMd5_ = ""; /** * optional string tagListMd5 = 3; * @return Whether the tagListMd5 field is set. */ public boolean hasTagListMd5() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string tagListMd5 = 3; * @return The tagListMd5. */ public java.lang.String getTagListMd5() { java.lang.Object ref = tagListMd5_; 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()) { tagListMd5_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string tagListMd5 = 3; * @return The bytes for tagListMd5. */ public com.google.protobuf.ByteString getTagListMd5Bytes() { java.lang.Object ref = tagListMd5_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tagListMd5_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string tagListMd5 = 3; * @param value The tagListMd5 to set. * @return This builder for chaining. */ public Builder setTagListMd5( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; tagListMd5_ = value; onChanged(); return this; } /** * optional string tagListMd5 = 3; * @return This builder for chaining. */ public Builder clearTagListMd5() { bitField0_ = (bitField0_ & ~0x00000004); tagListMd5_ = getDefaultInstance().getTagListMd5(); onChanged(); return this; } /** * optional string tagListMd5 = 3; * @param value The bytes for tagListMd5 to set. * @return This builder for chaining. */ public Builder setTagListMd5Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; tagListMd5_ = 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.SnsTagListRequest) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsTagListRequest) private static final wechat.protobuf.Friendgroup.SnsTagListRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsTagListRequest(); } public static wechat.protobuf.Friendgroup.SnsTagListRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsTagListRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsTagListRequest(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.Friendgroup.SnsTagListRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsTagListResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsTagListResponse) 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 opCode = 2; * @return Whether the opCode field is set. */ boolean hasOpCode(); /** * optional uint32 opCode = 2; * @return The opCode. */ int getOpCode(); /** * optional string tagListMd5 = 3; * @return Whether the tagListMd5 field is set. */ boolean hasTagListMd5(); /** * optional string tagListMd5 = 3; * @return The tagListMd5. */ java.lang.String getTagListMd5(); /** * optional string tagListMd5 = 3; * @return The bytes for tagListMd5. */ com.google.protobuf.ByteString getTagListMd5Bytes(); /** * optional uint32 count = 4; * @return Whether the count field is set. */ boolean hasCount(); /** * optional uint32 count = 4; * @return The count. */ int getCount(); /** * repeated .wechat_proto.SnsTag list = 5; */ java.util.List getListList(); /** * repeated .wechat_proto.SnsTag list = 5; */ wechat.protobuf.Friendgroup.SnsTag getList(int index); /** * repeated .wechat_proto.SnsTag list = 5; */ int getListCount(); /** * repeated .wechat_proto.SnsTag list = 5; */ java.util.List getListOrBuilderList(); /** * repeated .wechat_proto.SnsTag list = 5; */ wechat.protobuf.Friendgroup.SnsTagOrBuilder getListOrBuilder( int index); /** * optional uint32 state = 6; * @return Whether the state field is set. */ boolean hasState(); /** * optional uint32 state = 6; * @return The state. */ int getState(); } /** * Protobuf type {@code wechat_proto.SnsTagListResponse} */ public static final class SnsTagListResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsTagListResponse) SnsTagListResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SnsTagListResponse.newBuilder() to construct. private SnsTagListResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsTagListResponse() { tagListMd5_ = ""; list_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsTagListResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsTagListResponse( 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; opCode_ = input.readUInt32(); break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; tagListMd5_ = bs; break; } case 32: { bitField0_ |= 0x00000008; count_ = input.readUInt32(); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { list_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } list_.add( input.readMessage(wechat.protobuf.Friendgroup.SnsTag.PARSER, extensionRegistry)); break; } case 48: { bitField0_ |= 0x00000010; state_ = 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 { if (((mutable_bitField0_ & 0x00000010) != 0)) { list_ = java.util.Collections.unmodifiableList(list_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagListResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagListResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsTagListResponse.class, wechat.protobuf.Friendgroup.SnsTagListResponse.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 OPCODE_FIELD_NUMBER = 2; private int opCode_; /** * optional uint32 opCode = 2; * @return Whether the opCode field is set. */ @java.lang.Override public boolean hasOpCode() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 opCode = 2; * @return The opCode. */ @java.lang.Override public int getOpCode() { return opCode_; } public static final int TAGLISTMD5_FIELD_NUMBER = 3; private volatile java.lang.Object tagListMd5_; /** * optional string tagListMd5 = 3; * @return Whether the tagListMd5 field is set. */ @java.lang.Override public boolean hasTagListMd5() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string tagListMd5 = 3; * @return The tagListMd5. */ @java.lang.Override public java.lang.String getTagListMd5() { java.lang.Object ref = tagListMd5_; 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()) { tagListMd5_ = s; } return s; } } /** * optional string tagListMd5 = 3; * @return The bytes for tagListMd5. */ @java.lang.Override public com.google.protobuf.ByteString getTagListMd5Bytes() { java.lang.Object ref = tagListMd5_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tagListMd5_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COUNT_FIELD_NUMBER = 4; private int count_; /** * optional uint32 count = 4; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 count = 4; * @return The count. */ @java.lang.Override public int getCount() { return count_; } public static final int LIST_FIELD_NUMBER = 5; private java.util.List list_; /** * repeated .wechat_proto.SnsTag list = 5; */ @java.lang.Override public java.util.List getListList() { return list_; } /** * repeated .wechat_proto.SnsTag list = 5; */ @java.lang.Override public java.util.List getListOrBuilderList() { return list_; } /** * repeated .wechat_proto.SnsTag list = 5; */ @java.lang.Override public int getListCount() { return list_.size(); } /** * repeated .wechat_proto.SnsTag list = 5; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsTag getList(int index) { return list_.get(index); } /** * repeated .wechat_proto.SnsTag list = 5; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsTagOrBuilder getListOrBuilder( int index) { return list_.get(index); } public static final int STATE_FIELD_NUMBER = 6; private int state_; /** * optional uint32 state = 6; * @return Whether the state field is set. */ @java.lang.Override public boolean hasState() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 state = 6; * @return The state. */ @java.lang.Override public int getState() { return state_; } 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, opCode_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tagListMd5_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, count_); } for (int i = 0; i < list_.size(); i++) { output.writeMessage(5, list_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(6, state_); } 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, opCode_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tagListMd5_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, count_); } for (int i = 0; i < list_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, list_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, state_); } 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.Friendgroup.SnsTagListResponse)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsTagListResponse other = (wechat.protobuf.Friendgroup.SnsTagListResponse) obj; if (hasBaseResponse() != other.hasBaseResponse()) return false; if (hasBaseResponse()) { if (!getBaseResponse() .equals(other.getBaseResponse())) return false; } if (hasOpCode() != other.hasOpCode()) return false; if (hasOpCode()) { if (getOpCode() != other.getOpCode()) return false; } if (hasTagListMd5() != other.hasTagListMd5()) return false; if (hasTagListMd5()) { if (!getTagListMd5() .equals(other.getTagListMd5())) return false; } if (hasCount() != other.hasCount()) return false; if (hasCount()) { if (getCount() != other.getCount()) return false; } if (!getListList() .equals(other.getListList())) return false; if (hasState() != other.hasState()) return false; if (hasState()) { if (getState() != other.getState()) 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 (hasOpCode()) { hash = (37 * hash) + OPCODE_FIELD_NUMBER; hash = (53 * hash) + getOpCode(); } if (hasTagListMd5()) { hash = (37 * hash) + TAGLISTMD5_FIELD_NUMBER; hash = (53 * hash) + getTagListMd5().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(); } if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + getState(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsTagListResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTagListResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsTagListResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTagListResponse 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.Friendgroup.SnsTagListResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTagListResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsTagListResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTagListResponse 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.Friendgroup.SnsTagListResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTagListResponse 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.Friendgroup.SnsTagListResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTagListResponse 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.Friendgroup.SnsTagListResponse 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.SnsTagListResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsTagListResponse) wechat.protobuf.Friendgroup.SnsTagListResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagListResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagListResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsTagListResponse.class, wechat.protobuf.Friendgroup.SnsTagListResponse.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsTagListResponse.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); opCode_ = 0; bitField0_ = (bitField0_ & ~0x00000002); tagListMd5_ = ""; bitField0_ = (bitField0_ & ~0x00000004); count_ = 0; bitField0_ = (bitField0_ & ~0x00000008); if (listBuilder_ == null) { list_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { listBuilder_.clear(); } state_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagListResponse_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTagListResponse getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsTagListResponse.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTagListResponse build() { wechat.protobuf.Friendgroup.SnsTagListResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTagListResponse buildPartial() { wechat.protobuf.Friendgroup.SnsTagListResponse result = new wechat.protobuf.Friendgroup.SnsTagListResponse(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.opCode_ = opCode_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.tagListMd5_ = tagListMd5_; if (((from_bitField0_ & 0x00000008) != 0)) { result.count_ = count_; to_bitField0_ |= 0x00000008; } if (listBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { list_ = java.util.Collections.unmodifiableList(list_); bitField0_ = (bitField0_ & ~0x00000010); } result.list_ = list_; } else { result.list_ = listBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.state_ = state_; 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.Friendgroup.SnsTagListResponse) { return mergeFrom((wechat.protobuf.Friendgroup.SnsTagListResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsTagListResponse other) { if (other == wechat.protobuf.Friendgroup.SnsTagListResponse.getDefaultInstance()) return this; if (other.hasBaseResponse()) { mergeBaseResponse(other.getBaseResponse()); } if (other.hasOpCode()) { setOpCode(other.getOpCode()); } if (other.hasTagListMd5()) { bitField0_ |= 0x00000004; tagListMd5_ = other.tagListMd5_; onChanged(); } if (other.hasCount()) { setCount(other.getCount()); } if (listBuilder_ == null) { if (!other.list_.isEmpty()) { if (list_.isEmpty()) { list_ = other.list_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureListIsMutable(); list_.addAll(other.list_); } onChanged(); } } else { if (!other.list_.isEmpty()) { if (listBuilder_.isEmpty()) { listBuilder_.dispose(); listBuilder_ = null; list_ = other.list_; bitField0_ = (bitField0_ & ~0x00000010); listBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getListFieldBuilder() : null; } else { listBuilder_.addAllMessages(other.list_); } } } if (other.hasState()) { setState(other.getState()); } 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.Friendgroup.SnsTagListResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsTagListResponse) 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 opCode_ ; /** * optional uint32 opCode = 2; * @return Whether the opCode field is set. */ @java.lang.Override public boolean hasOpCode() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 opCode = 2; * @return The opCode. */ @java.lang.Override public int getOpCode() { return opCode_; } /** * optional uint32 opCode = 2; * @param value The opCode to set. * @return This builder for chaining. */ public Builder setOpCode(int value) { bitField0_ |= 0x00000002; opCode_ = value; onChanged(); return this; } /** * optional uint32 opCode = 2; * @return This builder for chaining. */ public Builder clearOpCode() { bitField0_ = (bitField0_ & ~0x00000002); opCode_ = 0; onChanged(); return this; } private java.lang.Object tagListMd5_ = ""; /** * optional string tagListMd5 = 3; * @return Whether the tagListMd5 field is set. */ public boolean hasTagListMd5() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string tagListMd5 = 3; * @return The tagListMd5. */ public java.lang.String getTagListMd5() { java.lang.Object ref = tagListMd5_; 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()) { tagListMd5_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string tagListMd5 = 3; * @return The bytes for tagListMd5. */ public com.google.protobuf.ByteString getTagListMd5Bytes() { java.lang.Object ref = tagListMd5_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tagListMd5_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string tagListMd5 = 3; * @param value The tagListMd5 to set. * @return This builder for chaining. */ public Builder setTagListMd5( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; tagListMd5_ = value; onChanged(); return this; } /** * optional string tagListMd5 = 3; * @return This builder for chaining. */ public Builder clearTagListMd5() { bitField0_ = (bitField0_ & ~0x00000004); tagListMd5_ = getDefaultInstance().getTagListMd5(); onChanged(); return this; } /** * optional string tagListMd5 = 3; * @param value The bytes for tagListMd5 to set. * @return This builder for chaining. */ public Builder setTagListMd5Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; tagListMd5_ = value; onChanged(); return this; } private int count_ ; /** * optional uint32 count = 4; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 count = 4; * @return The count. */ @java.lang.Override public int getCount() { return count_; } /** * optional uint32 count = 4; * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { bitField0_ |= 0x00000008; count_ = value; onChanged(); return this; } /** * optional uint32 count = 4; * @return This builder for chaining. */ public Builder clearCount() { bitField0_ = (bitField0_ & ~0x00000008); count_ = 0; onChanged(); return this; } private java.util.List list_ = java.util.Collections.emptyList(); private void ensureListIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { list_ = new java.util.ArrayList(list_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsTag, wechat.protobuf.Friendgroup.SnsTag.Builder, wechat.protobuf.Friendgroup.SnsTagOrBuilder> listBuilder_; /** * repeated .wechat_proto.SnsTag list = 5; */ public java.util.List getListList() { if (listBuilder_ == null) { return java.util.Collections.unmodifiableList(list_); } else { return listBuilder_.getMessageList(); } } /** * repeated .wechat_proto.SnsTag list = 5; */ public int getListCount() { if (listBuilder_ == null) { return list_.size(); } else { return listBuilder_.getCount(); } } /** * repeated .wechat_proto.SnsTag list = 5; */ public wechat.protobuf.Friendgroup.SnsTag getList(int index) { if (listBuilder_ == null) { return list_.get(index); } else { return listBuilder_.getMessage(index); } } /** * repeated .wechat_proto.SnsTag list = 5; */ public Builder setList( int index, wechat.protobuf.Friendgroup.SnsTag 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.SnsTag list = 5; */ public Builder setList( int index, wechat.protobuf.Friendgroup.SnsTag.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.set(index, builderForValue.build()); onChanged(); } else { listBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsTag list = 5; */ public Builder addList(wechat.protobuf.Friendgroup.SnsTag value) { if (listBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListIsMutable(); list_.add(value); onChanged(); } else { listBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.SnsTag list = 5; */ public Builder addList( int index, wechat.protobuf.Friendgroup.SnsTag 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.SnsTag list = 5; */ public Builder addList( wechat.protobuf.Friendgroup.SnsTag.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.add(builderForValue.build()); onChanged(); } else { listBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsTag list = 5; */ public Builder addList( int index, wechat.protobuf.Friendgroup.SnsTag.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.add(index, builderForValue.build()); onChanged(); } else { listBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsTag list = 5; */ public Builder addAllList( java.lang.Iterable values) { if (listBuilder_ == null) { ensureListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, list_); onChanged(); } else { listBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.SnsTag list = 5; */ public Builder clearList() { if (listBuilder_ == null) { list_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { listBuilder_.clear(); } return this; } /** * repeated .wechat_proto.SnsTag list = 5; */ public Builder removeList(int index) { if (listBuilder_ == null) { ensureListIsMutable(); list_.remove(index); onChanged(); } else { listBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.SnsTag list = 5; */ public wechat.protobuf.Friendgroup.SnsTag.Builder getListBuilder( int index) { return getListFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.SnsTag list = 5; */ public wechat.protobuf.Friendgroup.SnsTagOrBuilder getListOrBuilder( int index) { if (listBuilder_ == null) { return list_.get(index); } else { return listBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.SnsTag list = 5; */ public java.util.List getListOrBuilderList() { if (listBuilder_ != null) { return listBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(list_); } } /** * repeated .wechat_proto.SnsTag list = 5; */ public wechat.protobuf.Friendgroup.SnsTag.Builder addListBuilder() { return getListFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.SnsTag.getDefaultInstance()); } /** * repeated .wechat_proto.SnsTag list = 5; */ public wechat.protobuf.Friendgroup.SnsTag.Builder addListBuilder( int index) { return getListFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.SnsTag.getDefaultInstance()); } /** * repeated .wechat_proto.SnsTag list = 5; */ public java.util.List getListBuilderList() { return getListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsTag, wechat.protobuf.Friendgroup.SnsTag.Builder, wechat.protobuf.Friendgroup.SnsTagOrBuilder> getListFieldBuilder() { if (listBuilder_ == null) { listBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsTag, wechat.protobuf.Friendgroup.SnsTag.Builder, wechat.protobuf.Friendgroup.SnsTagOrBuilder>( list_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); list_ = null; } return listBuilder_; } private int state_ ; /** * optional uint32 state = 6; * @return Whether the state field is set. */ @java.lang.Override public boolean hasState() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 state = 6; * @return The state. */ @java.lang.Override public int getState() { return state_; } /** * optional uint32 state = 6; * @param value The state to set. * @return This builder for chaining. */ public Builder setState(int value) { bitField0_ |= 0x00000020; state_ = value; onChanged(); return this; } /** * optional uint32 state = 6; * @return This builder for chaining. */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000020); state_ = 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.SnsTagListResponse) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsTagListResponse) private static final wechat.protobuf.Friendgroup.SnsTagListResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsTagListResponse(); } public static wechat.protobuf.Friendgroup.SnsTagListResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsTagListResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsTagListResponse(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.Friendgroup.SnsTagListResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsTimeLineRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsTimeLineRequest) 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 firstPageMd5 = 2; * @return Whether the firstPageMd5 field is set. */ boolean hasFirstPageMd5(); /** * optional string firstPageMd5 = 2; * @return The firstPageMd5. */ java.lang.String getFirstPageMd5(); /** * optional string firstPageMd5 = 2; * @return The bytes for firstPageMd5. */ com.google.protobuf.ByteString getFirstPageMd5Bytes(); /** * optional uint64 maxId = 3; * @return Whether the maxId field is set. */ boolean hasMaxId(); /** * optional uint64 maxId = 3; * @return The maxId. */ long getMaxId(); /** * optional uint64 minFilterId = 4; * @return Whether the minFilterId field is set. */ boolean hasMinFilterId(); /** * optional uint64 minFilterId = 4; * @return The minFilterId. */ long getMinFilterId(); /** * optional uint32 lastRequestTime = 5; * @return Whether the lastRequestTime field is set. */ boolean hasLastRequestTime(); /** * optional uint32 lastRequestTime = 5; * @return The lastRequestTime. */ int getLastRequestTime(); /** * optional uint64 clientLatestId = 6; * @return Whether the clientLatestId field is set. */ boolean hasClientLatestId(); /** * optional uint64 clientLatestId = 6; * @return The clientLatestId. */ long getClientLatestId(); /** * optional .wechat_proto.SKBuiltinString_ session = 7; * @return Whether the session field is set. */ boolean hasSession(); /** * optional .wechat_proto.SKBuiltinString_ session = 7; * @return The session. */ wechat.protobuf.SKBuiltinString_ getSession(); /** * optional .wechat_proto.SKBuiltinString_ session = 7; */ wechat.protobuf.SKBuiltinString_OrBuilder getSessionOrBuilder(); /** * optional uint32 networkType = 8; * @return Whether the networkType field is set. */ boolean hasNetworkType(); /** * optional uint32 networkType = 8; * @return The networkType. */ int getNetworkType(); /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; * @return Whether the adexpinfo field is set. */ boolean hasAdexpinfo(); /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; * @return The adexpinfo. */ wechat.protobuf.Friendgroup.SnsAdExpInfo getAdexpinfo(); /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; */ wechat.protobuf.Friendgroup.SnsAdExpInfoOrBuilder getAdexpinfoOrBuilder(); /** * optional uint32 realFeedExposureIdsNum = 11; * @return Whether the realFeedExposureIdsNum field is set. */ boolean hasRealFeedExposureIdsNum(); /** * optional uint32 realFeedExposureIdsNum = 11; * @return The realFeedExposureIdsNum. */ int getRealFeedExposureIdsNum(); /** * repeated uint64 realFeedExposureIds = 12; * @return A list containing the realFeedExposureIds. */ java.util.List getRealFeedExposureIdsList(); /** * repeated uint64 realFeedExposureIds = 12; * @return The count of realFeedExposureIds. */ int getRealFeedExposureIdsCount(); /** * repeated uint64 realFeedExposureIds = 12; * @param index The index of the element to return. * @return The realFeedExposureIds at the given index. */ long getRealFeedExposureIds(int index); /** * optional uint32 updateTimelineScene = 13; * @return Whether the updateTimelineScene field is set. */ boolean hasUpdateTimelineScene(); /** * optional uint32 updateTimelineScene = 13; * @return The updateTimelineScene. */ int getUpdateTimelineScene(); /** * optional uint32 pullType = 14; * @return Whether the pullType field is set. */ boolean hasPullType(); /** * optional uint32 pullType = 14; * @return The pullType. */ int getPullType(); /** * optional uint64 minIdForGetPrePage = 15; * @return Whether the minIdForGetPrePage field is set. */ boolean hasMinIdForGetPrePage(); /** * optional uint64 minIdForGetPrePage = 15; * @return The minIdForGetPrePage. */ long getMinIdForGetPrePage(); /** * optional uint64 minIdForCheckUnread = 16; * @return Whether the minIdForCheckUnread field is set. */ boolean hasMinIdForCheckUnread(); /** * optional uint64 minIdForCheckUnread = 16; * @return The minIdForCheckUnread. */ long getMinIdForCheckUnread(); } /** * Protobuf type {@code wechat_proto.SnsTimeLineRequest} */ public static final class SnsTimeLineRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsTimeLineRequest) SnsTimeLineRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SnsTimeLineRequest.newBuilder() to construct. private SnsTimeLineRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsTimeLineRequest() { firstPageMd5_ = ""; realFeedExposureIds_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsTimeLineRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsTimeLineRequest( 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; firstPageMd5_ = bs; break; } case 24: { bitField0_ |= 0x00000004; maxId_ = input.readUInt64(); break; } case 32: { bitField0_ |= 0x00000008; minFilterId_ = input.readUInt64(); break; } case 40: { bitField0_ |= 0x00000010; lastRequestTime_ = input.readUInt32(); break; } case 48: { bitField0_ |= 0x00000020; clientLatestId_ = input.readUInt64(); break; } case 58: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000040) != 0)) { subBuilder = session_.toBuilder(); } session_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(session_); session_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 64: { bitField0_ |= 0x00000080; networkType_ = input.readUInt32(); break; } case 82: { wechat.protobuf.Friendgroup.SnsAdExpInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000100) != 0)) { subBuilder = adexpinfo_.toBuilder(); } adexpinfo_ = input.readMessage(wechat.protobuf.Friendgroup.SnsAdExpInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(adexpinfo_); adexpinfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } case 88: { bitField0_ |= 0x00000200; realFeedExposureIdsNum_ = input.readUInt32(); break; } case 96: { if (!((mutable_bitField0_ & 0x00000400) != 0)) { realFeedExposureIds_ = newLongList(); mutable_bitField0_ |= 0x00000400; } realFeedExposureIds_.addLong(input.readUInt64()); break; } case 98: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000400) != 0) && input.getBytesUntilLimit() > 0) { realFeedExposureIds_ = newLongList(); mutable_bitField0_ |= 0x00000400; } while (input.getBytesUntilLimit() > 0) { realFeedExposureIds_.addLong(input.readUInt64()); } input.popLimit(limit); break; } case 104: { bitField0_ |= 0x00000400; updateTimelineScene_ = input.readUInt32(); break; } case 112: { bitField0_ |= 0x00000800; pullType_ = input.readUInt32(); break; } case 120: { bitField0_ |= 0x00001000; minIdForGetPrePage_ = input.readUInt64(); break; } case 128: { bitField0_ |= 0x00002000; minIdForCheckUnread_ = 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 { if (((mutable_bitField0_ & 0x00000400) != 0)) { realFeedExposureIds_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTimeLineRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTimeLineRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsTimeLineRequest.class, wechat.protobuf.Friendgroup.SnsTimeLineRequest.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 FIRSTPAGEMD5_FIELD_NUMBER = 2; private volatile java.lang.Object firstPageMd5_; /** * optional string firstPageMd5 = 2; * @return Whether the firstPageMd5 field is set. */ @java.lang.Override public boolean hasFirstPageMd5() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string firstPageMd5 = 2; * @return The firstPageMd5. */ @java.lang.Override public java.lang.String getFirstPageMd5() { java.lang.Object ref = firstPageMd5_; 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()) { firstPageMd5_ = s; } return s; } } /** * optional string firstPageMd5 = 2; * @return The bytes for firstPageMd5. */ @java.lang.Override public com.google.protobuf.ByteString getFirstPageMd5Bytes() { java.lang.Object ref = firstPageMd5_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); firstPageMd5_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MAXID_FIELD_NUMBER = 3; private long maxId_; /** * optional uint64 maxId = 3; * @return Whether the maxId field is set. */ @java.lang.Override public boolean hasMaxId() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint64 maxId = 3; * @return The maxId. */ @java.lang.Override public long getMaxId() { return maxId_; } public static final int MINFILTERID_FIELD_NUMBER = 4; private long minFilterId_; /** * optional uint64 minFilterId = 4; * @return Whether the minFilterId field is set. */ @java.lang.Override public boolean hasMinFilterId() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint64 minFilterId = 4; * @return The minFilterId. */ @java.lang.Override public long getMinFilterId() { return minFilterId_; } public static final int LASTREQUESTTIME_FIELD_NUMBER = 5; private int lastRequestTime_; /** * optional uint32 lastRequestTime = 5; * @return Whether the lastRequestTime field is set. */ @java.lang.Override public boolean hasLastRequestTime() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 lastRequestTime = 5; * @return The lastRequestTime. */ @java.lang.Override public int getLastRequestTime() { return lastRequestTime_; } public static final int CLIENTLATESTID_FIELD_NUMBER = 6; private long clientLatestId_; /** * optional uint64 clientLatestId = 6; * @return Whether the clientLatestId field is set. */ @java.lang.Override public boolean hasClientLatestId() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint64 clientLatestId = 6; * @return The clientLatestId. */ @java.lang.Override public long getClientLatestId() { return clientLatestId_; } public static final int SESSION_FIELD_NUMBER = 7; private wechat.protobuf.SKBuiltinString_ session_; /** * optional .wechat_proto.SKBuiltinString_ session = 7; * @return Whether the session field is set. */ @java.lang.Override public boolean hasSession() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .wechat_proto.SKBuiltinString_ session = 7; * @return The session. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getSession() { return session_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : session_; } /** * optional .wechat_proto.SKBuiltinString_ session = 7; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getSessionOrBuilder() { return session_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : session_; } public static final int NETWORKTYPE_FIELD_NUMBER = 8; private int networkType_; /** * optional uint32 networkType = 8; * @return Whether the networkType field is set. */ @java.lang.Override public boolean hasNetworkType() { return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 networkType = 8; * @return The networkType. */ @java.lang.Override public int getNetworkType() { return networkType_; } public static final int ADEXPINFO_FIELD_NUMBER = 10; private wechat.protobuf.Friendgroup.SnsAdExpInfo adexpinfo_; /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; * @return Whether the adexpinfo field is set. */ @java.lang.Override public boolean hasAdexpinfo() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; * @return The adexpinfo. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsAdExpInfo getAdexpinfo() { return adexpinfo_ == null ? wechat.protobuf.Friendgroup.SnsAdExpInfo.getDefaultInstance() : adexpinfo_; } /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsAdExpInfoOrBuilder getAdexpinfoOrBuilder() { return adexpinfo_ == null ? wechat.protobuf.Friendgroup.SnsAdExpInfo.getDefaultInstance() : adexpinfo_; } public static final int REALFEEDEXPOSUREIDSNUM_FIELD_NUMBER = 11; private int realFeedExposureIdsNum_; /** * optional uint32 realFeedExposureIdsNum = 11; * @return Whether the realFeedExposureIdsNum field is set. */ @java.lang.Override public boolean hasRealFeedExposureIdsNum() { return ((bitField0_ & 0x00000200) != 0); } /** * optional uint32 realFeedExposureIdsNum = 11; * @return The realFeedExposureIdsNum. */ @java.lang.Override public int getRealFeedExposureIdsNum() { return realFeedExposureIdsNum_; } public static final int REALFEEDEXPOSUREIDS_FIELD_NUMBER = 12; private com.google.protobuf.Internal.LongList realFeedExposureIds_; /** * repeated uint64 realFeedExposureIds = 12; * @return A list containing the realFeedExposureIds. */ @java.lang.Override public java.util.List getRealFeedExposureIdsList() { return realFeedExposureIds_; } /** * repeated uint64 realFeedExposureIds = 12; * @return The count of realFeedExposureIds. */ public int getRealFeedExposureIdsCount() { return realFeedExposureIds_.size(); } /** * repeated uint64 realFeedExposureIds = 12; * @param index The index of the element to return. * @return The realFeedExposureIds at the given index. */ public long getRealFeedExposureIds(int index) { return realFeedExposureIds_.getLong(index); } public static final int UPDATETIMELINESCENE_FIELD_NUMBER = 13; private int updateTimelineScene_; /** * optional uint32 updateTimelineScene = 13; * @return Whether the updateTimelineScene field is set. */ @java.lang.Override public boolean hasUpdateTimelineScene() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint32 updateTimelineScene = 13; * @return The updateTimelineScene. */ @java.lang.Override public int getUpdateTimelineScene() { return updateTimelineScene_; } public static final int PULLTYPE_FIELD_NUMBER = 14; private int pullType_; /** * optional uint32 pullType = 14; * @return Whether the pullType field is set. */ @java.lang.Override public boolean hasPullType() { return ((bitField0_ & 0x00000800) != 0); } /** * optional uint32 pullType = 14; * @return The pullType. */ @java.lang.Override public int getPullType() { return pullType_; } public static final int MINIDFORGETPREPAGE_FIELD_NUMBER = 15; private long minIdForGetPrePage_; /** * optional uint64 minIdForGetPrePage = 15; * @return Whether the minIdForGetPrePage field is set. */ @java.lang.Override public boolean hasMinIdForGetPrePage() { return ((bitField0_ & 0x00001000) != 0); } /** * optional uint64 minIdForGetPrePage = 15; * @return The minIdForGetPrePage. */ @java.lang.Override public long getMinIdForGetPrePage() { return minIdForGetPrePage_; } public static final int MINIDFORCHECKUNREAD_FIELD_NUMBER = 16; private long minIdForCheckUnread_; /** * optional uint64 minIdForCheckUnread = 16; * @return Whether the minIdForCheckUnread field is set. */ @java.lang.Override public boolean hasMinIdForCheckUnread() { return ((bitField0_ & 0x00002000) != 0); } /** * optional uint64 minIdForCheckUnread = 16; * @return The minIdForCheckUnread. */ @java.lang.Override public long getMinIdForCheckUnread() { return minIdForCheckUnread_; } 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, firstPageMd5_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt64(3, maxId_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt64(4, minFilterId_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, lastRequestTime_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt64(6, clientLatestId_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(7, getSession()); } if (((bitField0_ & 0x00000080) != 0)) { output.writeUInt32(8, networkType_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(10, getAdexpinfo()); } if (((bitField0_ & 0x00000200) != 0)) { output.writeUInt32(11, realFeedExposureIdsNum_); } for (int i = 0; i < realFeedExposureIds_.size(); i++) { output.writeUInt64(12, realFeedExposureIds_.getLong(i)); } if (((bitField0_ & 0x00000400) != 0)) { output.writeUInt32(13, updateTimelineScene_); } if (((bitField0_ & 0x00000800) != 0)) { output.writeUInt32(14, pullType_); } if (((bitField0_ & 0x00001000) != 0)) { output.writeUInt64(15, minIdForGetPrePage_); } if (((bitField0_ & 0x00002000) != 0)) { output.writeUInt64(16, minIdForCheckUnread_); } 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, firstPageMd5_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, maxId_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, minFilterId_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, lastRequestTime_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, clientLatestId_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getSession()); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, networkType_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getAdexpinfo()); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(11, realFeedExposureIdsNum_); } { int dataSize = 0; for (int i = 0; i < realFeedExposureIds_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(realFeedExposureIds_.getLong(i)); } size += dataSize; size += 1 * getRealFeedExposureIdsList().size(); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(13, updateTimelineScene_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(14, pullType_); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(15, minIdForGetPrePage_); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(16, minIdForCheckUnread_); } 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.Friendgroup.SnsTimeLineRequest)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsTimeLineRequest other = (wechat.protobuf.Friendgroup.SnsTimeLineRequest) obj; if (hasBaseRequest() != other.hasBaseRequest()) return false; if (hasBaseRequest()) { if (!getBaseRequest() .equals(other.getBaseRequest())) return false; } if (hasFirstPageMd5() != other.hasFirstPageMd5()) return false; if (hasFirstPageMd5()) { if (!getFirstPageMd5() .equals(other.getFirstPageMd5())) return false; } if (hasMaxId() != other.hasMaxId()) return false; if (hasMaxId()) { if (getMaxId() != other.getMaxId()) return false; } if (hasMinFilterId() != other.hasMinFilterId()) return false; if (hasMinFilterId()) { if (getMinFilterId() != other.getMinFilterId()) return false; } if (hasLastRequestTime() != other.hasLastRequestTime()) return false; if (hasLastRequestTime()) { if (getLastRequestTime() != other.getLastRequestTime()) return false; } if (hasClientLatestId() != other.hasClientLatestId()) return false; if (hasClientLatestId()) { if (getClientLatestId() != other.getClientLatestId()) return false; } if (hasSession() != other.hasSession()) return false; if (hasSession()) { if (!getSession() .equals(other.getSession())) return false; } if (hasNetworkType() != other.hasNetworkType()) return false; if (hasNetworkType()) { if (getNetworkType() != other.getNetworkType()) return false; } if (hasAdexpinfo() != other.hasAdexpinfo()) return false; if (hasAdexpinfo()) { if (!getAdexpinfo() .equals(other.getAdexpinfo())) return false; } if (hasRealFeedExposureIdsNum() != other.hasRealFeedExposureIdsNum()) return false; if (hasRealFeedExposureIdsNum()) { if (getRealFeedExposureIdsNum() != other.getRealFeedExposureIdsNum()) return false; } if (!getRealFeedExposureIdsList() .equals(other.getRealFeedExposureIdsList())) return false; if (hasUpdateTimelineScene() != other.hasUpdateTimelineScene()) return false; if (hasUpdateTimelineScene()) { if (getUpdateTimelineScene() != other.getUpdateTimelineScene()) return false; } if (hasPullType() != other.hasPullType()) return false; if (hasPullType()) { if (getPullType() != other.getPullType()) return false; } if (hasMinIdForGetPrePage() != other.hasMinIdForGetPrePage()) return false; if (hasMinIdForGetPrePage()) { if (getMinIdForGetPrePage() != other.getMinIdForGetPrePage()) return false; } if (hasMinIdForCheckUnread() != other.hasMinIdForCheckUnread()) return false; if (hasMinIdForCheckUnread()) { if (getMinIdForCheckUnread() != other.getMinIdForCheckUnread()) 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 (hasFirstPageMd5()) { hash = (37 * hash) + FIRSTPAGEMD5_FIELD_NUMBER; hash = (53 * hash) + getFirstPageMd5().hashCode(); } if (hasMaxId()) { hash = (37 * hash) + MAXID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxId()); } if (hasMinFilterId()) { hash = (37 * hash) + MINFILTERID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinFilterId()); } if (hasLastRequestTime()) { hash = (37 * hash) + LASTREQUESTTIME_FIELD_NUMBER; hash = (53 * hash) + getLastRequestTime(); } if (hasClientLatestId()) { hash = (37 * hash) + CLIENTLATESTID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getClientLatestId()); } if (hasSession()) { hash = (37 * hash) + SESSION_FIELD_NUMBER; hash = (53 * hash) + getSession().hashCode(); } if (hasNetworkType()) { hash = (37 * hash) + NETWORKTYPE_FIELD_NUMBER; hash = (53 * hash) + getNetworkType(); } if (hasAdexpinfo()) { hash = (37 * hash) + ADEXPINFO_FIELD_NUMBER; hash = (53 * hash) + getAdexpinfo().hashCode(); } if (hasRealFeedExposureIdsNum()) { hash = (37 * hash) + REALFEEDEXPOSUREIDSNUM_FIELD_NUMBER; hash = (53 * hash) + getRealFeedExposureIdsNum(); } if (getRealFeedExposureIdsCount() > 0) { hash = (37 * hash) + REALFEEDEXPOSUREIDS_FIELD_NUMBER; hash = (53 * hash) + getRealFeedExposureIdsList().hashCode(); } if (hasUpdateTimelineScene()) { hash = (37 * hash) + UPDATETIMELINESCENE_FIELD_NUMBER; hash = (53 * hash) + getUpdateTimelineScene(); } if (hasPullType()) { hash = (37 * hash) + PULLTYPE_FIELD_NUMBER; hash = (53 * hash) + getPullType(); } if (hasMinIdForGetPrePage()) { hash = (37 * hash) + MINIDFORGETPREPAGE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinIdForGetPrePage()); } if (hasMinIdForCheckUnread()) { hash = (37 * hash) + MINIDFORCHECKUNREAD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinIdForCheckUnread()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsTimeLineRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTimeLineRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsTimeLineRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTimeLineRequest 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.Friendgroup.SnsTimeLineRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTimeLineRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsTimeLineRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTimeLineRequest 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.Friendgroup.SnsTimeLineRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTimeLineRequest 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.Friendgroup.SnsTimeLineRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTimeLineRequest 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.Friendgroup.SnsTimeLineRequest 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.SnsTimeLineRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsTimeLineRequest) wechat.protobuf.Friendgroup.SnsTimeLineRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTimeLineRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTimeLineRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsTimeLineRequest.class, wechat.protobuf.Friendgroup.SnsTimeLineRequest.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsTimeLineRequest.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(); getSessionFieldBuilder(); getAdexpinfoFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseRequestBuilder_ == null) { baseRequest_ = null; } else { baseRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); firstPageMd5_ = ""; bitField0_ = (bitField0_ & ~0x00000002); maxId_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); minFilterId_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); lastRequestTime_ = 0; bitField0_ = (bitField0_ & ~0x00000010); clientLatestId_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); if (sessionBuilder_ == null) { session_ = null; } else { sessionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); networkType_ = 0; bitField0_ = (bitField0_ & ~0x00000080); if (adexpinfoBuilder_ == null) { adexpinfo_ = null; } else { adexpinfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); realFeedExposureIdsNum_ = 0; bitField0_ = (bitField0_ & ~0x00000200); realFeedExposureIds_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000400); updateTimelineScene_ = 0; bitField0_ = (bitField0_ & ~0x00000800); pullType_ = 0; bitField0_ = (bitField0_ & ~0x00001000); minIdForGetPrePage_ = 0L; bitField0_ = (bitField0_ & ~0x00002000); minIdForCheckUnread_ = 0L; bitField0_ = (bitField0_ & ~0x00004000); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTimeLineRequest_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTimeLineRequest getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsTimeLineRequest.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTimeLineRequest build() { wechat.protobuf.Friendgroup.SnsTimeLineRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTimeLineRequest buildPartial() { wechat.protobuf.Friendgroup.SnsTimeLineRequest result = new wechat.protobuf.Friendgroup.SnsTimeLineRequest(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.firstPageMd5_ = firstPageMd5_; if (((from_bitField0_ & 0x00000004) != 0)) { result.maxId_ = maxId_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.minFilterId_ = minFilterId_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.lastRequestTime_ = lastRequestTime_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.clientLatestId_ = clientLatestId_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { if (sessionBuilder_ == null) { result.session_ = session_; } else { result.session_ = sessionBuilder_.build(); } to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.networkType_ = networkType_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { if (adexpinfoBuilder_ == null) { result.adexpinfo_ = adexpinfo_; } else { result.adexpinfo_ = adexpinfoBuilder_.build(); } to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { result.realFeedExposureIdsNum_ = realFeedExposureIdsNum_; to_bitField0_ |= 0x00000200; } if (((bitField0_ & 0x00000400) != 0)) { realFeedExposureIds_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000400); } result.realFeedExposureIds_ = realFeedExposureIds_; if (((from_bitField0_ & 0x00000800) != 0)) { result.updateTimelineScene_ = updateTimelineScene_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00001000) != 0)) { result.pullType_ = pullType_; to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00002000) != 0)) { result.minIdForGetPrePage_ = minIdForGetPrePage_; to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00004000) != 0)) { result.minIdForCheckUnread_ = minIdForCheckUnread_; to_bitField0_ |= 0x00002000; } 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.Friendgroup.SnsTimeLineRequest) { return mergeFrom((wechat.protobuf.Friendgroup.SnsTimeLineRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsTimeLineRequest other) { if (other == wechat.protobuf.Friendgroup.SnsTimeLineRequest.getDefaultInstance()) return this; if (other.hasBaseRequest()) { mergeBaseRequest(other.getBaseRequest()); } if (other.hasFirstPageMd5()) { bitField0_ |= 0x00000002; firstPageMd5_ = other.firstPageMd5_; onChanged(); } if (other.hasMaxId()) { setMaxId(other.getMaxId()); } if (other.hasMinFilterId()) { setMinFilterId(other.getMinFilterId()); } if (other.hasLastRequestTime()) { setLastRequestTime(other.getLastRequestTime()); } if (other.hasClientLatestId()) { setClientLatestId(other.getClientLatestId()); } if (other.hasSession()) { mergeSession(other.getSession()); } if (other.hasNetworkType()) { setNetworkType(other.getNetworkType()); } if (other.hasAdexpinfo()) { mergeAdexpinfo(other.getAdexpinfo()); } if (other.hasRealFeedExposureIdsNum()) { setRealFeedExposureIdsNum(other.getRealFeedExposureIdsNum()); } if (!other.realFeedExposureIds_.isEmpty()) { if (realFeedExposureIds_.isEmpty()) { realFeedExposureIds_ = other.realFeedExposureIds_; bitField0_ = (bitField0_ & ~0x00000400); } else { ensureRealFeedExposureIdsIsMutable(); realFeedExposureIds_.addAll(other.realFeedExposureIds_); } onChanged(); } if (other.hasUpdateTimelineScene()) { setUpdateTimelineScene(other.getUpdateTimelineScene()); } if (other.hasPullType()) { setPullType(other.getPullType()); } if (other.hasMinIdForGetPrePage()) { setMinIdForGetPrePage(other.getMinIdForGetPrePage()); } if (other.hasMinIdForCheckUnread()) { setMinIdForCheckUnread(other.getMinIdForCheckUnread()); } 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.Friendgroup.SnsTimeLineRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsTimeLineRequest) 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 firstPageMd5_ = ""; /** * optional string firstPageMd5 = 2; * @return Whether the firstPageMd5 field is set. */ public boolean hasFirstPageMd5() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string firstPageMd5 = 2; * @return The firstPageMd5. */ public java.lang.String getFirstPageMd5() { java.lang.Object ref = firstPageMd5_; 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()) { firstPageMd5_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string firstPageMd5 = 2; * @return The bytes for firstPageMd5. */ public com.google.protobuf.ByteString getFirstPageMd5Bytes() { java.lang.Object ref = firstPageMd5_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); firstPageMd5_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string firstPageMd5 = 2; * @param value The firstPageMd5 to set. * @return This builder for chaining. */ public Builder setFirstPageMd5( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; firstPageMd5_ = value; onChanged(); return this; } /** * optional string firstPageMd5 = 2; * @return This builder for chaining. */ public Builder clearFirstPageMd5() { bitField0_ = (bitField0_ & ~0x00000002); firstPageMd5_ = getDefaultInstance().getFirstPageMd5(); onChanged(); return this; } /** * optional string firstPageMd5 = 2; * @param value The bytes for firstPageMd5 to set. * @return This builder for chaining. */ public Builder setFirstPageMd5Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; firstPageMd5_ = value; onChanged(); return this; } private long maxId_ ; /** * optional uint64 maxId = 3; * @return Whether the maxId field is set. */ @java.lang.Override public boolean hasMaxId() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint64 maxId = 3; * @return The maxId. */ @java.lang.Override public long getMaxId() { return maxId_; } /** * optional uint64 maxId = 3; * @param value The maxId to set. * @return This builder for chaining. */ public Builder setMaxId(long value) { bitField0_ |= 0x00000004; maxId_ = value; onChanged(); return this; } /** * optional uint64 maxId = 3; * @return This builder for chaining. */ public Builder clearMaxId() { bitField0_ = (bitField0_ & ~0x00000004); maxId_ = 0L; onChanged(); return this; } private long minFilterId_ ; /** * optional uint64 minFilterId = 4; * @return Whether the minFilterId field is set. */ @java.lang.Override public boolean hasMinFilterId() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint64 minFilterId = 4; * @return The minFilterId. */ @java.lang.Override public long getMinFilterId() { return minFilterId_; } /** * optional uint64 minFilterId = 4; * @param value The minFilterId to set. * @return This builder for chaining. */ public Builder setMinFilterId(long value) { bitField0_ |= 0x00000008; minFilterId_ = value; onChanged(); return this; } /** * optional uint64 minFilterId = 4; * @return This builder for chaining. */ public Builder clearMinFilterId() { bitField0_ = (bitField0_ & ~0x00000008); minFilterId_ = 0L; onChanged(); return this; } private int lastRequestTime_ ; /** * optional uint32 lastRequestTime = 5; * @return Whether the lastRequestTime field is set. */ @java.lang.Override public boolean hasLastRequestTime() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 lastRequestTime = 5; * @return The lastRequestTime. */ @java.lang.Override public int getLastRequestTime() { return lastRequestTime_; } /** * optional uint32 lastRequestTime = 5; * @param value The lastRequestTime to set. * @return This builder for chaining. */ public Builder setLastRequestTime(int value) { bitField0_ |= 0x00000010; lastRequestTime_ = value; onChanged(); return this; } /** * optional uint32 lastRequestTime = 5; * @return This builder for chaining. */ public Builder clearLastRequestTime() { bitField0_ = (bitField0_ & ~0x00000010); lastRequestTime_ = 0; onChanged(); return this; } private long clientLatestId_ ; /** * optional uint64 clientLatestId = 6; * @return Whether the clientLatestId field is set. */ @java.lang.Override public boolean hasClientLatestId() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint64 clientLatestId = 6; * @return The clientLatestId. */ @java.lang.Override public long getClientLatestId() { return clientLatestId_; } /** * optional uint64 clientLatestId = 6; * @param value The clientLatestId to set. * @return This builder for chaining. */ public Builder setClientLatestId(long value) { bitField0_ |= 0x00000020; clientLatestId_ = value; onChanged(); return this; } /** * optional uint64 clientLatestId = 6; * @return This builder for chaining. */ public Builder clearClientLatestId() { bitField0_ = (bitField0_ & ~0x00000020); clientLatestId_ = 0L; onChanged(); return this; } private wechat.protobuf.SKBuiltinString_ session_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> sessionBuilder_; /** * optional .wechat_proto.SKBuiltinString_ session = 7; * @return Whether the session field is set. */ public boolean hasSession() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .wechat_proto.SKBuiltinString_ session = 7; * @return The session. */ public wechat.protobuf.SKBuiltinString_ getSession() { if (sessionBuilder_ == null) { return session_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : session_; } else { return sessionBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ session = 7; */ public Builder setSession(wechat.protobuf.SKBuiltinString_ value) { if (sessionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } session_ = value; onChanged(); } else { sessionBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .wechat_proto.SKBuiltinString_ session = 7; */ public Builder setSession( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (sessionBuilder_ == null) { session_ = builderForValue.build(); onChanged(); } else { sessionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .wechat_proto.SKBuiltinString_ session = 7; */ public Builder mergeSession(wechat.protobuf.SKBuiltinString_ value) { if (sessionBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && session_ != null && session_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { session_ = wechat.protobuf.SKBuiltinString_.newBuilder(session_).mergeFrom(value).buildPartial(); } else { session_ = value; } onChanged(); } else { sessionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .wechat_proto.SKBuiltinString_ session = 7; */ public Builder clearSession() { if (sessionBuilder_ == null) { session_ = null; onChanged(); } else { sessionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .wechat_proto.SKBuiltinString_ session = 7; */ public wechat.protobuf.SKBuiltinString_.Builder getSessionBuilder() { bitField0_ |= 0x00000040; onChanged(); return getSessionFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ session = 7; */ public wechat.protobuf.SKBuiltinString_OrBuilder getSessionOrBuilder() { if (sessionBuilder_ != null) { return sessionBuilder_.getMessageOrBuilder(); } else { return session_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : session_; } } /** * optional .wechat_proto.SKBuiltinString_ session = 7; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getSessionFieldBuilder() { if (sessionBuilder_ == null) { sessionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getSession(), getParentForChildren(), isClean()); session_ = null; } return sessionBuilder_; } private int networkType_ ; /** * optional uint32 networkType = 8; * @return Whether the networkType field is set. */ @java.lang.Override public boolean hasNetworkType() { return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 networkType = 8; * @return The networkType. */ @java.lang.Override public int getNetworkType() { return networkType_; } /** * optional uint32 networkType = 8; * @param value The networkType to set. * @return This builder for chaining. */ public Builder setNetworkType(int value) { bitField0_ |= 0x00000080; networkType_ = value; onChanged(); return this; } /** * optional uint32 networkType = 8; * @return This builder for chaining. */ public Builder clearNetworkType() { bitField0_ = (bitField0_ & ~0x00000080); networkType_ = 0; onChanged(); return this; } private wechat.protobuf.Friendgroup.SnsAdExpInfo adexpinfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsAdExpInfo, wechat.protobuf.Friendgroup.SnsAdExpInfo.Builder, wechat.protobuf.Friendgroup.SnsAdExpInfoOrBuilder> adexpinfoBuilder_; /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; * @return Whether the adexpinfo field is set. */ public boolean hasAdexpinfo() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; * @return The adexpinfo. */ public wechat.protobuf.Friendgroup.SnsAdExpInfo getAdexpinfo() { if (adexpinfoBuilder_ == null) { return adexpinfo_ == null ? wechat.protobuf.Friendgroup.SnsAdExpInfo.getDefaultInstance() : adexpinfo_; } else { return adexpinfoBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; */ public Builder setAdexpinfo(wechat.protobuf.Friendgroup.SnsAdExpInfo value) { if (adexpinfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } adexpinfo_ = value; onChanged(); } else { adexpinfoBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; */ public Builder setAdexpinfo( wechat.protobuf.Friendgroup.SnsAdExpInfo.Builder builderForValue) { if (adexpinfoBuilder_ == null) { adexpinfo_ = builderForValue.build(); onChanged(); } else { adexpinfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; */ public Builder mergeAdexpinfo(wechat.protobuf.Friendgroup.SnsAdExpInfo value) { if (adexpinfoBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && adexpinfo_ != null && adexpinfo_ != wechat.protobuf.Friendgroup.SnsAdExpInfo.getDefaultInstance()) { adexpinfo_ = wechat.protobuf.Friendgroup.SnsAdExpInfo.newBuilder(adexpinfo_).mergeFrom(value).buildPartial(); } else { adexpinfo_ = value; } onChanged(); } else { adexpinfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; */ public Builder clearAdexpinfo() { if (adexpinfoBuilder_ == null) { adexpinfo_ = null; onChanged(); } else { adexpinfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; */ public wechat.protobuf.Friendgroup.SnsAdExpInfo.Builder getAdexpinfoBuilder() { bitField0_ |= 0x00000100; onChanged(); return getAdexpinfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; */ public wechat.protobuf.Friendgroup.SnsAdExpInfoOrBuilder getAdexpinfoOrBuilder() { if (adexpinfoBuilder_ != null) { return adexpinfoBuilder_.getMessageOrBuilder(); } else { return adexpinfo_ == null ? wechat.protobuf.Friendgroup.SnsAdExpInfo.getDefaultInstance() : adexpinfo_; } } /** * optional .wechat_proto.SnsAdExpInfo adexpinfo = 10; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsAdExpInfo, wechat.protobuf.Friendgroup.SnsAdExpInfo.Builder, wechat.protobuf.Friendgroup.SnsAdExpInfoOrBuilder> getAdexpinfoFieldBuilder() { if (adexpinfoBuilder_ == null) { adexpinfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsAdExpInfo, wechat.protobuf.Friendgroup.SnsAdExpInfo.Builder, wechat.protobuf.Friendgroup.SnsAdExpInfoOrBuilder>( getAdexpinfo(), getParentForChildren(), isClean()); adexpinfo_ = null; } return adexpinfoBuilder_; } private int realFeedExposureIdsNum_ ; /** * optional uint32 realFeedExposureIdsNum = 11; * @return Whether the realFeedExposureIdsNum field is set. */ @java.lang.Override public boolean hasRealFeedExposureIdsNum() { return ((bitField0_ & 0x00000200) != 0); } /** * optional uint32 realFeedExposureIdsNum = 11; * @return The realFeedExposureIdsNum. */ @java.lang.Override public int getRealFeedExposureIdsNum() { return realFeedExposureIdsNum_; } /** * optional uint32 realFeedExposureIdsNum = 11; * @param value The realFeedExposureIdsNum to set. * @return This builder for chaining. */ public Builder setRealFeedExposureIdsNum(int value) { bitField0_ |= 0x00000200; realFeedExposureIdsNum_ = value; onChanged(); return this; } /** * optional uint32 realFeedExposureIdsNum = 11; * @return This builder for chaining. */ public Builder clearRealFeedExposureIdsNum() { bitField0_ = (bitField0_ & ~0x00000200); realFeedExposureIdsNum_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.LongList realFeedExposureIds_ = emptyLongList(); private void ensureRealFeedExposureIdsIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { realFeedExposureIds_ = mutableCopy(realFeedExposureIds_); bitField0_ |= 0x00000400; } } /** * repeated uint64 realFeedExposureIds = 12; * @return A list containing the realFeedExposureIds. */ public java.util.List getRealFeedExposureIdsList() { return ((bitField0_ & 0x00000400) != 0) ? java.util.Collections.unmodifiableList(realFeedExposureIds_) : realFeedExposureIds_; } /** * repeated uint64 realFeedExposureIds = 12; * @return The count of realFeedExposureIds. */ public int getRealFeedExposureIdsCount() { return realFeedExposureIds_.size(); } /** * repeated uint64 realFeedExposureIds = 12; * @param index The index of the element to return. * @return The realFeedExposureIds at the given index. */ public long getRealFeedExposureIds(int index) { return realFeedExposureIds_.getLong(index); } /** * repeated uint64 realFeedExposureIds = 12; * @param index The index to set the value at. * @param value The realFeedExposureIds to set. * @return This builder for chaining. */ public Builder setRealFeedExposureIds( int index, long value) { ensureRealFeedExposureIdsIsMutable(); realFeedExposureIds_.setLong(index, value); onChanged(); return this; } /** * repeated uint64 realFeedExposureIds = 12; * @param value The realFeedExposureIds to add. * @return This builder for chaining. */ public Builder addRealFeedExposureIds(long value) { ensureRealFeedExposureIdsIsMutable(); realFeedExposureIds_.addLong(value); onChanged(); return this; } /** * repeated uint64 realFeedExposureIds = 12; * @param values The realFeedExposureIds to add. * @return This builder for chaining. */ public Builder addAllRealFeedExposureIds( java.lang.Iterable values) { ensureRealFeedExposureIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, realFeedExposureIds_); onChanged(); return this; } /** * repeated uint64 realFeedExposureIds = 12; * @return This builder for chaining. */ public Builder clearRealFeedExposureIds() { realFeedExposureIds_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } private int updateTimelineScene_ ; /** * optional uint32 updateTimelineScene = 13; * @return Whether the updateTimelineScene field is set. */ @java.lang.Override public boolean hasUpdateTimelineScene() { return ((bitField0_ & 0x00000800) != 0); } /** * optional uint32 updateTimelineScene = 13; * @return The updateTimelineScene. */ @java.lang.Override public int getUpdateTimelineScene() { return updateTimelineScene_; } /** * optional uint32 updateTimelineScene = 13; * @param value The updateTimelineScene to set. * @return This builder for chaining. */ public Builder setUpdateTimelineScene(int value) { bitField0_ |= 0x00000800; updateTimelineScene_ = value; onChanged(); return this; } /** * optional uint32 updateTimelineScene = 13; * @return This builder for chaining. */ public Builder clearUpdateTimelineScene() { bitField0_ = (bitField0_ & ~0x00000800); updateTimelineScene_ = 0; onChanged(); return this; } private int pullType_ ; /** * optional uint32 pullType = 14; * @return Whether the pullType field is set. */ @java.lang.Override public boolean hasPullType() { return ((bitField0_ & 0x00001000) != 0); } /** * optional uint32 pullType = 14; * @return The pullType. */ @java.lang.Override public int getPullType() { return pullType_; } /** * optional uint32 pullType = 14; * @param value The pullType to set. * @return This builder for chaining. */ public Builder setPullType(int value) { bitField0_ |= 0x00001000; pullType_ = value; onChanged(); return this; } /** * optional uint32 pullType = 14; * @return This builder for chaining. */ public Builder clearPullType() { bitField0_ = (bitField0_ & ~0x00001000); pullType_ = 0; onChanged(); return this; } private long minIdForGetPrePage_ ; /** * optional uint64 minIdForGetPrePage = 15; * @return Whether the minIdForGetPrePage field is set. */ @java.lang.Override public boolean hasMinIdForGetPrePage() { return ((bitField0_ & 0x00002000) != 0); } /** * optional uint64 minIdForGetPrePage = 15; * @return The minIdForGetPrePage. */ @java.lang.Override public long getMinIdForGetPrePage() { return minIdForGetPrePage_; } /** * optional uint64 minIdForGetPrePage = 15; * @param value The minIdForGetPrePage to set. * @return This builder for chaining. */ public Builder setMinIdForGetPrePage(long value) { bitField0_ |= 0x00002000; minIdForGetPrePage_ = value; onChanged(); return this; } /** * optional uint64 minIdForGetPrePage = 15; * @return This builder for chaining. */ public Builder clearMinIdForGetPrePage() { bitField0_ = (bitField0_ & ~0x00002000); minIdForGetPrePage_ = 0L; onChanged(); return this; } private long minIdForCheckUnread_ ; /** * optional uint64 minIdForCheckUnread = 16; * @return Whether the minIdForCheckUnread field is set. */ @java.lang.Override public boolean hasMinIdForCheckUnread() { return ((bitField0_ & 0x00004000) != 0); } /** * optional uint64 minIdForCheckUnread = 16; * @return The minIdForCheckUnread. */ @java.lang.Override public long getMinIdForCheckUnread() { return minIdForCheckUnread_; } /** * optional uint64 minIdForCheckUnread = 16; * @param value The minIdForCheckUnread to set. * @return This builder for chaining. */ public Builder setMinIdForCheckUnread(long value) { bitField0_ |= 0x00004000; minIdForCheckUnread_ = value; onChanged(); return this; } /** * optional uint64 minIdForCheckUnread = 16; * @return This builder for chaining. */ public Builder clearMinIdForCheckUnread() { bitField0_ = (bitField0_ & ~0x00004000); minIdForCheckUnread_ = 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.SnsTimeLineRequest) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsTimeLineRequest) private static final wechat.protobuf.Friendgroup.SnsTimeLineRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsTimeLineRequest(); } public static wechat.protobuf.Friendgroup.SnsTimeLineRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsTimeLineRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsTimeLineRequest(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.Friendgroup.SnsTimeLineRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsAdExpInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsAdExpInfo) com.google.protobuf.MessageOrBuilder { /** * optional uint64 hateFeedid = 1; * @return Whether the hateFeedid field is set. */ boolean hasHateFeedid(); /** * optional uint64 hateFeedid = 1; * @return The hateFeedid. */ long getHateFeedid(); /** * optional uint32 hateTimestamp = 2; * @return Whether the hateTimestamp field is set. */ boolean hasHateTimestamp(); /** * optional uint32 hateTimestamp = 2; * @return The hateTimestamp. */ int getHateTimestamp(); } /** * Protobuf type {@code wechat_proto.SnsAdExpInfo} */ public static final class SnsAdExpInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsAdExpInfo) SnsAdExpInfoOrBuilder { private static final long serialVersionUID = 0L; // Use SnsAdExpInfo.newBuilder() to construct. private SnsAdExpInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsAdExpInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsAdExpInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsAdExpInfo( 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; hateFeedid_ = input.readUInt64(); break; } case 16: { bitField0_ |= 0x00000002; hateTimestamp_ = 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.Friendgroup.internal_static_wechat_proto_SnsAdExpInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsAdExpInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsAdExpInfo.class, wechat.protobuf.Friendgroup.SnsAdExpInfo.Builder.class); } private int bitField0_; public static final int HATEFEEDID_FIELD_NUMBER = 1; private long hateFeedid_; /** * optional uint64 hateFeedid = 1; * @return Whether the hateFeedid field is set. */ @java.lang.Override public boolean hasHateFeedid() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint64 hateFeedid = 1; * @return The hateFeedid. */ @java.lang.Override public long getHateFeedid() { return hateFeedid_; } public static final int HATETIMESTAMP_FIELD_NUMBER = 2; private int hateTimestamp_; /** * optional uint32 hateTimestamp = 2; * @return Whether the hateTimestamp field is set. */ @java.lang.Override public boolean hasHateTimestamp() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 hateTimestamp = 2; * @return The hateTimestamp. */ @java.lang.Override public int getHateTimestamp() { return hateTimestamp_; } 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.writeUInt64(1, hateFeedid_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, hateTimestamp_); } 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 .computeUInt64Size(1, hateFeedid_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, hateTimestamp_); } 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.Friendgroup.SnsAdExpInfo)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsAdExpInfo other = (wechat.protobuf.Friendgroup.SnsAdExpInfo) obj; if (hasHateFeedid() != other.hasHateFeedid()) return false; if (hasHateFeedid()) { if (getHateFeedid() != other.getHateFeedid()) return false; } if (hasHateTimestamp() != other.hasHateTimestamp()) return false; if (hasHateTimestamp()) { if (getHateTimestamp() != other.getHateTimestamp()) 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 (hasHateFeedid()) { hash = (37 * hash) + HATEFEEDID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHateFeedid()); } if (hasHateTimestamp()) { hash = (37 * hash) + HATETIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getHateTimestamp(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsAdExpInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsAdExpInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsAdExpInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsAdExpInfo 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.Friendgroup.SnsAdExpInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsAdExpInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsAdExpInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsAdExpInfo 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.Friendgroup.SnsAdExpInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsAdExpInfo 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.Friendgroup.SnsAdExpInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsAdExpInfo 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.Friendgroup.SnsAdExpInfo 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.SnsAdExpInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsAdExpInfo) wechat.protobuf.Friendgroup.SnsAdExpInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsAdExpInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsAdExpInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsAdExpInfo.class, wechat.protobuf.Friendgroup.SnsAdExpInfo.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsAdExpInfo.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(); hateFeedid_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); hateTimestamp_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsAdExpInfo_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsAdExpInfo getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsAdExpInfo.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsAdExpInfo build() { wechat.protobuf.Friendgroup.SnsAdExpInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsAdExpInfo buildPartial() { wechat.protobuf.Friendgroup.SnsAdExpInfo result = new wechat.protobuf.Friendgroup.SnsAdExpInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.hateFeedid_ = hateFeedid_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.hateTimestamp_ = hateTimestamp_; 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.Friendgroup.SnsAdExpInfo) { return mergeFrom((wechat.protobuf.Friendgroup.SnsAdExpInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsAdExpInfo other) { if (other == wechat.protobuf.Friendgroup.SnsAdExpInfo.getDefaultInstance()) return this; if (other.hasHateFeedid()) { setHateFeedid(other.getHateFeedid()); } if (other.hasHateTimestamp()) { setHateTimestamp(other.getHateTimestamp()); } 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.Friendgroup.SnsAdExpInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsAdExpInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long hateFeedid_ ; /** * optional uint64 hateFeedid = 1; * @return Whether the hateFeedid field is set. */ @java.lang.Override public boolean hasHateFeedid() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint64 hateFeedid = 1; * @return The hateFeedid. */ @java.lang.Override public long getHateFeedid() { return hateFeedid_; } /** * optional uint64 hateFeedid = 1; * @param value The hateFeedid to set. * @return This builder for chaining. */ public Builder setHateFeedid(long value) { bitField0_ |= 0x00000001; hateFeedid_ = value; onChanged(); return this; } /** * optional uint64 hateFeedid = 1; * @return This builder for chaining. */ public Builder clearHateFeedid() { bitField0_ = (bitField0_ & ~0x00000001); hateFeedid_ = 0L; onChanged(); return this; } private int hateTimestamp_ ; /** * optional uint32 hateTimestamp = 2; * @return Whether the hateTimestamp field is set. */ @java.lang.Override public boolean hasHateTimestamp() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 hateTimestamp = 2; * @return The hateTimestamp. */ @java.lang.Override public int getHateTimestamp() { return hateTimestamp_; } /** * optional uint32 hateTimestamp = 2; * @param value The hateTimestamp to set. * @return This builder for chaining. */ public Builder setHateTimestamp(int value) { bitField0_ |= 0x00000002; hateTimestamp_ = value; onChanged(); return this; } /** * optional uint32 hateTimestamp = 2; * @return This builder for chaining. */ public Builder clearHateTimestamp() { bitField0_ = (bitField0_ & ~0x00000002); hateTimestamp_ = 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.SnsAdExpInfo) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsAdExpInfo) private static final wechat.protobuf.Friendgroup.SnsAdExpInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsAdExpInfo(); } public static wechat.protobuf.Friendgroup.SnsAdExpInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsAdExpInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsAdExpInfo(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.Friendgroup.SnsAdExpInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsTimeLineResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsTimeLineResponse) 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 string firstPageMd5 = 2; * @return Whether the firstPageMd5 field is set. */ boolean hasFirstPageMd5(); /** * optional string firstPageMd5 = 2; * @return The firstPageMd5. */ java.lang.String getFirstPageMd5(); /** * optional string firstPageMd5 = 2; * @return The bytes for firstPageMd5. */ com.google.protobuf.ByteString getFirstPageMd5Bytes(); /** * optional uint32 objectNum = 3; * @return Whether the objectNum field is set. */ boolean hasObjectNum(); /** * optional uint32 objectNum = 3; * @return The objectNum. */ int getObjectNum(); /** * repeated .wechat_proto.SnsObject objectList = 4; */ java.util.List getObjectListList(); /** * repeated .wechat_proto.SnsObject objectList = 4; */ wechat.protobuf.Friendgroup.SnsObject getObjectList(int index); /** * repeated .wechat_proto.SnsObject objectList = 4; */ int getObjectListCount(); /** * repeated .wechat_proto.SnsObject objectList = 4; */ java.util.List getObjectListOrBuilderList(); /** * repeated .wechat_proto.SnsObject objectList = 4; */ wechat.protobuf.Friendgroup.SnsObjectOrBuilder getObjectListOrBuilder( int index); /** * optional uint32 newRequestTime = 5; * @return Whether the newRequestTime field is set. */ boolean hasNewRequestTime(); /** * optional uint32 newRequestTime = 5; * @return The newRequestTime. */ int getNewRequestTime(); /** * optional uint32 objectNumForSameMd5 = 6; * @return Whether the objectNumForSameMd5 field is set. */ boolean hasObjectNumForSameMd5(); /** * optional uint32 objectNumForSameMd5 = 6; * @return The objectNumForSameMd5. */ int getObjectNumForSameMd5(); /** * optional uint32 controlFlag = 7; * @return Whether the controlFlag field is set. */ boolean hasControlFlag(); /** * optional uint32 controlFlag = 7; * @return The controlFlag. */ int getControlFlag(); /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; * @return Whether the serverConfig field is set. */ boolean hasServerConfig(); /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; * @return The serverConfig. */ wechat.protobuf.Friendgroup.SnsServerConfig getServerConfig(); /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; */ wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder getServerConfigOrBuilder(); /** * optional uint32 advertiseNum = 9; * @return Whether the advertiseNum field is set. */ boolean hasAdvertiseNum(); /** * optional uint32 advertiseNum = 9; * @return The advertiseNum. */ int getAdvertiseNum(); /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ java.util.List getAdvertiseListList(); /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ wechat.protobuf.Friendgroup.AdvertiseObject getAdvertiseList(int index); /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ int getAdvertiseListCount(); /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ java.util.List getAdvertiseListOrBuilderList(); /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ wechat.protobuf.Friendgroup.AdvertiseObjectOrBuilder getAdvertiseListOrBuilder( int index); /** * optional .wechat_proto.SKBuiltinString_ session = 11; * @return Whether the session field is set. */ boolean hasSession(); /** * optional .wechat_proto.SKBuiltinString_ session = 11; * @return The session. */ wechat.protobuf.SKBuiltinString_ getSession(); /** * optional .wechat_proto.SKBuiltinString_ session = 11; */ wechat.protobuf.SKBuiltinString_OrBuilder getSessionOrBuilder(); /** * optional uint32 recNum = 12; * @return Whether the recNum field is set. */ boolean hasRecNum(); /** * optional uint32 recNum = 12; * @return The recNum. */ int getRecNum(); /** * repeated .wechat_proto.RecObject recList = 13; */ java.util.List getRecListList(); /** * repeated .wechat_proto.RecObject recList = 13; */ wechat.protobuf.Friendgroup.RecObject getRecList(int index); /** * repeated .wechat_proto.RecObject recList = 13; */ int getRecListCount(); /** * repeated .wechat_proto.RecObject recList = 13; */ java.util.List getRecListOrBuilderList(); /** * repeated .wechat_proto.RecObject recList = 13; */ wechat.protobuf.Friendgroup.RecObjectOrBuilder getRecListOrBuilder( int index); /** * optional uint32 delAdvertiseNum = 14; * @return Whether the delAdvertiseNum field is set. */ boolean hasDelAdvertiseNum(); /** * optional uint32 delAdvertiseNum = 14; * @return The delAdvertiseNum. */ int getDelAdvertiseNum(); /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ java.util.List getDelAdvertiseListList(); /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ wechat.protobuf.Friendgroup.DelAdvertiseObject getDelAdvertiseList(int index); /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ int getDelAdvertiseListCount(); /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ java.util.List getDelAdvertiseListOrBuilderList(); /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ wechat.protobuf.Friendgroup.DelAdvertiseObjectOrBuilder getDelAdvertiseListOrBuilder( int index); /** * optional uint32 countForCheckUnread = 16; * @return Whether the countForCheckUnread field is set. */ boolean hasCountForCheckUnread(); /** * optional uint32 countForCheckUnread = 16; * @return The countForCheckUnread. */ int getCountForCheckUnread(); /** * repeated uint64 idListForCheckUnread = 17; * @return A list containing the idListForCheckUnread. */ java.util.List getIdListForCheckUnreadList(); /** * repeated uint64 idListForCheckUnread = 17; * @return The count of idListForCheckUnread. */ int getIdListForCheckUnreadCount(); /** * repeated uint64 idListForCheckUnread = 17; * @param index The index of the element to return. * @return The idListForCheckUnread at the given index. */ long getIdListForCheckUnread(int index); } /** * Protobuf type {@code wechat_proto.SnsTimeLineResponse} */ public static final class SnsTimeLineResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsTimeLineResponse) SnsTimeLineResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SnsTimeLineResponse.newBuilder() to construct. private SnsTimeLineResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsTimeLineResponse() { firstPageMd5_ = ""; objectList_ = java.util.Collections.emptyList(); advertiseList_ = java.util.Collections.emptyList(); recList_ = java.util.Collections.emptyList(); delAdvertiseList_ = java.util.Collections.emptyList(); idListForCheckUnread_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsTimeLineResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsTimeLineResponse( 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 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; firstPageMd5_ = bs; break; } case 24: { bitField0_ |= 0x00000004; objectNum_ = input.readUInt32(); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { objectList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } objectList_.add( input.readMessage(wechat.protobuf.Friendgroup.SnsObject.PARSER, extensionRegistry)); break; } case 40: { bitField0_ |= 0x00000008; newRequestTime_ = input.readUInt32(); break; } case 48: { bitField0_ |= 0x00000010; objectNumForSameMd5_ = input.readUInt32(); break; } case 56: { bitField0_ |= 0x00000020; controlFlag_ = input.readUInt32(); break; } case 66: { wechat.protobuf.Friendgroup.SnsServerConfig.Builder subBuilder = null; if (((bitField0_ & 0x00000040) != 0)) { subBuilder = serverConfig_.toBuilder(); } serverConfig_ = input.readMessage(wechat.protobuf.Friendgroup.SnsServerConfig.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(serverConfig_); serverConfig_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 72: { bitField0_ |= 0x00000080; advertiseNum_ = input.readUInt32(); break; } case 82: { if (!((mutable_bitField0_ & 0x00000200) != 0)) { advertiseList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } advertiseList_.add( input.readMessage(wechat.protobuf.Friendgroup.AdvertiseObject.PARSER, extensionRegistry)); break; } case 90: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000100) != 0)) { subBuilder = session_.toBuilder(); } session_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(session_); session_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } case 96: { bitField0_ |= 0x00000200; recNum_ = input.readUInt32(); break; } case 106: { if (!((mutable_bitField0_ & 0x00001000) != 0)) { recList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00001000; } recList_.add( input.readMessage(wechat.protobuf.Friendgroup.RecObject.PARSER, extensionRegistry)); break; } case 112: { bitField0_ |= 0x00000400; delAdvertiseNum_ = input.readUInt32(); break; } case 122: { if (!((mutable_bitField0_ & 0x00004000) != 0)) { delAdvertiseList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00004000; } delAdvertiseList_.add( input.readMessage(wechat.protobuf.Friendgroup.DelAdvertiseObject.PARSER, extensionRegistry)); break; } case 128: { bitField0_ |= 0x00000800; countForCheckUnread_ = input.readUInt32(); break; } case 136: { if (!((mutable_bitField0_ & 0x00010000) != 0)) { idListForCheckUnread_ = newLongList(); mutable_bitField0_ |= 0x00010000; } idListForCheckUnread_.addLong(input.readUInt64()); break; } case 138: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00010000) != 0) && input.getBytesUntilLimit() > 0) { idListForCheckUnread_ = newLongList(); mutable_bitField0_ |= 0x00010000; } while (input.getBytesUntilLimit() > 0) { idListForCheckUnread_.addLong(input.readUInt64()); } input.popLimit(limit); 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_ & 0x00000008) != 0)) { objectList_ = java.util.Collections.unmodifiableList(objectList_); } if (((mutable_bitField0_ & 0x00000200) != 0)) { advertiseList_ = java.util.Collections.unmodifiableList(advertiseList_); } if (((mutable_bitField0_ & 0x00001000) != 0)) { recList_ = java.util.Collections.unmodifiableList(recList_); } if (((mutable_bitField0_ & 0x00004000) != 0)) { delAdvertiseList_ = java.util.Collections.unmodifiableList(delAdvertiseList_); } if (((mutable_bitField0_ & 0x00010000) != 0)) { idListForCheckUnread_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTimeLineResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTimeLineResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsTimeLineResponse.class, wechat.protobuf.Friendgroup.SnsTimeLineResponse.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 FIRSTPAGEMD5_FIELD_NUMBER = 2; private volatile java.lang.Object firstPageMd5_; /** * optional string firstPageMd5 = 2; * @return Whether the firstPageMd5 field is set. */ @java.lang.Override public boolean hasFirstPageMd5() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string firstPageMd5 = 2; * @return The firstPageMd5. */ @java.lang.Override public java.lang.String getFirstPageMd5() { java.lang.Object ref = firstPageMd5_; 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()) { firstPageMd5_ = s; } return s; } } /** * optional string firstPageMd5 = 2; * @return The bytes for firstPageMd5. */ @java.lang.Override public com.google.protobuf.ByteString getFirstPageMd5Bytes() { java.lang.Object ref = firstPageMd5_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); firstPageMd5_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OBJECTNUM_FIELD_NUMBER = 3; private int objectNum_; /** * optional uint32 objectNum = 3; * @return Whether the objectNum field is set. */ @java.lang.Override public boolean hasObjectNum() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 objectNum = 3; * @return The objectNum. */ @java.lang.Override public int getObjectNum() { return objectNum_; } public static final int OBJECTLIST_FIELD_NUMBER = 4; private java.util.List objectList_; /** * repeated .wechat_proto.SnsObject objectList = 4; */ @java.lang.Override public java.util.List getObjectListList() { return objectList_; } /** * repeated .wechat_proto.SnsObject objectList = 4; */ @java.lang.Override public java.util.List getObjectListOrBuilderList() { return objectList_; } /** * repeated .wechat_proto.SnsObject objectList = 4; */ @java.lang.Override public int getObjectListCount() { return objectList_.size(); } /** * repeated .wechat_proto.SnsObject objectList = 4; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsObject getObjectList(int index) { return objectList_.get(index); } /** * repeated .wechat_proto.SnsObject objectList = 4; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getObjectListOrBuilder( int index) { return objectList_.get(index); } public static final int NEWREQUESTTIME_FIELD_NUMBER = 5; private int newRequestTime_; /** * optional uint32 newRequestTime = 5; * @return Whether the newRequestTime field is set. */ @java.lang.Override public boolean hasNewRequestTime() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 newRequestTime = 5; * @return The newRequestTime. */ @java.lang.Override public int getNewRequestTime() { return newRequestTime_; } public static final int OBJECTNUMFORSAMEMD5_FIELD_NUMBER = 6; private int objectNumForSameMd5_; /** * optional uint32 objectNumForSameMd5 = 6; * @return Whether the objectNumForSameMd5 field is set. */ @java.lang.Override public boolean hasObjectNumForSameMd5() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 objectNumForSameMd5 = 6; * @return The objectNumForSameMd5. */ @java.lang.Override public int getObjectNumForSameMd5() { return objectNumForSameMd5_; } public static final int CONTROLFLAG_FIELD_NUMBER = 7; private int controlFlag_; /** * optional uint32 controlFlag = 7; * @return Whether the controlFlag field is set. */ @java.lang.Override public boolean hasControlFlag() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 controlFlag = 7; * @return The controlFlag. */ @java.lang.Override public int getControlFlag() { return controlFlag_; } public static final int SERVERCONFIG_FIELD_NUMBER = 8; private wechat.protobuf.Friendgroup.SnsServerConfig serverConfig_; /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; * @return Whether the serverConfig field is set. */ @java.lang.Override public boolean hasServerConfig() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; * @return The serverConfig. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsServerConfig getServerConfig() { return serverConfig_ == null ? wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance() : serverConfig_; } /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder getServerConfigOrBuilder() { return serverConfig_ == null ? wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance() : serverConfig_; } public static final int ADVERTISENUM_FIELD_NUMBER = 9; private int advertiseNum_; /** * optional uint32 advertiseNum = 9; * @return Whether the advertiseNum field is set. */ @java.lang.Override public boolean hasAdvertiseNum() { return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 advertiseNum = 9; * @return The advertiseNum. */ @java.lang.Override public int getAdvertiseNum() { return advertiseNum_; } public static final int ADVERTISELIST_FIELD_NUMBER = 10; private java.util.List advertiseList_; /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ @java.lang.Override public java.util.List getAdvertiseListList() { return advertiseList_; } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ @java.lang.Override public java.util.List getAdvertiseListOrBuilderList() { return advertiseList_; } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ @java.lang.Override public int getAdvertiseListCount() { return advertiseList_.size(); } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ @java.lang.Override public wechat.protobuf.Friendgroup.AdvertiseObject getAdvertiseList(int index) { return advertiseList_.get(index); } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ @java.lang.Override public wechat.protobuf.Friendgroup.AdvertiseObjectOrBuilder getAdvertiseListOrBuilder( int index) { return advertiseList_.get(index); } public static final int SESSION_FIELD_NUMBER = 11; private wechat.protobuf.SKBuiltinString_ session_; /** * optional .wechat_proto.SKBuiltinString_ session = 11; * @return Whether the session field is set. */ @java.lang.Override public boolean hasSession() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .wechat_proto.SKBuiltinString_ session = 11; * @return The session. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getSession() { return session_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : session_; } /** * optional .wechat_proto.SKBuiltinString_ session = 11; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getSessionOrBuilder() { return session_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : session_; } public static final int RECNUM_FIELD_NUMBER = 12; private int recNum_; /** * optional uint32 recNum = 12; * @return Whether the recNum field is set. */ @java.lang.Override public boolean hasRecNum() { return ((bitField0_ & 0x00000200) != 0); } /** * optional uint32 recNum = 12; * @return The recNum. */ @java.lang.Override public int getRecNum() { return recNum_; } public static final int RECLIST_FIELD_NUMBER = 13; private java.util.List recList_; /** * repeated .wechat_proto.RecObject recList = 13; */ @java.lang.Override public java.util.List getRecListList() { return recList_; } /** * repeated .wechat_proto.RecObject recList = 13; */ @java.lang.Override public java.util.List getRecListOrBuilderList() { return recList_; } /** * repeated .wechat_proto.RecObject recList = 13; */ @java.lang.Override public int getRecListCount() { return recList_.size(); } /** * repeated .wechat_proto.RecObject recList = 13; */ @java.lang.Override public wechat.protobuf.Friendgroup.RecObject getRecList(int index) { return recList_.get(index); } /** * repeated .wechat_proto.RecObject recList = 13; */ @java.lang.Override public wechat.protobuf.Friendgroup.RecObjectOrBuilder getRecListOrBuilder( int index) { return recList_.get(index); } public static final int DELADVERTISENUM_FIELD_NUMBER = 14; private int delAdvertiseNum_; /** * optional uint32 delAdvertiseNum = 14; * @return Whether the delAdvertiseNum field is set. */ @java.lang.Override public boolean hasDelAdvertiseNum() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint32 delAdvertiseNum = 14; * @return The delAdvertiseNum. */ @java.lang.Override public int getDelAdvertiseNum() { return delAdvertiseNum_; } public static final int DELADVERTISELIST_FIELD_NUMBER = 15; private java.util.List delAdvertiseList_; /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ @java.lang.Override public java.util.List getDelAdvertiseListList() { return delAdvertiseList_; } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ @java.lang.Override public java.util.List getDelAdvertiseListOrBuilderList() { return delAdvertiseList_; } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ @java.lang.Override public int getDelAdvertiseListCount() { return delAdvertiseList_.size(); } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ @java.lang.Override public wechat.protobuf.Friendgroup.DelAdvertiseObject getDelAdvertiseList(int index) { return delAdvertiseList_.get(index); } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ @java.lang.Override public wechat.protobuf.Friendgroup.DelAdvertiseObjectOrBuilder getDelAdvertiseListOrBuilder( int index) { return delAdvertiseList_.get(index); } public static final int COUNTFORCHECKUNREAD_FIELD_NUMBER = 16; private int countForCheckUnread_; /** * optional uint32 countForCheckUnread = 16; * @return Whether the countForCheckUnread field is set. */ @java.lang.Override public boolean hasCountForCheckUnread() { return ((bitField0_ & 0x00000800) != 0); } /** * optional uint32 countForCheckUnread = 16; * @return The countForCheckUnread. */ @java.lang.Override public int getCountForCheckUnread() { return countForCheckUnread_; } public static final int IDLISTFORCHECKUNREAD_FIELD_NUMBER = 17; private com.google.protobuf.Internal.LongList idListForCheckUnread_; /** * repeated uint64 idListForCheckUnread = 17; * @return A list containing the idListForCheckUnread. */ @java.lang.Override public java.util.List getIdListForCheckUnreadList() { return idListForCheckUnread_; } /** * repeated uint64 idListForCheckUnread = 17; * @return The count of idListForCheckUnread. */ public int getIdListForCheckUnreadCount() { return idListForCheckUnread_.size(); } /** * repeated uint64 idListForCheckUnread = 17; * @param index The index of the element to return. * @return The idListForCheckUnread at the given index. */ public long getIdListForCheckUnread(int index) { return idListForCheckUnread_.getLong(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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, firstPageMd5_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, objectNum_); } for (int i = 0; i < objectList_.size(); i++) { output.writeMessage(4, objectList_.get(i)); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(5, newRequestTime_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(6, objectNumForSameMd5_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(7, controlFlag_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(8, getServerConfig()); } if (((bitField0_ & 0x00000080) != 0)) { output.writeUInt32(9, advertiseNum_); } for (int i = 0; i < advertiseList_.size(); i++) { output.writeMessage(10, advertiseList_.get(i)); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(11, getSession()); } if (((bitField0_ & 0x00000200) != 0)) { output.writeUInt32(12, recNum_); } for (int i = 0; i < recList_.size(); i++) { output.writeMessage(13, recList_.get(i)); } if (((bitField0_ & 0x00000400) != 0)) { output.writeUInt32(14, delAdvertiseNum_); } for (int i = 0; i < delAdvertiseList_.size(); i++) { output.writeMessage(15, delAdvertiseList_.get(i)); } if (((bitField0_ & 0x00000800) != 0)) { output.writeUInt32(16, countForCheckUnread_); } for (int i = 0; i < idListForCheckUnread_.size(); i++) { output.writeUInt64(17, idListForCheckUnread_.getLong(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.GeneratedMessageV3.computeStringSize(2, firstPageMd5_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, objectNum_); } for (int i = 0; i < objectList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, objectList_.get(i)); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, newRequestTime_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, objectNumForSameMd5_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, controlFlag_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getServerConfig()); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(9, advertiseNum_); } for (int i = 0; i < advertiseList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, advertiseList_.get(i)); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getSession()); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(12, recNum_); } for (int i = 0; i < recList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, recList_.get(i)); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(14, delAdvertiseNum_); } for (int i = 0; i < delAdvertiseList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, delAdvertiseList_.get(i)); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(16, countForCheckUnread_); } { int dataSize = 0; for (int i = 0; i < idListForCheckUnread_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(idListForCheckUnread_.getLong(i)); } size += dataSize; size += 2 * getIdListForCheckUnreadList().size(); } 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.Friendgroup.SnsTimeLineResponse)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsTimeLineResponse other = (wechat.protobuf.Friendgroup.SnsTimeLineResponse) obj; if (hasBaseResponse() != other.hasBaseResponse()) return false; if (hasBaseResponse()) { if (!getBaseResponse() .equals(other.getBaseResponse())) return false; } if (hasFirstPageMd5() != other.hasFirstPageMd5()) return false; if (hasFirstPageMd5()) { if (!getFirstPageMd5() .equals(other.getFirstPageMd5())) return false; } if (hasObjectNum() != other.hasObjectNum()) return false; if (hasObjectNum()) { if (getObjectNum() != other.getObjectNum()) return false; } if (!getObjectListList() .equals(other.getObjectListList())) return false; if (hasNewRequestTime() != other.hasNewRequestTime()) return false; if (hasNewRequestTime()) { if (getNewRequestTime() != other.getNewRequestTime()) return false; } if (hasObjectNumForSameMd5() != other.hasObjectNumForSameMd5()) return false; if (hasObjectNumForSameMd5()) { if (getObjectNumForSameMd5() != other.getObjectNumForSameMd5()) return false; } if (hasControlFlag() != other.hasControlFlag()) return false; if (hasControlFlag()) { if (getControlFlag() != other.getControlFlag()) return false; } if (hasServerConfig() != other.hasServerConfig()) return false; if (hasServerConfig()) { if (!getServerConfig() .equals(other.getServerConfig())) return false; } if (hasAdvertiseNum() != other.hasAdvertiseNum()) return false; if (hasAdvertiseNum()) { if (getAdvertiseNum() != other.getAdvertiseNum()) return false; } if (!getAdvertiseListList() .equals(other.getAdvertiseListList())) return false; if (hasSession() != other.hasSession()) return false; if (hasSession()) { if (!getSession() .equals(other.getSession())) return false; } if (hasRecNum() != other.hasRecNum()) return false; if (hasRecNum()) { if (getRecNum() != other.getRecNum()) return false; } if (!getRecListList() .equals(other.getRecListList())) return false; if (hasDelAdvertiseNum() != other.hasDelAdvertiseNum()) return false; if (hasDelAdvertiseNum()) { if (getDelAdvertiseNum() != other.getDelAdvertiseNum()) return false; } if (!getDelAdvertiseListList() .equals(other.getDelAdvertiseListList())) return false; if (hasCountForCheckUnread() != other.hasCountForCheckUnread()) return false; if (hasCountForCheckUnread()) { if (getCountForCheckUnread() != other.getCountForCheckUnread()) return false; } if (!getIdListForCheckUnreadList() .equals(other.getIdListForCheckUnreadList())) 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 (hasFirstPageMd5()) { hash = (37 * hash) + FIRSTPAGEMD5_FIELD_NUMBER; hash = (53 * hash) + getFirstPageMd5().hashCode(); } if (hasObjectNum()) { hash = (37 * hash) + OBJECTNUM_FIELD_NUMBER; hash = (53 * hash) + getObjectNum(); } if (getObjectListCount() > 0) { hash = (37 * hash) + OBJECTLIST_FIELD_NUMBER; hash = (53 * hash) + getObjectListList().hashCode(); } if (hasNewRequestTime()) { hash = (37 * hash) + NEWREQUESTTIME_FIELD_NUMBER; hash = (53 * hash) + getNewRequestTime(); } if (hasObjectNumForSameMd5()) { hash = (37 * hash) + OBJECTNUMFORSAMEMD5_FIELD_NUMBER; hash = (53 * hash) + getObjectNumForSameMd5(); } if (hasControlFlag()) { hash = (37 * hash) + CONTROLFLAG_FIELD_NUMBER; hash = (53 * hash) + getControlFlag(); } if (hasServerConfig()) { hash = (37 * hash) + SERVERCONFIG_FIELD_NUMBER; hash = (53 * hash) + getServerConfig().hashCode(); } if (hasAdvertiseNum()) { hash = (37 * hash) + ADVERTISENUM_FIELD_NUMBER; hash = (53 * hash) + getAdvertiseNum(); } if (getAdvertiseListCount() > 0) { hash = (37 * hash) + ADVERTISELIST_FIELD_NUMBER; hash = (53 * hash) + getAdvertiseListList().hashCode(); } if (hasSession()) { hash = (37 * hash) + SESSION_FIELD_NUMBER; hash = (53 * hash) + getSession().hashCode(); } if (hasRecNum()) { hash = (37 * hash) + RECNUM_FIELD_NUMBER; hash = (53 * hash) + getRecNum(); } if (getRecListCount() > 0) { hash = (37 * hash) + RECLIST_FIELD_NUMBER; hash = (53 * hash) + getRecListList().hashCode(); } if (hasDelAdvertiseNum()) { hash = (37 * hash) + DELADVERTISENUM_FIELD_NUMBER; hash = (53 * hash) + getDelAdvertiseNum(); } if (getDelAdvertiseListCount() > 0) { hash = (37 * hash) + DELADVERTISELIST_FIELD_NUMBER; hash = (53 * hash) + getDelAdvertiseListList().hashCode(); } if (hasCountForCheckUnread()) { hash = (37 * hash) + COUNTFORCHECKUNREAD_FIELD_NUMBER; hash = (53 * hash) + getCountForCheckUnread(); } if (getIdListForCheckUnreadCount() > 0) { hash = (37 * hash) + IDLISTFORCHECKUNREAD_FIELD_NUMBER; hash = (53 * hash) + getIdListForCheckUnreadList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsTimeLineResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTimeLineResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsTimeLineResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTimeLineResponse 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.Friendgroup.SnsTimeLineResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsTimeLineResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsTimeLineResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTimeLineResponse 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.Friendgroup.SnsTimeLineResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTimeLineResponse 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.Friendgroup.SnsTimeLineResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsTimeLineResponse 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.Friendgroup.SnsTimeLineResponse 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.SnsTimeLineResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsTimeLineResponse) wechat.protobuf.Friendgroup.SnsTimeLineResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTimeLineResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTimeLineResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsTimeLineResponse.class, wechat.protobuf.Friendgroup.SnsTimeLineResponse.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsTimeLineResponse.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(); getServerConfigFieldBuilder(); getAdvertiseListFieldBuilder(); getSessionFieldBuilder(); getRecListFieldBuilder(); getDelAdvertiseListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseResponseBuilder_ == null) { baseResponse_ = null; } else { baseResponseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); firstPageMd5_ = ""; bitField0_ = (bitField0_ & ~0x00000002); objectNum_ = 0; bitField0_ = (bitField0_ & ~0x00000004); if (objectListBuilder_ == null) { objectList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { objectListBuilder_.clear(); } newRequestTime_ = 0; bitField0_ = (bitField0_ & ~0x00000010); objectNumForSameMd5_ = 0; bitField0_ = (bitField0_ & ~0x00000020); controlFlag_ = 0; bitField0_ = (bitField0_ & ~0x00000040); if (serverConfigBuilder_ == null) { serverConfig_ = null; } else { serverConfigBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); advertiseNum_ = 0; bitField0_ = (bitField0_ & ~0x00000100); if (advertiseListBuilder_ == null) { advertiseList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); } else { advertiseListBuilder_.clear(); } if (sessionBuilder_ == null) { session_ = null; } else { sessionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); recNum_ = 0; bitField0_ = (bitField0_ & ~0x00000800); if (recListBuilder_ == null) { recList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); } else { recListBuilder_.clear(); } delAdvertiseNum_ = 0; bitField0_ = (bitField0_ & ~0x00002000); if (delAdvertiseListBuilder_ == null) { delAdvertiseList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00004000); } else { delAdvertiseListBuilder_.clear(); } countForCheckUnread_ = 0; bitField0_ = (bitField0_ & ~0x00008000); idListForCheckUnread_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00010000); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTimeLineResponse_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTimeLineResponse getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsTimeLineResponse.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTimeLineResponse build() { wechat.protobuf.Friendgroup.SnsTimeLineResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsTimeLineResponse buildPartial() { wechat.protobuf.Friendgroup.SnsTimeLineResponse result = new wechat.protobuf.Friendgroup.SnsTimeLineResponse(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)) { to_bitField0_ |= 0x00000002; } result.firstPageMd5_ = firstPageMd5_; if (((from_bitField0_ & 0x00000004) != 0)) { result.objectNum_ = objectNum_; to_bitField0_ |= 0x00000004; } if (objectListBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { objectList_ = java.util.Collections.unmodifiableList(objectList_); bitField0_ = (bitField0_ & ~0x00000008); } result.objectList_ = objectList_; } else { result.objectList_ = objectListBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.newRequestTime_ = newRequestTime_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { result.objectNumForSameMd5_ = objectNumForSameMd5_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { result.controlFlag_ = controlFlag_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { if (serverConfigBuilder_ == null) { result.serverConfig_ = serverConfig_; } else { result.serverConfig_ = serverConfigBuilder_.build(); } to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000100) != 0)) { result.advertiseNum_ = advertiseNum_; to_bitField0_ |= 0x00000080; } if (advertiseListBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { advertiseList_ = java.util.Collections.unmodifiableList(advertiseList_); bitField0_ = (bitField0_ & ~0x00000200); } result.advertiseList_ = advertiseList_; } else { result.advertiseList_ = advertiseListBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { if (sessionBuilder_ == null) { result.session_ = session_; } else { result.session_ = sessionBuilder_.build(); } to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000800) != 0)) { result.recNum_ = recNum_; to_bitField0_ |= 0x00000200; } if (recListBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0)) { recList_ = java.util.Collections.unmodifiableList(recList_); bitField0_ = (bitField0_ & ~0x00001000); } result.recList_ = recList_; } else { result.recList_ = recListBuilder_.build(); } if (((from_bitField0_ & 0x00002000) != 0)) { result.delAdvertiseNum_ = delAdvertiseNum_; to_bitField0_ |= 0x00000400; } if (delAdvertiseListBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0)) { delAdvertiseList_ = java.util.Collections.unmodifiableList(delAdvertiseList_); bitField0_ = (bitField0_ & ~0x00004000); } result.delAdvertiseList_ = delAdvertiseList_; } else { result.delAdvertiseList_ = delAdvertiseListBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { result.countForCheckUnread_ = countForCheckUnread_; to_bitField0_ |= 0x00000800; } if (((bitField0_ & 0x00010000) != 0)) { idListForCheckUnread_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00010000); } result.idListForCheckUnread_ = idListForCheckUnread_; 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.Friendgroup.SnsTimeLineResponse) { return mergeFrom((wechat.protobuf.Friendgroup.SnsTimeLineResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsTimeLineResponse other) { if (other == wechat.protobuf.Friendgroup.SnsTimeLineResponse.getDefaultInstance()) return this; if (other.hasBaseResponse()) { mergeBaseResponse(other.getBaseResponse()); } if (other.hasFirstPageMd5()) { bitField0_ |= 0x00000002; firstPageMd5_ = other.firstPageMd5_; onChanged(); } if (other.hasObjectNum()) { setObjectNum(other.getObjectNum()); } if (objectListBuilder_ == null) { if (!other.objectList_.isEmpty()) { if (objectList_.isEmpty()) { objectList_ = other.objectList_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureObjectListIsMutable(); objectList_.addAll(other.objectList_); } onChanged(); } } else { if (!other.objectList_.isEmpty()) { if (objectListBuilder_.isEmpty()) { objectListBuilder_.dispose(); objectListBuilder_ = null; objectList_ = other.objectList_; bitField0_ = (bitField0_ & ~0x00000008); objectListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getObjectListFieldBuilder() : null; } else { objectListBuilder_.addAllMessages(other.objectList_); } } } if (other.hasNewRequestTime()) { setNewRequestTime(other.getNewRequestTime()); } if (other.hasObjectNumForSameMd5()) { setObjectNumForSameMd5(other.getObjectNumForSameMd5()); } if (other.hasControlFlag()) { setControlFlag(other.getControlFlag()); } if (other.hasServerConfig()) { mergeServerConfig(other.getServerConfig()); } if (other.hasAdvertiseNum()) { setAdvertiseNum(other.getAdvertiseNum()); } if (advertiseListBuilder_ == null) { if (!other.advertiseList_.isEmpty()) { if (advertiseList_.isEmpty()) { advertiseList_ = other.advertiseList_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureAdvertiseListIsMutable(); advertiseList_.addAll(other.advertiseList_); } onChanged(); } } else { if (!other.advertiseList_.isEmpty()) { if (advertiseListBuilder_.isEmpty()) { advertiseListBuilder_.dispose(); advertiseListBuilder_ = null; advertiseList_ = other.advertiseList_; bitField0_ = (bitField0_ & ~0x00000200); advertiseListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAdvertiseListFieldBuilder() : null; } else { advertiseListBuilder_.addAllMessages(other.advertiseList_); } } } if (other.hasSession()) { mergeSession(other.getSession()); } if (other.hasRecNum()) { setRecNum(other.getRecNum()); } if (recListBuilder_ == null) { if (!other.recList_.isEmpty()) { if (recList_.isEmpty()) { recList_ = other.recList_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensureRecListIsMutable(); recList_.addAll(other.recList_); } onChanged(); } } else { if (!other.recList_.isEmpty()) { if (recListBuilder_.isEmpty()) { recListBuilder_.dispose(); recListBuilder_ = null; recList_ = other.recList_; bitField0_ = (bitField0_ & ~0x00001000); recListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRecListFieldBuilder() : null; } else { recListBuilder_.addAllMessages(other.recList_); } } } if (other.hasDelAdvertiseNum()) { setDelAdvertiseNum(other.getDelAdvertiseNum()); } if (delAdvertiseListBuilder_ == null) { if (!other.delAdvertiseList_.isEmpty()) { if (delAdvertiseList_.isEmpty()) { delAdvertiseList_ = other.delAdvertiseList_; bitField0_ = (bitField0_ & ~0x00004000); } else { ensureDelAdvertiseListIsMutable(); delAdvertiseList_.addAll(other.delAdvertiseList_); } onChanged(); } } else { if (!other.delAdvertiseList_.isEmpty()) { if (delAdvertiseListBuilder_.isEmpty()) { delAdvertiseListBuilder_.dispose(); delAdvertiseListBuilder_ = null; delAdvertiseList_ = other.delAdvertiseList_; bitField0_ = (bitField0_ & ~0x00004000); delAdvertiseListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDelAdvertiseListFieldBuilder() : null; } else { delAdvertiseListBuilder_.addAllMessages(other.delAdvertiseList_); } } } if (other.hasCountForCheckUnread()) { setCountForCheckUnread(other.getCountForCheckUnread()); } if (!other.idListForCheckUnread_.isEmpty()) { if (idListForCheckUnread_.isEmpty()) { idListForCheckUnread_ = other.idListForCheckUnread_; bitField0_ = (bitField0_ & ~0x00010000); } else { ensureIdListForCheckUnreadIsMutable(); idListForCheckUnread_.addAll(other.idListForCheckUnread_); } 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.Friendgroup.SnsTimeLineResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsTimeLineResponse) 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 java.lang.Object firstPageMd5_ = ""; /** * optional string firstPageMd5 = 2; * @return Whether the firstPageMd5 field is set. */ public boolean hasFirstPageMd5() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string firstPageMd5 = 2; * @return The firstPageMd5. */ public java.lang.String getFirstPageMd5() { java.lang.Object ref = firstPageMd5_; 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()) { firstPageMd5_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string firstPageMd5 = 2; * @return The bytes for firstPageMd5. */ public com.google.protobuf.ByteString getFirstPageMd5Bytes() { java.lang.Object ref = firstPageMd5_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); firstPageMd5_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string firstPageMd5 = 2; * @param value The firstPageMd5 to set. * @return This builder for chaining. */ public Builder setFirstPageMd5( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; firstPageMd5_ = value; onChanged(); return this; } /** * optional string firstPageMd5 = 2; * @return This builder for chaining. */ public Builder clearFirstPageMd5() { bitField0_ = (bitField0_ & ~0x00000002); firstPageMd5_ = getDefaultInstance().getFirstPageMd5(); onChanged(); return this; } /** * optional string firstPageMd5 = 2; * @param value The bytes for firstPageMd5 to set. * @return This builder for chaining. */ public Builder setFirstPageMd5Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; firstPageMd5_ = value; onChanged(); return this; } private int objectNum_ ; /** * optional uint32 objectNum = 3; * @return Whether the objectNum field is set. */ @java.lang.Override public boolean hasObjectNum() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 objectNum = 3; * @return The objectNum. */ @java.lang.Override public int getObjectNum() { return objectNum_; } /** * optional uint32 objectNum = 3; * @param value The objectNum to set. * @return This builder for chaining. */ public Builder setObjectNum(int value) { bitField0_ |= 0x00000004; objectNum_ = value; onChanged(); return this; } /** * optional uint32 objectNum = 3; * @return This builder for chaining. */ public Builder clearObjectNum() { bitField0_ = (bitField0_ & ~0x00000004); objectNum_ = 0; onChanged(); return this; } private java.util.List objectList_ = java.util.Collections.emptyList(); private void ensureObjectListIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { objectList_ = new java.util.ArrayList(objectList_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> objectListBuilder_; /** * repeated .wechat_proto.SnsObject objectList = 4; */ public java.util.List getObjectListList() { if (objectListBuilder_ == null) { return java.util.Collections.unmodifiableList(objectList_); } else { return objectListBuilder_.getMessageList(); } } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public int getObjectListCount() { if (objectListBuilder_ == null) { return objectList_.size(); } else { return objectListBuilder_.getCount(); } } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public wechat.protobuf.Friendgroup.SnsObject getObjectList(int index) { if (objectListBuilder_ == null) { return objectList_.get(index); } else { return objectListBuilder_.getMessage(index); } } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public Builder setObjectList( int index, wechat.protobuf.Friendgroup.SnsObject 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.SnsObject objectList = 4; */ public Builder setObjectList( int index, wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) { if (objectListBuilder_ == null) { ensureObjectListIsMutable(); objectList_.set(index, builderForValue.build()); onChanged(); } else { objectListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public Builder addObjectList(wechat.protobuf.Friendgroup.SnsObject value) { if (objectListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureObjectListIsMutable(); objectList_.add(value); onChanged(); } else { objectListBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public Builder addObjectList( int index, wechat.protobuf.Friendgroup.SnsObject 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.SnsObject objectList = 4; */ public Builder addObjectList( wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) { if (objectListBuilder_ == null) { ensureObjectListIsMutable(); objectList_.add(builderForValue.build()); onChanged(); } else { objectListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public Builder addObjectList( int index, wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) { if (objectListBuilder_ == null) { ensureObjectListIsMutable(); objectList_.add(index, builderForValue.build()); onChanged(); } else { objectListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public Builder addAllObjectList( java.lang.Iterable values) { if (objectListBuilder_ == null) { ensureObjectListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, objectList_); onChanged(); } else { objectListBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public Builder clearObjectList() { if (objectListBuilder_ == null) { objectList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { objectListBuilder_.clear(); } return this; } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public Builder removeObjectList(int index) { if (objectListBuilder_ == null) { ensureObjectListIsMutable(); objectList_.remove(index); onChanged(); } else { objectListBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public wechat.protobuf.Friendgroup.SnsObject.Builder getObjectListBuilder( int index) { return getObjectListFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getObjectListOrBuilder( int index) { if (objectListBuilder_ == null) { return objectList_.get(index); } else { return objectListBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public java.util.List getObjectListOrBuilderList() { if (objectListBuilder_ != null) { return objectListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(objectList_); } } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public wechat.protobuf.Friendgroup.SnsObject.Builder addObjectListBuilder() { return getObjectListFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance()); } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public wechat.protobuf.Friendgroup.SnsObject.Builder addObjectListBuilder( int index) { return getObjectListFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance()); } /** * repeated .wechat_proto.SnsObject objectList = 4; */ public java.util.List getObjectListBuilderList() { return getObjectListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> getObjectListFieldBuilder() { if (objectListBuilder_ == null) { objectListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder>( objectList_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); objectList_ = null; } return objectListBuilder_; } private int newRequestTime_ ; /** * optional uint32 newRequestTime = 5; * @return Whether the newRequestTime field is set. */ @java.lang.Override public boolean hasNewRequestTime() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 newRequestTime = 5; * @return The newRequestTime. */ @java.lang.Override public int getNewRequestTime() { return newRequestTime_; } /** * optional uint32 newRequestTime = 5; * @param value The newRequestTime to set. * @return This builder for chaining. */ public Builder setNewRequestTime(int value) { bitField0_ |= 0x00000010; newRequestTime_ = value; onChanged(); return this; } /** * optional uint32 newRequestTime = 5; * @return This builder for chaining. */ public Builder clearNewRequestTime() { bitField0_ = (bitField0_ & ~0x00000010); newRequestTime_ = 0; onChanged(); return this; } private int objectNumForSameMd5_ ; /** * optional uint32 objectNumForSameMd5 = 6; * @return Whether the objectNumForSameMd5 field is set. */ @java.lang.Override public boolean hasObjectNumForSameMd5() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 objectNumForSameMd5 = 6; * @return The objectNumForSameMd5. */ @java.lang.Override public int getObjectNumForSameMd5() { return objectNumForSameMd5_; } /** * optional uint32 objectNumForSameMd5 = 6; * @param value The objectNumForSameMd5 to set. * @return This builder for chaining. */ public Builder setObjectNumForSameMd5(int value) { bitField0_ |= 0x00000020; objectNumForSameMd5_ = value; onChanged(); return this; } /** * optional uint32 objectNumForSameMd5 = 6; * @return This builder for chaining. */ public Builder clearObjectNumForSameMd5() { bitField0_ = (bitField0_ & ~0x00000020); objectNumForSameMd5_ = 0; onChanged(); return this; } private int controlFlag_ ; /** * optional uint32 controlFlag = 7; * @return Whether the controlFlag field is set. */ @java.lang.Override public boolean hasControlFlag() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 controlFlag = 7; * @return The controlFlag. */ @java.lang.Override public int getControlFlag() { return controlFlag_; } /** * optional uint32 controlFlag = 7; * @param value The controlFlag to set. * @return This builder for chaining. */ public Builder setControlFlag(int value) { bitField0_ |= 0x00000040; controlFlag_ = value; onChanged(); return this; } /** * optional uint32 controlFlag = 7; * @return This builder for chaining. */ public Builder clearControlFlag() { bitField0_ = (bitField0_ & ~0x00000040); controlFlag_ = 0; onChanged(); return this; } private wechat.protobuf.Friendgroup.SnsServerConfig serverConfig_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsServerConfig, wechat.protobuf.Friendgroup.SnsServerConfig.Builder, wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder> serverConfigBuilder_; /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; * @return Whether the serverConfig field is set. */ public boolean hasServerConfig() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; * @return The serverConfig. */ public wechat.protobuf.Friendgroup.SnsServerConfig getServerConfig() { if (serverConfigBuilder_ == null) { return serverConfig_ == null ? wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance() : serverConfig_; } else { return serverConfigBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; */ public Builder setServerConfig(wechat.protobuf.Friendgroup.SnsServerConfig value) { if (serverConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } serverConfig_ = value; onChanged(); } else { serverConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; */ public Builder setServerConfig( wechat.protobuf.Friendgroup.SnsServerConfig.Builder builderForValue) { if (serverConfigBuilder_ == null) { serverConfig_ = builderForValue.build(); onChanged(); } else { serverConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; */ public Builder mergeServerConfig(wechat.protobuf.Friendgroup.SnsServerConfig value) { if (serverConfigBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && serverConfig_ != null && serverConfig_ != wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance()) { serverConfig_ = wechat.protobuf.Friendgroup.SnsServerConfig.newBuilder(serverConfig_).mergeFrom(value).buildPartial(); } else { serverConfig_ = value; } onChanged(); } else { serverConfigBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; */ public Builder clearServerConfig() { if (serverConfigBuilder_ == null) { serverConfig_ = null; onChanged(); } else { serverConfigBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; */ public wechat.protobuf.Friendgroup.SnsServerConfig.Builder getServerConfigBuilder() { bitField0_ |= 0x00000080; onChanged(); return getServerConfigFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; */ public wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder getServerConfigOrBuilder() { if (serverConfigBuilder_ != null) { return serverConfigBuilder_.getMessageOrBuilder(); } else { return serverConfig_ == null ? wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance() : serverConfig_; } } /** * optional .wechat_proto.SnsServerConfig serverConfig = 8; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsServerConfig, wechat.protobuf.Friendgroup.SnsServerConfig.Builder, wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder> getServerConfigFieldBuilder() { if (serverConfigBuilder_ == null) { serverConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsServerConfig, wechat.protobuf.Friendgroup.SnsServerConfig.Builder, wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder>( getServerConfig(), getParentForChildren(), isClean()); serverConfig_ = null; } return serverConfigBuilder_; } private int advertiseNum_ ; /** * optional uint32 advertiseNum = 9; * @return Whether the advertiseNum field is set. */ @java.lang.Override public boolean hasAdvertiseNum() { return ((bitField0_ & 0x00000100) != 0); } /** * optional uint32 advertiseNum = 9; * @return The advertiseNum. */ @java.lang.Override public int getAdvertiseNum() { return advertiseNum_; } /** * optional uint32 advertiseNum = 9; * @param value The advertiseNum to set. * @return This builder for chaining. */ public Builder setAdvertiseNum(int value) { bitField0_ |= 0x00000100; advertiseNum_ = value; onChanged(); return this; } /** * optional uint32 advertiseNum = 9; * @return This builder for chaining. */ public Builder clearAdvertiseNum() { bitField0_ = (bitField0_ & ~0x00000100); advertiseNum_ = 0; onChanged(); return this; } private java.util.List advertiseList_ = java.util.Collections.emptyList(); private void ensureAdvertiseListIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { advertiseList_ = new java.util.ArrayList(advertiseList_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.AdvertiseObject, wechat.protobuf.Friendgroup.AdvertiseObject.Builder, wechat.protobuf.Friendgroup.AdvertiseObjectOrBuilder> advertiseListBuilder_; /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public java.util.List getAdvertiseListList() { if (advertiseListBuilder_ == null) { return java.util.Collections.unmodifiableList(advertiseList_); } else { return advertiseListBuilder_.getMessageList(); } } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public int getAdvertiseListCount() { if (advertiseListBuilder_ == null) { return advertiseList_.size(); } else { return advertiseListBuilder_.getCount(); } } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public wechat.protobuf.Friendgroup.AdvertiseObject getAdvertiseList(int index) { if (advertiseListBuilder_ == null) { return advertiseList_.get(index); } else { return advertiseListBuilder_.getMessage(index); } } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public Builder setAdvertiseList( int index, wechat.protobuf.Friendgroup.AdvertiseObject value) { if (advertiseListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAdvertiseListIsMutable(); advertiseList_.set(index, value); onChanged(); } else { advertiseListBuilder_.setMessage(index, value); } return this; } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public Builder setAdvertiseList( int index, wechat.protobuf.Friendgroup.AdvertiseObject.Builder builderForValue) { if (advertiseListBuilder_ == null) { ensureAdvertiseListIsMutable(); advertiseList_.set(index, builderForValue.build()); onChanged(); } else { advertiseListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public Builder addAdvertiseList(wechat.protobuf.Friendgroup.AdvertiseObject value) { if (advertiseListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAdvertiseListIsMutable(); advertiseList_.add(value); onChanged(); } else { advertiseListBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public Builder addAdvertiseList( int index, wechat.protobuf.Friendgroup.AdvertiseObject value) { if (advertiseListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAdvertiseListIsMutable(); advertiseList_.add(index, value); onChanged(); } else { advertiseListBuilder_.addMessage(index, value); } return this; } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public Builder addAdvertiseList( wechat.protobuf.Friendgroup.AdvertiseObject.Builder builderForValue) { if (advertiseListBuilder_ == null) { ensureAdvertiseListIsMutable(); advertiseList_.add(builderForValue.build()); onChanged(); } else { advertiseListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public Builder addAdvertiseList( int index, wechat.protobuf.Friendgroup.AdvertiseObject.Builder builderForValue) { if (advertiseListBuilder_ == null) { ensureAdvertiseListIsMutable(); advertiseList_.add(index, builderForValue.build()); onChanged(); } else { advertiseListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public Builder addAllAdvertiseList( java.lang.Iterable values) { if (advertiseListBuilder_ == null) { ensureAdvertiseListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, advertiseList_); onChanged(); } else { advertiseListBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public Builder clearAdvertiseList() { if (advertiseListBuilder_ == null) { advertiseList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { advertiseListBuilder_.clear(); } return this; } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public Builder removeAdvertiseList(int index) { if (advertiseListBuilder_ == null) { ensureAdvertiseListIsMutable(); advertiseList_.remove(index); onChanged(); } else { advertiseListBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public wechat.protobuf.Friendgroup.AdvertiseObject.Builder getAdvertiseListBuilder( int index) { return getAdvertiseListFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public wechat.protobuf.Friendgroup.AdvertiseObjectOrBuilder getAdvertiseListOrBuilder( int index) { if (advertiseListBuilder_ == null) { return advertiseList_.get(index); } else { return advertiseListBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public java.util.List getAdvertiseListOrBuilderList() { if (advertiseListBuilder_ != null) { return advertiseListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(advertiseList_); } } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public wechat.protobuf.Friendgroup.AdvertiseObject.Builder addAdvertiseListBuilder() { return getAdvertiseListFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.AdvertiseObject.getDefaultInstance()); } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public wechat.protobuf.Friendgroup.AdvertiseObject.Builder addAdvertiseListBuilder( int index) { return getAdvertiseListFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.AdvertiseObject.getDefaultInstance()); } /** * repeated .wechat_proto.AdvertiseObject advertiseList = 10; */ public java.util.List getAdvertiseListBuilderList() { return getAdvertiseListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.AdvertiseObject, wechat.protobuf.Friendgroup.AdvertiseObject.Builder, wechat.protobuf.Friendgroup.AdvertiseObjectOrBuilder> getAdvertiseListFieldBuilder() { if (advertiseListBuilder_ == null) { advertiseListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.AdvertiseObject, wechat.protobuf.Friendgroup.AdvertiseObject.Builder, wechat.protobuf.Friendgroup.AdvertiseObjectOrBuilder>( advertiseList_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); advertiseList_ = null; } return advertiseListBuilder_; } private wechat.protobuf.SKBuiltinString_ session_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> sessionBuilder_; /** * optional .wechat_proto.SKBuiltinString_ session = 11; * @return Whether the session field is set. */ public boolean hasSession() { return ((bitField0_ & 0x00000400) != 0); } /** * optional .wechat_proto.SKBuiltinString_ session = 11; * @return The session. */ public wechat.protobuf.SKBuiltinString_ getSession() { if (sessionBuilder_ == null) { return session_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : session_; } else { return sessionBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ session = 11; */ public Builder setSession(wechat.protobuf.SKBuiltinString_ value) { if (sessionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } session_ = value; onChanged(); } else { sessionBuilder_.setMessage(value); } bitField0_ |= 0x00000400; return this; } /** * optional .wechat_proto.SKBuiltinString_ session = 11; */ public Builder setSession( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (sessionBuilder_ == null) { session_ = builderForValue.build(); onChanged(); } else { sessionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; return this; } /** * optional .wechat_proto.SKBuiltinString_ session = 11; */ public Builder mergeSession(wechat.protobuf.SKBuiltinString_ value) { if (sessionBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && session_ != null && session_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { session_ = wechat.protobuf.SKBuiltinString_.newBuilder(session_).mergeFrom(value).buildPartial(); } else { session_ = value; } onChanged(); } else { sessionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; return this; } /** * optional .wechat_proto.SKBuiltinString_ session = 11; */ public Builder clearSession() { if (sessionBuilder_ == null) { session_ = null; onChanged(); } else { sessionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); return this; } /** * optional .wechat_proto.SKBuiltinString_ session = 11; */ public wechat.protobuf.SKBuiltinString_.Builder getSessionBuilder() { bitField0_ |= 0x00000400; onChanged(); return getSessionFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ session = 11; */ public wechat.protobuf.SKBuiltinString_OrBuilder getSessionOrBuilder() { if (sessionBuilder_ != null) { return sessionBuilder_.getMessageOrBuilder(); } else { return session_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : session_; } } /** * optional .wechat_proto.SKBuiltinString_ session = 11; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getSessionFieldBuilder() { if (sessionBuilder_ == null) { sessionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getSession(), getParentForChildren(), isClean()); session_ = null; } return sessionBuilder_; } private int recNum_ ; /** * optional uint32 recNum = 12; * @return Whether the recNum field is set. */ @java.lang.Override public boolean hasRecNum() { return ((bitField0_ & 0x00000800) != 0); } /** * optional uint32 recNum = 12; * @return The recNum. */ @java.lang.Override public int getRecNum() { return recNum_; } /** * optional uint32 recNum = 12; * @param value The recNum to set. * @return This builder for chaining. */ public Builder setRecNum(int value) { bitField0_ |= 0x00000800; recNum_ = value; onChanged(); return this; } /** * optional uint32 recNum = 12; * @return This builder for chaining. */ public Builder clearRecNum() { bitField0_ = (bitField0_ & ~0x00000800); recNum_ = 0; onChanged(); return this; } private java.util.List recList_ = java.util.Collections.emptyList(); private void ensureRecListIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { recList_ = new java.util.ArrayList(recList_); bitField0_ |= 0x00001000; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.RecObject, wechat.protobuf.Friendgroup.RecObject.Builder, wechat.protobuf.Friendgroup.RecObjectOrBuilder> recListBuilder_; /** * repeated .wechat_proto.RecObject recList = 13; */ public java.util.List getRecListList() { if (recListBuilder_ == null) { return java.util.Collections.unmodifiableList(recList_); } else { return recListBuilder_.getMessageList(); } } /** * repeated .wechat_proto.RecObject recList = 13; */ public int getRecListCount() { if (recListBuilder_ == null) { return recList_.size(); } else { return recListBuilder_.getCount(); } } /** * repeated .wechat_proto.RecObject recList = 13; */ public wechat.protobuf.Friendgroup.RecObject getRecList(int index) { if (recListBuilder_ == null) { return recList_.get(index); } else { return recListBuilder_.getMessage(index); } } /** * repeated .wechat_proto.RecObject recList = 13; */ public Builder setRecList( int index, wechat.protobuf.Friendgroup.RecObject value) { if (recListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRecListIsMutable(); recList_.set(index, value); onChanged(); } else { recListBuilder_.setMessage(index, value); } return this; } /** * repeated .wechat_proto.RecObject recList = 13; */ public Builder setRecList( int index, wechat.protobuf.Friendgroup.RecObject.Builder builderForValue) { if (recListBuilder_ == null) { ensureRecListIsMutable(); recList_.set(index, builderForValue.build()); onChanged(); } else { recListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.RecObject recList = 13; */ public Builder addRecList(wechat.protobuf.Friendgroup.RecObject value) { if (recListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRecListIsMutable(); recList_.add(value); onChanged(); } else { recListBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.RecObject recList = 13; */ public Builder addRecList( int index, wechat.protobuf.Friendgroup.RecObject value) { if (recListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRecListIsMutable(); recList_.add(index, value); onChanged(); } else { recListBuilder_.addMessage(index, value); } return this; } /** * repeated .wechat_proto.RecObject recList = 13; */ public Builder addRecList( wechat.protobuf.Friendgroup.RecObject.Builder builderForValue) { if (recListBuilder_ == null) { ensureRecListIsMutable(); recList_.add(builderForValue.build()); onChanged(); } else { recListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.RecObject recList = 13; */ public Builder addRecList( int index, wechat.protobuf.Friendgroup.RecObject.Builder builderForValue) { if (recListBuilder_ == null) { ensureRecListIsMutable(); recList_.add(index, builderForValue.build()); onChanged(); } else { recListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.RecObject recList = 13; */ public Builder addAllRecList( java.lang.Iterable values) { if (recListBuilder_ == null) { ensureRecListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, recList_); onChanged(); } else { recListBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.RecObject recList = 13; */ public Builder clearRecList() { if (recListBuilder_ == null) { recList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); } else { recListBuilder_.clear(); } return this; } /** * repeated .wechat_proto.RecObject recList = 13; */ public Builder removeRecList(int index) { if (recListBuilder_ == null) { ensureRecListIsMutable(); recList_.remove(index); onChanged(); } else { recListBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.RecObject recList = 13; */ public wechat.protobuf.Friendgroup.RecObject.Builder getRecListBuilder( int index) { return getRecListFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.RecObject recList = 13; */ public wechat.protobuf.Friendgroup.RecObjectOrBuilder getRecListOrBuilder( int index) { if (recListBuilder_ == null) { return recList_.get(index); } else { return recListBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.RecObject recList = 13; */ public java.util.List getRecListOrBuilderList() { if (recListBuilder_ != null) { return recListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(recList_); } } /** * repeated .wechat_proto.RecObject recList = 13; */ public wechat.protobuf.Friendgroup.RecObject.Builder addRecListBuilder() { return getRecListFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.RecObject.getDefaultInstance()); } /** * repeated .wechat_proto.RecObject recList = 13; */ public wechat.protobuf.Friendgroup.RecObject.Builder addRecListBuilder( int index) { return getRecListFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.RecObject.getDefaultInstance()); } /** * repeated .wechat_proto.RecObject recList = 13; */ public java.util.List getRecListBuilderList() { return getRecListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.RecObject, wechat.protobuf.Friendgroup.RecObject.Builder, wechat.protobuf.Friendgroup.RecObjectOrBuilder> getRecListFieldBuilder() { if (recListBuilder_ == null) { recListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.RecObject, wechat.protobuf.Friendgroup.RecObject.Builder, wechat.protobuf.Friendgroup.RecObjectOrBuilder>( recList_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); recList_ = null; } return recListBuilder_; } private int delAdvertiseNum_ ; /** * optional uint32 delAdvertiseNum = 14; * @return Whether the delAdvertiseNum field is set. */ @java.lang.Override public boolean hasDelAdvertiseNum() { return ((bitField0_ & 0x00002000) != 0); } /** * optional uint32 delAdvertiseNum = 14; * @return The delAdvertiseNum. */ @java.lang.Override public int getDelAdvertiseNum() { return delAdvertiseNum_; } /** * optional uint32 delAdvertiseNum = 14; * @param value The delAdvertiseNum to set. * @return This builder for chaining. */ public Builder setDelAdvertiseNum(int value) { bitField0_ |= 0x00002000; delAdvertiseNum_ = value; onChanged(); return this; } /** * optional uint32 delAdvertiseNum = 14; * @return This builder for chaining. */ public Builder clearDelAdvertiseNum() { bitField0_ = (bitField0_ & ~0x00002000); delAdvertiseNum_ = 0; onChanged(); return this; } private java.util.List delAdvertiseList_ = java.util.Collections.emptyList(); private void ensureDelAdvertiseListIsMutable() { if (!((bitField0_ & 0x00004000) != 0)) { delAdvertiseList_ = new java.util.ArrayList(delAdvertiseList_); bitField0_ |= 0x00004000; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.DelAdvertiseObject, wechat.protobuf.Friendgroup.DelAdvertiseObject.Builder, wechat.protobuf.Friendgroup.DelAdvertiseObjectOrBuilder> delAdvertiseListBuilder_; /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public java.util.List getDelAdvertiseListList() { if (delAdvertiseListBuilder_ == null) { return java.util.Collections.unmodifiableList(delAdvertiseList_); } else { return delAdvertiseListBuilder_.getMessageList(); } } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public int getDelAdvertiseListCount() { if (delAdvertiseListBuilder_ == null) { return delAdvertiseList_.size(); } else { return delAdvertiseListBuilder_.getCount(); } } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public wechat.protobuf.Friendgroup.DelAdvertiseObject getDelAdvertiseList(int index) { if (delAdvertiseListBuilder_ == null) { return delAdvertiseList_.get(index); } else { return delAdvertiseListBuilder_.getMessage(index); } } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public Builder setDelAdvertiseList( int index, wechat.protobuf.Friendgroup.DelAdvertiseObject value) { if (delAdvertiseListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDelAdvertiseListIsMutable(); delAdvertiseList_.set(index, value); onChanged(); } else { delAdvertiseListBuilder_.setMessage(index, value); } return this; } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public Builder setDelAdvertiseList( int index, wechat.protobuf.Friendgroup.DelAdvertiseObject.Builder builderForValue) { if (delAdvertiseListBuilder_ == null) { ensureDelAdvertiseListIsMutable(); delAdvertiseList_.set(index, builderForValue.build()); onChanged(); } else { delAdvertiseListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public Builder addDelAdvertiseList(wechat.protobuf.Friendgroup.DelAdvertiseObject value) { if (delAdvertiseListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDelAdvertiseListIsMutable(); delAdvertiseList_.add(value); onChanged(); } else { delAdvertiseListBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public Builder addDelAdvertiseList( int index, wechat.protobuf.Friendgroup.DelAdvertiseObject value) { if (delAdvertiseListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDelAdvertiseListIsMutable(); delAdvertiseList_.add(index, value); onChanged(); } else { delAdvertiseListBuilder_.addMessage(index, value); } return this; } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public Builder addDelAdvertiseList( wechat.protobuf.Friendgroup.DelAdvertiseObject.Builder builderForValue) { if (delAdvertiseListBuilder_ == null) { ensureDelAdvertiseListIsMutable(); delAdvertiseList_.add(builderForValue.build()); onChanged(); } else { delAdvertiseListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public Builder addDelAdvertiseList( int index, wechat.protobuf.Friendgroup.DelAdvertiseObject.Builder builderForValue) { if (delAdvertiseListBuilder_ == null) { ensureDelAdvertiseListIsMutable(); delAdvertiseList_.add(index, builderForValue.build()); onChanged(); } else { delAdvertiseListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public Builder addAllDelAdvertiseList( java.lang.Iterable values) { if (delAdvertiseListBuilder_ == null) { ensureDelAdvertiseListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, delAdvertiseList_); onChanged(); } else { delAdvertiseListBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public Builder clearDelAdvertiseList() { if (delAdvertiseListBuilder_ == null) { delAdvertiseList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00004000); onChanged(); } else { delAdvertiseListBuilder_.clear(); } return this; } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public Builder removeDelAdvertiseList(int index) { if (delAdvertiseListBuilder_ == null) { ensureDelAdvertiseListIsMutable(); delAdvertiseList_.remove(index); onChanged(); } else { delAdvertiseListBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public wechat.protobuf.Friendgroup.DelAdvertiseObject.Builder getDelAdvertiseListBuilder( int index) { return getDelAdvertiseListFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public wechat.protobuf.Friendgroup.DelAdvertiseObjectOrBuilder getDelAdvertiseListOrBuilder( int index) { if (delAdvertiseListBuilder_ == null) { return delAdvertiseList_.get(index); } else { return delAdvertiseListBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public java.util.List getDelAdvertiseListOrBuilderList() { if (delAdvertiseListBuilder_ != null) { return delAdvertiseListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(delAdvertiseList_); } } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public wechat.protobuf.Friendgroup.DelAdvertiseObject.Builder addDelAdvertiseListBuilder() { return getDelAdvertiseListFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.DelAdvertiseObject.getDefaultInstance()); } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public wechat.protobuf.Friendgroup.DelAdvertiseObject.Builder addDelAdvertiseListBuilder( int index) { return getDelAdvertiseListFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.DelAdvertiseObject.getDefaultInstance()); } /** * repeated .wechat_proto.DelAdvertiseObject delAdvertiseList = 15; */ public java.util.List getDelAdvertiseListBuilderList() { return getDelAdvertiseListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.DelAdvertiseObject, wechat.protobuf.Friendgroup.DelAdvertiseObject.Builder, wechat.protobuf.Friendgroup.DelAdvertiseObjectOrBuilder> getDelAdvertiseListFieldBuilder() { if (delAdvertiseListBuilder_ == null) { delAdvertiseListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.DelAdvertiseObject, wechat.protobuf.Friendgroup.DelAdvertiseObject.Builder, wechat.protobuf.Friendgroup.DelAdvertiseObjectOrBuilder>( delAdvertiseList_, ((bitField0_ & 0x00004000) != 0), getParentForChildren(), isClean()); delAdvertiseList_ = null; } return delAdvertiseListBuilder_; } private int countForCheckUnread_ ; /** * optional uint32 countForCheckUnread = 16; * @return Whether the countForCheckUnread field is set. */ @java.lang.Override public boolean hasCountForCheckUnread() { return ((bitField0_ & 0x00008000) != 0); } /** * optional uint32 countForCheckUnread = 16; * @return The countForCheckUnread. */ @java.lang.Override public int getCountForCheckUnread() { return countForCheckUnread_; } /** * optional uint32 countForCheckUnread = 16; * @param value The countForCheckUnread to set. * @return This builder for chaining. */ public Builder setCountForCheckUnread(int value) { bitField0_ |= 0x00008000; countForCheckUnread_ = value; onChanged(); return this; } /** * optional uint32 countForCheckUnread = 16; * @return This builder for chaining. */ public Builder clearCountForCheckUnread() { bitField0_ = (bitField0_ & ~0x00008000); countForCheckUnread_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.LongList idListForCheckUnread_ = emptyLongList(); private void ensureIdListForCheckUnreadIsMutable() { if (!((bitField0_ & 0x00010000) != 0)) { idListForCheckUnread_ = mutableCopy(idListForCheckUnread_); bitField0_ |= 0x00010000; } } /** * repeated uint64 idListForCheckUnread = 17; * @return A list containing the idListForCheckUnread. */ public java.util.List getIdListForCheckUnreadList() { return ((bitField0_ & 0x00010000) != 0) ? java.util.Collections.unmodifiableList(idListForCheckUnread_) : idListForCheckUnread_; } /** * repeated uint64 idListForCheckUnread = 17; * @return The count of idListForCheckUnread. */ public int getIdListForCheckUnreadCount() { return idListForCheckUnread_.size(); } /** * repeated uint64 idListForCheckUnread = 17; * @param index The index of the element to return. * @return The idListForCheckUnread at the given index. */ public long getIdListForCheckUnread(int index) { return idListForCheckUnread_.getLong(index); } /** * repeated uint64 idListForCheckUnread = 17; * @param index The index to set the value at. * @param value The idListForCheckUnread to set. * @return This builder for chaining. */ public Builder setIdListForCheckUnread( int index, long value) { ensureIdListForCheckUnreadIsMutable(); idListForCheckUnread_.setLong(index, value); onChanged(); return this; } /** * repeated uint64 idListForCheckUnread = 17; * @param value The idListForCheckUnread to add. * @return This builder for chaining. */ public Builder addIdListForCheckUnread(long value) { ensureIdListForCheckUnreadIsMutable(); idListForCheckUnread_.addLong(value); onChanged(); return this; } /** * repeated uint64 idListForCheckUnread = 17; * @param values The idListForCheckUnread to add. * @return This builder for chaining. */ public Builder addAllIdListForCheckUnread( java.lang.Iterable values) { ensureIdListForCheckUnreadIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, idListForCheckUnread_); onChanged(); return this; } /** * repeated uint64 idListForCheckUnread = 17; * @return This builder for chaining. */ public Builder clearIdListForCheckUnread() { idListForCheckUnread_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00010000); 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.SnsTimeLineResponse) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsTimeLineResponse) private static final wechat.protobuf.Friendgroup.SnsTimeLineResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsTimeLineResponse(); } public static wechat.protobuf.Friendgroup.SnsTimeLineResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsTimeLineResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsTimeLineResponse(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.Friendgroup.SnsTimeLineResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DelAdvertiseObjectOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.DelAdvertiseObject) com.google.protobuf.MessageOrBuilder { /** * optional uint64 id = 1; * @return Whether the id field is set. */ boolean hasId(); /** * optional uint64 id = 1; * @return The id. */ long getId(); } /** * Protobuf type {@code wechat_proto.DelAdvertiseObject} */ public static final class DelAdvertiseObject extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.DelAdvertiseObject) DelAdvertiseObjectOrBuilder { private static final long serialVersionUID = 0L; // Use DelAdvertiseObject.newBuilder() to construct. private DelAdvertiseObject(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DelAdvertiseObject() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DelAdvertiseObject(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DelAdvertiseObject( 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; id_ = 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.Friendgroup.internal_static_wechat_proto_DelAdvertiseObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_DelAdvertiseObject_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.DelAdvertiseObject.class, wechat.protobuf.Friendgroup.DelAdvertiseObject.Builder.class); } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private long id_; /** * optional uint64 id = 1; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint64 id = 1; * @return The id. */ @java.lang.Override public long getId() { return id_; } 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.writeUInt64(1, id_); } 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 .computeUInt64Size(1, id_); } 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.Friendgroup.DelAdvertiseObject)) { return super.equals(obj); } wechat.protobuf.Friendgroup.DelAdvertiseObject other = (wechat.protobuf.Friendgroup.DelAdvertiseObject) obj; if (hasId() != other.hasId()) return false; if (hasId()) { if (getId() != other.getId()) 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 (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getId()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.DelAdvertiseObject parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.DelAdvertiseObject parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.DelAdvertiseObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.DelAdvertiseObject 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.Friendgroup.DelAdvertiseObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.DelAdvertiseObject parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.DelAdvertiseObject parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.DelAdvertiseObject 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.Friendgroup.DelAdvertiseObject parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.DelAdvertiseObject 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.Friendgroup.DelAdvertiseObject parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.DelAdvertiseObject 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.Friendgroup.DelAdvertiseObject 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.DelAdvertiseObject} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.DelAdvertiseObject) wechat.protobuf.Friendgroup.DelAdvertiseObjectOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_DelAdvertiseObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_DelAdvertiseObject_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.DelAdvertiseObject.class, wechat.protobuf.Friendgroup.DelAdvertiseObject.Builder.class); } // Construct using wechat.protobuf.Friendgroup.DelAdvertiseObject.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(); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_DelAdvertiseObject_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.DelAdvertiseObject getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.DelAdvertiseObject.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.DelAdvertiseObject build() { wechat.protobuf.Friendgroup.DelAdvertiseObject result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.DelAdvertiseObject buildPartial() { wechat.protobuf.Friendgroup.DelAdvertiseObject result = new wechat.protobuf.Friendgroup.DelAdvertiseObject(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.id_ = id_; 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.Friendgroup.DelAdvertiseObject) { return mergeFrom((wechat.protobuf.Friendgroup.DelAdvertiseObject)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.DelAdvertiseObject other) { if (other == wechat.protobuf.Friendgroup.DelAdvertiseObject.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } 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.Friendgroup.DelAdvertiseObject parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.DelAdvertiseObject) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long id_ ; /** * optional uint64 id = 1; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint64 id = 1; * @return The id. */ @java.lang.Override public long getId() { return id_; } /** * optional uint64 id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId(long value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /** * optional uint64 id = 1; * @return This builder for chaining. */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 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.DelAdvertiseObject) } // @@protoc_insertion_point(class_scope:wechat_proto.DelAdvertiseObject) private static final wechat.protobuf.Friendgroup.DelAdvertiseObject DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.DelAdvertiseObject(); } public static wechat.protobuf.Friendgroup.DelAdvertiseObject getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DelAdvertiseObject parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DelAdvertiseObject(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.Friendgroup.DelAdvertiseObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AdvertiseObjectOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.AdvertiseObject) com.google.protobuf.MessageOrBuilder { /** * optional .wechat_proto.SnsADObject snsAdobject = 1; * @return Whether the snsAdobject field is set. */ boolean hasSnsAdobject(); /** * optional .wechat_proto.SnsADObject snsAdobject = 1; * @return The snsAdobject. */ wechat.protobuf.Friendgroup.SnsADObject getSnsAdobject(); /** * optional .wechat_proto.SnsADObject snsAdobject = 1; */ wechat.protobuf.Friendgroup.SnsADObjectOrBuilder getSnsAdobjectOrBuilder(); /** * optional .wechat_proto.SKBuiltinString adinfo = 2; * @return Whether the adinfo field is set. */ boolean hasAdinfo(); /** * optional .wechat_proto.SKBuiltinString adinfo = 2; * @return The adinfo. */ wechat.protobuf.SKBuiltinString getAdinfo(); /** * optional .wechat_proto.SKBuiltinString adinfo = 2; */ wechat.protobuf.SKBuiltinStringOrBuilder getAdinfoOrBuilder(); /** * optional uint32 adpos = 3; * @return Whether the adpos field is set. */ boolean hasAdpos(); /** * optional uint32 adpos = 3; * @return The adpos. */ int getAdpos(); /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; * @return Whether the remindFriendsInfo field is set. */ boolean hasRemindFriendsInfo(); /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; * @return The remindFriendsInfo. */ wechat.protobuf.Syncitem.RemindFriendsInfo getRemindFriendsInfo(); /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; */ wechat.protobuf.Syncitem.RemindFriendsInfoOrBuilder getRemindFriendsInfoOrBuilder(); } /** * Protobuf type {@code wechat_proto.AdvertiseObject} */ public static final class AdvertiseObject extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.AdvertiseObject) AdvertiseObjectOrBuilder { private static final long serialVersionUID = 0L; // Use AdvertiseObject.newBuilder() to construct. private AdvertiseObject(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AdvertiseObject() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AdvertiseObject(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AdvertiseObject( 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.Friendgroup.SnsADObject.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = snsAdobject_.toBuilder(); } snsAdobject_ = input.readMessage(wechat.protobuf.Friendgroup.SnsADObject.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(snsAdobject_); snsAdobject_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { wechat.protobuf.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = adinfo_.toBuilder(); } adinfo_ = input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(adinfo_); adinfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 24: { bitField0_ |= 0x00000004; adpos_ = input.readUInt32(); break; } case 34: { wechat.protobuf.Syncitem.RemindFriendsInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = remindFriendsInfo_.toBuilder(); } remindFriendsInfo_ = input.readMessage(wechat.protobuf.Syncitem.RemindFriendsInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(remindFriendsInfo_); remindFriendsInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; 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.Friendgroup.internal_static_wechat_proto_AdvertiseObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_AdvertiseObject_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.AdvertiseObject.class, wechat.protobuf.Friendgroup.AdvertiseObject.Builder.class); } private int bitField0_; public static final int SNSADOBJECT_FIELD_NUMBER = 1; private wechat.protobuf.Friendgroup.SnsADObject snsAdobject_; /** * optional .wechat_proto.SnsADObject snsAdobject = 1; * @return Whether the snsAdobject field is set. */ @java.lang.Override public boolean hasSnsAdobject() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SnsADObject snsAdobject = 1; * @return The snsAdobject. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsADObject getSnsAdobject() { return snsAdobject_ == null ? wechat.protobuf.Friendgroup.SnsADObject.getDefaultInstance() : snsAdobject_; } /** * optional .wechat_proto.SnsADObject snsAdobject = 1; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsADObjectOrBuilder getSnsAdobjectOrBuilder() { return snsAdobject_ == null ? wechat.protobuf.Friendgroup.SnsADObject.getDefaultInstance() : snsAdobject_; } public static final int ADINFO_FIELD_NUMBER = 2; private wechat.protobuf.SKBuiltinString adinfo_; /** * optional .wechat_proto.SKBuiltinString adinfo = 2; * @return Whether the adinfo field is set. */ @java.lang.Override public boolean hasAdinfo() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString adinfo = 2; * @return The adinfo. */ @java.lang.Override public wechat.protobuf.SKBuiltinString getAdinfo() { return adinfo_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : adinfo_; } /** * optional .wechat_proto.SKBuiltinString adinfo = 2; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder getAdinfoOrBuilder() { return adinfo_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : adinfo_; } public static final int ADPOS_FIELD_NUMBER = 3; private int adpos_; /** * optional uint32 adpos = 3; * @return Whether the adpos field is set. */ @java.lang.Override public boolean hasAdpos() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 adpos = 3; * @return The adpos. */ @java.lang.Override public int getAdpos() { return adpos_; } public static final int REMINDFRIENDSINFO_FIELD_NUMBER = 4; private wechat.protobuf.Syncitem.RemindFriendsInfo remindFriendsInfo_; /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; * @return Whether the remindFriendsInfo field is set. */ @java.lang.Override public boolean hasRemindFriendsInfo() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; * @return The remindFriendsInfo. */ @java.lang.Override public wechat.protobuf.Syncitem.RemindFriendsInfo getRemindFriendsInfo() { return remindFriendsInfo_ == null ? wechat.protobuf.Syncitem.RemindFriendsInfo.getDefaultInstance() : remindFriendsInfo_; } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; */ @java.lang.Override public wechat.protobuf.Syncitem.RemindFriendsInfoOrBuilder getRemindFriendsInfoOrBuilder() { return remindFriendsInfo_ == null ? wechat.protobuf.Syncitem.RemindFriendsInfo.getDefaultInstance() : remindFriendsInfo_; } 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, getSnsAdobject()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getAdinfo()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, adpos_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getRemindFriendsInfo()); } 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, getSnsAdobject()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAdinfo()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, adpos_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getRemindFriendsInfo()); } 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.Friendgroup.AdvertiseObject)) { return super.equals(obj); } wechat.protobuf.Friendgroup.AdvertiseObject other = (wechat.protobuf.Friendgroup.AdvertiseObject) obj; if (hasSnsAdobject() != other.hasSnsAdobject()) return false; if (hasSnsAdobject()) { if (!getSnsAdobject() .equals(other.getSnsAdobject())) return false; } if (hasAdinfo() != other.hasAdinfo()) return false; if (hasAdinfo()) { if (!getAdinfo() .equals(other.getAdinfo())) return false; } if (hasAdpos() != other.hasAdpos()) return false; if (hasAdpos()) { if (getAdpos() != other.getAdpos()) return false; } if (hasRemindFriendsInfo() != other.hasRemindFriendsInfo()) return false; if (hasRemindFriendsInfo()) { if (!getRemindFriendsInfo() .equals(other.getRemindFriendsInfo())) 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 (hasSnsAdobject()) { hash = (37 * hash) + SNSADOBJECT_FIELD_NUMBER; hash = (53 * hash) + getSnsAdobject().hashCode(); } if (hasAdinfo()) { hash = (37 * hash) + ADINFO_FIELD_NUMBER; hash = (53 * hash) + getAdinfo().hashCode(); } if (hasAdpos()) { hash = (37 * hash) + ADPOS_FIELD_NUMBER; hash = (53 * hash) + getAdpos(); } if (hasRemindFriendsInfo()) { hash = (37 * hash) + REMINDFRIENDSINFO_FIELD_NUMBER; hash = (53 * hash) + getRemindFriendsInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.AdvertiseObject parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.AdvertiseObject parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.AdvertiseObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.AdvertiseObject 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.Friendgroup.AdvertiseObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.AdvertiseObject parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.AdvertiseObject parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.AdvertiseObject 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.Friendgroup.AdvertiseObject parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.AdvertiseObject 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.Friendgroup.AdvertiseObject parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.AdvertiseObject 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.Friendgroup.AdvertiseObject 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.AdvertiseObject} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.AdvertiseObject) wechat.protobuf.Friendgroup.AdvertiseObjectOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_AdvertiseObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_AdvertiseObject_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.AdvertiseObject.class, wechat.protobuf.Friendgroup.AdvertiseObject.Builder.class); } // Construct using wechat.protobuf.Friendgroup.AdvertiseObject.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSnsAdobjectFieldBuilder(); getAdinfoFieldBuilder(); getRemindFriendsInfoFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (snsAdobjectBuilder_ == null) { snsAdobject_ = null; } else { snsAdobjectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (adinfoBuilder_ == null) { adinfo_ = null; } else { adinfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); adpos_ = 0; bitField0_ = (bitField0_ & ~0x00000004); if (remindFriendsInfoBuilder_ == null) { remindFriendsInfo_ = null; } else { remindFriendsInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_AdvertiseObject_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.AdvertiseObject getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.AdvertiseObject.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.AdvertiseObject build() { wechat.protobuf.Friendgroup.AdvertiseObject result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.AdvertiseObject buildPartial() { wechat.protobuf.Friendgroup.AdvertiseObject result = new wechat.protobuf.Friendgroup.AdvertiseObject(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (snsAdobjectBuilder_ == null) { result.snsAdobject_ = snsAdobject_; } else { result.snsAdobject_ = snsAdobjectBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (adinfoBuilder_ == null) { result.adinfo_ = adinfo_; } else { result.adinfo_ = adinfoBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.adpos_ = adpos_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (remindFriendsInfoBuilder_ == null) { result.remindFriendsInfo_ = remindFriendsInfo_; } else { result.remindFriendsInfo_ = remindFriendsInfoBuilder_.build(); } 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.Friendgroup.AdvertiseObject) { return mergeFrom((wechat.protobuf.Friendgroup.AdvertiseObject)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.AdvertiseObject other) { if (other == wechat.protobuf.Friendgroup.AdvertiseObject.getDefaultInstance()) return this; if (other.hasSnsAdobject()) { mergeSnsAdobject(other.getSnsAdobject()); } if (other.hasAdinfo()) { mergeAdinfo(other.getAdinfo()); } if (other.hasAdpos()) { setAdpos(other.getAdpos()); } if (other.hasRemindFriendsInfo()) { mergeRemindFriendsInfo(other.getRemindFriendsInfo()); } 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.Friendgroup.AdvertiseObject parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.AdvertiseObject) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.Friendgroup.SnsADObject snsAdobject_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsADObject, wechat.protobuf.Friendgroup.SnsADObject.Builder, wechat.protobuf.Friendgroup.SnsADObjectOrBuilder> snsAdobjectBuilder_; /** * optional .wechat_proto.SnsADObject snsAdobject = 1; * @return Whether the snsAdobject field is set. */ public boolean hasSnsAdobject() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SnsADObject snsAdobject = 1; * @return The snsAdobject. */ public wechat.protobuf.Friendgroup.SnsADObject getSnsAdobject() { if (snsAdobjectBuilder_ == null) { return snsAdobject_ == null ? wechat.protobuf.Friendgroup.SnsADObject.getDefaultInstance() : snsAdobject_; } else { return snsAdobjectBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsADObject snsAdobject = 1; */ public Builder setSnsAdobject(wechat.protobuf.Friendgroup.SnsADObject value) { if (snsAdobjectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snsAdobject_ = value; onChanged(); } else { snsAdobjectBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsADObject snsAdobject = 1; */ public Builder setSnsAdobject( wechat.protobuf.Friendgroup.SnsADObject.Builder builderForValue) { if (snsAdobjectBuilder_ == null) { snsAdobject_ = builderForValue.build(); onChanged(); } else { snsAdobjectBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsADObject snsAdobject = 1; */ public Builder mergeSnsAdobject(wechat.protobuf.Friendgroup.SnsADObject value) { if (snsAdobjectBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && snsAdobject_ != null && snsAdobject_ != wechat.protobuf.Friendgroup.SnsADObject.getDefaultInstance()) { snsAdobject_ = wechat.protobuf.Friendgroup.SnsADObject.newBuilder(snsAdobject_).mergeFrom(value).buildPartial(); } else { snsAdobject_ = value; } onChanged(); } else { snsAdobjectBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsADObject snsAdobject = 1; */ public Builder clearSnsAdobject() { if (snsAdobjectBuilder_ == null) { snsAdobject_ = null; onChanged(); } else { snsAdobjectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .wechat_proto.SnsADObject snsAdobject = 1; */ public wechat.protobuf.Friendgroup.SnsADObject.Builder getSnsAdobjectBuilder() { bitField0_ |= 0x00000001; onChanged(); return getSnsAdobjectFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsADObject snsAdobject = 1; */ public wechat.protobuf.Friendgroup.SnsADObjectOrBuilder getSnsAdobjectOrBuilder() { if (snsAdobjectBuilder_ != null) { return snsAdobjectBuilder_.getMessageOrBuilder(); } else { return snsAdobject_ == null ? wechat.protobuf.Friendgroup.SnsADObject.getDefaultInstance() : snsAdobject_; } } /** * optional .wechat_proto.SnsADObject snsAdobject = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsADObject, wechat.protobuf.Friendgroup.SnsADObject.Builder, wechat.protobuf.Friendgroup.SnsADObjectOrBuilder> getSnsAdobjectFieldBuilder() { if (snsAdobjectBuilder_ == null) { snsAdobjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsADObject, wechat.protobuf.Friendgroup.SnsADObject.Builder, wechat.protobuf.Friendgroup.SnsADObjectOrBuilder>( getSnsAdobject(), getParentForChildren(), isClean()); snsAdobject_ = null; } return snsAdobjectBuilder_; } private wechat.protobuf.SKBuiltinString adinfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> adinfoBuilder_; /** * optional .wechat_proto.SKBuiltinString adinfo = 2; * @return Whether the adinfo field is set. */ public boolean hasAdinfo() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString adinfo = 2; * @return The adinfo. */ public wechat.protobuf.SKBuiltinString getAdinfo() { if (adinfoBuilder_ == null) { return adinfo_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : adinfo_; } else { return adinfoBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString adinfo = 2; */ public Builder setAdinfo(wechat.protobuf.SKBuiltinString value) { if (adinfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } adinfo_ = value; onChanged(); } else { adinfoBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString adinfo = 2; */ public Builder setAdinfo( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (adinfoBuilder_ == null) { adinfo_ = builderForValue.build(); onChanged(); } else { adinfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString adinfo = 2; */ public Builder mergeAdinfo(wechat.protobuf.SKBuiltinString value) { if (adinfoBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && adinfo_ != null && adinfo_ != wechat.protobuf.SKBuiltinString.getDefaultInstance()) { adinfo_ = wechat.protobuf.SKBuiltinString.newBuilder(adinfo_).mergeFrom(value).buildPartial(); } else { adinfo_ = value; } onChanged(); } else { adinfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString adinfo = 2; */ public Builder clearAdinfo() { if (adinfoBuilder_ == null) { adinfo_ = null; onChanged(); } else { adinfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SKBuiltinString adinfo = 2; */ public wechat.protobuf.SKBuiltinString.Builder getAdinfoBuilder() { bitField0_ |= 0x00000002; onChanged(); return getAdinfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString adinfo = 2; */ public wechat.protobuf.SKBuiltinStringOrBuilder getAdinfoOrBuilder() { if (adinfoBuilder_ != null) { return adinfoBuilder_.getMessageOrBuilder(); } else { return adinfo_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : adinfo_; } } /** * optional .wechat_proto.SKBuiltinString adinfo = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getAdinfoFieldBuilder() { if (adinfoBuilder_ == null) { adinfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( getAdinfo(), getParentForChildren(), isClean()); adinfo_ = null; } return adinfoBuilder_; } private int adpos_ ; /** * optional uint32 adpos = 3; * @return Whether the adpos field is set. */ @java.lang.Override public boolean hasAdpos() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 adpos = 3; * @return The adpos. */ @java.lang.Override public int getAdpos() { return adpos_; } /** * optional uint32 adpos = 3; * @param value The adpos to set. * @return This builder for chaining. */ public Builder setAdpos(int value) { bitField0_ |= 0x00000004; adpos_ = value; onChanged(); return this; } /** * optional uint32 adpos = 3; * @return This builder for chaining. */ public Builder clearAdpos() { bitField0_ = (bitField0_ & ~0x00000004); adpos_ = 0; onChanged(); return this; } private wechat.protobuf.Syncitem.RemindFriendsInfo remindFriendsInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.RemindFriendsInfo, wechat.protobuf.Syncitem.RemindFriendsInfo.Builder, wechat.protobuf.Syncitem.RemindFriendsInfoOrBuilder> remindFriendsInfoBuilder_; /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; * @return Whether the remindFriendsInfo field is set. */ public boolean hasRemindFriendsInfo() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; * @return The remindFriendsInfo. */ public wechat.protobuf.Syncitem.RemindFriendsInfo getRemindFriendsInfo() { if (remindFriendsInfoBuilder_ == null) { return remindFriendsInfo_ == null ? wechat.protobuf.Syncitem.RemindFriendsInfo.getDefaultInstance() : remindFriendsInfo_; } else { return remindFriendsInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; */ public Builder setRemindFriendsInfo(wechat.protobuf.Syncitem.RemindFriendsInfo value) { if (remindFriendsInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } remindFriendsInfo_ = value; onChanged(); } else { remindFriendsInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; */ public Builder setRemindFriendsInfo( wechat.protobuf.Syncitem.RemindFriendsInfo.Builder builderForValue) { if (remindFriendsInfoBuilder_ == null) { remindFriendsInfo_ = builderForValue.build(); onChanged(); } else { remindFriendsInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; */ public Builder mergeRemindFriendsInfo(wechat.protobuf.Syncitem.RemindFriendsInfo value) { if (remindFriendsInfoBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && remindFriendsInfo_ != null && remindFriendsInfo_ != wechat.protobuf.Syncitem.RemindFriendsInfo.getDefaultInstance()) { remindFriendsInfo_ = wechat.protobuf.Syncitem.RemindFriendsInfo.newBuilder(remindFriendsInfo_).mergeFrom(value).buildPartial(); } else { remindFriendsInfo_ = value; } onChanged(); } else { remindFriendsInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; */ public Builder clearRemindFriendsInfo() { if (remindFriendsInfoBuilder_ == null) { remindFriendsInfo_ = null; onChanged(); } else { remindFriendsInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; */ public wechat.protobuf.Syncitem.RemindFriendsInfo.Builder getRemindFriendsInfoBuilder() { bitField0_ |= 0x00000008; onChanged(); return getRemindFriendsInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; */ public wechat.protobuf.Syncitem.RemindFriendsInfoOrBuilder getRemindFriendsInfoOrBuilder() { if (remindFriendsInfoBuilder_ != null) { return remindFriendsInfoBuilder_.getMessageOrBuilder(); } else { return remindFriendsInfo_ == null ? wechat.protobuf.Syncitem.RemindFriendsInfo.getDefaultInstance() : remindFriendsInfo_; } } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 4; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.RemindFriendsInfo, wechat.protobuf.Syncitem.RemindFriendsInfo.Builder, wechat.protobuf.Syncitem.RemindFriendsInfoOrBuilder> getRemindFriendsInfoFieldBuilder() { if (remindFriendsInfoBuilder_ == null) { remindFriendsInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.RemindFriendsInfo, wechat.protobuf.Syncitem.RemindFriendsInfo.Builder, wechat.protobuf.Syncitem.RemindFriendsInfoOrBuilder>( getRemindFriendsInfo(), getParentForChildren(), isClean()); remindFriendsInfo_ = null; } return remindFriendsInfoBuilder_; } @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.AdvertiseObject) } // @@protoc_insertion_point(class_scope:wechat_proto.AdvertiseObject) private static final wechat.protobuf.Friendgroup.AdvertiseObject DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.AdvertiseObject(); } public static wechat.protobuf.Friendgroup.AdvertiseObject getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AdvertiseObject parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AdvertiseObject(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.Friendgroup.AdvertiseObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsADObjectOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsADObject) com.google.protobuf.MessageOrBuilder { /** * optional .wechat_proto.SnsObject snsObject = 1; * @return Whether the snsObject field is set. */ boolean hasSnsObject(); /** * optional .wechat_proto.SnsObject snsObject = 1; * @return The snsObject. */ wechat.protobuf.Friendgroup.SnsObject getSnsObject(); /** * optional .wechat_proto.SnsObject snsObject = 1; */ wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder(); /** * optional .wechat_proto.SKBuiltinString adxml = 2; * @return Whether the adxml field is set. */ boolean hasAdxml(); /** * optional .wechat_proto.SKBuiltinString adxml = 2; * @return The adxml. */ wechat.protobuf.SKBuiltinString getAdxml(); /** * optional .wechat_proto.SKBuiltinString adxml = 2; */ wechat.protobuf.SKBuiltinStringOrBuilder getAdxmlOrBuilder(); } /** * Protobuf type {@code wechat_proto.SnsADObject} */ public static final class SnsADObject extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsADObject) SnsADObjectOrBuilder { private static final long serialVersionUID = 0L; // Use SnsADObject.newBuilder() to construct. private SnsADObject(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsADObject() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsADObject(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsADObject( 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.Friendgroup.SnsObject.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = snsObject_.toBuilder(); } snsObject_ = input.readMessage(wechat.protobuf.Friendgroup.SnsObject.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(snsObject_); snsObject_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { wechat.protobuf.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = adxml_.toBuilder(); } adxml_ = input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(adxml_); adxml_ = 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.Friendgroup.internal_static_wechat_proto_SnsADObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsADObject_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsADObject.class, wechat.protobuf.Friendgroup.SnsADObject.Builder.class); } private int bitField0_; public static final int SNSOBJECT_FIELD_NUMBER = 1; private wechat.protobuf.Friendgroup.SnsObject snsObject_; /** * optional .wechat_proto.SnsObject snsObject = 1; * @return Whether the snsObject field is set. */ @java.lang.Override public boolean hasSnsObject() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SnsObject snsObject = 1; * @return The snsObject. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsObject getSnsObject() { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } /** * optional .wechat_proto.SnsObject snsObject = 1; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder() { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } public static final int ADXML_FIELD_NUMBER = 2; private wechat.protobuf.SKBuiltinString adxml_; /** * optional .wechat_proto.SKBuiltinString adxml = 2; * @return Whether the adxml field is set. */ @java.lang.Override public boolean hasAdxml() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString adxml = 2; * @return The adxml. */ @java.lang.Override public wechat.protobuf.SKBuiltinString getAdxml() { return adxml_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : adxml_; } /** * optional .wechat_proto.SKBuiltinString adxml = 2; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder getAdxmlOrBuilder() { return adxml_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : adxml_; } 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, getSnsObject()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getAdxml()); } 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, getSnsObject()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAdxml()); } 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.Friendgroup.SnsADObject)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsADObject other = (wechat.protobuf.Friendgroup.SnsADObject) obj; if (hasSnsObject() != other.hasSnsObject()) return false; if (hasSnsObject()) { if (!getSnsObject() .equals(other.getSnsObject())) return false; } if (hasAdxml() != other.hasAdxml()) return false; if (hasAdxml()) { if (!getAdxml() .equals(other.getAdxml())) 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 (hasSnsObject()) { hash = (37 * hash) + SNSOBJECT_FIELD_NUMBER; hash = (53 * hash) + getSnsObject().hashCode(); } if (hasAdxml()) { hash = (37 * hash) + ADXML_FIELD_NUMBER; hash = (53 * hash) + getAdxml().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsADObject parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsADObject parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsADObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsADObject 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.Friendgroup.SnsADObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsADObject parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsADObject parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsADObject 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.Friendgroup.SnsADObject parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsADObject 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.Friendgroup.SnsADObject parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsADObject 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.Friendgroup.SnsADObject 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.SnsADObject} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsADObject) wechat.protobuf.Friendgroup.SnsADObjectOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsADObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsADObject_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsADObject.class, wechat.protobuf.Friendgroup.SnsADObject.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsADObject.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSnsObjectFieldBuilder(); getAdxmlFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (snsObjectBuilder_ == null) { snsObject_ = null; } else { snsObjectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (adxmlBuilder_ == null) { adxml_ = null; } else { adxmlBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsADObject_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsADObject getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsADObject.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsADObject build() { wechat.protobuf.Friendgroup.SnsADObject result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsADObject buildPartial() { wechat.protobuf.Friendgroup.SnsADObject result = new wechat.protobuf.Friendgroup.SnsADObject(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (snsObjectBuilder_ == null) { result.snsObject_ = snsObject_; } else { result.snsObject_ = snsObjectBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (adxmlBuilder_ == null) { result.adxml_ = adxml_; } else { result.adxml_ = adxmlBuilder_.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.Friendgroup.SnsADObject) { return mergeFrom((wechat.protobuf.Friendgroup.SnsADObject)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsADObject other) { if (other == wechat.protobuf.Friendgroup.SnsADObject.getDefaultInstance()) return this; if (other.hasSnsObject()) { mergeSnsObject(other.getSnsObject()); } if (other.hasAdxml()) { mergeAdxml(other.getAdxml()); } 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.Friendgroup.SnsADObject parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsADObject) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.Friendgroup.SnsObject snsObject_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> snsObjectBuilder_; /** * optional .wechat_proto.SnsObject snsObject = 1; * @return Whether the snsObject field is set. */ public boolean hasSnsObject() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SnsObject snsObject = 1; * @return The snsObject. */ public wechat.protobuf.Friendgroup.SnsObject getSnsObject() { if (snsObjectBuilder_ == null) { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } else { return snsObjectBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsObject snsObject = 1; */ public Builder setSnsObject(wechat.protobuf.Friendgroup.SnsObject value) { if (snsObjectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snsObject_ = value; onChanged(); } else { snsObjectBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsObject snsObject = 1; */ public Builder setSnsObject( wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) { if (snsObjectBuilder_ == null) { snsObject_ = builderForValue.build(); onChanged(); } else { snsObjectBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsObject snsObject = 1; */ public Builder mergeSnsObject(wechat.protobuf.Friendgroup.SnsObject value) { if (snsObjectBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && snsObject_ != null && snsObject_ != wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance()) { snsObject_ = wechat.protobuf.Friendgroup.SnsObject.newBuilder(snsObject_).mergeFrom(value).buildPartial(); } else { snsObject_ = value; } onChanged(); } else { snsObjectBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsObject snsObject = 1; */ public Builder clearSnsObject() { if (snsObjectBuilder_ == null) { snsObject_ = null; onChanged(); } else { snsObjectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .wechat_proto.SnsObject snsObject = 1; */ public wechat.protobuf.Friendgroup.SnsObject.Builder getSnsObjectBuilder() { bitField0_ |= 0x00000001; onChanged(); return getSnsObjectFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsObject snsObject = 1; */ public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder() { if (snsObjectBuilder_ != null) { return snsObjectBuilder_.getMessageOrBuilder(); } else { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } } /** * optional .wechat_proto.SnsObject snsObject = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> getSnsObjectFieldBuilder() { if (snsObjectBuilder_ == null) { snsObjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder>( getSnsObject(), getParentForChildren(), isClean()); snsObject_ = null; } return snsObjectBuilder_; } private wechat.protobuf.SKBuiltinString adxml_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> adxmlBuilder_; /** * optional .wechat_proto.SKBuiltinString adxml = 2; * @return Whether the adxml field is set. */ public boolean hasAdxml() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString adxml = 2; * @return The adxml. */ public wechat.protobuf.SKBuiltinString getAdxml() { if (adxmlBuilder_ == null) { return adxml_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : adxml_; } else { return adxmlBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString adxml = 2; */ public Builder setAdxml(wechat.protobuf.SKBuiltinString value) { if (adxmlBuilder_ == null) { if (value == null) { throw new NullPointerException(); } adxml_ = value; onChanged(); } else { adxmlBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString adxml = 2; */ public Builder setAdxml( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (adxmlBuilder_ == null) { adxml_ = builderForValue.build(); onChanged(); } else { adxmlBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString adxml = 2; */ public Builder mergeAdxml(wechat.protobuf.SKBuiltinString value) { if (adxmlBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && adxml_ != null && adxml_ != wechat.protobuf.SKBuiltinString.getDefaultInstance()) { adxml_ = wechat.protobuf.SKBuiltinString.newBuilder(adxml_).mergeFrom(value).buildPartial(); } else { adxml_ = value; } onChanged(); } else { adxmlBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString adxml = 2; */ public Builder clearAdxml() { if (adxmlBuilder_ == null) { adxml_ = null; onChanged(); } else { adxmlBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SKBuiltinString adxml = 2; */ public wechat.protobuf.SKBuiltinString.Builder getAdxmlBuilder() { bitField0_ |= 0x00000002; onChanged(); return getAdxmlFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString adxml = 2; */ public wechat.protobuf.SKBuiltinStringOrBuilder getAdxmlOrBuilder() { if (adxmlBuilder_ != null) { return adxmlBuilder_.getMessageOrBuilder(); } else { return adxml_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : adxml_; } } /** * optional .wechat_proto.SKBuiltinString adxml = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getAdxmlFieldBuilder() { if (adxmlBuilder_ == null) { adxmlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( getAdxml(), getParentForChildren(), isClean()); adxml_ = null; } return adxmlBuilder_; } @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.SnsADObject) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsADObject) private static final wechat.protobuf.Friendgroup.SnsADObject DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsADObject(); } public static wechat.protobuf.Friendgroup.SnsADObject getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsADObject parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsADObject(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.Friendgroup.SnsADObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RecObjectOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.RecObject) com.google.protobuf.MessageOrBuilder { /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; * @return Whether the snsRecommendObject field is set. */ boolean hasSnsRecommendObject(); /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; * @return The snsRecommendObject. */ wechat.protobuf.Friendgroup.SnsRecommendObject getSnsRecommendObject(); /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; */ wechat.protobuf.Friendgroup.SnsRecommendObjectOrBuilder getSnsRecommendObjectOrBuilder(); /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; * @return Whether the recommendInfo field is set. */ boolean hasRecommendInfo(); /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; * @return The recommendInfo. */ wechat.protobuf.SKBuiltinString getRecommendInfo(); /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; */ wechat.protobuf.SKBuiltinStringOrBuilder getRecommendInfoOrBuilder(); } /** * Protobuf type {@code wechat_proto.RecObject} */ public static final class RecObject extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.RecObject) RecObjectOrBuilder { private static final long serialVersionUID = 0L; // Use RecObject.newBuilder() to construct. private RecObject(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RecObject() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RecObject(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RecObject( 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.Friendgroup.SnsRecommendObject.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = snsRecommendObject_.toBuilder(); } snsRecommendObject_ = input.readMessage(wechat.protobuf.Friendgroup.SnsRecommendObject.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(snsRecommendObject_); snsRecommendObject_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { wechat.protobuf.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = recommendInfo_.toBuilder(); } recommendInfo_ = input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(recommendInfo_); recommendInfo_ = 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.Friendgroup.internal_static_wechat_proto_RecObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_RecObject_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.RecObject.class, wechat.protobuf.Friendgroup.RecObject.Builder.class); } private int bitField0_; public static final int SNSRECOMMENDOBJECT_FIELD_NUMBER = 1; private wechat.protobuf.Friendgroup.SnsRecommendObject snsRecommendObject_; /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; * @return Whether the snsRecommendObject field is set. */ @java.lang.Override public boolean hasSnsRecommendObject() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; * @return The snsRecommendObject. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsRecommendObject getSnsRecommendObject() { return snsRecommendObject_ == null ? wechat.protobuf.Friendgroup.SnsRecommendObject.getDefaultInstance() : snsRecommendObject_; } /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsRecommendObjectOrBuilder getSnsRecommendObjectOrBuilder() { return snsRecommendObject_ == null ? wechat.protobuf.Friendgroup.SnsRecommendObject.getDefaultInstance() : snsRecommendObject_; } public static final int RECOMMENDINFO_FIELD_NUMBER = 2; private wechat.protobuf.SKBuiltinString recommendInfo_; /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; * @return Whether the recommendInfo field is set. */ @java.lang.Override public boolean hasRecommendInfo() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; * @return The recommendInfo. */ @java.lang.Override public wechat.protobuf.SKBuiltinString getRecommendInfo() { return recommendInfo_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : recommendInfo_; } /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder getRecommendInfoOrBuilder() { return recommendInfo_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : recommendInfo_; } 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, getSnsRecommendObject()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getRecommendInfo()); } 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, getSnsRecommendObject()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRecommendInfo()); } 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.Friendgroup.RecObject)) { return super.equals(obj); } wechat.protobuf.Friendgroup.RecObject other = (wechat.protobuf.Friendgroup.RecObject) obj; if (hasSnsRecommendObject() != other.hasSnsRecommendObject()) return false; if (hasSnsRecommendObject()) { if (!getSnsRecommendObject() .equals(other.getSnsRecommendObject())) return false; } if (hasRecommendInfo() != other.hasRecommendInfo()) return false; if (hasRecommendInfo()) { if (!getRecommendInfo() .equals(other.getRecommendInfo())) 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 (hasSnsRecommendObject()) { hash = (37 * hash) + SNSRECOMMENDOBJECT_FIELD_NUMBER; hash = (53 * hash) + getSnsRecommendObject().hashCode(); } if (hasRecommendInfo()) { hash = (37 * hash) + RECOMMENDINFO_FIELD_NUMBER; hash = (53 * hash) + getRecommendInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.RecObject parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.RecObject parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.RecObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.RecObject 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.Friendgroup.RecObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.RecObject parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.RecObject parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.RecObject 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.Friendgroup.RecObject parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.RecObject 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.Friendgroup.RecObject parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.RecObject 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.Friendgroup.RecObject 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.RecObject} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.RecObject) wechat.protobuf.Friendgroup.RecObjectOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_RecObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_RecObject_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.RecObject.class, wechat.protobuf.Friendgroup.RecObject.Builder.class); } // Construct using wechat.protobuf.Friendgroup.RecObject.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSnsRecommendObjectFieldBuilder(); getRecommendInfoFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (snsRecommendObjectBuilder_ == null) { snsRecommendObject_ = null; } else { snsRecommendObjectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (recommendInfoBuilder_ == null) { recommendInfo_ = null; } else { recommendInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_RecObject_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.RecObject getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.RecObject.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.RecObject build() { wechat.protobuf.Friendgroup.RecObject result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.RecObject buildPartial() { wechat.protobuf.Friendgroup.RecObject result = new wechat.protobuf.Friendgroup.RecObject(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (snsRecommendObjectBuilder_ == null) { result.snsRecommendObject_ = snsRecommendObject_; } else { result.snsRecommendObject_ = snsRecommendObjectBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (recommendInfoBuilder_ == null) { result.recommendInfo_ = recommendInfo_; } else { result.recommendInfo_ = recommendInfoBuilder_.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.Friendgroup.RecObject) { return mergeFrom((wechat.protobuf.Friendgroup.RecObject)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.RecObject other) { if (other == wechat.protobuf.Friendgroup.RecObject.getDefaultInstance()) return this; if (other.hasSnsRecommendObject()) { mergeSnsRecommendObject(other.getSnsRecommendObject()); } if (other.hasRecommendInfo()) { mergeRecommendInfo(other.getRecommendInfo()); } 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.Friendgroup.RecObject parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.RecObject) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.Friendgroup.SnsRecommendObject snsRecommendObject_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsRecommendObject, wechat.protobuf.Friendgroup.SnsRecommendObject.Builder, wechat.protobuf.Friendgroup.SnsRecommendObjectOrBuilder> snsRecommendObjectBuilder_; /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; * @return Whether the snsRecommendObject field is set. */ public boolean hasSnsRecommendObject() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; * @return The snsRecommendObject. */ public wechat.protobuf.Friendgroup.SnsRecommendObject getSnsRecommendObject() { if (snsRecommendObjectBuilder_ == null) { return snsRecommendObject_ == null ? wechat.protobuf.Friendgroup.SnsRecommendObject.getDefaultInstance() : snsRecommendObject_; } else { return snsRecommendObjectBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; */ public Builder setSnsRecommendObject(wechat.protobuf.Friendgroup.SnsRecommendObject value) { if (snsRecommendObjectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snsRecommendObject_ = value; onChanged(); } else { snsRecommendObjectBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; */ public Builder setSnsRecommendObject( wechat.protobuf.Friendgroup.SnsRecommendObject.Builder builderForValue) { if (snsRecommendObjectBuilder_ == null) { snsRecommendObject_ = builderForValue.build(); onChanged(); } else { snsRecommendObjectBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; */ public Builder mergeSnsRecommendObject(wechat.protobuf.Friendgroup.SnsRecommendObject value) { if (snsRecommendObjectBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && snsRecommendObject_ != null && snsRecommendObject_ != wechat.protobuf.Friendgroup.SnsRecommendObject.getDefaultInstance()) { snsRecommendObject_ = wechat.protobuf.Friendgroup.SnsRecommendObject.newBuilder(snsRecommendObject_).mergeFrom(value).buildPartial(); } else { snsRecommendObject_ = value; } onChanged(); } else { snsRecommendObjectBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; */ public Builder clearSnsRecommendObject() { if (snsRecommendObjectBuilder_ == null) { snsRecommendObject_ = null; onChanged(); } else { snsRecommendObjectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; */ public wechat.protobuf.Friendgroup.SnsRecommendObject.Builder getSnsRecommendObjectBuilder() { bitField0_ |= 0x00000001; onChanged(); return getSnsRecommendObjectFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; */ public wechat.protobuf.Friendgroup.SnsRecommendObjectOrBuilder getSnsRecommendObjectOrBuilder() { if (snsRecommendObjectBuilder_ != null) { return snsRecommendObjectBuilder_.getMessageOrBuilder(); } else { return snsRecommendObject_ == null ? wechat.protobuf.Friendgroup.SnsRecommendObject.getDefaultInstance() : snsRecommendObject_; } } /** * optional .wechat_proto.SnsRecommendObject snsRecommendObject = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsRecommendObject, wechat.protobuf.Friendgroup.SnsRecommendObject.Builder, wechat.protobuf.Friendgroup.SnsRecommendObjectOrBuilder> getSnsRecommendObjectFieldBuilder() { if (snsRecommendObjectBuilder_ == null) { snsRecommendObjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsRecommendObject, wechat.protobuf.Friendgroup.SnsRecommendObject.Builder, wechat.protobuf.Friendgroup.SnsRecommendObjectOrBuilder>( getSnsRecommendObject(), getParentForChildren(), isClean()); snsRecommendObject_ = null; } return snsRecommendObjectBuilder_; } private wechat.protobuf.SKBuiltinString recommendInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> recommendInfoBuilder_; /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; * @return Whether the recommendInfo field is set. */ public boolean hasRecommendInfo() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; * @return The recommendInfo. */ public wechat.protobuf.SKBuiltinString getRecommendInfo() { if (recommendInfoBuilder_ == null) { return recommendInfo_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : recommendInfo_; } else { return recommendInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; */ public Builder setRecommendInfo(wechat.protobuf.SKBuiltinString value) { if (recommendInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } recommendInfo_ = value; onChanged(); } else { recommendInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; */ public Builder setRecommendInfo( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (recommendInfoBuilder_ == null) { recommendInfo_ = builderForValue.build(); onChanged(); } else { recommendInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; */ public Builder mergeRecommendInfo(wechat.protobuf.SKBuiltinString value) { if (recommendInfoBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && recommendInfo_ != null && recommendInfo_ != wechat.protobuf.SKBuiltinString.getDefaultInstance()) { recommendInfo_ = wechat.protobuf.SKBuiltinString.newBuilder(recommendInfo_).mergeFrom(value).buildPartial(); } else { recommendInfo_ = value; } onChanged(); } else { recommendInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; */ public Builder clearRecommendInfo() { if (recommendInfoBuilder_ == null) { recommendInfo_ = null; onChanged(); } else { recommendInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; */ public wechat.protobuf.SKBuiltinString.Builder getRecommendInfoBuilder() { bitField0_ |= 0x00000002; onChanged(); return getRecommendInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; */ public wechat.protobuf.SKBuiltinStringOrBuilder getRecommendInfoOrBuilder() { if (recommendInfoBuilder_ != null) { return recommendInfoBuilder_.getMessageOrBuilder(); } else { return recommendInfo_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : recommendInfo_; } } /** * optional .wechat_proto.SKBuiltinString recommendInfo = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getRecommendInfoFieldBuilder() { if (recommendInfoBuilder_ == null) { recommendInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( getRecommendInfo(), getParentForChildren(), isClean()); recommendInfo_ = null; } return recommendInfoBuilder_; } @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.RecObject) } // @@protoc_insertion_point(class_scope:wechat_proto.RecObject) private static final wechat.protobuf.Friendgroup.RecObject DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.RecObject(); } public static wechat.protobuf.Friendgroup.RecObject getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RecObject parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RecObject(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.Friendgroup.RecObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsRecommendObjectOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsRecommendObject) com.google.protobuf.MessageOrBuilder { /** * optional .wechat_proto.SnsObject snsObject = 1; * @return Whether the snsObject field is set. */ boolean hasSnsObject(); /** * optional .wechat_proto.SnsObject snsObject = 1; * @return The snsObject. */ wechat.protobuf.Friendgroup.SnsObject getSnsObject(); /** * optional .wechat_proto.SnsObject snsObject = 1; */ wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder(); /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; * @return Whether the recommendXml field is set. */ boolean hasRecommendXml(); /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; * @return The recommendXml. */ wechat.protobuf.SKBuiltinString getRecommendXml(); /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; */ wechat.protobuf.SKBuiltinStringOrBuilder getRecommendXmlOrBuilder(); } /** * Protobuf type {@code wechat_proto.SnsRecommendObject} */ public static final class SnsRecommendObject extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsRecommendObject) SnsRecommendObjectOrBuilder { private static final long serialVersionUID = 0L; // Use SnsRecommendObject.newBuilder() to construct. private SnsRecommendObject(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsRecommendObject() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsRecommendObject(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsRecommendObject( 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.Friendgroup.SnsObject.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = snsObject_.toBuilder(); } snsObject_ = input.readMessage(wechat.protobuf.Friendgroup.SnsObject.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(snsObject_); snsObject_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { wechat.protobuf.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = recommendXml_.toBuilder(); } recommendXml_ = input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(recommendXml_); recommendXml_ = 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.Friendgroup.internal_static_wechat_proto_SnsRecommendObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsRecommendObject_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsRecommendObject.class, wechat.protobuf.Friendgroup.SnsRecommendObject.Builder.class); } private int bitField0_; public static final int SNSOBJECT_FIELD_NUMBER = 1; private wechat.protobuf.Friendgroup.SnsObject snsObject_; /** * optional .wechat_proto.SnsObject snsObject = 1; * @return Whether the snsObject field is set. */ @java.lang.Override public boolean hasSnsObject() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SnsObject snsObject = 1; * @return The snsObject. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsObject getSnsObject() { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } /** * optional .wechat_proto.SnsObject snsObject = 1; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder() { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } public static final int RECOMMENDXML_FIELD_NUMBER = 2; private wechat.protobuf.SKBuiltinString recommendXml_; /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; * @return Whether the recommendXml field is set. */ @java.lang.Override public boolean hasRecommendXml() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; * @return The recommendXml. */ @java.lang.Override public wechat.protobuf.SKBuiltinString getRecommendXml() { return recommendXml_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : recommendXml_; } /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder getRecommendXmlOrBuilder() { return recommendXml_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : recommendXml_; } 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, getSnsObject()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getRecommendXml()); } 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, getSnsObject()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRecommendXml()); } 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.Friendgroup.SnsRecommendObject)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsRecommendObject other = (wechat.protobuf.Friendgroup.SnsRecommendObject) obj; if (hasSnsObject() != other.hasSnsObject()) return false; if (hasSnsObject()) { if (!getSnsObject() .equals(other.getSnsObject())) return false; } if (hasRecommendXml() != other.hasRecommendXml()) return false; if (hasRecommendXml()) { if (!getRecommendXml() .equals(other.getRecommendXml())) 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 (hasSnsObject()) { hash = (37 * hash) + SNSOBJECT_FIELD_NUMBER; hash = (53 * hash) + getSnsObject().hashCode(); } if (hasRecommendXml()) { hash = (37 * hash) + RECOMMENDXML_FIELD_NUMBER; hash = (53 * hash) + getRecommendXml().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsRecommendObject parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsRecommendObject parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsRecommendObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsRecommendObject 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.Friendgroup.SnsRecommendObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsRecommendObject parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsRecommendObject parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsRecommendObject 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.Friendgroup.SnsRecommendObject parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsRecommendObject 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.Friendgroup.SnsRecommendObject parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsRecommendObject 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.Friendgroup.SnsRecommendObject 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.SnsRecommendObject} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsRecommendObject) wechat.protobuf.Friendgroup.SnsRecommendObjectOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsRecommendObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsRecommendObject_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsRecommendObject.class, wechat.protobuf.Friendgroup.SnsRecommendObject.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsRecommendObject.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSnsObjectFieldBuilder(); getRecommendXmlFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (snsObjectBuilder_ == null) { snsObject_ = null; } else { snsObjectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (recommendXmlBuilder_ == null) { recommendXml_ = null; } else { recommendXmlBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsRecommendObject_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsRecommendObject getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsRecommendObject.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsRecommendObject build() { wechat.protobuf.Friendgroup.SnsRecommendObject result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsRecommendObject buildPartial() { wechat.protobuf.Friendgroup.SnsRecommendObject result = new wechat.protobuf.Friendgroup.SnsRecommendObject(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (snsObjectBuilder_ == null) { result.snsObject_ = snsObject_; } else { result.snsObject_ = snsObjectBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (recommendXmlBuilder_ == null) { result.recommendXml_ = recommendXml_; } else { result.recommendXml_ = recommendXmlBuilder_.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.Friendgroup.SnsRecommendObject) { return mergeFrom((wechat.protobuf.Friendgroup.SnsRecommendObject)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsRecommendObject other) { if (other == wechat.protobuf.Friendgroup.SnsRecommendObject.getDefaultInstance()) return this; if (other.hasSnsObject()) { mergeSnsObject(other.getSnsObject()); } if (other.hasRecommendXml()) { mergeRecommendXml(other.getRecommendXml()); } 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.Friendgroup.SnsRecommendObject parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsRecommendObject) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.Friendgroup.SnsObject snsObject_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> snsObjectBuilder_; /** * optional .wechat_proto.SnsObject snsObject = 1; * @return Whether the snsObject field is set. */ public boolean hasSnsObject() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SnsObject snsObject = 1; * @return The snsObject. */ public wechat.protobuf.Friendgroup.SnsObject getSnsObject() { if (snsObjectBuilder_ == null) { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } else { return snsObjectBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsObject snsObject = 1; */ public Builder setSnsObject(wechat.protobuf.Friendgroup.SnsObject value) { if (snsObjectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snsObject_ = value; onChanged(); } else { snsObjectBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsObject snsObject = 1; */ public Builder setSnsObject( wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) { if (snsObjectBuilder_ == null) { snsObject_ = builderForValue.build(); onChanged(); } else { snsObjectBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsObject snsObject = 1; */ public Builder mergeSnsObject(wechat.protobuf.Friendgroup.SnsObject value) { if (snsObjectBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && snsObject_ != null && snsObject_ != wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance()) { snsObject_ = wechat.protobuf.Friendgroup.SnsObject.newBuilder(snsObject_).mergeFrom(value).buildPartial(); } else { snsObject_ = value; } onChanged(); } else { snsObjectBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsObject snsObject = 1; */ public Builder clearSnsObject() { if (snsObjectBuilder_ == null) { snsObject_ = null; onChanged(); } else { snsObjectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .wechat_proto.SnsObject snsObject = 1; */ public wechat.protobuf.Friendgroup.SnsObject.Builder getSnsObjectBuilder() { bitField0_ |= 0x00000001; onChanged(); return getSnsObjectFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsObject snsObject = 1; */ public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder() { if (snsObjectBuilder_ != null) { return snsObjectBuilder_.getMessageOrBuilder(); } else { return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_; } } /** * optional .wechat_proto.SnsObject snsObject = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> getSnsObjectFieldBuilder() { if (snsObjectBuilder_ == null) { snsObjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder>( getSnsObject(), getParentForChildren(), isClean()); snsObject_ = null; } return snsObjectBuilder_; } private wechat.protobuf.SKBuiltinString recommendXml_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> recommendXmlBuilder_; /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; * @return Whether the recommendXml field is set. */ public boolean hasRecommendXml() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; * @return The recommendXml. */ public wechat.protobuf.SKBuiltinString getRecommendXml() { if (recommendXmlBuilder_ == null) { return recommendXml_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : recommendXml_; } else { return recommendXmlBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; */ public Builder setRecommendXml(wechat.protobuf.SKBuiltinString value) { if (recommendXmlBuilder_ == null) { if (value == null) { throw new NullPointerException(); } recommendXml_ = value; onChanged(); } else { recommendXmlBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; */ public Builder setRecommendXml( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (recommendXmlBuilder_ == null) { recommendXml_ = builderForValue.build(); onChanged(); } else { recommendXmlBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; */ public Builder mergeRecommendXml(wechat.protobuf.SKBuiltinString value) { if (recommendXmlBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && recommendXml_ != null && recommendXml_ != wechat.protobuf.SKBuiltinString.getDefaultInstance()) { recommendXml_ = wechat.protobuf.SKBuiltinString.newBuilder(recommendXml_).mergeFrom(value).buildPartial(); } else { recommendXml_ = value; } onChanged(); } else { recommendXmlBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; */ public Builder clearRecommendXml() { if (recommendXmlBuilder_ == null) { recommendXml_ = null; onChanged(); } else { recommendXmlBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; */ public wechat.protobuf.SKBuiltinString.Builder getRecommendXmlBuilder() { bitField0_ |= 0x00000002; onChanged(); return getRecommendXmlFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; */ public wechat.protobuf.SKBuiltinStringOrBuilder getRecommendXmlOrBuilder() { if (recommendXmlBuilder_ != null) { return recommendXmlBuilder_.getMessageOrBuilder(); } else { return recommendXml_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : recommendXml_; } } /** * optional .wechat_proto.SKBuiltinString recommendXml = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getRecommendXmlFieldBuilder() { if (recommendXmlBuilder_ == null) { recommendXmlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( getRecommendXml(), getParentForChildren(), isClean()); recommendXml_ = null; } return recommendXmlBuilder_; } @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.SnsRecommendObject) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsRecommendObject) private static final wechat.protobuf.Friendgroup.SnsRecommendObject DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsRecommendObject(); } public static wechat.protobuf.Friendgroup.SnsRecommendObject getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsRecommendObject parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsRecommendObject(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.Friendgroup.SnsRecommendObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsObjectDetailRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsObjectDetailRequest) 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 uint64 id = 2; * @return Whether the id field is set. */ boolean hasId(); /** * optional uint64 id = 2; * @return The id. */ long getId(); /** * optional uint32 groupDetail = 3; * @return Whether the groupDetail field is set. */ boolean hasGroupDetail(); /** * optional uint32 groupDetail = 3; * @return The groupDetail. */ int getGroupDetail(); } /** * Protobuf type {@code wechat_proto.SnsObjectDetailRequest} */ public static final class SnsObjectDetailRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsObjectDetailRequest) SnsObjectDetailRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SnsObjectDetailRequest.newBuilder() to construct. private SnsObjectDetailRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsObjectDetailRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsObjectDetailRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsObjectDetailRequest( 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; id_ = input.readUInt64(); break; } case 24: { bitField0_ |= 0x00000004; groupDetail_ = 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.Friendgroup.internal_static_wechat_proto_SnsObjectDetailRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectDetailRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsObjectDetailRequest.class, wechat.protobuf.Friendgroup.SnsObjectDetailRequest.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 ID_FIELD_NUMBER = 2; private long id_; /** * optional uint64 id = 2; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint64 id = 2; * @return The id. */ @java.lang.Override public long getId() { return id_; } public static final int GROUPDETAIL_FIELD_NUMBER = 3; private int groupDetail_; /** * optional uint32 groupDetail = 3; * @return Whether the groupDetail field is set. */ @java.lang.Override public boolean hasGroupDetail() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 groupDetail = 3; * @return The groupDetail. */ @java.lang.Override public int getGroupDetail() { return groupDetail_; } 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.writeUInt64(2, id_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, groupDetail_); } 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 .computeUInt64Size(2, id_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, groupDetail_); } 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.Friendgroup.SnsObjectDetailRequest)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsObjectDetailRequest other = (wechat.protobuf.Friendgroup.SnsObjectDetailRequest) obj; if (hasBaseRequest() != other.hasBaseRequest()) return false; if (hasBaseRequest()) { if (!getBaseRequest() .equals(other.getBaseRequest())) return false; } if (hasId() != other.hasId()) return false; if (hasId()) { if (getId() != other.getId()) return false; } if (hasGroupDetail() != other.hasGroupDetail()) return false; if (hasGroupDetail()) { if (getGroupDetail() != other.getGroupDetail()) 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 (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getId()); } if (hasGroupDetail()) { hash = (37 * hash) + GROUPDETAIL_FIELD_NUMBER; hash = (53 * hash) + getGroupDetail(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.SnsObjectDetailRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectDetailRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsObjectDetailRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectDetailRequest 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.Friendgroup.SnsObjectDetailRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectDetailRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsObjectDetailRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectDetailRequest 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.Friendgroup.SnsObjectDetailRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectDetailRequest 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.Friendgroup.SnsObjectDetailRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectDetailRequest 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.Friendgroup.SnsObjectDetailRequest 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.SnsObjectDetailRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsObjectDetailRequest) wechat.protobuf.Friendgroup.SnsObjectDetailRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectDetailRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectDetailRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsObjectDetailRequest.class, wechat.protobuf.Friendgroup.SnsObjectDetailRequest.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsObjectDetailRequest.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); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); groupDetail_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectDetailRequest_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectDetailRequest getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsObjectDetailRequest.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectDetailRequest build() { wechat.protobuf.Friendgroup.SnsObjectDetailRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectDetailRequest buildPartial() { wechat.protobuf.Friendgroup.SnsObjectDetailRequest result = new wechat.protobuf.Friendgroup.SnsObjectDetailRequest(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.id_ = id_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.groupDetail_ = groupDetail_; to_bitField0_ |= 0x00000004; } 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.Friendgroup.SnsObjectDetailRequest) { return mergeFrom((wechat.protobuf.Friendgroup.SnsObjectDetailRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsObjectDetailRequest other) { if (other == wechat.protobuf.Friendgroup.SnsObjectDetailRequest.getDefaultInstance()) return this; if (other.hasBaseRequest()) { mergeBaseRequest(other.getBaseRequest()); } if (other.hasId()) { setId(other.getId()); } if (other.hasGroupDetail()) { setGroupDetail(other.getGroupDetail()); } 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.Friendgroup.SnsObjectDetailRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsObjectDetailRequest) 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 long id_ ; /** * optional uint64 id = 2; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint64 id = 2; * @return The id. */ @java.lang.Override public long getId() { return id_; } /** * optional uint64 id = 2; * @param value The id to set. * @return This builder for chaining. */ public Builder setId(long value) { bitField0_ |= 0x00000002; id_ = value; onChanged(); return this; } /** * optional uint64 id = 2; * @return This builder for chaining. */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000002); id_ = 0L; onChanged(); return this; } private int groupDetail_ ; /** * optional uint32 groupDetail = 3; * @return Whether the groupDetail field is set. */ @java.lang.Override public boolean hasGroupDetail() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 groupDetail = 3; * @return The groupDetail. */ @java.lang.Override public int getGroupDetail() { return groupDetail_; } /** * optional uint32 groupDetail = 3; * @param value The groupDetail to set. * @return This builder for chaining. */ public Builder setGroupDetail(int value) { bitField0_ |= 0x00000004; groupDetail_ = value; onChanged(); return this; } /** * optional uint32 groupDetail = 3; * @return This builder for chaining. */ public Builder clearGroupDetail() { bitField0_ = (bitField0_ & ~0x00000004); groupDetail_ = 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.SnsObjectDetailRequest) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsObjectDetailRequest) private static final wechat.protobuf.Friendgroup.SnsObjectDetailRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsObjectDetailRequest(); } public static wechat.protobuf.Friendgroup.SnsObjectDetailRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsObjectDetailRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsObjectDetailRequest(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.Friendgroup.SnsObjectDetailRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsObjectDetailResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsObjectDetailResponse) 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 .wechat_proto.SnsObject object = 2; * @return Whether the object field is set. */ boolean hasObject(); /** * optional .wechat_proto.SnsObject object = 2; * @return The object. */ wechat.protobuf.Friendgroup.SnsObject getObject(); /** * optional .wechat_proto.SnsObject object = 2; */ wechat.protobuf.Friendgroup.SnsObjectOrBuilder getObjectOrBuilder(); } /** * Protobuf type {@code wechat_proto.SnsObjectDetailResponse} */ public static final class SnsObjectDetailResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsObjectDetailResponse) SnsObjectDetailResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SnsObjectDetailResponse.newBuilder() to construct. private SnsObjectDetailResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsObjectDetailResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsObjectDetailResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsObjectDetailResponse( 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 18: { wechat.protobuf.Friendgroup.SnsObject.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = object_.toBuilder(); } object_ = input.readMessage(wechat.protobuf.Friendgroup.SnsObject.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(object_); object_ = 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.Friendgroup.internal_static_wechat_proto_SnsObjectDetailResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectDetailResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsObjectDetailResponse.class, wechat.protobuf.Friendgroup.SnsObjectDetailResponse.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 OBJECT_FIELD_NUMBER = 2; private wechat.protobuf.Friendgroup.SnsObject object_; /** * optional .wechat_proto.SnsObject object = 2; * @return Whether the object field is set. */ @java.lang.Override public boolean hasObject() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SnsObject object = 2; * @return The object. */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsObject getObject() { return object_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : object_; } /** * optional .wechat_proto.SnsObject object = 2; */ @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getObjectOrBuilder() { return object_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : object_; } 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.writeMessage(2, getObject()); } 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 .computeMessageSize(2, getObject()); } 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.Friendgroup.SnsObjectDetailResponse)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsObjectDetailResponse other = (wechat.protobuf.Friendgroup.SnsObjectDetailResponse) obj; if (hasBaseResponse() != other.hasBaseResponse()) return false; if (hasBaseResponse()) { if (!getBaseResponse() .equals(other.getBaseResponse())) 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 (hasBaseResponse()) { hash = (37 * hash) + BASERESPONSE_FIELD_NUMBER; hash = (53 * hash) + getBaseResponse().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.Friendgroup.SnsObjectDetailResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectDetailResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsObjectDetailResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectDetailResponse 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.Friendgroup.SnsObjectDetailResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsObjectDetailResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsObjectDetailResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectDetailResponse 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.Friendgroup.SnsObjectDetailResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectDetailResponse 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.Friendgroup.SnsObjectDetailResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsObjectDetailResponse 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.Friendgroup.SnsObjectDetailResponse 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.SnsObjectDetailResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsObjectDetailResponse) wechat.protobuf.Friendgroup.SnsObjectDetailResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectDetailResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectDetailResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsObjectDetailResponse.class, wechat.protobuf.Friendgroup.SnsObjectDetailResponse.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsObjectDetailResponse.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(); getObjectFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseResponseBuilder_ == null) { baseResponse_ = null; } else { baseResponseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (objectBuilder_ == null) { object_ = null; } else { objectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectDetailResponse_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectDetailResponse getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsObjectDetailResponse.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectDetailResponse build() { wechat.protobuf.Friendgroup.SnsObjectDetailResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsObjectDetailResponse buildPartial() { wechat.protobuf.Friendgroup.SnsObjectDetailResponse result = new wechat.protobuf.Friendgroup.SnsObjectDetailResponse(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)) { if (objectBuilder_ == null) { result.object_ = object_; } else { result.object_ = objectBuilder_.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.Friendgroup.SnsObjectDetailResponse) { return mergeFrom((wechat.protobuf.Friendgroup.SnsObjectDetailResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsObjectDetailResponse other) { if (other == wechat.protobuf.Friendgroup.SnsObjectDetailResponse.getDefaultInstance()) return this; if (other.hasBaseResponse()) { mergeBaseResponse(other.getBaseResponse()); } if (other.hasObject()) { mergeObject(other.getObject()); } 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.Friendgroup.SnsObjectDetailResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsObjectDetailResponse) 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 wechat.protobuf.Friendgroup.SnsObject object_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> objectBuilder_; /** * optional .wechat_proto.SnsObject object = 2; * @return Whether the object field is set. */ public boolean hasObject() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SnsObject object = 2; * @return The object. */ public wechat.protobuf.Friendgroup.SnsObject getObject() { if (objectBuilder_ == null) { return object_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : object_; } else { return objectBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsObject object = 2; */ public Builder setObject(wechat.protobuf.Friendgroup.SnsObject value) { if (objectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } object_ = value; onChanged(); } else { objectBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsObject object = 2; */ public Builder setObject( wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) { if (objectBuilder_ == null) { object_ = builderForValue.build(); onChanged(); } else { objectBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsObject object = 2; */ public Builder mergeObject(wechat.protobuf.Friendgroup.SnsObject value) { if (objectBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && object_ != null && object_ != wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance()) { object_ = wechat.protobuf.Friendgroup.SnsObject.newBuilder(object_).mergeFrom(value).buildPartial(); } else { object_ = value; } onChanged(); } else { objectBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SnsObject object = 2; */ public Builder clearObject() { if (objectBuilder_ == null) { object_ = null; onChanged(); } else { objectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SnsObject object = 2; */ public wechat.protobuf.Friendgroup.SnsObject.Builder getObjectBuilder() { bitField0_ |= 0x00000002; onChanged(); return getObjectFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsObject object = 2; */ public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getObjectOrBuilder() { if (objectBuilder_ != null) { return objectBuilder_.getMessageOrBuilder(); } else { return object_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : object_; } } /** * optional .wechat_proto.SnsObject object = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> getObjectFieldBuilder() { if (objectBuilder_ == null) { objectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder>( getObject(), getParentForChildren(), isClean()); object_ = null; } return objectBuilder_; } @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.SnsObjectDetailResponse) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsObjectDetailResponse) private static final wechat.protobuf.Friendgroup.SnsObjectDetailResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsObjectDetailResponse(); } public static wechat.protobuf.Friendgroup.SnsObjectDetailResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsObjectDetailResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsObjectDetailResponse(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.Friendgroup.SnsObjectDetailResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsSyncRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsSyncRequest) 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 selector = 2; * @return Whether the selector field is set. */ boolean hasSelector(); /** * optional uint32 selector = 2; * @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.SnsSyncRequest} */ public static final class SnsSyncRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsSyncRequest) SnsSyncRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SnsSyncRequest.newBuilder() to construct. private SnsSyncRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsSyncRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsSyncRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsSyncRequest( 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; selector_ = input.readUInt32(); 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; } 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.Friendgroup.internal_static_wechat_proto_SnsSyncRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsSyncRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsSyncRequest.class, wechat.protobuf.Friendgroup.SnsSyncRequest.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 SELECTOR_FIELD_NUMBER = 2; private int selector_; /** * optional uint32 selector = 2; * @return Whether the selector field is set. */ @java.lang.Override public boolean hasSelector() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 selector = 2; * @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_ & 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_; } 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, selector_); } if (((bitField0_ & 0x00000004) != 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 .computeMessageSize(1, getBaseRequest()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, selector_); } if (((bitField0_ & 0x00000004) != 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.Friendgroup.SnsSyncRequest)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsSyncRequest other = (wechat.protobuf.Friendgroup.SnsSyncRequest) obj; if (hasBaseRequest() != other.hasBaseRequest()) return false; if (hasBaseRequest()) { if (!getBaseRequest() .equals(other.getBaseRequest())) return false; } 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 (hasBaseRequest()) { hash = (37 * hash) + BASEREQUEST_FIELD_NUMBER; hash = (53 * hash) + getBaseRequest().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.Friendgroup.SnsSyncRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsSyncRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsSyncRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsSyncRequest 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.Friendgroup.SnsSyncRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsSyncRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsSyncRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsSyncRequest 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.Friendgroup.SnsSyncRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsSyncRequest 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.Friendgroup.SnsSyncRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsSyncRequest 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.Friendgroup.SnsSyncRequest 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.SnsSyncRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsSyncRequest) wechat.protobuf.Friendgroup.SnsSyncRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsSyncRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsSyncRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsSyncRequest.class, wechat.protobuf.Friendgroup.SnsSyncRequest.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsSyncRequest.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(); getKeyBufFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseRequestBuilder_ == null) { baseRequest_ = null; } else { baseRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); selector_ = 0; bitField0_ = (bitField0_ & ~0x00000002); if (keyBufBuilder_ == null) { keyBuf_ = null; } else { keyBufBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsSyncRequest_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsSyncRequest getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsSyncRequest.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsSyncRequest build() { wechat.protobuf.Friendgroup.SnsSyncRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsSyncRequest buildPartial() { wechat.protobuf.Friendgroup.SnsSyncRequest result = new wechat.protobuf.Friendgroup.SnsSyncRequest(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.selector_ = selector_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (keyBufBuilder_ == null) { result.keyBuf_ = keyBuf_; } else { result.keyBuf_ = keyBufBuilder_.build(); } to_bitField0_ |= 0x00000004; } 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.Friendgroup.SnsSyncRequest) { return mergeFrom((wechat.protobuf.Friendgroup.SnsSyncRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsSyncRequest other) { if (other == wechat.protobuf.Friendgroup.SnsSyncRequest.getDefaultInstance()) return this; if (other.hasBaseRequest()) { mergeBaseRequest(other.getBaseRequest()); } 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.Friendgroup.SnsSyncRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsSyncRequest) 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 selector_ ; /** * optional uint32 selector = 2; * @return Whether the selector field is set. */ @java.lang.Override public boolean hasSelector() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 selector = 2; * @return The selector. */ @java.lang.Override public int getSelector() { return selector_; } /** * optional uint32 selector = 2; * @param value The selector to set. * @return This builder for chaining. */ public Builder setSelector(int value) { bitField0_ |= 0x00000002; selector_ = value; onChanged(); return this; } /** * optional uint32 selector = 2; * @return This builder for chaining. */ public Builder clearSelector() { bitField0_ = (bitField0_ & ~0x00000002); 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_ & 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_; } @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.SnsSyncRequest) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsSyncRequest) private static final wechat.protobuf.Friendgroup.SnsSyncRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsSyncRequest(); } public static wechat.protobuf.Friendgroup.SnsSyncRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsSyncRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsSyncRequest(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.Friendgroup.SnsSyncRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsSyncResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsSyncResponse) 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 .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 uint32 continueFlag = 3; * @return Whether the continueFlag field is set. */ boolean hasContinueFlag(); /** * optional uint32 continueFlag = 3; * @return The continueFlag. */ int getContinueFlag(); /** * optional .wechat_proto.SKBuiltinString_ keyBuf = 4; * @return Whether the keyBuf field is set. */ boolean hasKeyBuf(); /** * optional .wechat_proto.SKBuiltinString_ keyBuf = 4; * @return The keyBuf. */ wechat.protobuf.SKBuiltinString_ getKeyBuf(); /** * optional .wechat_proto.SKBuiltinString_ keyBuf = 4; */ wechat.protobuf.SKBuiltinString_OrBuilder getKeyBufOrBuilder(); } /** * Protobuf type {@code wechat_proto.SnsSyncResponse} */ public static final class SnsSyncResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsSyncResponse) SnsSyncResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SnsSyncResponse.newBuilder() to construct. private SnsSyncResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsSyncResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsSyncResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsSyncResponse( 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 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 24: { bitField0_ |= 0x00000004; continueFlag_ = input.readUInt32(); break; } case 34: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = keyBuf_.toBuilder(); } keyBuf_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(keyBuf_); keyBuf_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; 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.Friendgroup.internal_static_wechat_proto_SnsSyncResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsSyncResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsSyncResponse.class, wechat.protobuf.Friendgroup.SnsSyncResponse.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 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 CONTINUEFLAG_FIELD_NUMBER = 3; private int continueFlag_; /** * optional uint32 continueFlag = 3; * @return Whether the continueFlag field is set. */ @java.lang.Override public boolean hasContinueFlag() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 continueFlag = 3; * @return The continueFlag. */ @java.lang.Override public int getContinueFlag() { return continueFlag_; } public static final int KEYBUF_FIELD_NUMBER = 4; private wechat.protobuf.SKBuiltinString_ keyBuf_; /** * optional .wechat_proto.SKBuiltinString_ keyBuf = 4; * @return Whether the keyBuf field is set. */ @java.lang.Override public boolean hasKeyBuf() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .wechat_proto.SKBuiltinString_ keyBuf = 4; * @return The keyBuf. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getKeyBuf() { return keyBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : keyBuf_; } /** * optional .wechat_proto.SKBuiltinString_ keyBuf = 4; */ @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.writeMessage(1, getBaseResponse()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getCmdList()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, continueFlag_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, 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 .computeMessageSize(1, getBaseResponse()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getCmdList()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, continueFlag_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, 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.Friendgroup.SnsSyncResponse)) { return super.equals(obj); } wechat.protobuf.Friendgroup.SnsSyncResponse other = (wechat.protobuf.Friendgroup.SnsSyncResponse) obj; if (hasBaseResponse() != other.hasBaseResponse()) return false; if (hasBaseResponse()) { if (!getBaseResponse() .equals(other.getBaseResponse())) return false; } if (hasCmdList() != other.hasCmdList()) return false; if (hasCmdList()) { if (!getCmdList() .equals(other.getCmdList())) return false; } if (hasContinueFlag() != other.hasContinueFlag()) return false; if (hasContinueFlag()) { if (getContinueFlag() != other.getContinueFlag()) 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 (hasBaseResponse()) { hash = (37 * hash) + BASERESPONSE_FIELD_NUMBER; hash = (53 * hash) + getBaseResponse().hashCode(); } if (hasCmdList()) { hash = (37 * hash) + CMDLIST_FIELD_NUMBER; hash = (53 * hash) + getCmdList().hashCode(); } if (hasContinueFlag()) { hash = (37 * hash) + CONTINUEFLAG_FIELD_NUMBER; hash = (53 * hash) + getContinueFlag(); } 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.Friendgroup.SnsSyncResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsSyncResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsSyncResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsSyncResponse 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.Friendgroup.SnsSyncResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.SnsSyncResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.SnsSyncResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsSyncResponse 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.Friendgroup.SnsSyncResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsSyncResponse 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.Friendgroup.SnsSyncResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.SnsSyncResponse 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.Friendgroup.SnsSyncResponse 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.SnsSyncResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsSyncResponse) wechat.protobuf.Friendgroup.SnsSyncResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsSyncResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsSyncResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.SnsSyncResponse.class, wechat.protobuf.Friendgroup.SnsSyncResponse.Builder.class); } // Construct using wechat.protobuf.Friendgroup.SnsSyncResponse.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(); getCmdListFieldBuilder(); getKeyBufFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseResponseBuilder_ == null) { baseResponse_ = null; } else { baseResponseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (cmdListBuilder_ == null) { cmdList_ = null; } else { cmdListBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); continueFlag_ = 0; bitField0_ = (bitField0_ & ~0x00000004); if (keyBufBuilder_ == null) { keyBuf_ = null; } else { keyBufBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsSyncResponse_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsSyncResponse getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.SnsSyncResponse.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.SnsSyncResponse build() { wechat.protobuf.Friendgroup.SnsSyncResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.SnsSyncResponse buildPartial() { wechat.protobuf.Friendgroup.SnsSyncResponse result = new wechat.protobuf.Friendgroup.SnsSyncResponse(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)) { if (cmdListBuilder_ == null) { result.cmdList_ = cmdList_; } else { result.cmdList_ = cmdListBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.continueFlag_ = continueFlag_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (keyBufBuilder_ == null) { result.keyBuf_ = keyBuf_; } else { result.keyBuf_ = keyBufBuilder_.build(); } 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.Friendgroup.SnsSyncResponse) { return mergeFrom((wechat.protobuf.Friendgroup.SnsSyncResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsSyncResponse other) { if (other == wechat.protobuf.Friendgroup.SnsSyncResponse.getDefaultInstance()) return this; if (other.hasBaseResponse()) { mergeBaseResponse(other.getBaseResponse()); } if (other.hasCmdList()) { mergeCmdList(other.getCmdList()); } if (other.hasContinueFlag()) { setContinueFlag(other.getContinueFlag()); } 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.Friendgroup.SnsSyncResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.SnsSyncResponse) 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 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 int continueFlag_ ; /** * optional uint32 continueFlag = 3; * @return Whether the continueFlag field is set. */ @java.lang.Override public boolean hasContinueFlag() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 continueFlag = 3; * @return The continueFlag. */ @java.lang.Override public int getContinueFlag() { return continueFlag_; } /** * optional uint32 continueFlag = 3; * @param value The continueFlag to set. * @return This builder for chaining. */ public Builder setContinueFlag(int value) { bitField0_ |= 0x00000004; continueFlag_ = value; onChanged(); return this; } /** * optional uint32 continueFlag = 3; * @return This builder for chaining. */ public Builder clearContinueFlag() { bitField0_ = (bitField0_ & ~0x00000004); continueFlag_ = 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 = 4; * @return Whether the keyBuf field is set. */ public boolean hasKeyBuf() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .wechat_proto.SKBuiltinString_ keyBuf = 4; * @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 = 4; */ public Builder setKeyBuf(wechat.protobuf.SKBuiltinString_ value) { if (keyBufBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyBuf_ = value; onChanged(); } else { keyBufBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.SKBuiltinString_ keyBuf = 4; */ public Builder setKeyBuf( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (keyBufBuilder_ == null) { keyBuf_ = builderForValue.build(); onChanged(); } else { keyBufBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.SKBuiltinString_ keyBuf = 4; */ public Builder mergeKeyBuf(wechat.protobuf.SKBuiltinString_ value) { if (keyBufBuilder_ == null) { if (((bitField0_ & 0x00000008) != 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_ |= 0x00000008; return this; } /** * optional .wechat_proto.SKBuiltinString_ keyBuf = 4; */ public Builder clearKeyBuf() { if (keyBufBuilder_ == null) { keyBuf_ = null; onChanged(); } else { keyBufBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .wechat_proto.SKBuiltinString_ keyBuf = 4; */ public wechat.protobuf.SKBuiltinString_.Builder getKeyBufBuilder() { bitField0_ |= 0x00000008; onChanged(); return getKeyBufFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ keyBuf = 4; */ 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 = 4; */ 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.SnsSyncResponse) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsSyncResponse) private static final wechat.protobuf.Friendgroup.SnsSyncResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsSyncResponse(); } public static wechat.protobuf.Friendgroup.SnsSyncResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsSyncResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsSyncResponse(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.Friendgroup.SnsSyncResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetA8KeyReqOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.GetA8KeyReq) 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 OpCode = 2; * @return Whether the opCode field is set. */ boolean hasOpCode(); /** * optional uint32 OpCode = 2; * @return The opCode. */ int getOpCode(); /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; * @return Whether the a2key field is set. */ boolean hasA2Key(); /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; * @return The a2key. */ wechat.protobuf.SKBuiltinString_ getA2Key(); /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; */ wechat.protobuf.SKBuiltinString_OrBuilder getA2KeyOrBuilder(); /** * optional .wechat_proto.SKBuiltinString AppID = 4; * @return Whether the appID field is set. */ boolean hasAppID(); /** * optional .wechat_proto.SKBuiltinString AppID = 4; * @return The appID. */ wechat.protobuf.SKBuiltinString getAppID(); /** * optional .wechat_proto.SKBuiltinString AppID = 4; */ wechat.protobuf.SKBuiltinStringOrBuilder getAppIDOrBuilder(); /** * optional .wechat_proto.SKBuiltinString Scope = 5; * @return Whether the scope field is set. */ boolean hasScope(); /** * optional .wechat_proto.SKBuiltinString Scope = 5; * @return The scope. */ wechat.protobuf.SKBuiltinString getScope(); /** * optional .wechat_proto.SKBuiltinString Scope = 5; */ wechat.protobuf.SKBuiltinStringOrBuilder getScopeOrBuilder(); /** * optional .wechat_proto.SKBuiltinString State = 6; * @return Whether the state field is set. */ boolean hasState(); /** * optional .wechat_proto.SKBuiltinString State = 6; * @return The state. */ wechat.protobuf.SKBuiltinString getState(); /** * optional .wechat_proto.SKBuiltinString State = 6; */ wechat.protobuf.SKBuiltinStringOrBuilder getStateOrBuilder(); /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; * @return Whether the reqUrl field is set. */ boolean hasReqUrl(); /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; * @return The reqUrl. */ wechat.protobuf.SKBuiltinString getReqUrl(); /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; */ wechat.protobuf.SKBuiltinStringOrBuilder getReqUrlOrBuilder(); /** * optional string FriendUserName = 8; * @return Whether the friendUserName field is set. */ boolean hasFriendUserName(); /** * optional string FriendUserName = 8; * @return The friendUserName. */ java.lang.String getFriendUserName(); /** * optional string FriendUserName = 8; * @return The bytes for friendUserName. */ com.google.protobuf.ByteString getFriendUserNameBytes(); /** * optional uint32 FriendQq = 9; * @return Whether the friendQq field is set. */ boolean hasFriendQq(); /** * optional uint32 FriendQq = 9; * @return The friendQq. */ int getFriendQq(); /** * optional uint32 Scene = 10; * @return Whether the scene field is set. */ boolean hasScene(); /** * optional uint32 Scene = 10; * @return The scene. */ int getScene(); /** * optional string UserName = 11; * @return Whether the userName field is set. */ boolean hasUserName(); /** * optional string UserName = 11; * @return The userName. */ java.lang.String getUserName(); /** * optional string UserName = 11; * @return The bytes for userName. */ com.google.protobuf.ByteString getUserNameBytes(); /** * optional string BundleID = 12; * @return Whether the bundleID field is set. */ boolean hasBundleID(); /** * optional string BundleID = 12; * @return The bundleID. */ java.lang.String getBundleID(); /** * optional string BundleID = 12; * @return The bytes for bundleID. */ com.google.protobuf.ByteString getBundleIDBytes(); /** * optional bytes A2KeyNew = 13; * @return Whether the a2KeyNew field is set. */ boolean hasA2KeyNew(); /** * optional bytes A2KeyNew = 13; * @return The a2KeyNew. */ com.google.protobuf.ByteString getA2KeyNew(); /** * optional uint32 Reason = 14; * @return Whether the reason field is set. */ boolean hasReason(); /** * optional uint32 Reason = 14; * @return The reason. */ int getReason(); /** * optional uint32 FontScale = 15; * @return Whether the fontScale field is set. */ boolean hasFontScale(); /** * optional uint32 FontScale = 15; * @return The fontScale. */ int getFontScale(); /** * optional uint32 Flag = 16; * @return Whether the flag field is set. */ boolean hasFlag(); /** * optional uint32 Flag = 16; * @return The flag. */ int getFlag(); /** * optional string NetType = 17; * @return Whether the netType field is set. */ boolean hasNetType(); /** * optional string NetType = 17; * @return The netType. */ java.lang.String getNetType(); /** * optional string NetType = 17; * @return The bytes for netType. */ com.google.protobuf.ByteString getNetTypeBytes(); /** * optional uint32 CodeType = 18; * @return Whether the codeType field is set. */ boolean hasCodeType(); /** * optional uint32 CodeType = 18; * @return The codeType. */ int getCodeType(); /** * optional uint32 CodeVersion = 19; * @return Whether the codeVersion field is set. */ boolean hasCodeVersion(); /** * optional uint32 CodeVersion = 19; * @return The codeVersion. */ int getCodeVersion(); /** * optional uint64 RequestId = 20; * @return Whether the requestId field is set. */ boolean hasRequestId(); /** * optional uint64 RequestId = 20; * @return The requestId. */ long getRequestId(); /** * optional string FunctionId = 21; * @return Whether the functionId field is set. */ boolean hasFunctionId(); /** * optional string FunctionId = 21; * @return The functionId. */ java.lang.String getFunctionId(); /** * optional string FunctionId = 21; * @return The bytes for functionId. */ com.google.protobuf.ByteString getFunctionIdBytes(); /** * optional uint32 WalletRegion = 22; * @return Whether the walletRegion field is set. */ boolean hasWalletRegion(); /** * optional uint32 WalletRegion = 22; * @return The walletRegion. */ int getWalletRegion(); /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; * @return Whether the cookie field is set. */ boolean hasCookie(); /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; * @return The cookie. */ wechat.protobuf.SKBuiltinString_ getCookie(); /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; */ wechat.protobuf.SKBuiltinString_OrBuilder getCookieOrBuilder(); /** * optional string OuterUrl = 24; * @return Whether the outerUrl field is set. */ boolean hasOuterUrl(); /** * optional string OuterUrl = 24; * @return The outerUrl. */ java.lang.String getOuterUrl(); /** * optional string OuterUrl = 24; * @return The bytes for outerUrl. */ com.google.protobuf.ByteString getOuterUrlBytes(); /** * optional uint32 SubScene = 25; * @return Whether the subScene field is set. */ boolean hasSubScene(); /** * optional uint32 SubScene = 25; * @return The subScene. */ int getSubScene(); } /** * Protobuf type {@code wechat_proto.GetA8KeyReq} */ public static final class GetA8KeyReq extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.GetA8KeyReq) GetA8KeyReqOrBuilder { private static final long serialVersionUID = 0L; // Use GetA8KeyReq.newBuilder() to construct. private GetA8KeyReq(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetA8KeyReq() { friendUserName_ = ""; userName_ = ""; bundleID_ = ""; a2KeyNew_ = com.google.protobuf.ByteString.EMPTY; netType_ = ""; functionId_ = ""; outerUrl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetA8KeyReq(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetA8KeyReq( 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; opCode_ = input.readUInt32(); break; } case 26: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = a2Key_.toBuilder(); } a2Key_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(a2Key_); a2Key_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { wechat.protobuf.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = appID_.toBuilder(); } appID_ = input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(appID_); appID_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { wechat.protobuf.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = scope_.toBuilder(); } scope_ = input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(scope_); scope_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 50: { wechat.protobuf.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000020) != 0)) { subBuilder = state_.toBuilder(); } state_ = input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(state_); state_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 58: { wechat.protobuf.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000040) != 0)) { subBuilder = reqUrl_.toBuilder(); } reqUrl_ = input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(reqUrl_); reqUrl_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; friendUserName_ = bs; break; } case 72: { bitField0_ |= 0x00000100; friendQq_ = input.readUInt32(); break; } case 80: { bitField0_ |= 0x00000200; scene_ = input.readUInt32(); break; } case 90: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000400; userName_ = bs; break; } case 98: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000800; bundleID_ = bs; break; } case 106: { bitField0_ |= 0x00001000; a2KeyNew_ = input.readBytes(); break; } case 112: { bitField0_ |= 0x00002000; reason_ = input.readUInt32(); break; } case 120: { bitField0_ |= 0x00004000; fontScale_ = input.readUInt32(); break; } case 128: { bitField0_ |= 0x00008000; flag_ = input.readUInt32(); break; } case 138: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00010000; netType_ = bs; break; } case 144: { bitField0_ |= 0x00020000; codeType_ = input.readUInt32(); break; } case 152: { bitField0_ |= 0x00040000; codeVersion_ = input.readUInt32(); break; } case 160: { bitField0_ |= 0x00080000; requestId_ = input.readUInt64(); break; } case 170: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00100000; functionId_ = bs; break; } case 176: { bitField0_ |= 0x00200000; walletRegion_ = input.readUInt32(); break; } case 186: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00400000) != 0)) { subBuilder = cookie_.toBuilder(); } cookie_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cookie_); cookie_ = subBuilder.buildPartial(); } bitField0_ |= 0x00400000; break; } case 194: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00800000; outerUrl_ = bs; break; } case 200: { bitField0_ |= 0x01000000; subScene_ = 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.Friendgroup.internal_static_wechat_proto_GetA8KeyReq_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_GetA8KeyReq_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.GetA8KeyReq.class, wechat.protobuf.Friendgroup.GetA8KeyReq.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 OPCODE_FIELD_NUMBER = 2; private int opCode_; /** * optional uint32 OpCode = 2; * @return Whether the opCode field is set. */ @java.lang.Override public boolean hasOpCode() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 OpCode = 2; * @return The opCode. */ @java.lang.Override public int getOpCode() { return opCode_; } public static final int A2KEY_FIELD_NUMBER = 3; private wechat.protobuf.SKBuiltinString_ a2Key_; /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; * @return Whether the a2key field is set. */ @java.lang.Override public boolean hasA2Key() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; * @return The a2key. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getA2Key() { return a2Key_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : a2Key_; } /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getA2KeyOrBuilder() { return a2Key_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : a2Key_; } public static final int APPID_FIELD_NUMBER = 4; private wechat.protobuf.SKBuiltinString appID_; /** * optional .wechat_proto.SKBuiltinString AppID = 4; * @return Whether the appID field is set. */ @java.lang.Override public boolean hasAppID() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .wechat_proto.SKBuiltinString AppID = 4; * @return The appID. */ @java.lang.Override public wechat.protobuf.SKBuiltinString getAppID() { return appID_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : appID_; } /** * optional .wechat_proto.SKBuiltinString AppID = 4; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder getAppIDOrBuilder() { return appID_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : appID_; } public static final int SCOPE_FIELD_NUMBER = 5; private wechat.protobuf.SKBuiltinString scope_; /** * optional .wechat_proto.SKBuiltinString Scope = 5; * @return Whether the scope field is set. */ @java.lang.Override public boolean hasScope() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .wechat_proto.SKBuiltinString Scope = 5; * @return The scope. */ @java.lang.Override public wechat.protobuf.SKBuiltinString getScope() { return scope_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : scope_; } /** * optional .wechat_proto.SKBuiltinString Scope = 5; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder getScopeOrBuilder() { return scope_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : scope_; } public static final int STATE_FIELD_NUMBER = 6; private wechat.protobuf.SKBuiltinString state_; /** * optional .wechat_proto.SKBuiltinString State = 6; * @return Whether the state field is set. */ @java.lang.Override public boolean hasState() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .wechat_proto.SKBuiltinString State = 6; * @return The state. */ @java.lang.Override public wechat.protobuf.SKBuiltinString getState() { return state_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : state_; } /** * optional .wechat_proto.SKBuiltinString State = 6; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder getStateOrBuilder() { return state_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : state_; } public static final int REQURL_FIELD_NUMBER = 7; private wechat.protobuf.SKBuiltinString reqUrl_; /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; * @return Whether the reqUrl field is set. */ @java.lang.Override public boolean hasReqUrl() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; * @return The reqUrl. */ @java.lang.Override public wechat.protobuf.SKBuiltinString getReqUrl() { return reqUrl_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : reqUrl_; } /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; */ @java.lang.Override public wechat.protobuf.SKBuiltinStringOrBuilder getReqUrlOrBuilder() { return reqUrl_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : reqUrl_; } public static final int FRIENDUSERNAME_FIELD_NUMBER = 8; private volatile java.lang.Object friendUserName_; /** * optional string FriendUserName = 8; * @return Whether the friendUserName field is set. */ @java.lang.Override public boolean hasFriendUserName() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string FriendUserName = 8; * @return The friendUserName. */ @java.lang.Override public java.lang.String getFriendUserName() { java.lang.Object ref = friendUserName_; 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()) { friendUserName_ = s; } return s; } } /** * optional string FriendUserName = 8; * @return The bytes for friendUserName. */ @java.lang.Override public com.google.protobuf.ByteString getFriendUserNameBytes() { java.lang.Object ref = friendUserName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); friendUserName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FRIENDQQ_FIELD_NUMBER = 9; private int friendQq_; /** * optional uint32 FriendQq = 9; * @return Whether the friendQq field is set. */ @java.lang.Override public boolean hasFriendQq() { return ((bitField0_ & 0x00000100) != 0); } /** * optional uint32 FriendQq = 9; * @return The friendQq. */ @java.lang.Override public int getFriendQq() { return friendQq_; } public static final int SCENE_FIELD_NUMBER = 10; private int scene_; /** * optional uint32 Scene = 10; * @return Whether the scene field is set. */ @java.lang.Override public boolean hasScene() { return ((bitField0_ & 0x00000200) != 0); } /** * optional uint32 Scene = 10; * @return The scene. */ @java.lang.Override public int getScene() { return scene_; } public static final int USERNAME_FIELD_NUMBER = 11; private volatile java.lang.Object userName_; /** * optional string UserName = 11; * @return Whether the userName field is set. */ @java.lang.Override public boolean hasUserName() { return ((bitField0_ & 0x00000400) != 0); } /** * optional string UserName = 11; * @return The userName. */ @java.lang.Override public java.lang.String getUserName() { java.lang.Object ref = userName_; 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()) { userName_ = s; } return s; } } /** * optional string UserName = 11; * @return The bytes for userName. */ @java.lang.Override public com.google.protobuf.ByteString getUserNameBytes() { java.lang.Object ref = userName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BUNDLEID_FIELD_NUMBER = 12; private volatile java.lang.Object bundleID_; /** * optional string BundleID = 12; * @return Whether the bundleID field is set. */ @java.lang.Override public boolean hasBundleID() { return ((bitField0_ & 0x00000800) != 0); } /** * optional string BundleID = 12; * @return The bundleID. */ @java.lang.Override public java.lang.String getBundleID() { java.lang.Object ref = bundleID_; 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()) { bundleID_ = s; } return s; } } /** * optional string BundleID = 12; * @return The bytes for bundleID. */ @java.lang.Override public com.google.protobuf.ByteString getBundleIDBytes() { java.lang.Object ref = bundleID_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bundleID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int A2KEYNEW_FIELD_NUMBER = 13; private com.google.protobuf.ByteString a2KeyNew_; /** * optional bytes A2KeyNew = 13; * @return Whether the a2KeyNew field is set. */ @java.lang.Override public boolean hasA2KeyNew() { return ((bitField0_ & 0x00001000) != 0); } /** * optional bytes A2KeyNew = 13; * @return The a2KeyNew. */ @java.lang.Override public com.google.protobuf.ByteString getA2KeyNew() { return a2KeyNew_; } public static final int REASON_FIELD_NUMBER = 14; private int reason_; /** * optional uint32 Reason = 14; * @return Whether the reason field is set. */ @java.lang.Override public boolean hasReason() { return ((bitField0_ & 0x00002000) != 0); } /** * optional uint32 Reason = 14; * @return The reason. */ @java.lang.Override public int getReason() { return reason_; } public static final int FONTSCALE_FIELD_NUMBER = 15; private int fontScale_; /** * optional uint32 FontScale = 15; * @return Whether the fontScale field is set. */ @java.lang.Override public boolean hasFontScale() { return ((bitField0_ & 0x00004000) != 0); } /** * optional uint32 FontScale = 15; * @return The fontScale. */ @java.lang.Override public int getFontScale() { return fontScale_; } public static final int FLAG_FIELD_NUMBER = 16; private int flag_; /** * optional uint32 Flag = 16; * @return Whether the flag field is set. */ @java.lang.Override public boolean hasFlag() { return ((bitField0_ & 0x00008000) != 0); } /** * optional uint32 Flag = 16; * @return The flag. */ @java.lang.Override public int getFlag() { return flag_; } public static final int NETTYPE_FIELD_NUMBER = 17; private volatile java.lang.Object netType_; /** * optional string NetType = 17; * @return Whether the netType field is set. */ @java.lang.Override public boolean hasNetType() { return ((bitField0_ & 0x00010000) != 0); } /** * optional string NetType = 17; * @return The netType. */ @java.lang.Override public java.lang.String getNetType() { java.lang.Object ref = netType_; 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()) { netType_ = s; } return s; } } /** * optional string NetType = 17; * @return The bytes for netType. */ @java.lang.Override public com.google.protobuf.ByteString getNetTypeBytes() { java.lang.Object ref = netType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); netType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CODETYPE_FIELD_NUMBER = 18; private int codeType_; /** * optional uint32 CodeType = 18; * @return Whether the codeType field is set. */ @java.lang.Override public boolean hasCodeType() { return ((bitField0_ & 0x00020000) != 0); } /** * optional uint32 CodeType = 18; * @return The codeType. */ @java.lang.Override public int getCodeType() { return codeType_; } public static final int CODEVERSION_FIELD_NUMBER = 19; private int codeVersion_; /** * optional uint32 CodeVersion = 19; * @return Whether the codeVersion field is set. */ @java.lang.Override public boolean hasCodeVersion() { return ((bitField0_ & 0x00040000) != 0); } /** * optional uint32 CodeVersion = 19; * @return The codeVersion. */ @java.lang.Override public int getCodeVersion() { return codeVersion_; } public static final int REQUESTID_FIELD_NUMBER = 20; private long requestId_; /** * optional uint64 RequestId = 20; * @return Whether the requestId field is set. */ @java.lang.Override public boolean hasRequestId() { return ((bitField0_ & 0x00080000) != 0); } /** * optional uint64 RequestId = 20; * @return The requestId. */ @java.lang.Override public long getRequestId() { return requestId_; } public static final int FUNCTIONID_FIELD_NUMBER = 21; private volatile java.lang.Object functionId_; /** * optional string FunctionId = 21; * @return Whether the functionId field is set. */ @java.lang.Override public boolean hasFunctionId() { return ((bitField0_ & 0x00100000) != 0); } /** * optional string FunctionId = 21; * @return The functionId. */ @java.lang.Override public java.lang.String getFunctionId() { java.lang.Object ref = functionId_; 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()) { functionId_ = s; } return s; } } /** * optional string FunctionId = 21; * @return The bytes for functionId. */ @java.lang.Override public com.google.protobuf.ByteString getFunctionIdBytes() { java.lang.Object ref = functionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); functionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WALLETREGION_FIELD_NUMBER = 22; private int walletRegion_; /** * optional uint32 WalletRegion = 22; * @return Whether the walletRegion field is set. */ @java.lang.Override public boolean hasWalletRegion() { return ((bitField0_ & 0x00200000) != 0); } /** * optional uint32 WalletRegion = 22; * @return The walletRegion. */ @java.lang.Override public int getWalletRegion() { return walletRegion_; } public static final int COOKIE_FIELD_NUMBER = 23; private wechat.protobuf.SKBuiltinString_ cookie_; /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; * @return Whether the cookie field is set. */ @java.lang.Override public boolean hasCookie() { return ((bitField0_ & 0x00400000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; * @return The cookie. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getCookie() { return cookie_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : cookie_; } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getCookieOrBuilder() { return cookie_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : cookie_; } public static final int OUTERURL_FIELD_NUMBER = 24; private volatile java.lang.Object outerUrl_; /** * optional string OuterUrl = 24; * @return Whether the outerUrl field is set. */ @java.lang.Override public boolean hasOuterUrl() { return ((bitField0_ & 0x00800000) != 0); } /** * optional string OuterUrl = 24; * @return The outerUrl. */ @java.lang.Override public java.lang.String getOuterUrl() { java.lang.Object ref = outerUrl_; 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()) { outerUrl_ = s; } return s; } } /** * optional string OuterUrl = 24; * @return The bytes for outerUrl. */ @java.lang.Override public com.google.protobuf.ByteString getOuterUrlBytes() { java.lang.Object ref = outerUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); outerUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SUBSCENE_FIELD_NUMBER = 25; private int subScene_; /** * optional uint32 SubScene = 25; * @return Whether the subScene field is set. */ @java.lang.Override public boolean hasSubScene() { return ((bitField0_ & 0x01000000) != 0); } /** * optional uint32 SubScene = 25; * @return The subScene. */ @java.lang.Override public int getSubScene() { return subScene_; } 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, opCode_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getA2Key()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getAppID()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(5, getScope()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(6, getState()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(7, getReqUrl()); } if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, friendUserName_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeUInt32(9, friendQq_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeUInt32(10, scene_); } if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, userName_); } if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, bundleID_); } if (((bitField0_ & 0x00001000) != 0)) { output.writeBytes(13, a2KeyNew_); } if (((bitField0_ & 0x00002000) != 0)) { output.writeUInt32(14, reason_); } if (((bitField0_ & 0x00004000) != 0)) { output.writeUInt32(15, fontScale_); } if (((bitField0_ & 0x00008000) != 0)) { output.writeUInt32(16, flag_); } if (((bitField0_ & 0x00010000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, netType_); } if (((bitField0_ & 0x00020000) != 0)) { output.writeUInt32(18, codeType_); } if (((bitField0_ & 0x00040000) != 0)) { output.writeUInt32(19, codeVersion_); } if (((bitField0_ & 0x00080000) != 0)) { output.writeUInt64(20, requestId_); } if (((bitField0_ & 0x00100000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 21, functionId_); } if (((bitField0_ & 0x00200000) != 0)) { output.writeUInt32(22, walletRegion_); } if (((bitField0_ & 0x00400000) != 0)) { output.writeMessage(23, getCookie()); } if (((bitField0_ & 0x00800000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 24, outerUrl_); } if (((bitField0_ & 0x01000000) != 0)) { output.writeUInt32(25, subScene_); } 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, opCode_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getA2Key()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getAppID()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getScope()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getState()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getReqUrl()); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, friendUserName_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(9, friendQq_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(10, scene_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, userName_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, bundleID_); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(13, a2KeyNew_); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(14, reason_); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(15, fontScale_); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(16, flag_); } if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, netType_); } if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(18, codeType_); } if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(19, codeVersion_); } if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(20, requestId_); } if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, functionId_); } if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(22, walletRegion_); } if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getCookie()); } if (((bitField0_ & 0x00800000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, outerUrl_); } if (((bitField0_ & 0x01000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(25, subScene_); } 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.Friendgroup.GetA8KeyReq)) { return super.equals(obj); } wechat.protobuf.Friendgroup.GetA8KeyReq other = (wechat.protobuf.Friendgroup.GetA8KeyReq) obj; if (hasBaseRequest() != other.hasBaseRequest()) return false; if (hasBaseRequest()) { if (!getBaseRequest() .equals(other.getBaseRequest())) return false; } if (hasOpCode() != other.hasOpCode()) return false; if (hasOpCode()) { if (getOpCode() != other.getOpCode()) return false; } if (hasA2Key() != other.hasA2Key()) return false; if (hasA2Key()) { if (!getA2Key() .equals(other.getA2Key())) return false; } if (hasAppID() != other.hasAppID()) return false; if (hasAppID()) { if (!getAppID() .equals(other.getAppID())) return false; } if (hasScope() != other.hasScope()) return false; if (hasScope()) { if (!getScope() .equals(other.getScope())) return false; } if (hasState() != other.hasState()) return false; if (hasState()) { if (!getState() .equals(other.getState())) return false; } if (hasReqUrl() != other.hasReqUrl()) return false; if (hasReqUrl()) { if (!getReqUrl() .equals(other.getReqUrl())) return false; } if (hasFriendUserName() != other.hasFriendUserName()) return false; if (hasFriendUserName()) { if (!getFriendUserName() .equals(other.getFriendUserName())) return false; } if (hasFriendQq() != other.hasFriendQq()) return false; if (hasFriendQq()) { if (getFriendQq() != other.getFriendQq()) return false; } if (hasScene() != other.hasScene()) return false; if (hasScene()) { if (getScene() != other.getScene()) return false; } if (hasUserName() != other.hasUserName()) return false; if (hasUserName()) { if (!getUserName() .equals(other.getUserName())) return false; } if (hasBundleID() != other.hasBundleID()) return false; if (hasBundleID()) { if (!getBundleID() .equals(other.getBundleID())) return false; } if (hasA2KeyNew() != other.hasA2KeyNew()) return false; if (hasA2KeyNew()) { if (!getA2KeyNew() .equals(other.getA2KeyNew())) return false; } if (hasReason() != other.hasReason()) return false; if (hasReason()) { if (getReason() != other.getReason()) return false; } if (hasFontScale() != other.hasFontScale()) return false; if (hasFontScale()) { if (getFontScale() != other.getFontScale()) return false; } if (hasFlag() != other.hasFlag()) return false; if (hasFlag()) { if (getFlag() != other.getFlag()) return false; } if (hasNetType() != other.hasNetType()) return false; if (hasNetType()) { if (!getNetType() .equals(other.getNetType())) return false; } if (hasCodeType() != other.hasCodeType()) return false; if (hasCodeType()) { if (getCodeType() != other.getCodeType()) return false; } if (hasCodeVersion() != other.hasCodeVersion()) return false; if (hasCodeVersion()) { if (getCodeVersion() != other.getCodeVersion()) return false; } if (hasRequestId() != other.hasRequestId()) return false; if (hasRequestId()) { if (getRequestId() != other.getRequestId()) return false; } if (hasFunctionId() != other.hasFunctionId()) return false; if (hasFunctionId()) { if (!getFunctionId() .equals(other.getFunctionId())) return false; } if (hasWalletRegion() != other.hasWalletRegion()) return false; if (hasWalletRegion()) { if (getWalletRegion() != other.getWalletRegion()) return false; } if (hasCookie() != other.hasCookie()) return false; if (hasCookie()) { if (!getCookie() .equals(other.getCookie())) return false; } if (hasOuterUrl() != other.hasOuterUrl()) return false; if (hasOuterUrl()) { if (!getOuterUrl() .equals(other.getOuterUrl())) return false; } if (hasSubScene() != other.hasSubScene()) return false; if (hasSubScene()) { if (getSubScene() != other.getSubScene()) 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 (hasOpCode()) { hash = (37 * hash) + OPCODE_FIELD_NUMBER; hash = (53 * hash) + getOpCode(); } if (hasA2Key()) { hash = (37 * hash) + A2KEY_FIELD_NUMBER; hash = (53 * hash) + getA2Key().hashCode(); } if (hasAppID()) { hash = (37 * hash) + APPID_FIELD_NUMBER; hash = (53 * hash) + getAppID().hashCode(); } if (hasScope()) { hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + getScope().hashCode(); } if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + getState().hashCode(); } if (hasReqUrl()) { hash = (37 * hash) + REQURL_FIELD_NUMBER; hash = (53 * hash) + getReqUrl().hashCode(); } if (hasFriendUserName()) { hash = (37 * hash) + FRIENDUSERNAME_FIELD_NUMBER; hash = (53 * hash) + getFriendUserName().hashCode(); } if (hasFriendQq()) { hash = (37 * hash) + FRIENDQQ_FIELD_NUMBER; hash = (53 * hash) + getFriendQq(); } if (hasScene()) { hash = (37 * hash) + SCENE_FIELD_NUMBER; hash = (53 * hash) + getScene(); } if (hasUserName()) { hash = (37 * hash) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUserName().hashCode(); } if (hasBundleID()) { hash = (37 * hash) + BUNDLEID_FIELD_NUMBER; hash = (53 * hash) + getBundleID().hashCode(); } if (hasA2KeyNew()) { hash = (37 * hash) + A2KEYNEW_FIELD_NUMBER; hash = (53 * hash) + getA2KeyNew().hashCode(); } if (hasReason()) { hash = (37 * hash) + REASON_FIELD_NUMBER; hash = (53 * hash) + getReason(); } if (hasFontScale()) { hash = (37 * hash) + FONTSCALE_FIELD_NUMBER; hash = (53 * hash) + getFontScale(); } if (hasFlag()) { hash = (37 * hash) + FLAG_FIELD_NUMBER; hash = (53 * hash) + getFlag(); } if (hasNetType()) { hash = (37 * hash) + NETTYPE_FIELD_NUMBER; hash = (53 * hash) + getNetType().hashCode(); } if (hasCodeType()) { hash = (37 * hash) + CODETYPE_FIELD_NUMBER; hash = (53 * hash) + getCodeType(); } if (hasCodeVersion()) { hash = (37 * hash) + CODEVERSION_FIELD_NUMBER; hash = (53 * hash) + getCodeVersion(); } if (hasRequestId()) { hash = (37 * hash) + REQUESTID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRequestId()); } if (hasFunctionId()) { hash = (37 * hash) + FUNCTIONID_FIELD_NUMBER; hash = (53 * hash) + getFunctionId().hashCode(); } if (hasWalletRegion()) { hash = (37 * hash) + WALLETREGION_FIELD_NUMBER; hash = (53 * hash) + getWalletRegion(); } if (hasCookie()) { hash = (37 * hash) + COOKIE_FIELD_NUMBER; hash = (53 * hash) + getCookie().hashCode(); } if (hasOuterUrl()) { hash = (37 * hash) + OUTERURL_FIELD_NUMBER; hash = (53 * hash) + getOuterUrl().hashCode(); } if (hasSubScene()) { hash = (37 * hash) + SUBSCENE_FIELD_NUMBER; hash = (53 * hash) + getSubScene(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.GetA8KeyReq parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.GetA8KeyReq parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.GetA8KeyReq parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.GetA8KeyReq 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.Friendgroup.GetA8KeyReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.GetA8KeyReq parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.GetA8KeyReq parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.GetA8KeyReq 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.Friendgroup.GetA8KeyReq parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.GetA8KeyReq 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.Friendgroup.GetA8KeyReq parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.GetA8KeyReq 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.Friendgroup.GetA8KeyReq 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.GetA8KeyReq} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.GetA8KeyReq) wechat.protobuf.Friendgroup.GetA8KeyReqOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_GetA8KeyReq_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_GetA8KeyReq_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.GetA8KeyReq.class, wechat.protobuf.Friendgroup.GetA8KeyReq.Builder.class); } // Construct using wechat.protobuf.Friendgroup.GetA8KeyReq.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(); getA2KeyFieldBuilder(); getAppIDFieldBuilder(); getScopeFieldBuilder(); getStateFieldBuilder(); getReqUrlFieldBuilder(); getCookieFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseRequestBuilder_ == null) { baseRequest_ = null; } else { baseRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); opCode_ = 0; bitField0_ = (bitField0_ & ~0x00000002); if (a2KeyBuilder_ == null) { a2Key_ = null; } else { a2KeyBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (appIDBuilder_ == null) { appID_ = null; } else { appIDBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (scopeBuilder_ == null) { scope_ = null; } else { scopeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (stateBuilder_ == null) { state_ = null; } else { stateBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (reqUrlBuilder_ == null) { reqUrl_ = null; } else { reqUrlBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); friendUserName_ = ""; bitField0_ = (bitField0_ & ~0x00000080); friendQq_ = 0; bitField0_ = (bitField0_ & ~0x00000100); scene_ = 0; bitField0_ = (bitField0_ & ~0x00000200); userName_ = ""; bitField0_ = (bitField0_ & ~0x00000400); bundleID_ = ""; bitField0_ = (bitField0_ & ~0x00000800); a2KeyNew_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00001000); reason_ = 0; bitField0_ = (bitField0_ & ~0x00002000); fontScale_ = 0; bitField0_ = (bitField0_ & ~0x00004000); flag_ = 0; bitField0_ = (bitField0_ & ~0x00008000); netType_ = ""; bitField0_ = (bitField0_ & ~0x00010000); codeType_ = 0; bitField0_ = (bitField0_ & ~0x00020000); codeVersion_ = 0; bitField0_ = (bitField0_ & ~0x00040000); requestId_ = 0L; bitField0_ = (bitField0_ & ~0x00080000); functionId_ = ""; bitField0_ = (bitField0_ & ~0x00100000); walletRegion_ = 0; bitField0_ = (bitField0_ & ~0x00200000); if (cookieBuilder_ == null) { cookie_ = null; } else { cookieBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00400000); outerUrl_ = ""; bitField0_ = (bitField0_ & ~0x00800000); subScene_ = 0; bitField0_ = (bitField0_ & ~0x01000000); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_GetA8KeyReq_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.GetA8KeyReq getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.GetA8KeyReq.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.GetA8KeyReq build() { wechat.protobuf.Friendgroup.GetA8KeyReq result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.GetA8KeyReq buildPartial() { wechat.protobuf.Friendgroup.GetA8KeyReq result = new wechat.protobuf.Friendgroup.GetA8KeyReq(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.opCode_ = opCode_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (a2KeyBuilder_ == null) { result.a2Key_ = a2Key_; } else { result.a2Key_ = a2KeyBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (appIDBuilder_ == null) { result.appID_ = appID_; } else { result.appID_ = appIDBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { if (scopeBuilder_ == null) { result.scope_ = scope_; } else { result.scope_ = scopeBuilder_.build(); } to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { if (stateBuilder_ == null) { result.state_ = state_; } else { result.state_ = stateBuilder_.build(); } to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { if (reqUrlBuilder_ == null) { result.reqUrl_ = reqUrl_; } else { result.reqUrl_ = reqUrlBuilder_.build(); } to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } result.friendUserName_ = friendUserName_; if (((from_bitField0_ & 0x00000100) != 0)) { result.friendQq_ = friendQq_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { result.scene_ = scene_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { to_bitField0_ |= 0x00000400; } result.userName_ = userName_; if (((from_bitField0_ & 0x00000800) != 0)) { to_bitField0_ |= 0x00000800; } result.bundleID_ = bundleID_; if (((from_bitField0_ & 0x00001000) != 0)) { to_bitField0_ |= 0x00001000; } result.a2KeyNew_ = a2KeyNew_; if (((from_bitField0_ & 0x00002000) != 0)) { result.reason_ = reason_; to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00004000) != 0)) { result.fontScale_ = fontScale_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00008000) != 0)) { result.flag_ = flag_; to_bitField0_ |= 0x00008000; } if (((from_bitField0_ & 0x00010000) != 0)) { to_bitField0_ |= 0x00010000; } result.netType_ = netType_; if (((from_bitField0_ & 0x00020000) != 0)) { result.codeType_ = codeType_; to_bitField0_ |= 0x00020000; } if (((from_bitField0_ & 0x00040000) != 0)) { result.codeVersion_ = codeVersion_; to_bitField0_ |= 0x00040000; } if (((from_bitField0_ & 0x00080000) != 0)) { result.requestId_ = requestId_; to_bitField0_ |= 0x00080000; } if (((from_bitField0_ & 0x00100000) != 0)) { to_bitField0_ |= 0x00100000; } result.functionId_ = functionId_; if (((from_bitField0_ & 0x00200000) != 0)) { result.walletRegion_ = walletRegion_; to_bitField0_ |= 0x00200000; } if (((from_bitField0_ & 0x00400000) != 0)) { if (cookieBuilder_ == null) { result.cookie_ = cookie_; } else { result.cookie_ = cookieBuilder_.build(); } to_bitField0_ |= 0x00400000; } if (((from_bitField0_ & 0x00800000) != 0)) { to_bitField0_ |= 0x00800000; } result.outerUrl_ = outerUrl_; if (((from_bitField0_ & 0x01000000) != 0)) { result.subScene_ = subScene_; to_bitField0_ |= 0x01000000; } 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.Friendgroup.GetA8KeyReq) { return mergeFrom((wechat.protobuf.Friendgroup.GetA8KeyReq)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.GetA8KeyReq other) { if (other == wechat.protobuf.Friendgroup.GetA8KeyReq.getDefaultInstance()) return this; if (other.hasBaseRequest()) { mergeBaseRequest(other.getBaseRequest()); } if (other.hasOpCode()) { setOpCode(other.getOpCode()); } if (other.hasA2Key()) { mergeA2Key(other.getA2Key()); } if (other.hasAppID()) { mergeAppID(other.getAppID()); } if (other.hasScope()) { mergeScope(other.getScope()); } if (other.hasState()) { mergeState(other.getState()); } if (other.hasReqUrl()) { mergeReqUrl(other.getReqUrl()); } if (other.hasFriendUserName()) { bitField0_ |= 0x00000080; friendUserName_ = other.friendUserName_; onChanged(); } if (other.hasFriendQq()) { setFriendQq(other.getFriendQq()); } if (other.hasScene()) { setScene(other.getScene()); } if (other.hasUserName()) { bitField0_ |= 0x00000400; userName_ = other.userName_; onChanged(); } if (other.hasBundleID()) { bitField0_ |= 0x00000800; bundleID_ = other.bundleID_; onChanged(); } if (other.hasA2KeyNew()) { setA2KeyNew(other.getA2KeyNew()); } if (other.hasReason()) { setReason(other.getReason()); } if (other.hasFontScale()) { setFontScale(other.getFontScale()); } if (other.hasFlag()) { setFlag(other.getFlag()); } if (other.hasNetType()) { bitField0_ |= 0x00010000; netType_ = other.netType_; onChanged(); } if (other.hasCodeType()) { setCodeType(other.getCodeType()); } if (other.hasCodeVersion()) { setCodeVersion(other.getCodeVersion()); } if (other.hasRequestId()) { setRequestId(other.getRequestId()); } if (other.hasFunctionId()) { bitField0_ |= 0x00100000; functionId_ = other.functionId_; onChanged(); } if (other.hasWalletRegion()) { setWalletRegion(other.getWalletRegion()); } if (other.hasCookie()) { mergeCookie(other.getCookie()); } if (other.hasOuterUrl()) { bitField0_ |= 0x00800000; outerUrl_ = other.outerUrl_; onChanged(); } if (other.hasSubScene()) { setSubScene(other.getSubScene()); } 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.Friendgroup.GetA8KeyReq parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.GetA8KeyReq) 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 opCode_ ; /** * optional uint32 OpCode = 2; * @return Whether the opCode field is set. */ @java.lang.Override public boolean hasOpCode() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 OpCode = 2; * @return The opCode. */ @java.lang.Override public int getOpCode() { return opCode_; } /** * optional uint32 OpCode = 2; * @param value The opCode to set. * @return This builder for chaining. */ public Builder setOpCode(int value) { bitField0_ |= 0x00000002; opCode_ = value; onChanged(); return this; } /** * optional uint32 OpCode = 2; * @return This builder for chaining. */ public Builder clearOpCode() { bitField0_ = (bitField0_ & ~0x00000002); opCode_ = 0; onChanged(); return this; } private wechat.protobuf.SKBuiltinString_ a2Key_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> a2KeyBuilder_; /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; * @return Whether the a2key field is set. */ public boolean hasA2Key() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; * @return The a2key. */ public wechat.protobuf.SKBuiltinString_ getA2Key() { if (a2KeyBuilder_ == null) { return a2Key_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : a2Key_; } else { return a2KeyBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; */ public Builder setA2Key(wechat.protobuf.SKBuiltinString_ value) { if (a2KeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } a2Key_ = value; onChanged(); } else { a2KeyBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; */ public Builder setA2Key( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (a2KeyBuilder_ == null) { a2Key_ = builderForValue.build(); onChanged(); } else { a2KeyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; */ public Builder mergeA2Key(wechat.protobuf.SKBuiltinString_ value) { if (a2KeyBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && a2Key_ != null && a2Key_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { a2Key_ = wechat.protobuf.SKBuiltinString_.newBuilder(a2Key_).mergeFrom(value).buildPartial(); } else { a2Key_ = value; } onChanged(); } else { a2KeyBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; */ public Builder clearA2Key() { if (a2KeyBuilder_ == null) { a2Key_ = null; onChanged(); } else { a2KeyBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; */ public wechat.protobuf.SKBuiltinString_.Builder getA2KeyBuilder() { bitField0_ |= 0x00000004; onChanged(); return getA2KeyFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; */ public wechat.protobuf.SKBuiltinString_OrBuilder getA2KeyOrBuilder() { if (a2KeyBuilder_ != null) { return a2KeyBuilder_.getMessageOrBuilder(); } else { return a2Key_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : a2Key_; } } /** * optional .wechat_proto.SKBuiltinString_ A2key = 3; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getA2KeyFieldBuilder() { if (a2KeyBuilder_ == null) { a2KeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getA2Key(), getParentForChildren(), isClean()); a2Key_ = null; } return a2KeyBuilder_; } private wechat.protobuf.SKBuiltinString appID_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> appIDBuilder_; /** * optional .wechat_proto.SKBuiltinString AppID = 4; * @return Whether the appID field is set. */ public boolean hasAppID() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .wechat_proto.SKBuiltinString AppID = 4; * @return The appID. */ public wechat.protobuf.SKBuiltinString getAppID() { if (appIDBuilder_ == null) { return appID_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : appID_; } else { return appIDBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString AppID = 4; */ public Builder setAppID(wechat.protobuf.SKBuiltinString value) { if (appIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } appID_ = value; onChanged(); } else { appIDBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.SKBuiltinString AppID = 4; */ public Builder setAppID( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (appIDBuilder_ == null) { appID_ = builderForValue.build(); onChanged(); } else { appIDBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.SKBuiltinString AppID = 4; */ public Builder mergeAppID(wechat.protobuf.SKBuiltinString value) { if (appIDBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && appID_ != null && appID_ != wechat.protobuf.SKBuiltinString.getDefaultInstance()) { appID_ = wechat.protobuf.SKBuiltinString.newBuilder(appID_).mergeFrom(value).buildPartial(); } else { appID_ = value; } onChanged(); } else { appIDBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.SKBuiltinString AppID = 4; */ public Builder clearAppID() { if (appIDBuilder_ == null) { appID_ = null; onChanged(); } else { appIDBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .wechat_proto.SKBuiltinString AppID = 4; */ public wechat.protobuf.SKBuiltinString.Builder getAppIDBuilder() { bitField0_ |= 0x00000008; onChanged(); return getAppIDFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString AppID = 4; */ public wechat.protobuf.SKBuiltinStringOrBuilder getAppIDOrBuilder() { if (appIDBuilder_ != null) { return appIDBuilder_.getMessageOrBuilder(); } else { return appID_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : appID_; } } /** * optional .wechat_proto.SKBuiltinString AppID = 4; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getAppIDFieldBuilder() { if (appIDBuilder_ == null) { appIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( getAppID(), getParentForChildren(), isClean()); appID_ = null; } return appIDBuilder_; } private wechat.protobuf.SKBuiltinString scope_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> scopeBuilder_; /** * optional .wechat_proto.SKBuiltinString Scope = 5; * @return Whether the scope field is set. */ public boolean hasScope() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .wechat_proto.SKBuiltinString Scope = 5; * @return The scope. */ public wechat.protobuf.SKBuiltinString getScope() { if (scopeBuilder_ == null) { return scope_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : scope_; } else { return scopeBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString Scope = 5; */ public Builder setScope(wechat.protobuf.SKBuiltinString value) { if (scopeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scope_ = value; onChanged(); } else { scopeBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString Scope = 5; */ public Builder setScope( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (scopeBuilder_ == null) { scope_ = builderForValue.build(); onChanged(); } else { scopeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString Scope = 5; */ public Builder mergeScope(wechat.protobuf.SKBuiltinString value) { if (scopeBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && scope_ != null && scope_ != wechat.protobuf.SKBuiltinString.getDefaultInstance()) { scope_ = wechat.protobuf.SKBuiltinString.newBuilder(scope_).mergeFrom(value).buildPartial(); } else { scope_ = value; } onChanged(); } else { scopeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString Scope = 5; */ public Builder clearScope() { if (scopeBuilder_ == null) { scope_ = null; onChanged(); } else { scopeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .wechat_proto.SKBuiltinString Scope = 5; */ public wechat.protobuf.SKBuiltinString.Builder getScopeBuilder() { bitField0_ |= 0x00000010; onChanged(); return getScopeFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString Scope = 5; */ public wechat.protobuf.SKBuiltinStringOrBuilder getScopeOrBuilder() { if (scopeBuilder_ != null) { return scopeBuilder_.getMessageOrBuilder(); } else { return scope_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : scope_; } } /** * optional .wechat_proto.SKBuiltinString Scope = 5; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getScopeFieldBuilder() { if (scopeBuilder_ == null) { scopeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( getScope(), getParentForChildren(), isClean()); scope_ = null; } return scopeBuilder_; } private wechat.protobuf.SKBuiltinString state_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> stateBuilder_; /** * optional .wechat_proto.SKBuiltinString State = 6; * @return Whether the state field is set. */ public boolean hasState() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .wechat_proto.SKBuiltinString State = 6; * @return The state. */ public wechat.protobuf.SKBuiltinString getState() { if (stateBuilder_ == null) { return state_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : state_; } else { return stateBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString State = 6; */ public Builder setState(wechat.protobuf.SKBuiltinString value) { if (stateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } state_ = value; onChanged(); } else { stateBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .wechat_proto.SKBuiltinString State = 6; */ public Builder setState( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (stateBuilder_ == null) { state_ = builderForValue.build(); onChanged(); } else { stateBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .wechat_proto.SKBuiltinString State = 6; */ public Builder mergeState(wechat.protobuf.SKBuiltinString value) { if (stateBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && state_ != null && state_ != wechat.protobuf.SKBuiltinString.getDefaultInstance()) { state_ = wechat.protobuf.SKBuiltinString.newBuilder(state_).mergeFrom(value).buildPartial(); } else { state_ = value; } onChanged(); } else { stateBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .wechat_proto.SKBuiltinString State = 6; */ public Builder clearState() { if (stateBuilder_ == null) { state_ = null; onChanged(); } else { stateBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .wechat_proto.SKBuiltinString State = 6; */ public wechat.protobuf.SKBuiltinString.Builder getStateBuilder() { bitField0_ |= 0x00000020; onChanged(); return getStateFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString State = 6; */ public wechat.protobuf.SKBuiltinStringOrBuilder getStateOrBuilder() { if (stateBuilder_ != null) { return stateBuilder_.getMessageOrBuilder(); } else { return state_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : state_; } } /** * optional .wechat_proto.SKBuiltinString State = 6; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getStateFieldBuilder() { if (stateBuilder_ == null) { stateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( getState(), getParentForChildren(), isClean()); state_ = null; } return stateBuilder_; } private wechat.protobuf.SKBuiltinString reqUrl_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> reqUrlBuilder_; /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; * @return Whether the reqUrl field is set. */ public boolean hasReqUrl() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; * @return The reqUrl. */ public wechat.protobuf.SKBuiltinString getReqUrl() { if (reqUrlBuilder_ == null) { return reqUrl_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : reqUrl_; } else { return reqUrlBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; */ public Builder setReqUrl(wechat.protobuf.SKBuiltinString value) { if (reqUrlBuilder_ == null) { if (value == null) { throw new NullPointerException(); } reqUrl_ = value; onChanged(); } else { reqUrlBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; */ public Builder setReqUrl( wechat.protobuf.SKBuiltinString.Builder builderForValue) { if (reqUrlBuilder_ == null) { reqUrl_ = builderForValue.build(); onChanged(); } else { reqUrlBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; */ public Builder mergeReqUrl(wechat.protobuf.SKBuiltinString value) { if (reqUrlBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && reqUrl_ != null && reqUrl_ != wechat.protobuf.SKBuiltinString.getDefaultInstance()) { reqUrl_ = wechat.protobuf.SKBuiltinString.newBuilder(reqUrl_).mergeFrom(value).buildPartial(); } else { reqUrl_ = value; } onChanged(); } else { reqUrlBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; */ public Builder clearReqUrl() { if (reqUrlBuilder_ == null) { reqUrl_ = null; onChanged(); } else { reqUrlBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; */ public wechat.protobuf.SKBuiltinString.Builder getReqUrlBuilder() { bitField0_ |= 0x00000040; onChanged(); return getReqUrlFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; */ public wechat.protobuf.SKBuiltinStringOrBuilder getReqUrlOrBuilder() { if (reqUrlBuilder_ != null) { return reqUrlBuilder_.getMessageOrBuilder(); } else { return reqUrl_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : reqUrl_; } } /** * optional .wechat_proto.SKBuiltinString ReqUrl = 7; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> getReqUrlFieldBuilder() { if (reqUrlBuilder_ == null) { reqUrlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>( getReqUrl(), getParentForChildren(), isClean()); reqUrl_ = null; } return reqUrlBuilder_; } private java.lang.Object friendUserName_ = ""; /** * optional string FriendUserName = 8; * @return Whether the friendUserName field is set. */ public boolean hasFriendUserName() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string FriendUserName = 8; * @return The friendUserName. */ public java.lang.String getFriendUserName() { java.lang.Object ref = friendUserName_; 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()) { friendUserName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string FriendUserName = 8; * @return The bytes for friendUserName. */ public com.google.protobuf.ByteString getFriendUserNameBytes() { java.lang.Object ref = friendUserName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); friendUserName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string FriendUserName = 8; * @param value The friendUserName to set. * @return This builder for chaining. */ public Builder setFriendUserName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; friendUserName_ = value; onChanged(); return this; } /** * optional string FriendUserName = 8; * @return This builder for chaining. */ public Builder clearFriendUserName() { bitField0_ = (bitField0_ & ~0x00000080); friendUserName_ = getDefaultInstance().getFriendUserName(); onChanged(); return this; } /** * optional string FriendUserName = 8; * @param value The bytes for friendUserName to set. * @return This builder for chaining. */ public Builder setFriendUserNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; friendUserName_ = value; onChanged(); return this; } private int friendQq_ ; /** * optional uint32 FriendQq = 9; * @return Whether the friendQq field is set. */ @java.lang.Override public boolean hasFriendQq() { return ((bitField0_ & 0x00000100) != 0); } /** * optional uint32 FriendQq = 9; * @return The friendQq. */ @java.lang.Override public int getFriendQq() { return friendQq_; } /** * optional uint32 FriendQq = 9; * @param value The friendQq to set. * @return This builder for chaining. */ public Builder setFriendQq(int value) { bitField0_ |= 0x00000100; friendQq_ = value; onChanged(); return this; } /** * optional uint32 FriendQq = 9; * @return This builder for chaining. */ public Builder clearFriendQq() { bitField0_ = (bitField0_ & ~0x00000100); friendQq_ = 0; onChanged(); return this; } private int scene_ ; /** * optional uint32 Scene = 10; * @return Whether the scene field is set. */ @java.lang.Override public boolean hasScene() { return ((bitField0_ & 0x00000200) != 0); } /** * optional uint32 Scene = 10; * @return The scene. */ @java.lang.Override public int getScene() { return scene_; } /** * optional uint32 Scene = 10; * @param value The scene to set. * @return This builder for chaining. */ public Builder setScene(int value) { bitField0_ |= 0x00000200; scene_ = value; onChanged(); return this; } /** * optional uint32 Scene = 10; * @return This builder for chaining. */ public Builder clearScene() { bitField0_ = (bitField0_ & ~0x00000200); scene_ = 0; onChanged(); return this; } private java.lang.Object userName_ = ""; /** * optional string UserName = 11; * @return Whether the userName field is set. */ public boolean hasUserName() { return ((bitField0_ & 0x00000400) != 0); } /** * optional string UserName = 11; * @return The userName. */ public java.lang.String getUserName() { java.lang.Object ref = userName_; 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()) { userName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string UserName = 11; * @return The bytes for userName. */ public com.google.protobuf.ByteString getUserNameBytes() { java.lang.Object ref = userName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string UserName = 11; * @param value The userName to set. * @return This builder for chaining. */ public Builder setUserName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; userName_ = value; onChanged(); return this; } /** * optional string UserName = 11; * @return This builder for chaining. */ public Builder clearUserName() { bitField0_ = (bitField0_ & ~0x00000400); userName_ = getDefaultInstance().getUserName(); onChanged(); return this; } /** * optional string UserName = 11; * @param value The bytes for userName to set. * @return This builder for chaining. */ public Builder setUserNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; userName_ = value; onChanged(); return this; } private java.lang.Object bundleID_ = ""; /** * optional string BundleID = 12; * @return Whether the bundleID field is set. */ public boolean hasBundleID() { return ((bitField0_ & 0x00000800) != 0); } /** * optional string BundleID = 12; * @return The bundleID. */ public java.lang.String getBundleID() { java.lang.Object ref = bundleID_; 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()) { bundleID_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string BundleID = 12; * @return The bytes for bundleID. */ public com.google.protobuf.ByteString getBundleIDBytes() { java.lang.Object ref = bundleID_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bundleID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string BundleID = 12; * @param value The bundleID to set. * @return This builder for chaining. */ public Builder setBundleID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; bundleID_ = value; onChanged(); return this; } /** * optional string BundleID = 12; * @return This builder for chaining. */ public Builder clearBundleID() { bitField0_ = (bitField0_ & ~0x00000800); bundleID_ = getDefaultInstance().getBundleID(); onChanged(); return this; } /** * optional string BundleID = 12; * @param value The bytes for bundleID to set. * @return This builder for chaining. */ public Builder setBundleIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; bundleID_ = value; onChanged(); return this; } private com.google.protobuf.ByteString a2KeyNew_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes A2KeyNew = 13; * @return Whether the a2KeyNew field is set. */ @java.lang.Override public boolean hasA2KeyNew() { return ((bitField0_ & 0x00001000) != 0); } /** * optional bytes A2KeyNew = 13; * @return The a2KeyNew. */ @java.lang.Override public com.google.protobuf.ByteString getA2KeyNew() { return a2KeyNew_; } /** * optional bytes A2KeyNew = 13; * @param value The a2KeyNew to set. * @return This builder for chaining. */ public Builder setA2KeyNew(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; a2KeyNew_ = value; onChanged(); return this; } /** * optional bytes A2KeyNew = 13; * @return This builder for chaining. */ public Builder clearA2KeyNew() { bitField0_ = (bitField0_ & ~0x00001000); a2KeyNew_ = getDefaultInstance().getA2KeyNew(); onChanged(); return this; } private int reason_ ; /** * optional uint32 Reason = 14; * @return Whether the reason field is set. */ @java.lang.Override public boolean hasReason() { return ((bitField0_ & 0x00002000) != 0); } /** * optional uint32 Reason = 14; * @return The reason. */ @java.lang.Override public int getReason() { return reason_; } /** * optional uint32 Reason = 14; * @param value The reason to set. * @return This builder for chaining. */ public Builder setReason(int value) { bitField0_ |= 0x00002000; reason_ = value; onChanged(); return this; } /** * optional uint32 Reason = 14; * @return This builder for chaining. */ public Builder clearReason() { bitField0_ = (bitField0_ & ~0x00002000); reason_ = 0; onChanged(); return this; } private int fontScale_ ; /** * optional uint32 FontScale = 15; * @return Whether the fontScale field is set. */ @java.lang.Override public boolean hasFontScale() { return ((bitField0_ & 0x00004000) != 0); } /** * optional uint32 FontScale = 15; * @return The fontScale. */ @java.lang.Override public int getFontScale() { return fontScale_; } /** * optional uint32 FontScale = 15; * @param value The fontScale to set. * @return This builder for chaining. */ public Builder setFontScale(int value) { bitField0_ |= 0x00004000; fontScale_ = value; onChanged(); return this; } /** * optional uint32 FontScale = 15; * @return This builder for chaining. */ public Builder clearFontScale() { bitField0_ = (bitField0_ & ~0x00004000); fontScale_ = 0; onChanged(); return this; } private int flag_ ; /** * optional uint32 Flag = 16; * @return Whether the flag field is set. */ @java.lang.Override public boolean hasFlag() { return ((bitField0_ & 0x00008000) != 0); } /** * optional uint32 Flag = 16; * @return The flag. */ @java.lang.Override public int getFlag() { return flag_; } /** * optional uint32 Flag = 16; * @param value The flag to set. * @return This builder for chaining. */ public Builder setFlag(int value) { bitField0_ |= 0x00008000; flag_ = value; onChanged(); return this; } /** * optional uint32 Flag = 16; * @return This builder for chaining. */ public Builder clearFlag() { bitField0_ = (bitField0_ & ~0x00008000); flag_ = 0; onChanged(); return this; } private java.lang.Object netType_ = ""; /** * optional string NetType = 17; * @return Whether the netType field is set. */ public boolean hasNetType() { return ((bitField0_ & 0x00010000) != 0); } /** * optional string NetType = 17; * @return The netType. */ public java.lang.String getNetType() { java.lang.Object ref = netType_; 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()) { netType_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string NetType = 17; * @return The bytes for netType. */ public com.google.protobuf.ByteString getNetTypeBytes() { java.lang.Object ref = netType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); netType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string NetType = 17; * @param value The netType to set. * @return This builder for chaining. */ public Builder setNetType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; netType_ = value; onChanged(); return this; } /** * optional string NetType = 17; * @return This builder for chaining. */ public Builder clearNetType() { bitField0_ = (bitField0_ & ~0x00010000); netType_ = getDefaultInstance().getNetType(); onChanged(); return this; } /** * optional string NetType = 17; * @param value The bytes for netType to set. * @return This builder for chaining. */ public Builder setNetTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; netType_ = value; onChanged(); return this; } private int codeType_ ; /** * optional uint32 CodeType = 18; * @return Whether the codeType field is set. */ @java.lang.Override public boolean hasCodeType() { return ((bitField0_ & 0x00020000) != 0); } /** * optional uint32 CodeType = 18; * @return The codeType. */ @java.lang.Override public int getCodeType() { return codeType_; } /** * optional uint32 CodeType = 18; * @param value The codeType to set. * @return This builder for chaining. */ public Builder setCodeType(int value) { bitField0_ |= 0x00020000; codeType_ = value; onChanged(); return this; } /** * optional uint32 CodeType = 18; * @return This builder for chaining. */ public Builder clearCodeType() { bitField0_ = (bitField0_ & ~0x00020000); codeType_ = 0; onChanged(); return this; } private int codeVersion_ ; /** * optional uint32 CodeVersion = 19; * @return Whether the codeVersion field is set. */ @java.lang.Override public boolean hasCodeVersion() { return ((bitField0_ & 0x00040000) != 0); } /** * optional uint32 CodeVersion = 19; * @return The codeVersion. */ @java.lang.Override public int getCodeVersion() { return codeVersion_; } /** * optional uint32 CodeVersion = 19; * @param value The codeVersion to set. * @return This builder for chaining. */ public Builder setCodeVersion(int value) { bitField0_ |= 0x00040000; codeVersion_ = value; onChanged(); return this; } /** * optional uint32 CodeVersion = 19; * @return This builder for chaining. */ public Builder clearCodeVersion() { bitField0_ = (bitField0_ & ~0x00040000); codeVersion_ = 0; onChanged(); return this; } private long requestId_ ; /** * optional uint64 RequestId = 20; * @return Whether the requestId field is set. */ @java.lang.Override public boolean hasRequestId() { return ((bitField0_ & 0x00080000) != 0); } /** * optional uint64 RequestId = 20; * @return The requestId. */ @java.lang.Override public long getRequestId() { return requestId_; } /** * optional uint64 RequestId = 20; * @param value The requestId to set. * @return This builder for chaining. */ public Builder setRequestId(long value) { bitField0_ |= 0x00080000; requestId_ = value; onChanged(); return this; } /** * optional uint64 RequestId = 20; * @return This builder for chaining. */ public Builder clearRequestId() { bitField0_ = (bitField0_ & ~0x00080000); requestId_ = 0L; onChanged(); return this; } private java.lang.Object functionId_ = ""; /** * optional string FunctionId = 21; * @return Whether the functionId field is set. */ public boolean hasFunctionId() { return ((bitField0_ & 0x00100000) != 0); } /** * optional string FunctionId = 21; * @return The functionId. */ public java.lang.String getFunctionId() { java.lang.Object ref = functionId_; 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()) { functionId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string FunctionId = 21; * @return The bytes for functionId. */ public com.google.protobuf.ByteString getFunctionIdBytes() { java.lang.Object ref = functionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); functionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string FunctionId = 21; * @param value The functionId to set. * @return This builder for chaining. */ public Builder setFunctionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00100000; functionId_ = value; onChanged(); return this; } /** * optional string FunctionId = 21; * @return This builder for chaining. */ public Builder clearFunctionId() { bitField0_ = (bitField0_ & ~0x00100000); functionId_ = getDefaultInstance().getFunctionId(); onChanged(); return this; } /** * optional string FunctionId = 21; * @param value The bytes for functionId to set. * @return This builder for chaining. */ public Builder setFunctionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00100000; functionId_ = value; onChanged(); return this; } private int walletRegion_ ; /** * optional uint32 WalletRegion = 22; * @return Whether the walletRegion field is set. */ @java.lang.Override public boolean hasWalletRegion() { return ((bitField0_ & 0x00200000) != 0); } /** * optional uint32 WalletRegion = 22; * @return The walletRegion. */ @java.lang.Override public int getWalletRegion() { return walletRegion_; } /** * optional uint32 WalletRegion = 22; * @param value The walletRegion to set. * @return This builder for chaining. */ public Builder setWalletRegion(int value) { bitField0_ |= 0x00200000; walletRegion_ = value; onChanged(); return this; } /** * optional uint32 WalletRegion = 22; * @return This builder for chaining. */ public Builder clearWalletRegion() { bitField0_ = (bitField0_ & ~0x00200000); walletRegion_ = 0; onChanged(); return this; } private wechat.protobuf.SKBuiltinString_ cookie_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> cookieBuilder_; /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; * @return Whether the cookie field is set. */ public boolean hasCookie() { return ((bitField0_ & 0x00400000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; * @return The cookie. */ public wechat.protobuf.SKBuiltinString_ getCookie() { if (cookieBuilder_ == null) { return cookie_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : cookie_; } else { return cookieBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; */ public Builder setCookie(wechat.protobuf.SKBuiltinString_ value) { if (cookieBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cookie_ = value; onChanged(); } else { cookieBuilder_.setMessage(value); } bitField0_ |= 0x00400000; return this; } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; */ public Builder setCookie( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (cookieBuilder_ == null) { cookie_ = builderForValue.build(); onChanged(); } else { cookieBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00400000; return this; } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; */ public Builder mergeCookie(wechat.protobuf.SKBuiltinString_ value) { if (cookieBuilder_ == null) { if (((bitField0_ & 0x00400000) != 0) && cookie_ != null && cookie_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { cookie_ = wechat.protobuf.SKBuiltinString_.newBuilder(cookie_).mergeFrom(value).buildPartial(); } else { cookie_ = value; } onChanged(); } else { cookieBuilder_.mergeFrom(value); } bitField0_ |= 0x00400000; return this; } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; */ public Builder clearCookie() { if (cookieBuilder_ == null) { cookie_ = null; onChanged(); } else { cookieBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00400000); return this; } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; */ public wechat.protobuf.SKBuiltinString_.Builder getCookieBuilder() { bitField0_ |= 0x00400000; onChanged(); return getCookieFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; */ public wechat.protobuf.SKBuiltinString_OrBuilder getCookieOrBuilder() { if (cookieBuilder_ != null) { return cookieBuilder_.getMessageOrBuilder(); } else { return cookie_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : cookie_; } } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 23; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getCookieFieldBuilder() { if (cookieBuilder_ == null) { cookieBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getCookie(), getParentForChildren(), isClean()); cookie_ = null; } return cookieBuilder_; } private java.lang.Object outerUrl_ = ""; /** * optional string OuterUrl = 24; * @return Whether the outerUrl field is set. */ public boolean hasOuterUrl() { return ((bitField0_ & 0x00800000) != 0); } /** * optional string OuterUrl = 24; * @return The outerUrl. */ public java.lang.String getOuterUrl() { java.lang.Object ref = outerUrl_; 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()) { outerUrl_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string OuterUrl = 24; * @return The bytes for outerUrl. */ public com.google.protobuf.ByteString getOuterUrlBytes() { java.lang.Object ref = outerUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); outerUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string OuterUrl = 24; * @param value The outerUrl to set. * @return This builder for chaining. */ public Builder setOuterUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; outerUrl_ = value; onChanged(); return this; } /** * optional string OuterUrl = 24; * @return This builder for chaining. */ public Builder clearOuterUrl() { bitField0_ = (bitField0_ & ~0x00800000); outerUrl_ = getDefaultInstance().getOuterUrl(); onChanged(); return this; } /** * optional string OuterUrl = 24; * @param value The bytes for outerUrl to set. * @return This builder for chaining. */ public Builder setOuterUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; outerUrl_ = value; onChanged(); return this; } private int subScene_ ; /** * optional uint32 SubScene = 25; * @return Whether the subScene field is set. */ @java.lang.Override public boolean hasSubScene() { return ((bitField0_ & 0x01000000) != 0); } /** * optional uint32 SubScene = 25; * @return The subScene. */ @java.lang.Override public int getSubScene() { return subScene_; } /** * optional uint32 SubScene = 25; * @param value The subScene to set. * @return This builder for chaining. */ public Builder setSubScene(int value) { bitField0_ |= 0x01000000; subScene_ = value; onChanged(); return this; } /** * optional uint32 SubScene = 25; * @return This builder for chaining. */ public Builder clearSubScene() { bitField0_ = (bitField0_ & ~0x01000000); subScene_ = 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.GetA8KeyReq) } // @@protoc_insertion_point(class_scope:wechat_proto.GetA8KeyReq) private static final wechat.protobuf.Friendgroup.GetA8KeyReq DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.GetA8KeyReq(); } public static wechat.protobuf.Friendgroup.GetA8KeyReq getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetA8KeyReq parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetA8KeyReq(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.Friendgroup.GetA8KeyReq getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetA8KeyRespOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.GetA8KeyResp) 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 string FullURL = 2; * @return Whether the fullURL field is set. */ boolean hasFullURL(); /** * optional string FullURL = 2; * @return The fullURL. */ java.lang.String getFullURL(); /** * optional string FullURL = 2; * @return The bytes for fullURL. */ com.google.protobuf.ByteString getFullURLBytes(); /** * optional string A8key = 3; * @return Whether the a8key field is set. */ boolean hasA8Key(); /** * optional string A8key = 3; * @return The a8key. */ java.lang.String getA8Key(); /** * optional string A8key = 3; * @return The bytes for a8key. */ com.google.protobuf.ByteString getA8KeyBytes(); /** * optional string ActionCode = 4; * @return Whether the actionCode field is set. */ boolean hasActionCode(); /** * optional string ActionCode = 4; * @return The actionCode. */ java.lang.String getActionCode(); /** * optional string ActionCode = 4; * @return The bytes for actionCode. */ com.google.protobuf.ByteString getActionCodeBytes(); /** * optional string Title = 5; * @return Whether the title field is set. */ boolean hasTitle(); /** * optional string Title = 5; * @return The title. */ java.lang.String getTitle(); /** * optional string Title = 5; * @return The bytes for title. */ com.google.protobuf.ByteString getTitleBytes(); /** * optional string Content = 6; * @return Whether the content field is set. */ boolean hasContent(); /** * optional string Content = 6; * @return The content. */ java.lang.String getContent(); /** * optional string Content = 6; * @return The bytes for content. */ com.google.protobuf.ByteString getContentBytes(); /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; * @return Whether the jSAPIPermission field is set. */ boolean hasJSAPIPermission(); /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; * @return The jSAPIPermission. */ wechat.protobuf.Friendgroup.JSAPIPermissionBitSet getJSAPIPermission(); /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; */ wechat.protobuf.Friendgroup.JSAPIPermissionBitSetOrBuilder getJSAPIPermissionOrBuilder(); /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; * @return Whether the generalControlBitSet field is set. */ boolean hasGeneralControlBitSet(); /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; * @return The generalControlBitSet. */ wechat.protobuf.Friendgroup.GeneralControlBitSet getGeneralControlBitSet(); /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; */ wechat.protobuf.Friendgroup.GeneralControlBitSetOrBuilder getGeneralControlBitSetOrBuilder(); /** * optional string UserName = 9; * @return Whether the userName field is set. */ boolean hasUserName(); /** * optional string UserName = 9; * @return The userName. */ java.lang.String getUserName(); /** * optional string UserName = 9; * @return The bytes for userName. */ com.google.protobuf.ByteString getUserNameBytes(); /** * optional string ShareURL = 15; * @return Whether the shareURL field is set. */ boolean hasShareURL(); /** * optional string ShareURL = 15; * @return The shareURL. */ java.lang.String getShareURL(); /** * optional string ShareURL = 15; * @return The bytes for shareURL. */ com.google.protobuf.ByteString getShareURLBytes(); /** * optional uint32 ScopeCount = 16; * @return Whether the scopeCount field is set. */ boolean hasScopeCount(); /** * optional uint32 ScopeCount = 16; * @return The scopeCount. */ int getScopeCount(); /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ java.util.List getScopeListList(); /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ wechat.protobuf.Friendgroup.BizScopeInfo getScopeList(int index); /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ int getScopeListCount(); /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ java.util.List getScopeListOrBuilderList(); /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ wechat.protobuf.Friendgroup.BizScopeInfoOrBuilder getScopeListOrBuilder( int index); /** * optional string AntispamTicket = 18; * @return Whether the antispamTicket field is set. */ boolean hasAntispamTicket(); /** * optional string AntispamTicket = 18; * @return The antispamTicket. */ java.lang.String getAntispamTicket(); /** * optional string AntispamTicket = 18; * @return The bytes for antispamTicket. */ com.google.protobuf.ByteString getAntispamTicketBytes(); /** * optional string Ssid = 20; * @return Whether the ssid field is set. */ boolean hasSsid(); /** * optional string Ssid = 20; * @return The ssid. */ java.lang.String getSsid(); /** * optional string Ssid = 20; * @return The bytes for ssid. */ com.google.protobuf.ByteString getSsidBytes(); /** * optional string MID = 21; * @return Whether the mID field is set. */ boolean hasMID(); /** * optional string MID = 21; * @return The mID. */ java.lang.String getMID(); /** * optional string MID = 21; * @return The bytes for mID. */ com.google.protobuf.ByteString getMIDBytes(); /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; * @return Whether the deepLinkBitSet field is set. */ boolean hasDeepLinkBitSet(); /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; * @return The deepLinkBitSet. */ wechat.protobuf.Friendgroup.DeepLinkBitSet getDeepLinkBitSet(); /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; */ wechat.protobuf.Friendgroup.DeepLinkBitSetOrBuilder getDeepLinkBitSetOrBuilder(); /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; * @return Whether the jSAPIControlBytes field is set. */ boolean hasJSAPIControlBytes(); /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; * @return The jSAPIControlBytes. */ wechat.protobuf.SKBuiltinString_ getJSAPIControlBytes(); /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; */ wechat.protobuf.SKBuiltinString_OrBuilder getJSAPIControlBytesOrBuilder(); /** * optional uint32 HttpHeaderCount = 24; * @return Whether the httpHeaderCount field is set. */ boolean hasHttpHeaderCount(); /** * optional uint32 HttpHeaderCount = 24; * @return The httpHeaderCount. */ int getHttpHeaderCount(); /** * optional string HttpHeader = 25; * @return Whether the httpHeader field is set. */ boolean hasHttpHeader(); /** * optional string HttpHeader = 25; * @return The httpHeader. */ java.lang.String getHttpHeader(); /** * optional string HttpHeader = 25; * @return The bytes for httpHeader. */ com.google.protobuf.ByteString getHttpHeaderBytes(); /** * optional string Wording = 26; * @return Whether the wording field is set. */ boolean hasWording(); /** * optional string Wording = 26; * @return The wording. */ java.lang.String getWording(); /** * optional string Wording = 26; * @return The bytes for wording. */ com.google.protobuf.ByteString getWordingBytes(); /** * optional string Headimg = 27; * @return Whether the headimg field is set. */ boolean hasHeadimg(); /** * optional string Headimg = 27; * @return The headimg. */ java.lang.String getHeadimg(); /** * optional string Headimg = 27; * @return The bytes for headimg. */ com.google.protobuf.ByteString getHeadimgBytes(); /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; * @return Whether the cookie field is set. */ boolean hasCookie(); /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; * @return The cookie. */ wechat.protobuf.SKBuiltinString_ getCookie(); /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; */ wechat.protobuf.SKBuiltinString_OrBuilder getCookieOrBuilder(); /** * optional string MenuWording = 29; * @return Whether the menuWording field is set. */ boolean hasMenuWording(); /** * optional string MenuWording = 29; * @return The menuWording. */ java.lang.String getMenuWording(); /** * optional string MenuWording = 29; * @return The bytes for menuWording. */ com.google.protobuf.ByteString getMenuWordingBytes(); } /** * Protobuf type {@code wechat_proto.GetA8KeyResp} */ public static final class GetA8KeyResp extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.GetA8KeyResp) GetA8KeyRespOrBuilder { private static final long serialVersionUID = 0L; // Use GetA8KeyResp.newBuilder() to construct. private GetA8KeyResp(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetA8KeyResp() { fullURL_ = ""; a8Key_ = ""; actionCode_ = ""; title_ = ""; content_ = ""; userName_ = ""; shareURL_ = ""; scopeList_ = java.util.Collections.emptyList(); antispamTicket_ = ""; ssid_ = ""; mID_ = ""; httpHeader_ = ""; wording_ = ""; headimg_ = ""; menuWording_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetA8KeyResp(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetA8KeyResp( 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 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; fullURL_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; a8Key_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; actionCode_ = bs; break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; title_ = bs; break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; content_ = bs; break; } case 58: { wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.Builder subBuilder = null; if (((bitField0_ & 0x00000040) != 0)) { subBuilder = jSAPIPermission_.toBuilder(); } jSAPIPermission_ = input.readMessage(wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jSAPIPermission_); jSAPIPermission_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 66: { wechat.protobuf.Friendgroup.GeneralControlBitSet.Builder subBuilder = null; if (((bitField0_ & 0x00000080) != 0)) { subBuilder = generalControlBitSet_.toBuilder(); } generalControlBitSet_ = input.readMessage(wechat.protobuf.Friendgroup.GeneralControlBitSet.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(generalControlBitSet_); generalControlBitSet_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 74: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000100; userName_ = bs; break; } case 122: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000200; shareURL_ = bs; break; } case 128: { bitField0_ |= 0x00000400; scopeCount_ = input.readUInt32(); break; } case 138: { if (!((mutable_bitField0_ & 0x00000800) != 0)) { scopeList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000800; } scopeList_.add( input.readMessage(wechat.protobuf.Friendgroup.BizScopeInfo.PARSER, extensionRegistry)); break; } case 146: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000800; antispamTicket_ = bs; break; } case 162: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00001000; ssid_ = bs; break; } case 170: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00002000; mID_ = bs; break; } case 178: { wechat.protobuf.Friendgroup.DeepLinkBitSet.Builder subBuilder = null; if (((bitField0_ & 0x00004000) != 0)) { subBuilder = deepLinkBitSet_.toBuilder(); } deepLinkBitSet_ = input.readMessage(wechat.protobuf.Friendgroup.DeepLinkBitSet.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(deepLinkBitSet_); deepLinkBitSet_ = subBuilder.buildPartial(); } bitField0_ |= 0x00004000; break; } case 186: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00008000) != 0)) { subBuilder = jSAPIControlBytes_.toBuilder(); } jSAPIControlBytes_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jSAPIControlBytes_); jSAPIControlBytes_ = subBuilder.buildPartial(); } bitField0_ |= 0x00008000; break; } case 192: { bitField0_ |= 0x00010000; httpHeaderCount_ = input.readUInt32(); break; } case 202: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00020000; httpHeader_ = bs; break; } case 210: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00040000; wording_ = bs; break; } case 218: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00080000; headimg_ = bs; break; } case 226: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00100000) != 0)) { subBuilder = cookie_.toBuilder(); } cookie_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cookie_); cookie_ = subBuilder.buildPartial(); } bitField0_ |= 0x00100000; break; } case 234: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00200000; menuWording_ = 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 { if (((mutable_bitField0_ & 0x00000800) != 0)) { scopeList_ = java.util.Collections.unmodifiableList(scopeList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_GetA8KeyResp_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_GetA8KeyResp_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.GetA8KeyResp.class, wechat.protobuf.Friendgroup.GetA8KeyResp.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 FULLURL_FIELD_NUMBER = 2; private volatile java.lang.Object fullURL_; /** * optional string FullURL = 2; * @return Whether the fullURL field is set. */ @java.lang.Override public boolean hasFullURL() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string FullURL = 2; * @return The fullURL. */ @java.lang.Override public java.lang.String getFullURL() { java.lang.Object ref = fullURL_; 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()) { fullURL_ = s; } return s; } } /** * optional string FullURL = 2; * @return The bytes for fullURL. */ @java.lang.Override public com.google.protobuf.ByteString getFullURLBytes() { java.lang.Object ref = fullURL_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fullURL_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int A8KEY_FIELD_NUMBER = 3; private volatile java.lang.Object a8Key_; /** * optional string A8key = 3; * @return Whether the a8key field is set. */ @java.lang.Override public boolean hasA8Key() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string A8key = 3; * @return The a8key. */ @java.lang.Override public java.lang.String getA8Key() { java.lang.Object ref = a8Key_; 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()) { a8Key_ = s; } return s; } } /** * optional string A8key = 3; * @return The bytes for a8key. */ @java.lang.Override public com.google.protobuf.ByteString getA8KeyBytes() { java.lang.Object ref = a8Key_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); a8Key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACTIONCODE_FIELD_NUMBER = 4; private volatile java.lang.Object actionCode_; /** * optional string ActionCode = 4; * @return Whether the actionCode field is set. */ @java.lang.Override public boolean hasActionCode() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string ActionCode = 4; * @return The actionCode. */ @java.lang.Override public java.lang.String getActionCode() { java.lang.Object ref = actionCode_; 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()) { actionCode_ = s; } return s; } } /** * optional string ActionCode = 4; * @return The bytes for actionCode. */ @java.lang.Override public com.google.protobuf.ByteString getActionCodeBytes() { java.lang.Object ref = actionCode_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actionCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TITLE_FIELD_NUMBER = 5; private volatile java.lang.Object title_; /** * optional string Title = 5; * @return Whether the title field is set. */ @java.lang.Override public boolean hasTitle() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string Title = 5; * @return The title. */ @java.lang.Override public java.lang.String getTitle() { java.lang.Object ref = title_; 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()) { title_ = s; } return s; } } /** * optional string Title = 5; * @return The bytes for title. */ @java.lang.Override public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); title_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONTENT_FIELD_NUMBER = 6; private volatile java.lang.Object content_; /** * optional string Content = 6; * @return Whether the content field is set. */ @java.lang.Override public boolean hasContent() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string Content = 6; * @return The content. */ @java.lang.Override public java.lang.String getContent() { java.lang.Object ref = content_; 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()) { content_ = s; } return s; } } /** * optional string Content = 6; * @return The bytes for content. */ @java.lang.Override public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); content_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int JSAPIPERMISSION_FIELD_NUMBER = 7; private wechat.protobuf.Friendgroup.JSAPIPermissionBitSet jSAPIPermission_; /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; * @return Whether the jSAPIPermission field is set. */ @java.lang.Override public boolean hasJSAPIPermission() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; * @return The jSAPIPermission. */ @java.lang.Override public wechat.protobuf.Friendgroup.JSAPIPermissionBitSet getJSAPIPermission() { return jSAPIPermission_ == null ? wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.getDefaultInstance() : jSAPIPermission_; } /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; */ @java.lang.Override public wechat.protobuf.Friendgroup.JSAPIPermissionBitSetOrBuilder getJSAPIPermissionOrBuilder() { return jSAPIPermission_ == null ? wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.getDefaultInstance() : jSAPIPermission_; } public static final int GENERALCONTROLBITSET_FIELD_NUMBER = 8; private wechat.protobuf.Friendgroup.GeneralControlBitSet generalControlBitSet_; /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; * @return Whether the generalControlBitSet field is set. */ @java.lang.Override public boolean hasGeneralControlBitSet() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; * @return The generalControlBitSet. */ @java.lang.Override public wechat.protobuf.Friendgroup.GeneralControlBitSet getGeneralControlBitSet() { return generalControlBitSet_ == null ? wechat.protobuf.Friendgroup.GeneralControlBitSet.getDefaultInstance() : generalControlBitSet_; } /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; */ @java.lang.Override public wechat.protobuf.Friendgroup.GeneralControlBitSetOrBuilder getGeneralControlBitSetOrBuilder() { return generalControlBitSet_ == null ? wechat.protobuf.Friendgroup.GeneralControlBitSet.getDefaultInstance() : generalControlBitSet_; } public static final int USERNAME_FIELD_NUMBER = 9; private volatile java.lang.Object userName_; /** * optional string UserName = 9; * @return Whether the userName field is set. */ @java.lang.Override public boolean hasUserName() { return ((bitField0_ & 0x00000100) != 0); } /** * optional string UserName = 9; * @return The userName. */ @java.lang.Override public java.lang.String getUserName() { java.lang.Object ref = userName_; 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()) { userName_ = s; } return s; } } /** * optional string UserName = 9; * @return The bytes for userName. */ @java.lang.Override public com.google.protobuf.ByteString getUserNameBytes() { java.lang.Object ref = userName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHAREURL_FIELD_NUMBER = 15; private volatile java.lang.Object shareURL_; /** * optional string ShareURL = 15; * @return Whether the shareURL field is set. */ @java.lang.Override public boolean hasShareURL() { return ((bitField0_ & 0x00000200) != 0); } /** * optional string ShareURL = 15; * @return The shareURL. */ @java.lang.Override public java.lang.String getShareURL() { java.lang.Object ref = shareURL_; 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()) { shareURL_ = s; } return s; } } /** * optional string ShareURL = 15; * @return The bytes for shareURL. */ @java.lang.Override public com.google.protobuf.ByteString getShareURLBytes() { java.lang.Object ref = shareURL_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shareURL_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCOPECOUNT_FIELD_NUMBER = 16; private int scopeCount_; /** * optional uint32 ScopeCount = 16; * @return Whether the scopeCount field is set. */ @java.lang.Override public boolean hasScopeCount() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint32 ScopeCount = 16; * @return The scopeCount. */ @java.lang.Override public int getScopeCount() { return scopeCount_; } public static final int SCOPELIST_FIELD_NUMBER = 17; private java.util.List scopeList_; /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ @java.lang.Override public java.util.List getScopeListList() { return scopeList_; } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ @java.lang.Override public java.util.List getScopeListOrBuilderList() { return scopeList_; } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ @java.lang.Override public int getScopeListCount() { return scopeList_.size(); } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ @java.lang.Override public wechat.protobuf.Friendgroup.BizScopeInfo getScopeList(int index) { return scopeList_.get(index); } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ @java.lang.Override public wechat.protobuf.Friendgroup.BizScopeInfoOrBuilder getScopeListOrBuilder( int index) { return scopeList_.get(index); } public static final int ANTISPAMTICKET_FIELD_NUMBER = 18; private volatile java.lang.Object antispamTicket_; /** * optional string AntispamTicket = 18; * @return Whether the antispamTicket field is set. */ @java.lang.Override public boolean hasAntispamTicket() { return ((bitField0_ & 0x00000800) != 0); } /** * optional string AntispamTicket = 18; * @return The antispamTicket. */ @java.lang.Override public java.lang.String getAntispamTicket() { java.lang.Object ref = antispamTicket_; 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()) { antispamTicket_ = s; } return s; } } /** * optional string AntispamTicket = 18; * @return The bytes for antispamTicket. */ @java.lang.Override public com.google.protobuf.ByteString getAntispamTicketBytes() { java.lang.Object ref = antispamTicket_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); antispamTicket_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SSID_FIELD_NUMBER = 20; private volatile java.lang.Object ssid_; /** * optional string Ssid = 20; * @return Whether the ssid field is set. */ @java.lang.Override public boolean hasSsid() { return ((bitField0_ & 0x00001000) != 0); } /** * optional string Ssid = 20; * @return The ssid. */ @java.lang.Override public java.lang.String getSsid() { java.lang.Object ref = ssid_; 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()) { ssid_ = s; } return s; } } /** * optional string Ssid = 20; * @return The bytes for ssid. */ @java.lang.Override public com.google.protobuf.ByteString getSsidBytes() { java.lang.Object ref = ssid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ssid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MID_FIELD_NUMBER = 21; private volatile java.lang.Object mID_; /** * optional string MID = 21; * @return Whether the mID field is set. */ @java.lang.Override public boolean hasMID() { return ((bitField0_ & 0x00002000) != 0); } /** * optional string MID = 21; * @return The mID. */ @java.lang.Override public java.lang.String getMID() { java.lang.Object ref = mID_; 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()) { mID_ = s; } return s; } } /** * optional string MID = 21; * @return The bytes for mID. */ @java.lang.Override public com.google.protobuf.ByteString getMIDBytes() { java.lang.Object ref = mID_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEEPLINKBITSET_FIELD_NUMBER = 22; private wechat.protobuf.Friendgroup.DeepLinkBitSet deepLinkBitSet_; /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; * @return Whether the deepLinkBitSet field is set. */ @java.lang.Override public boolean hasDeepLinkBitSet() { return ((bitField0_ & 0x00004000) != 0); } /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; * @return The deepLinkBitSet. */ @java.lang.Override public wechat.protobuf.Friendgroup.DeepLinkBitSet getDeepLinkBitSet() { return deepLinkBitSet_ == null ? wechat.protobuf.Friendgroup.DeepLinkBitSet.getDefaultInstance() : deepLinkBitSet_; } /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; */ @java.lang.Override public wechat.protobuf.Friendgroup.DeepLinkBitSetOrBuilder getDeepLinkBitSetOrBuilder() { return deepLinkBitSet_ == null ? wechat.protobuf.Friendgroup.DeepLinkBitSet.getDefaultInstance() : deepLinkBitSet_; } public static final int JSAPICONTROLBYTES_FIELD_NUMBER = 23; private wechat.protobuf.SKBuiltinString_ jSAPIControlBytes_; /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; * @return Whether the jSAPIControlBytes field is set. */ @java.lang.Override public boolean hasJSAPIControlBytes() { return ((bitField0_ & 0x00008000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; * @return The jSAPIControlBytes. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getJSAPIControlBytes() { return jSAPIControlBytes_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : jSAPIControlBytes_; } /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getJSAPIControlBytesOrBuilder() { return jSAPIControlBytes_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : jSAPIControlBytes_; } public static final int HTTPHEADERCOUNT_FIELD_NUMBER = 24; private int httpHeaderCount_; /** * optional uint32 HttpHeaderCount = 24; * @return Whether the httpHeaderCount field is set. */ @java.lang.Override public boolean hasHttpHeaderCount() { return ((bitField0_ & 0x00010000) != 0); } /** * optional uint32 HttpHeaderCount = 24; * @return The httpHeaderCount. */ @java.lang.Override public int getHttpHeaderCount() { return httpHeaderCount_; } public static final int HTTPHEADER_FIELD_NUMBER = 25; private volatile java.lang.Object httpHeader_; /** * optional string HttpHeader = 25; * @return Whether the httpHeader field is set. */ @java.lang.Override public boolean hasHttpHeader() { return ((bitField0_ & 0x00020000) != 0); } /** * optional string HttpHeader = 25; * @return The httpHeader. */ @java.lang.Override public java.lang.String getHttpHeader() { java.lang.Object ref = httpHeader_; 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()) { httpHeader_ = s; } return s; } } /** * optional string HttpHeader = 25; * @return The bytes for httpHeader. */ @java.lang.Override public com.google.protobuf.ByteString getHttpHeaderBytes() { java.lang.Object ref = httpHeader_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); httpHeader_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WORDING_FIELD_NUMBER = 26; private volatile java.lang.Object wording_; /** * optional string Wording = 26; * @return Whether the wording field is set. */ @java.lang.Override public boolean hasWording() { return ((bitField0_ & 0x00040000) != 0); } /** * optional string Wording = 26; * @return The wording. */ @java.lang.Override public java.lang.String getWording() { java.lang.Object ref = wording_; 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()) { wording_ = s; } return s; } } /** * optional string Wording = 26; * @return The bytes for wording. */ @java.lang.Override public com.google.protobuf.ByteString getWordingBytes() { java.lang.Object ref = wording_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); wording_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HEADIMG_FIELD_NUMBER = 27; private volatile java.lang.Object headimg_; /** * optional string Headimg = 27; * @return Whether the headimg field is set. */ @java.lang.Override public boolean hasHeadimg() { return ((bitField0_ & 0x00080000) != 0); } /** * optional string Headimg = 27; * @return The headimg. */ @java.lang.Override public java.lang.String getHeadimg() { java.lang.Object ref = headimg_; 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()) { headimg_ = s; } return s; } } /** * optional string Headimg = 27; * @return The bytes for headimg. */ @java.lang.Override public com.google.protobuf.ByteString getHeadimgBytes() { java.lang.Object ref = headimg_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); headimg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COOKIE_FIELD_NUMBER = 28; private wechat.protobuf.SKBuiltinString_ cookie_; /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; * @return Whether the cookie field is set. */ @java.lang.Override public boolean hasCookie() { return ((bitField0_ & 0x00100000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; * @return The cookie. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getCookie() { return cookie_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : cookie_; } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getCookieOrBuilder() { return cookie_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : cookie_; } public static final int MENUWORDING_FIELD_NUMBER = 29; private volatile java.lang.Object menuWording_; /** * optional string MenuWording = 29; * @return Whether the menuWording field is set. */ @java.lang.Override public boolean hasMenuWording() { return ((bitField0_ & 0x00200000) != 0); } /** * optional string MenuWording = 29; * @return The menuWording. */ @java.lang.Override public java.lang.String getMenuWording() { java.lang.Object ref = menuWording_; 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()) { menuWording_ = s; } return s; } } /** * optional string MenuWording = 29; * @return The bytes for menuWording. */ @java.lang.Override public com.google.protobuf.ByteString getMenuWordingBytes() { java.lang.Object ref = menuWording_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); menuWording_ = 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, getBaseResponse()); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fullURL_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, a8Key_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, actionCode_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, title_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, content_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(7, getJSAPIPermission()); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(8, getGeneralControlBitSet()); } if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, userName_); } if (((bitField0_ & 0x00000200) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, shareURL_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeUInt32(16, scopeCount_); } for (int i = 0; i < scopeList_.size(); i++) { output.writeMessage(17, scopeList_.get(i)); } if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, antispamTicket_); } if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 20, ssid_); } if (((bitField0_ & 0x00002000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 21, mID_); } if (((bitField0_ & 0x00004000) != 0)) { output.writeMessage(22, getDeepLinkBitSet()); } if (((bitField0_ & 0x00008000) != 0)) { output.writeMessage(23, getJSAPIControlBytes()); } if (((bitField0_ & 0x00010000) != 0)) { output.writeUInt32(24, httpHeaderCount_); } if (((bitField0_ & 0x00020000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 25, httpHeader_); } if (((bitField0_ & 0x00040000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 26, wording_); } if (((bitField0_ & 0x00080000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 27, headimg_); } if (((bitField0_ & 0x00100000) != 0)) { output.writeMessage(28, getCookie()); } if (((bitField0_ & 0x00200000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 29, menuWording_); } 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.GeneratedMessageV3.computeStringSize(2, fullURL_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, a8Key_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, actionCode_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, title_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, content_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getJSAPIPermission()); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getGeneralControlBitSet()); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, userName_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, shareURL_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(16, scopeCount_); } for (int i = 0; i < scopeList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, scopeList_.get(i)); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, antispamTicket_); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, ssid_); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, mID_); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, getDeepLinkBitSet()); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getJSAPIControlBytes()); } if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(24, httpHeaderCount_); } if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, httpHeader_); } if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, wording_); } if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, headimg_); } if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(28, getCookie()); } if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, menuWording_); } 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.Friendgroup.GetA8KeyResp)) { return super.equals(obj); } wechat.protobuf.Friendgroup.GetA8KeyResp other = (wechat.protobuf.Friendgroup.GetA8KeyResp) obj; if (hasBaseResponse() != other.hasBaseResponse()) return false; if (hasBaseResponse()) { if (!getBaseResponse() .equals(other.getBaseResponse())) return false; } if (hasFullURL() != other.hasFullURL()) return false; if (hasFullURL()) { if (!getFullURL() .equals(other.getFullURL())) return false; } if (hasA8Key() != other.hasA8Key()) return false; if (hasA8Key()) { if (!getA8Key() .equals(other.getA8Key())) return false; } if (hasActionCode() != other.hasActionCode()) return false; if (hasActionCode()) { if (!getActionCode() .equals(other.getActionCode())) return false; } if (hasTitle() != other.hasTitle()) return false; if (hasTitle()) { if (!getTitle() .equals(other.getTitle())) return false; } if (hasContent() != other.hasContent()) return false; if (hasContent()) { if (!getContent() .equals(other.getContent())) return false; } if (hasJSAPIPermission() != other.hasJSAPIPermission()) return false; if (hasJSAPIPermission()) { if (!getJSAPIPermission() .equals(other.getJSAPIPermission())) return false; } if (hasGeneralControlBitSet() != other.hasGeneralControlBitSet()) return false; if (hasGeneralControlBitSet()) { if (!getGeneralControlBitSet() .equals(other.getGeneralControlBitSet())) return false; } if (hasUserName() != other.hasUserName()) return false; if (hasUserName()) { if (!getUserName() .equals(other.getUserName())) return false; } if (hasShareURL() != other.hasShareURL()) return false; if (hasShareURL()) { if (!getShareURL() .equals(other.getShareURL())) return false; } if (hasScopeCount() != other.hasScopeCount()) return false; if (hasScopeCount()) { if (getScopeCount() != other.getScopeCount()) return false; } if (!getScopeListList() .equals(other.getScopeListList())) return false; if (hasAntispamTicket() != other.hasAntispamTicket()) return false; if (hasAntispamTicket()) { if (!getAntispamTicket() .equals(other.getAntispamTicket())) return false; } if (hasSsid() != other.hasSsid()) return false; if (hasSsid()) { if (!getSsid() .equals(other.getSsid())) return false; } if (hasMID() != other.hasMID()) return false; if (hasMID()) { if (!getMID() .equals(other.getMID())) return false; } if (hasDeepLinkBitSet() != other.hasDeepLinkBitSet()) return false; if (hasDeepLinkBitSet()) { if (!getDeepLinkBitSet() .equals(other.getDeepLinkBitSet())) return false; } if (hasJSAPIControlBytes() != other.hasJSAPIControlBytes()) return false; if (hasJSAPIControlBytes()) { if (!getJSAPIControlBytes() .equals(other.getJSAPIControlBytes())) return false; } if (hasHttpHeaderCount() != other.hasHttpHeaderCount()) return false; if (hasHttpHeaderCount()) { if (getHttpHeaderCount() != other.getHttpHeaderCount()) return false; } if (hasHttpHeader() != other.hasHttpHeader()) return false; if (hasHttpHeader()) { if (!getHttpHeader() .equals(other.getHttpHeader())) return false; } if (hasWording() != other.hasWording()) return false; if (hasWording()) { if (!getWording() .equals(other.getWording())) return false; } if (hasHeadimg() != other.hasHeadimg()) return false; if (hasHeadimg()) { if (!getHeadimg() .equals(other.getHeadimg())) return false; } if (hasCookie() != other.hasCookie()) return false; if (hasCookie()) { if (!getCookie() .equals(other.getCookie())) return false; } if (hasMenuWording() != other.hasMenuWording()) return false; if (hasMenuWording()) { if (!getMenuWording() .equals(other.getMenuWording())) 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 (hasFullURL()) { hash = (37 * hash) + FULLURL_FIELD_NUMBER; hash = (53 * hash) + getFullURL().hashCode(); } if (hasA8Key()) { hash = (37 * hash) + A8KEY_FIELD_NUMBER; hash = (53 * hash) + getA8Key().hashCode(); } if (hasActionCode()) { hash = (37 * hash) + ACTIONCODE_FIELD_NUMBER; hash = (53 * hash) + getActionCode().hashCode(); } if (hasTitle()) { hash = (37 * hash) + TITLE_FIELD_NUMBER; hash = (53 * hash) + getTitle().hashCode(); } if (hasContent()) { hash = (37 * hash) + CONTENT_FIELD_NUMBER; hash = (53 * hash) + getContent().hashCode(); } if (hasJSAPIPermission()) { hash = (37 * hash) + JSAPIPERMISSION_FIELD_NUMBER; hash = (53 * hash) + getJSAPIPermission().hashCode(); } if (hasGeneralControlBitSet()) { hash = (37 * hash) + GENERALCONTROLBITSET_FIELD_NUMBER; hash = (53 * hash) + getGeneralControlBitSet().hashCode(); } if (hasUserName()) { hash = (37 * hash) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUserName().hashCode(); } if (hasShareURL()) { hash = (37 * hash) + SHAREURL_FIELD_NUMBER; hash = (53 * hash) + getShareURL().hashCode(); } if (hasScopeCount()) { hash = (37 * hash) + SCOPECOUNT_FIELD_NUMBER; hash = (53 * hash) + getScopeCount(); } if (getScopeListCount() > 0) { hash = (37 * hash) + SCOPELIST_FIELD_NUMBER; hash = (53 * hash) + getScopeListList().hashCode(); } if (hasAntispamTicket()) { hash = (37 * hash) + ANTISPAMTICKET_FIELD_NUMBER; hash = (53 * hash) + getAntispamTicket().hashCode(); } if (hasSsid()) { hash = (37 * hash) + SSID_FIELD_NUMBER; hash = (53 * hash) + getSsid().hashCode(); } if (hasMID()) { hash = (37 * hash) + MID_FIELD_NUMBER; hash = (53 * hash) + getMID().hashCode(); } if (hasDeepLinkBitSet()) { hash = (37 * hash) + DEEPLINKBITSET_FIELD_NUMBER; hash = (53 * hash) + getDeepLinkBitSet().hashCode(); } if (hasJSAPIControlBytes()) { hash = (37 * hash) + JSAPICONTROLBYTES_FIELD_NUMBER; hash = (53 * hash) + getJSAPIControlBytes().hashCode(); } if (hasHttpHeaderCount()) { hash = (37 * hash) + HTTPHEADERCOUNT_FIELD_NUMBER; hash = (53 * hash) + getHttpHeaderCount(); } if (hasHttpHeader()) { hash = (37 * hash) + HTTPHEADER_FIELD_NUMBER; hash = (53 * hash) + getHttpHeader().hashCode(); } if (hasWording()) { hash = (37 * hash) + WORDING_FIELD_NUMBER; hash = (53 * hash) + getWording().hashCode(); } if (hasHeadimg()) { hash = (37 * hash) + HEADIMG_FIELD_NUMBER; hash = (53 * hash) + getHeadimg().hashCode(); } if (hasCookie()) { hash = (37 * hash) + COOKIE_FIELD_NUMBER; hash = (53 * hash) + getCookie().hashCode(); } if (hasMenuWording()) { hash = (37 * hash) + MENUWORDING_FIELD_NUMBER; hash = (53 * hash) + getMenuWording().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.GetA8KeyResp parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.GetA8KeyResp parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.GetA8KeyResp parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.GetA8KeyResp 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.Friendgroup.GetA8KeyResp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.GetA8KeyResp parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.GetA8KeyResp parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.GetA8KeyResp 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.Friendgroup.GetA8KeyResp parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.GetA8KeyResp 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.Friendgroup.GetA8KeyResp parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.GetA8KeyResp 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.Friendgroup.GetA8KeyResp 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.GetA8KeyResp} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.GetA8KeyResp) wechat.protobuf.Friendgroup.GetA8KeyRespOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_GetA8KeyResp_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_GetA8KeyResp_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.GetA8KeyResp.class, wechat.protobuf.Friendgroup.GetA8KeyResp.Builder.class); } // Construct using wechat.protobuf.Friendgroup.GetA8KeyResp.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(); getJSAPIPermissionFieldBuilder(); getGeneralControlBitSetFieldBuilder(); getScopeListFieldBuilder(); getDeepLinkBitSetFieldBuilder(); getJSAPIControlBytesFieldBuilder(); getCookieFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseResponseBuilder_ == null) { baseResponse_ = null; } else { baseResponseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); fullURL_ = ""; bitField0_ = (bitField0_ & ~0x00000002); a8Key_ = ""; bitField0_ = (bitField0_ & ~0x00000004); actionCode_ = ""; bitField0_ = (bitField0_ & ~0x00000008); title_ = ""; bitField0_ = (bitField0_ & ~0x00000010); content_ = ""; bitField0_ = (bitField0_ & ~0x00000020); if (jSAPIPermissionBuilder_ == null) { jSAPIPermission_ = null; } else { jSAPIPermissionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); if (generalControlBitSetBuilder_ == null) { generalControlBitSet_ = null; } else { generalControlBitSetBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); userName_ = ""; bitField0_ = (bitField0_ & ~0x00000100); shareURL_ = ""; bitField0_ = (bitField0_ & ~0x00000200); scopeCount_ = 0; bitField0_ = (bitField0_ & ~0x00000400); if (scopeListBuilder_ == null) { scopeList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); } else { scopeListBuilder_.clear(); } antispamTicket_ = ""; bitField0_ = (bitField0_ & ~0x00001000); ssid_ = ""; bitField0_ = (bitField0_ & ~0x00002000); mID_ = ""; bitField0_ = (bitField0_ & ~0x00004000); if (deepLinkBitSetBuilder_ == null) { deepLinkBitSet_ = null; } else { deepLinkBitSetBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00008000); if (jSAPIControlBytesBuilder_ == null) { jSAPIControlBytes_ = null; } else { jSAPIControlBytesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00010000); httpHeaderCount_ = 0; bitField0_ = (bitField0_ & ~0x00020000); httpHeader_ = ""; bitField0_ = (bitField0_ & ~0x00040000); wording_ = ""; bitField0_ = (bitField0_ & ~0x00080000); headimg_ = ""; bitField0_ = (bitField0_ & ~0x00100000); if (cookieBuilder_ == null) { cookie_ = null; } else { cookieBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00200000); menuWording_ = ""; bitField0_ = (bitField0_ & ~0x00400000); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_GetA8KeyResp_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.GetA8KeyResp getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.GetA8KeyResp.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.GetA8KeyResp build() { wechat.protobuf.Friendgroup.GetA8KeyResp result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.GetA8KeyResp buildPartial() { wechat.protobuf.Friendgroup.GetA8KeyResp result = new wechat.protobuf.Friendgroup.GetA8KeyResp(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)) { to_bitField0_ |= 0x00000002; } result.fullURL_ = fullURL_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.a8Key_ = a8Key_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.actionCode_ = actionCode_; if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.title_ = title_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.content_ = content_; if (((from_bitField0_ & 0x00000040) != 0)) { if (jSAPIPermissionBuilder_ == null) { result.jSAPIPermission_ = jSAPIPermission_; } else { result.jSAPIPermission_ = jSAPIPermissionBuilder_.build(); } to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { if (generalControlBitSetBuilder_ == null) { result.generalControlBitSet_ = generalControlBitSet_; } else { result.generalControlBitSet_ = generalControlBitSetBuilder_.build(); } to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000100; } result.userName_ = userName_; if (((from_bitField0_ & 0x00000200) != 0)) { to_bitField0_ |= 0x00000200; } result.shareURL_ = shareURL_; if (((from_bitField0_ & 0x00000400) != 0)) { result.scopeCount_ = scopeCount_; to_bitField0_ |= 0x00000400; } if (scopeListBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { scopeList_ = java.util.Collections.unmodifiableList(scopeList_); bitField0_ = (bitField0_ & ~0x00000800); } result.scopeList_ = scopeList_; } else { result.scopeList_ = scopeListBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { to_bitField0_ |= 0x00000800; } result.antispamTicket_ = antispamTicket_; if (((from_bitField0_ & 0x00002000) != 0)) { to_bitField0_ |= 0x00001000; } result.ssid_ = ssid_; if (((from_bitField0_ & 0x00004000) != 0)) { to_bitField0_ |= 0x00002000; } result.mID_ = mID_; if (((from_bitField0_ & 0x00008000) != 0)) { if (deepLinkBitSetBuilder_ == null) { result.deepLinkBitSet_ = deepLinkBitSet_; } else { result.deepLinkBitSet_ = deepLinkBitSetBuilder_.build(); } to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00010000) != 0)) { if (jSAPIControlBytesBuilder_ == null) { result.jSAPIControlBytes_ = jSAPIControlBytes_; } else { result.jSAPIControlBytes_ = jSAPIControlBytesBuilder_.build(); } to_bitField0_ |= 0x00008000; } if (((from_bitField0_ & 0x00020000) != 0)) { result.httpHeaderCount_ = httpHeaderCount_; to_bitField0_ |= 0x00010000; } if (((from_bitField0_ & 0x00040000) != 0)) { to_bitField0_ |= 0x00020000; } result.httpHeader_ = httpHeader_; if (((from_bitField0_ & 0x00080000) != 0)) { to_bitField0_ |= 0x00040000; } result.wording_ = wording_; if (((from_bitField0_ & 0x00100000) != 0)) { to_bitField0_ |= 0x00080000; } result.headimg_ = headimg_; if (((from_bitField0_ & 0x00200000) != 0)) { if (cookieBuilder_ == null) { result.cookie_ = cookie_; } else { result.cookie_ = cookieBuilder_.build(); } to_bitField0_ |= 0x00100000; } if (((from_bitField0_ & 0x00400000) != 0)) { to_bitField0_ |= 0x00200000; } result.menuWording_ = menuWording_; 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.Friendgroup.GetA8KeyResp) { return mergeFrom((wechat.protobuf.Friendgroup.GetA8KeyResp)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.GetA8KeyResp other) { if (other == wechat.protobuf.Friendgroup.GetA8KeyResp.getDefaultInstance()) return this; if (other.hasBaseResponse()) { mergeBaseResponse(other.getBaseResponse()); } if (other.hasFullURL()) { bitField0_ |= 0x00000002; fullURL_ = other.fullURL_; onChanged(); } if (other.hasA8Key()) { bitField0_ |= 0x00000004; a8Key_ = other.a8Key_; onChanged(); } if (other.hasActionCode()) { bitField0_ |= 0x00000008; actionCode_ = other.actionCode_; onChanged(); } if (other.hasTitle()) { bitField0_ |= 0x00000010; title_ = other.title_; onChanged(); } if (other.hasContent()) { bitField0_ |= 0x00000020; content_ = other.content_; onChanged(); } if (other.hasJSAPIPermission()) { mergeJSAPIPermission(other.getJSAPIPermission()); } if (other.hasGeneralControlBitSet()) { mergeGeneralControlBitSet(other.getGeneralControlBitSet()); } if (other.hasUserName()) { bitField0_ |= 0x00000100; userName_ = other.userName_; onChanged(); } if (other.hasShareURL()) { bitField0_ |= 0x00000200; shareURL_ = other.shareURL_; onChanged(); } if (other.hasScopeCount()) { setScopeCount(other.getScopeCount()); } if (scopeListBuilder_ == null) { if (!other.scopeList_.isEmpty()) { if (scopeList_.isEmpty()) { scopeList_ = other.scopeList_; bitField0_ = (bitField0_ & ~0x00000800); } else { ensureScopeListIsMutable(); scopeList_.addAll(other.scopeList_); } onChanged(); } } else { if (!other.scopeList_.isEmpty()) { if (scopeListBuilder_.isEmpty()) { scopeListBuilder_.dispose(); scopeListBuilder_ = null; scopeList_ = other.scopeList_; bitField0_ = (bitField0_ & ~0x00000800); scopeListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getScopeListFieldBuilder() : null; } else { scopeListBuilder_.addAllMessages(other.scopeList_); } } } if (other.hasAntispamTicket()) { bitField0_ |= 0x00001000; antispamTicket_ = other.antispamTicket_; onChanged(); } if (other.hasSsid()) { bitField0_ |= 0x00002000; ssid_ = other.ssid_; onChanged(); } if (other.hasMID()) { bitField0_ |= 0x00004000; mID_ = other.mID_; onChanged(); } if (other.hasDeepLinkBitSet()) { mergeDeepLinkBitSet(other.getDeepLinkBitSet()); } if (other.hasJSAPIControlBytes()) { mergeJSAPIControlBytes(other.getJSAPIControlBytes()); } if (other.hasHttpHeaderCount()) { setHttpHeaderCount(other.getHttpHeaderCount()); } if (other.hasHttpHeader()) { bitField0_ |= 0x00040000; httpHeader_ = other.httpHeader_; onChanged(); } if (other.hasWording()) { bitField0_ |= 0x00080000; wording_ = other.wording_; onChanged(); } if (other.hasHeadimg()) { bitField0_ |= 0x00100000; headimg_ = other.headimg_; onChanged(); } if (other.hasCookie()) { mergeCookie(other.getCookie()); } if (other.hasMenuWording()) { bitField0_ |= 0x00400000; menuWording_ = other.menuWording_; 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.Friendgroup.GetA8KeyResp parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.GetA8KeyResp) 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 java.lang.Object fullURL_ = ""; /** * optional string FullURL = 2; * @return Whether the fullURL field is set. */ public boolean hasFullURL() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string FullURL = 2; * @return The fullURL. */ public java.lang.String getFullURL() { java.lang.Object ref = fullURL_; 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()) { fullURL_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string FullURL = 2; * @return The bytes for fullURL. */ public com.google.protobuf.ByteString getFullURLBytes() { java.lang.Object ref = fullURL_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fullURL_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string FullURL = 2; * @param value The fullURL to set. * @return This builder for chaining. */ public Builder setFullURL( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; fullURL_ = value; onChanged(); return this; } /** * optional string FullURL = 2; * @return This builder for chaining. */ public Builder clearFullURL() { bitField0_ = (bitField0_ & ~0x00000002); fullURL_ = getDefaultInstance().getFullURL(); onChanged(); return this; } /** * optional string FullURL = 2; * @param value The bytes for fullURL to set. * @return This builder for chaining. */ public Builder setFullURLBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; fullURL_ = value; onChanged(); return this; } private java.lang.Object a8Key_ = ""; /** * optional string A8key = 3; * @return Whether the a8key field is set. */ public boolean hasA8Key() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string A8key = 3; * @return The a8key. */ public java.lang.String getA8Key() { java.lang.Object ref = a8Key_; 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()) { a8Key_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string A8key = 3; * @return The bytes for a8key. */ public com.google.protobuf.ByteString getA8KeyBytes() { java.lang.Object ref = a8Key_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); a8Key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string A8key = 3; * @param value The a8key to set. * @return This builder for chaining. */ public Builder setA8Key( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; a8Key_ = value; onChanged(); return this; } /** * optional string A8key = 3; * @return This builder for chaining. */ public Builder clearA8Key() { bitField0_ = (bitField0_ & ~0x00000004); a8Key_ = getDefaultInstance().getA8Key(); onChanged(); return this; } /** * optional string A8key = 3; * @param value The bytes for a8key to set. * @return This builder for chaining. */ public Builder setA8KeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; a8Key_ = value; onChanged(); return this; } private java.lang.Object actionCode_ = ""; /** * optional string ActionCode = 4; * @return Whether the actionCode field is set. */ public boolean hasActionCode() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string ActionCode = 4; * @return The actionCode. */ public java.lang.String getActionCode() { java.lang.Object ref = actionCode_; 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()) { actionCode_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string ActionCode = 4; * @return The bytes for actionCode. */ public com.google.protobuf.ByteString getActionCodeBytes() { java.lang.Object ref = actionCode_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actionCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string ActionCode = 4; * @param value The actionCode to set. * @return This builder for chaining. */ public Builder setActionCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; actionCode_ = value; onChanged(); return this; } /** * optional string ActionCode = 4; * @return This builder for chaining. */ public Builder clearActionCode() { bitField0_ = (bitField0_ & ~0x00000008); actionCode_ = getDefaultInstance().getActionCode(); onChanged(); return this; } /** * optional string ActionCode = 4; * @param value The bytes for actionCode to set. * @return This builder for chaining. */ public Builder setActionCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; actionCode_ = value; onChanged(); return this; } private java.lang.Object title_ = ""; /** * optional string Title = 5; * @return Whether the title field is set. */ public boolean hasTitle() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string Title = 5; * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; 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()) { title_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string Title = 5; * @return The bytes for title. */ public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); title_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string Title = 5; * @param value The title to set. * @return This builder for chaining. */ public Builder setTitle( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; title_ = value; onChanged(); return this; } /** * optional string Title = 5; * @return This builder for chaining. */ public Builder clearTitle() { bitField0_ = (bitField0_ & ~0x00000010); title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** * optional string Title = 5; * @param value The bytes for title to set. * @return This builder for chaining. */ public Builder setTitleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; title_ = value; onChanged(); return this; } private java.lang.Object content_ = ""; /** * optional string Content = 6; * @return Whether the content field is set. */ public boolean hasContent() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string Content = 6; * @return The content. */ public java.lang.String getContent() { java.lang.Object ref = content_; 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()) { content_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string Content = 6; * @return The bytes for content. */ public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); content_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string Content = 6; * @param value The content to set. * @return This builder for chaining. */ public Builder setContent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; content_ = value; onChanged(); return this; } /** * optional string Content = 6; * @return This builder for chaining. */ public Builder clearContent() { bitField0_ = (bitField0_ & ~0x00000020); content_ = getDefaultInstance().getContent(); onChanged(); return this; } /** * optional string Content = 6; * @param value The bytes for content to set. * @return This builder for chaining. */ public Builder setContentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; content_ = value; onChanged(); return this; } private wechat.protobuf.Friendgroup.JSAPIPermissionBitSet jSAPIPermission_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.JSAPIPermissionBitSet, wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.Builder, wechat.protobuf.Friendgroup.JSAPIPermissionBitSetOrBuilder> jSAPIPermissionBuilder_; /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; * @return Whether the jSAPIPermission field is set. */ public boolean hasJSAPIPermission() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; * @return The jSAPIPermission. */ public wechat.protobuf.Friendgroup.JSAPIPermissionBitSet getJSAPIPermission() { if (jSAPIPermissionBuilder_ == null) { return jSAPIPermission_ == null ? wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.getDefaultInstance() : jSAPIPermission_; } else { return jSAPIPermissionBuilder_.getMessage(); } } /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; */ public Builder setJSAPIPermission(wechat.protobuf.Friendgroup.JSAPIPermissionBitSet value) { if (jSAPIPermissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jSAPIPermission_ = value; onChanged(); } else { jSAPIPermissionBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; */ public Builder setJSAPIPermission( wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.Builder builderForValue) { if (jSAPIPermissionBuilder_ == null) { jSAPIPermission_ = builderForValue.build(); onChanged(); } else { jSAPIPermissionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; */ public Builder mergeJSAPIPermission(wechat.protobuf.Friendgroup.JSAPIPermissionBitSet value) { if (jSAPIPermissionBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && jSAPIPermission_ != null && jSAPIPermission_ != wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.getDefaultInstance()) { jSAPIPermission_ = wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.newBuilder(jSAPIPermission_).mergeFrom(value).buildPartial(); } else { jSAPIPermission_ = value; } onChanged(); } else { jSAPIPermissionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; */ public Builder clearJSAPIPermission() { if (jSAPIPermissionBuilder_ == null) { jSAPIPermission_ = null; onChanged(); } else { jSAPIPermissionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; */ public wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.Builder getJSAPIPermissionBuilder() { bitField0_ |= 0x00000040; onChanged(); return getJSAPIPermissionFieldBuilder().getBuilder(); } /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; */ public wechat.protobuf.Friendgroup.JSAPIPermissionBitSetOrBuilder getJSAPIPermissionOrBuilder() { if (jSAPIPermissionBuilder_ != null) { return jSAPIPermissionBuilder_.getMessageOrBuilder(); } else { return jSAPIPermission_ == null ? wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.getDefaultInstance() : jSAPIPermission_; } } /** * optional .wechat_proto.JSAPIPermissionBitSet JSAPIPermission = 7; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.JSAPIPermissionBitSet, wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.Builder, wechat.protobuf.Friendgroup.JSAPIPermissionBitSetOrBuilder> getJSAPIPermissionFieldBuilder() { if (jSAPIPermissionBuilder_ == null) { jSAPIPermissionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.JSAPIPermissionBitSet, wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.Builder, wechat.protobuf.Friendgroup.JSAPIPermissionBitSetOrBuilder>( getJSAPIPermission(), getParentForChildren(), isClean()); jSAPIPermission_ = null; } return jSAPIPermissionBuilder_; } private wechat.protobuf.Friendgroup.GeneralControlBitSet generalControlBitSet_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.GeneralControlBitSet, wechat.protobuf.Friendgroup.GeneralControlBitSet.Builder, wechat.protobuf.Friendgroup.GeneralControlBitSetOrBuilder> generalControlBitSetBuilder_; /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; * @return Whether the generalControlBitSet field is set. */ public boolean hasGeneralControlBitSet() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; * @return The generalControlBitSet. */ public wechat.protobuf.Friendgroup.GeneralControlBitSet getGeneralControlBitSet() { if (generalControlBitSetBuilder_ == null) { return generalControlBitSet_ == null ? wechat.protobuf.Friendgroup.GeneralControlBitSet.getDefaultInstance() : generalControlBitSet_; } else { return generalControlBitSetBuilder_.getMessage(); } } /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; */ public Builder setGeneralControlBitSet(wechat.protobuf.Friendgroup.GeneralControlBitSet value) { if (generalControlBitSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } generalControlBitSet_ = value; onChanged(); } else { generalControlBitSetBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; */ public Builder setGeneralControlBitSet( wechat.protobuf.Friendgroup.GeneralControlBitSet.Builder builderForValue) { if (generalControlBitSetBuilder_ == null) { generalControlBitSet_ = builderForValue.build(); onChanged(); } else { generalControlBitSetBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; */ public Builder mergeGeneralControlBitSet(wechat.protobuf.Friendgroup.GeneralControlBitSet value) { if (generalControlBitSetBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && generalControlBitSet_ != null && generalControlBitSet_ != wechat.protobuf.Friendgroup.GeneralControlBitSet.getDefaultInstance()) { generalControlBitSet_ = wechat.protobuf.Friendgroup.GeneralControlBitSet.newBuilder(generalControlBitSet_).mergeFrom(value).buildPartial(); } else { generalControlBitSet_ = value; } onChanged(); } else { generalControlBitSetBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; */ public Builder clearGeneralControlBitSet() { if (generalControlBitSetBuilder_ == null) { generalControlBitSet_ = null; onChanged(); } else { generalControlBitSetBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; */ public wechat.protobuf.Friendgroup.GeneralControlBitSet.Builder getGeneralControlBitSetBuilder() { bitField0_ |= 0x00000080; onChanged(); return getGeneralControlBitSetFieldBuilder().getBuilder(); } /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; */ public wechat.protobuf.Friendgroup.GeneralControlBitSetOrBuilder getGeneralControlBitSetOrBuilder() { if (generalControlBitSetBuilder_ != null) { return generalControlBitSetBuilder_.getMessageOrBuilder(); } else { return generalControlBitSet_ == null ? wechat.protobuf.Friendgroup.GeneralControlBitSet.getDefaultInstance() : generalControlBitSet_; } } /** * optional .wechat_proto.GeneralControlBitSet GeneralControlBitSet = 8; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.GeneralControlBitSet, wechat.protobuf.Friendgroup.GeneralControlBitSet.Builder, wechat.protobuf.Friendgroup.GeneralControlBitSetOrBuilder> getGeneralControlBitSetFieldBuilder() { if (generalControlBitSetBuilder_ == null) { generalControlBitSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.GeneralControlBitSet, wechat.protobuf.Friendgroup.GeneralControlBitSet.Builder, wechat.protobuf.Friendgroup.GeneralControlBitSetOrBuilder>( getGeneralControlBitSet(), getParentForChildren(), isClean()); generalControlBitSet_ = null; } return generalControlBitSetBuilder_; } private java.lang.Object userName_ = ""; /** * optional string UserName = 9; * @return Whether the userName field is set. */ public boolean hasUserName() { return ((bitField0_ & 0x00000100) != 0); } /** * optional string UserName = 9; * @return The userName. */ public java.lang.String getUserName() { java.lang.Object ref = userName_; 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()) { userName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string UserName = 9; * @return The bytes for userName. */ public com.google.protobuf.ByteString getUserNameBytes() { java.lang.Object ref = userName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string UserName = 9; * @param value The userName to set. * @return This builder for chaining. */ public Builder setUserName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; userName_ = value; onChanged(); return this; } /** * optional string UserName = 9; * @return This builder for chaining. */ public Builder clearUserName() { bitField0_ = (bitField0_ & ~0x00000100); userName_ = getDefaultInstance().getUserName(); onChanged(); return this; } /** * optional string UserName = 9; * @param value The bytes for userName to set. * @return This builder for chaining. */ public Builder setUserNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; userName_ = value; onChanged(); return this; } private java.lang.Object shareURL_ = ""; /** * optional string ShareURL = 15; * @return Whether the shareURL field is set. */ public boolean hasShareURL() { return ((bitField0_ & 0x00000200) != 0); } /** * optional string ShareURL = 15; * @return The shareURL. */ public java.lang.String getShareURL() { java.lang.Object ref = shareURL_; 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()) { shareURL_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string ShareURL = 15; * @return The bytes for shareURL. */ public com.google.protobuf.ByteString getShareURLBytes() { java.lang.Object ref = shareURL_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shareURL_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string ShareURL = 15; * @param value The shareURL to set. * @return This builder for chaining. */ public Builder setShareURL( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; shareURL_ = value; onChanged(); return this; } /** * optional string ShareURL = 15; * @return This builder for chaining. */ public Builder clearShareURL() { bitField0_ = (bitField0_ & ~0x00000200); shareURL_ = getDefaultInstance().getShareURL(); onChanged(); return this; } /** * optional string ShareURL = 15; * @param value The bytes for shareURL to set. * @return This builder for chaining. */ public Builder setShareURLBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; shareURL_ = value; onChanged(); return this; } private int scopeCount_ ; /** * optional uint32 ScopeCount = 16; * @return Whether the scopeCount field is set. */ @java.lang.Override public boolean hasScopeCount() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint32 ScopeCount = 16; * @return The scopeCount. */ @java.lang.Override public int getScopeCount() { return scopeCount_; } /** * optional uint32 ScopeCount = 16; * @param value The scopeCount to set. * @return This builder for chaining. */ public Builder setScopeCount(int value) { bitField0_ |= 0x00000400; scopeCount_ = value; onChanged(); return this; } /** * optional uint32 ScopeCount = 16; * @return This builder for chaining. */ public Builder clearScopeCount() { bitField0_ = (bitField0_ & ~0x00000400); scopeCount_ = 0; onChanged(); return this; } private java.util.List scopeList_ = java.util.Collections.emptyList(); private void ensureScopeListIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { scopeList_ = new java.util.ArrayList(scopeList_); bitField0_ |= 0x00000800; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.BizScopeInfo, wechat.protobuf.Friendgroup.BizScopeInfo.Builder, wechat.protobuf.Friendgroup.BizScopeInfoOrBuilder> scopeListBuilder_; /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public java.util.List getScopeListList() { if (scopeListBuilder_ == null) { return java.util.Collections.unmodifiableList(scopeList_); } else { return scopeListBuilder_.getMessageList(); } } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public int getScopeListCount() { if (scopeListBuilder_ == null) { return scopeList_.size(); } else { return scopeListBuilder_.getCount(); } } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public wechat.protobuf.Friendgroup.BizScopeInfo getScopeList(int index) { if (scopeListBuilder_ == null) { return scopeList_.get(index); } else { return scopeListBuilder_.getMessage(index); } } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public Builder setScopeList( int index, wechat.protobuf.Friendgroup.BizScopeInfo value) { if (scopeListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScopeListIsMutable(); scopeList_.set(index, value); onChanged(); } else { scopeListBuilder_.setMessage(index, value); } return this; } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public Builder setScopeList( int index, wechat.protobuf.Friendgroup.BizScopeInfo.Builder builderForValue) { if (scopeListBuilder_ == null) { ensureScopeListIsMutable(); scopeList_.set(index, builderForValue.build()); onChanged(); } else { scopeListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public Builder addScopeList(wechat.protobuf.Friendgroup.BizScopeInfo value) { if (scopeListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScopeListIsMutable(); scopeList_.add(value); onChanged(); } else { scopeListBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public Builder addScopeList( int index, wechat.protobuf.Friendgroup.BizScopeInfo value) { if (scopeListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScopeListIsMutable(); scopeList_.add(index, value); onChanged(); } else { scopeListBuilder_.addMessage(index, value); } return this; } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public Builder addScopeList( wechat.protobuf.Friendgroup.BizScopeInfo.Builder builderForValue) { if (scopeListBuilder_ == null) { ensureScopeListIsMutable(); scopeList_.add(builderForValue.build()); onChanged(); } else { scopeListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public Builder addScopeList( int index, wechat.protobuf.Friendgroup.BizScopeInfo.Builder builderForValue) { if (scopeListBuilder_ == null) { ensureScopeListIsMutable(); scopeList_.add(index, builderForValue.build()); onChanged(); } else { scopeListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public Builder addAllScopeList( java.lang.Iterable values) { if (scopeListBuilder_ == null) { ensureScopeListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, scopeList_); onChanged(); } else { scopeListBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public Builder clearScopeList() { if (scopeListBuilder_ == null) { scopeList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); } else { scopeListBuilder_.clear(); } return this; } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public Builder removeScopeList(int index) { if (scopeListBuilder_ == null) { ensureScopeListIsMutable(); scopeList_.remove(index); onChanged(); } else { scopeListBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public wechat.protobuf.Friendgroup.BizScopeInfo.Builder getScopeListBuilder( int index) { return getScopeListFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public wechat.protobuf.Friendgroup.BizScopeInfoOrBuilder getScopeListOrBuilder( int index) { if (scopeListBuilder_ == null) { return scopeList_.get(index); } else { return scopeListBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public java.util.List getScopeListOrBuilderList() { if (scopeListBuilder_ != null) { return scopeListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(scopeList_); } } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public wechat.protobuf.Friendgroup.BizScopeInfo.Builder addScopeListBuilder() { return getScopeListFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.BizScopeInfo.getDefaultInstance()); } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public wechat.protobuf.Friendgroup.BizScopeInfo.Builder addScopeListBuilder( int index) { return getScopeListFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.BizScopeInfo.getDefaultInstance()); } /** * repeated .wechat_proto.BizScopeInfo ScopeList = 17; */ public java.util.List getScopeListBuilderList() { return getScopeListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.BizScopeInfo, wechat.protobuf.Friendgroup.BizScopeInfo.Builder, wechat.protobuf.Friendgroup.BizScopeInfoOrBuilder> getScopeListFieldBuilder() { if (scopeListBuilder_ == null) { scopeListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.BizScopeInfo, wechat.protobuf.Friendgroup.BizScopeInfo.Builder, wechat.protobuf.Friendgroup.BizScopeInfoOrBuilder>( scopeList_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); scopeList_ = null; } return scopeListBuilder_; } private java.lang.Object antispamTicket_ = ""; /** * optional string AntispamTicket = 18; * @return Whether the antispamTicket field is set. */ public boolean hasAntispamTicket() { return ((bitField0_ & 0x00001000) != 0); } /** * optional string AntispamTicket = 18; * @return The antispamTicket. */ public java.lang.String getAntispamTicket() { java.lang.Object ref = antispamTicket_; 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()) { antispamTicket_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string AntispamTicket = 18; * @return The bytes for antispamTicket. */ public com.google.protobuf.ByteString getAntispamTicketBytes() { java.lang.Object ref = antispamTicket_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); antispamTicket_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string AntispamTicket = 18; * @param value The antispamTicket to set. * @return This builder for chaining. */ public Builder setAntispamTicket( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; antispamTicket_ = value; onChanged(); return this; } /** * optional string AntispamTicket = 18; * @return This builder for chaining. */ public Builder clearAntispamTicket() { bitField0_ = (bitField0_ & ~0x00001000); antispamTicket_ = getDefaultInstance().getAntispamTicket(); onChanged(); return this; } /** * optional string AntispamTicket = 18; * @param value The bytes for antispamTicket to set. * @return This builder for chaining. */ public Builder setAntispamTicketBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; antispamTicket_ = value; onChanged(); return this; } private java.lang.Object ssid_ = ""; /** * optional string Ssid = 20; * @return Whether the ssid field is set. */ public boolean hasSsid() { return ((bitField0_ & 0x00002000) != 0); } /** * optional string Ssid = 20; * @return The ssid. */ public java.lang.String getSsid() { java.lang.Object ref = ssid_; 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()) { ssid_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string Ssid = 20; * @return The bytes for ssid. */ public com.google.protobuf.ByteString getSsidBytes() { java.lang.Object ref = ssid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ssid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string Ssid = 20; * @param value The ssid to set. * @return This builder for chaining. */ public Builder setSsid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; ssid_ = value; onChanged(); return this; } /** * optional string Ssid = 20; * @return This builder for chaining. */ public Builder clearSsid() { bitField0_ = (bitField0_ & ~0x00002000); ssid_ = getDefaultInstance().getSsid(); onChanged(); return this; } /** * optional string Ssid = 20; * @param value The bytes for ssid to set. * @return This builder for chaining. */ public Builder setSsidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; ssid_ = value; onChanged(); return this; } private java.lang.Object mID_ = ""; /** * optional string MID = 21; * @return Whether the mID field is set. */ public boolean hasMID() { return ((bitField0_ & 0x00004000) != 0); } /** * optional string MID = 21; * @return The mID. */ public java.lang.String getMID() { java.lang.Object ref = mID_; 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()) { mID_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string MID = 21; * @return The bytes for mID. */ public com.google.protobuf.ByteString getMIDBytes() { java.lang.Object ref = mID_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string MID = 21; * @param value The mID to set. * @return This builder for chaining. */ public Builder setMID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; mID_ = value; onChanged(); return this; } /** * optional string MID = 21; * @return This builder for chaining. */ public Builder clearMID() { bitField0_ = (bitField0_ & ~0x00004000); mID_ = getDefaultInstance().getMID(); onChanged(); return this; } /** * optional string MID = 21; * @param value The bytes for mID to set. * @return This builder for chaining. */ public Builder setMIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; mID_ = value; onChanged(); return this; } private wechat.protobuf.Friendgroup.DeepLinkBitSet deepLinkBitSet_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.DeepLinkBitSet, wechat.protobuf.Friendgroup.DeepLinkBitSet.Builder, wechat.protobuf.Friendgroup.DeepLinkBitSetOrBuilder> deepLinkBitSetBuilder_; /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; * @return Whether the deepLinkBitSet field is set. */ public boolean hasDeepLinkBitSet() { return ((bitField0_ & 0x00008000) != 0); } /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; * @return The deepLinkBitSet. */ public wechat.protobuf.Friendgroup.DeepLinkBitSet getDeepLinkBitSet() { if (deepLinkBitSetBuilder_ == null) { return deepLinkBitSet_ == null ? wechat.protobuf.Friendgroup.DeepLinkBitSet.getDefaultInstance() : deepLinkBitSet_; } else { return deepLinkBitSetBuilder_.getMessage(); } } /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; */ public Builder setDeepLinkBitSet(wechat.protobuf.Friendgroup.DeepLinkBitSet value) { if (deepLinkBitSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } deepLinkBitSet_ = value; onChanged(); } else { deepLinkBitSetBuilder_.setMessage(value); } bitField0_ |= 0x00008000; return this; } /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; */ public Builder setDeepLinkBitSet( wechat.protobuf.Friendgroup.DeepLinkBitSet.Builder builderForValue) { if (deepLinkBitSetBuilder_ == null) { deepLinkBitSet_ = builderForValue.build(); onChanged(); } else { deepLinkBitSetBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00008000; return this; } /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; */ public Builder mergeDeepLinkBitSet(wechat.protobuf.Friendgroup.DeepLinkBitSet value) { if (deepLinkBitSetBuilder_ == null) { if (((bitField0_ & 0x00008000) != 0) && deepLinkBitSet_ != null && deepLinkBitSet_ != wechat.protobuf.Friendgroup.DeepLinkBitSet.getDefaultInstance()) { deepLinkBitSet_ = wechat.protobuf.Friendgroup.DeepLinkBitSet.newBuilder(deepLinkBitSet_).mergeFrom(value).buildPartial(); } else { deepLinkBitSet_ = value; } onChanged(); } else { deepLinkBitSetBuilder_.mergeFrom(value); } bitField0_ |= 0x00008000; return this; } /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; */ public Builder clearDeepLinkBitSet() { if (deepLinkBitSetBuilder_ == null) { deepLinkBitSet_ = null; onChanged(); } else { deepLinkBitSetBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00008000); return this; } /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; */ public wechat.protobuf.Friendgroup.DeepLinkBitSet.Builder getDeepLinkBitSetBuilder() { bitField0_ |= 0x00008000; onChanged(); return getDeepLinkBitSetFieldBuilder().getBuilder(); } /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; */ public wechat.protobuf.Friendgroup.DeepLinkBitSetOrBuilder getDeepLinkBitSetOrBuilder() { if (deepLinkBitSetBuilder_ != null) { return deepLinkBitSetBuilder_.getMessageOrBuilder(); } else { return deepLinkBitSet_ == null ? wechat.protobuf.Friendgroup.DeepLinkBitSet.getDefaultInstance() : deepLinkBitSet_; } } /** * optional .wechat_proto.DeepLinkBitSet DeepLinkBitSet = 22; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.DeepLinkBitSet, wechat.protobuf.Friendgroup.DeepLinkBitSet.Builder, wechat.protobuf.Friendgroup.DeepLinkBitSetOrBuilder> getDeepLinkBitSetFieldBuilder() { if (deepLinkBitSetBuilder_ == null) { deepLinkBitSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Friendgroup.DeepLinkBitSet, wechat.protobuf.Friendgroup.DeepLinkBitSet.Builder, wechat.protobuf.Friendgroup.DeepLinkBitSetOrBuilder>( getDeepLinkBitSet(), getParentForChildren(), isClean()); deepLinkBitSet_ = null; } return deepLinkBitSetBuilder_; } private wechat.protobuf.SKBuiltinString_ jSAPIControlBytes_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> jSAPIControlBytesBuilder_; /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; * @return Whether the jSAPIControlBytes field is set. */ public boolean hasJSAPIControlBytes() { return ((bitField0_ & 0x00010000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; * @return The jSAPIControlBytes. */ public wechat.protobuf.SKBuiltinString_ getJSAPIControlBytes() { if (jSAPIControlBytesBuilder_ == null) { return jSAPIControlBytes_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : jSAPIControlBytes_; } else { return jSAPIControlBytesBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; */ public Builder setJSAPIControlBytes(wechat.protobuf.SKBuiltinString_ value) { if (jSAPIControlBytesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jSAPIControlBytes_ = value; onChanged(); } else { jSAPIControlBytesBuilder_.setMessage(value); } bitField0_ |= 0x00010000; return this; } /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; */ public Builder setJSAPIControlBytes( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (jSAPIControlBytesBuilder_ == null) { jSAPIControlBytes_ = builderForValue.build(); onChanged(); } else { jSAPIControlBytesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00010000; return this; } /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; */ public Builder mergeJSAPIControlBytes(wechat.protobuf.SKBuiltinString_ value) { if (jSAPIControlBytesBuilder_ == null) { if (((bitField0_ & 0x00010000) != 0) && jSAPIControlBytes_ != null && jSAPIControlBytes_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { jSAPIControlBytes_ = wechat.protobuf.SKBuiltinString_.newBuilder(jSAPIControlBytes_).mergeFrom(value).buildPartial(); } else { jSAPIControlBytes_ = value; } onChanged(); } else { jSAPIControlBytesBuilder_.mergeFrom(value); } bitField0_ |= 0x00010000; return this; } /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; */ public Builder clearJSAPIControlBytes() { if (jSAPIControlBytesBuilder_ == null) { jSAPIControlBytes_ = null; onChanged(); } else { jSAPIControlBytesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00010000); return this; } /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; */ public wechat.protobuf.SKBuiltinString_.Builder getJSAPIControlBytesBuilder() { bitField0_ |= 0x00010000; onChanged(); return getJSAPIControlBytesFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; */ public wechat.protobuf.SKBuiltinString_OrBuilder getJSAPIControlBytesOrBuilder() { if (jSAPIControlBytesBuilder_ != null) { return jSAPIControlBytesBuilder_.getMessageOrBuilder(); } else { return jSAPIControlBytes_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : jSAPIControlBytes_; } } /** * optional .wechat_proto.SKBuiltinString_ JSAPIControlBytes = 23; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getJSAPIControlBytesFieldBuilder() { if (jSAPIControlBytesBuilder_ == null) { jSAPIControlBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getJSAPIControlBytes(), getParentForChildren(), isClean()); jSAPIControlBytes_ = null; } return jSAPIControlBytesBuilder_; } private int httpHeaderCount_ ; /** * optional uint32 HttpHeaderCount = 24; * @return Whether the httpHeaderCount field is set. */ @java.lang.Override public boolean hasHttpHeaderCount() { return ((bitField0_ & 0x00020000) != 0); } /** * optional uint32 HttpHeaderCount = 24; * @return The httpHeaderCount. */ @java.lang.Override public int getHttpHeaderCount() { return httpHeaderCount_; } /** * optional uint32 HttpHeaderCount = 24; * @param value The httpHeaderCount to set. * @return This builder for chaining. */ public Builder setHttpHeaderCount(int value) { bitField0_ |= 0x00020000; httpHeaderCount_ = value; onChanged(); return this; } /** * optional uint32 HttpHeaderCount = 24; * @return This builder for chaining. */ public Builder clearHttpHeaderCount() { bitField0_ = (bitField0_ & ~0x00020000); httpHeaderCount_ = 0; onChanged(); return this; } private java.lang.Object httpHeader_ = ""; /** * optional string HttpHeader = 25; * @return Whether the httpHeader field is set. */ public boolean hasHttpHeader() { return ((bitField0_ & 0x00040000) != 0); } /** * optional string HttpHeader = 25; * @return The httpHeader. */ public java.lang.String getHttpHeader() { java.lang.Object ref = httpHeader_; 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()) { httpHeader_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string HttpHeader = 25; * @return The bytes for httpHeader. */ public com.google.protobuf.ByteString getHttpHeaderBytes() { java.lang.Object ref = httpHeader_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); httpHeader_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string HttpHeader = 25; * @param value The httpHeader to set. * @return This builder for chaining. */ public Builder setHttpHeader( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00040000; httpHeader_ = value; onChanged(); return this; } /** * optional string HttpHeader = 25; * @return This builder for chaining. */ public Builder clearHttpHeader() { bitField0_ = (bitField0_ & ~0x00040000); httpHeader_ = getDefaultInstance().getHttpHeader(); onChanged(); return this; } /** * optional string HttpHeader = 25; * @param value The bytes for httpHeader to set. * @return This builder for chaining. */ public Builder setHttpHeaderBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00040000; httpHeader_ = value; onChanged(); return this; } private java.lang.Object wording_ = ""; /** * optional string Wording = 26; * @return Whether the wording field is set. */ public boolean hasWording() { return ((bitField0_ & 0x00080000) != 0); } /** * optional string Wording = 26; * @return The wording. */ public java.lang.String getWording() { java.lang.Object ref = wording_; 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()) { wording_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string Wording = 26; * @return The bytes for wording. */ public com.google.protobuf.ByteString getWordingBytes() { java.lang.Object ref = wording_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); wording_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string Wording = 26; * @param value The wording to set. * @return This builder for chaining. */ public Builder setWording( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; wording_ = value; onChanged(); return this; } /** * optional string Wording = 26; * @return This builder for chaining. */ public Builder clearWording() { bitField0_ = (bitField0_ & ~0x00080000); wording_ = getDefaultInstance().getWording(); onChanged(); return this; } /** * optional string Wording = 26; * @param value The bytes for wording to set. * @return This builder for chaining. */ public Builder setWordingBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; wording_ = value; onChanged(); return this; } private java.lang.Object headimg_ = ""; /** * optional string Headimg = 27; * @return Whether the headimg field is set. */ public boolean hasHeadimg() { return ((bitField0_ & 0x00100000) != 0); } /** * optional string Headimg = 27; * @return The headimg. */ public java.lang.String getHeadimg() { java.lang.Object ref = headimg_; 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()) { headimg_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string Headimg = 27; * @return The bytes for headimg. */ public com.google.protobuf.ByteString getHeadimgBytes() { java.lang.Object ref = headimg_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); headimg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string Headimg = 27; * @param value The headimg to set. * @return This builder for chaining. */ public Builder setHeadimg( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00100000; headimg_ = value; onChanged(); return this; } /** * optional string Headimg = 27; * @return This builder for chaining. */ public Builder clearHeadimg() { bitField0_ = (bitField0_ & ~0x00100000); headimg_ = getDefaultInstance().getHeadimg(); onChanged(); return this; } /** * optional string Headimg = 27; * @param value The bytes for headimg to set. * @return This builder for chaining. */ public Builder setHeadimgBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00100000; headimg_ = value; onChanged(); return this; } private wechat.protobuf.SKBuiltinString_ cookie_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> cookieBuilder_; /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; * @return Whether the cookie field is set. */ public boolean hasCookie() { return ((bitField0_ & 0x00200000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; * @return The cookie. */ public wechat.protobuf.SKBuiltinString_ getCookie() { if (cookieBuilder_ == null) { return cookie_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : cookie_; } else { return cookieBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; */ public Builder setCookie(wechat.protobuf.SKBuiltinString_ value) { if (cookieBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cookie_ = value; onChanged(); } else { cookieBuilder_.setMessage(value); } bitField0_ |= 0x00200000; return this; } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; */ public Builder setCookie( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (cookieBuilder_ == null) { cookie_ = builderForValue.build(); onChanged(); } else { cookieBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00200000; return this; } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; */ public Builder mergeCookie(wechat.protobuf.SKBuiltinString_ value) { if (cookieBuilder_ == null) { if (((bitField0_ & 0x00200000) != 0) && cookie_ != null && cookie_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { cookie_ = wechat.protobuf.SKBuiltinString_.newBuilder(cookie_).mergeFrom(value).buildPartial(); } else { cookie_ = value; } onChanged(); } else { cookieBuilder_.mergeFrom(value); } bitField0_ |= 0x00200000; return this; } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; */ public Builder clearCookie() { if (cookieBuilder_ == null) { cookie_ = null; onChanged(); } else { cookieBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00200000); return this; } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; */ public wechat.protobuf.SKBuiltinString_.Builder getCookieBuilder() { bitField0_ |= 0x00200000; onChanged(); return getCookieFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; */ public wechat.protobuf.SKBuiltinString_OrBuilder getCookieOrBuilder() { if (cookieBuilder_ != null) { return cookieBuilder_.getMessageOrBuilder(); } else { return cookie_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : cookie_; } } /** * optional .wechat_proto.SKBuiltinString_ Cookie = 28; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getCookieFieldBuilder() { if (cookieBuilder_ == null) { cookieBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getCookie(), getParentForChildren(), isClean()); cookie_ = null; } return cookieBuilder_; } private java.lang.Object menuWording_ = ""; /** * optional string MenuWording = 29; * @return Whether the menuWording field is set. */ public boolean hasMenuWording() { return ((bitField0_ & 0x00400000) != 0); } /** * optional string MenuWording = 29; * @return The menuWording. */ public java.lang.String getMenuWording() { java.lang.Object ref = menuWording_; 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()) { menuWording_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string MenuWording = 29; * @return The bytes for menuWording. */ public com.google.protobuf.ByteString getMenuWordingBytes() { java.lang.Object ref = menuWording_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); menuWording_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string MenuWording = 29; * @param value The menuWording to set. * @return This builder for chaining. */ public Builder setMenuWording( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00400000; menuWording_ = value; onChanged(); return this; } /** * optional string MenuWording = 29; * @return This builder for chaining. */ public Builder clearMenuWording() { bitField0_ = (bitField0_ & ~0x00400000); menuWording_ = getDefaultInstance().getMenuWording(); onChanged(); return this; } /** * optional string MenuWording = 29; * @param value The bytes for menuWording to set. * @return This builder for chaining. */ public Builder setMenuWordingBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00400000; menuWording_ = 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.GetA8KeyResp) } // @@protoc_insertion_point(class_scope:wechat_proto.GetA8KeyResp) private static final wechat.protobuf.Friendgroup.GetA8KeyResp DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.GetA8KeyResp(); } public static wechat.protobuf.Friendgroup.GetA8KeyResp getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetA8KeyResp parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetA8KeyResp(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.Friendgroup.GetA8KeyResp getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface JSAPIPermissionBitSetOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.JSAPIPermissionBitSet) com.google.protobuf.MessageOrBuilder { /** * optional uint32 bitValue = 1; * @return Whether the bitValue field is set. */ boolean hasBitValue(); /** * optional uint32 bitValue = 1; * @return The bitValue. */ int getBitValue(); /** * optional uint32 bitValue2 = 2; * @return Whether the bitValue2 field is set. */ boolean hasBitValue2(); /** * optional uint32 bitValue2 = 2; * @return The bitValue2. */ int getBitValue2(); /** * optional uint32 bitValue3 = 3; * @return Whether the bitValue3 field is set. */ boolean hasBitValue3(); /** * optional uint32 bitValue3 = 3; * @return The bitValue3. */ int getBitValue3(); /** * optional uint32 bitValue4 = 4; * @return Whether the bitValue4 field is set. */ boolean hasBitValue4(); /** * optional uint32 bitValue4 = 4; * @return The bitValue4. */ int getBitValue4(); } /** * Protobuf type {@code wechat_proto.JSAPIPermissionBitSet} */ public static final class JSAPIPermissionBitSet extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.JSAPIPermissionBitSet) JSAPIPermissionBitSetOrBuilder { private static final long serialVersionUID = 0L; // Use JSAPIPermissionBitSet.newBuilder() to construct. private JSAPIPermissionBitSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JSAPIPermissionBitSet() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JSAPIPermissionBitSet(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JSAPIPermissionBitSet( 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; bitValue_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; bitValue2_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; bitValue3_ = input.readUInt32(); break; } case 32: { bitField0_ |= 0x00000008; bitValue4_ = 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.Friendgroup.internal_static_wechat_proto_JSAPIPermissionBitSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_JSAPIPermissionBitSet_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.class, wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.Builder.class); } private int bitField0_; public static final int BITVALUE_FIELD_NUMBER = 1; private int bitValue_; /** * optional uint32 bitValue = 1; * @return Whether the bitValue field is set. */ @java.lang.Override public boolean hasBitValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 bitValue = 1; * @return The bitValue. */ @java.lang.Override public int getBitValue() { return bitValue_; } public static final int BITVALUE2_FIELD_NUMBER = 2; private int bitValue2_; /** * optional uint32 bitValue2 = 2; * @return Whether the bitValue2 field is set. */ @java.lang.Override public boolean hasBitValue2() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 bitValue2 = 2; * @return The bitValue2. */ @java.lang.Override public int getBitValue2() { return bitValue2_; } public static final int BITVALUE3_FIELD_NUMBER = 3; private int bitValue3_; /** * optional uint32 bitValue3 = 3; * @return Whether the bitValue3 field is set. */ @java.lang.Override public boolean hasBitValue3() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 bitValue3 = 3; * @return The bitValue3. */ @java.lang.Override public int getBitValue3() { return bitValue3_; } public static final int BITVALUE4_FIELD_NUMBER = 4; private int bitValue4_; /** * optional uint32 bitValue4 = 4; * @return Whether the bitValue4 field is set. */ @java.lang.Override public boolean hasBitValue4() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 bitValue4 = 4; * @return The bitValue4. */ @java.lang.Override public int getBitValue4() { return bitValue4_; } 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, bitValue_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, bitValue2_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, bitValue3_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, bitValue4_); } 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, bitValue_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, bitValue2_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, bitValue3_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, bitValue4_); } 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.Friendgroup.JSAPIPermissionBitSet)) { return super.equals(obj); } wechat.protobuf.Friendgroup.JSAPIPermissionBitSet other = (wechat.protobuf.Friendgroup.JSAPIPermissionBitSet) obj; if (hasBitValue() != other.hasBitValue()) return false; if (hasBitValue()) { if (getBitValue() != other.getBitValue()) return false; } if (hasBitValue2() != other.hasBitValue2()) return false; if (hasBitValue2()) { if (getBitValue2() != other.getBitValue2()) return false; } if (hasBitValue3() != other.hasBitValue3()) return false; if (hasBitValue3()) { if (getBitValue3() != other.getBitValue3()) return false; } if (hasBitValue4() != other.hasBitValue4()) return false; if (hasBitValue4()) { if (getBitValue4() != other.getBitValue4()) 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 (hasBitValue()) { hash = (37 * hash) + BITVALUE_FIELD_NUMBER; hash = (53 * hash) + getBitValue(); } if (hasBitValue2()) { hash = (37 * hash) + BITVALUE2_FIELD_NUMBER; hash = (53 * hash) + getBitValue2(); } if (hasBitValue3()) { hash = (37 * hash) + BITVALUE3_FIELD_NUMBER; hash = (53 * hash) + getBitValue3(); } if (hasBitValue4()) { hash = (37 * hash) + BITVALUE4_FIELD_NUMBER; hash = (53 * hash) + getBitValue4(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.JSAPIPermissionBitSet parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.JSAPIPermissionBitSet parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.JSAPIPermissionBitSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.JSAPIPermissionBitSet 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.Friendgroup.JSAPIPermissionBitSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.JSAPIPermissionBitSet parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.JSAPIPermissionBitSet parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.JSAPIPermissionBitSet 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.Friendgroup.JSAPIPermissionBitSet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.JSAPIPermissionBitSet 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.Friendgroup.JSAPIPermissionBitSet parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.JSAPIPermissionBitSet 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.Friendgroup.JSAPIPermissionBitSet 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.JSAPIPermissionBitSet} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.JSAPIPermissionBitSet) wechat.protobuf.Friendgroup.JSAPIPermissionBitSetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_JSAPIPermissionBitSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_JSAPIPermissionBitSet_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.class, wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.Builder.class); } // Construct using wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.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(); bitValue_ = 0; bitField0_ = (bitField0_ & ~0x00000001); bitValue2_ = 0; bitField0_ = (bitField0_ & ~0x00000002); bitValue3_ = 0; bitField0_ = (bitField0_ & ~0x00000004); bitValue4_ = 0; bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_JSAPIPermissionBitSet_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.JSAPIPermissionBitSet getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.JSAPIPermissionBitSet build() { wechat.protobuf.Friendgroup.JSAPIPermissionBitSet result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.JSAPIPermissionBitSet buildPartial() { wechat.protobuf.Friendgroup.JSAPIPermissionBitSet result = new wechat.protobuf.Friendgroup.JSAPIPermissionBitSet(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.bitValue_ = bitValue_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.bitValue2_ = bitValue2_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.bitValue3_ = bitValue3_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.bitValue4_ = bitValue4_; 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.Friendgroup.JSAPIPermissionBitSet) { return mergeFrom((wechat.protobuf.Friendgroup.JSAPIPermissionBitSet)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.JSAPIPermissionBitSet other) { if (other == wechat.protobuf.Friendgroup.JSAPIPermissionBitSet.getDefaultInstance()) return this; if (other.hasBitValue()) { setBitValue(other.getBitValue()); } if (other.hasBitValue2()) { setBitValue2(other.getBitValue2()); } if (other.hasBitValue3()) { setBitValue3(other.getBitValue3()); } if (other.hasBitValue4()) { setBitValue4(other.getBitValue4()); } 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.Friendgroup.JSAPIPermissionBitSet parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.JSAPIPermissionBitSet) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int bitValue_ ; /** * optional uint32 bitValue = 1; * @return Whether the bitValue field is set. */ @java.lang.Override public boolean hasBitValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 bitValue = 1; * @return The bitValue. */ @java.lang.Override public int getBitValue() { return bitValue_; } /** * optional uint32 bitValue = 1; * @param value The bitValue to set. * @return This builder for chaining. */ public Builder setBitValue(int value) { bitField0_ |= 0x00000001; bitValue_ = value; onChanged(); return this; } /** * optional uint32 bitValue = 1; * @return This builder for chaining. */ public Builder clearBitValue() { bitField0_ = (bitField0_ & ~0x00000001); bitValue_ = 0; onChanged(); return this; } private int bitValue2_ ; /** * optional uint32 bitValue2 = 2; * @return Whether the bitValue2 field is set. */ @java.lang.Override public boolean hasBitValue2() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 bitValue2 = 2; * @return The bitValue2. */ @java.lang.Override public int getBitValue2() { return bitValue2_; } /** * optional uint32 bitValue2 = 2; * @param value The bitValue2 to set. * @return This builder for chaining. */ public Builder setBitValue2(int value) { bitField0_ |= 0x00000002; bitValue2_ = value; onChanged(); return this; } /** * optional uint32 bitValue2 = 2; * @return This builder for chaining. */ public Builder clearBitValue2() { bitField0_ = (bitField0_ & ~0x00000002); bitValue2_ = 0; onChanged(); return this; } private int bitValue3_ ; /** * optional uint32 bitValue3 = 3; * @return Whether the bitValue3 field is set. */ @java.lang.Override public boolean hasBitValue3() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 bitValue3 = 3; * @return The bitValue3. */ @java.lang.Override public int getBitValue3() { return bitValue3_; } /** * optional uint32 bitValue3 = 3; * @param value The bitValue3 to set. * @return This builder for chaining. */ public Builder setBitValue3(int value) { bitField0_ |= 0x00000004; bitValue3_ = value; onChanged(); return this; } /** * optional uint32 bitValue3 = 3; * @return This builder for chaining. */ public Builder clearBitValue3() { bitField0_ = (bitField0_ & ~0x00000004); bitValue3_ = 0; onChanged(); return this; } private int bitValue4_ ; /** * optional uint32 bitValue4 = 4; * @return Whether the bitValue4 field is set. */ @java.lang.Override public boolean hasBitValue4() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 bitValue4 = 4; * @return The bitValue4. */ @java.lang.Override public int getBitValue4() { return bitValue4_; } /** * optional uint32 bitValue4 = 4; * @param value The bitValue4 to set. * @return This builder for chaining. */ public Builder setBitValue4(int value) { bitField0_ |= 0x00000008; bitValue4_ = value; onChanged(); return this; } /** * optional uint32 bitValue4 = 4; * @return This builder for chaining. */ public Builder clearBitValue4() { bitField0_ = (bitField0_ & ~0x00000008); bitValue4_ = 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.JSAPIPermissionBitSet) } // @@protoc_insertion_point(class_scope:wechat_proto.JSAPIPermissionBitSet) private static final wechat.protobuf.Friendgroup.JSAPIPermissionBitSet DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.JSAPIPermissionBitSet(); } public static wechat.protobuf.Friendgroup.JSAPIPermissionBitSet getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JSAPIPermissionBitSet parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JSAPIPermissionBitSet(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.Friendgroup.JSAPIPermissionBitSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GeneralControlBitSetOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.GeneralControlBitSet) com.google.protobuf.MessageOrBuilder { /** * optional uint32 bitValue = 1; * @return Whether the bitValue field is set. */ boolean hasBitValue(); /** * optional uint32 bitValue = 1; * @return The bitValue. */ int getBitValue(); } /** * Protobuf type {@code wechat_proto.GeneralControlBitSet} */ public static final class GeneralControlBitSet extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.GeneralControlBitSet) GeneralControlBitSetOrBuilder { private static final long serialVersionUID = 0L; // Use GeneralControlBitSet.newBuilder() to construct. private GeneralControlBitSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GeneralControlBitSet() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GeneralControlBitSet(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GeneralControlBitSet( 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; bitValue_ = 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.Friendgroup.internal_static_wechat_proto_GeneralControlBitSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_GeneralControlBitSet_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.GeneralControlBitSet.class, wechat.protobuf.Friendgroup.GeneralControlBitSet.Builder.class); } private int bitField0_; public static final int BITVALUE_FIELD_NUMBER = 1; private int bitValue_; /** * optional uint32 bitValue = 1; * @return Whether the bitValue field is set. */ @java.lang.Override public boolean hasBitValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 bitValue = 1; * @return The bitValue. */ @java.lang.Override public int getBitValue() { return bitValue_; } 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, bitValue_); } 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, bitValue_); } 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.Friendgroup.GeneralControlBitSet)) { return super.equals(obj); } wechat.protobuf.Friendgroup.GeneralControlBitSet other = (wechat.protobuf.Friendgroup.GeneralControlBitSet) obj; if (hasBitValue() != other.hasBitValue()) return false; if (hasBitValue()) { if (getBitValue() != other.getBitValue()) 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 (hasBitValue()) { hash = (37 * hash) + BITVALUE_FIELD_NUMBER; hash = (53 * hash) + getBitValue(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.GeneralControlBitSet parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.GeneralControlBitSet parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.GeneralControlBitSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.GeneralControlBitSet 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.Friendgroup.GeneralControlBitSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.GeneralControlBitSet parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.GeneralControlBitSet parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.GeneralControlBitSet 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.Friendgroup.GeneralControlBitSet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.GeneralControlBitSet 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.Friendgroup.GeneralControlBitSet parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.GeneralControlBitSet 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.Friendgroup.GeneralControlBitSet 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.GeneralControlBitSet} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.GeneralControlBitSet) wechat.protobuf.Friendgroup.GeneralControlBitSetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_GeneralControlBitSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_GeneralControlBitSet_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.GeneralControlBitSet.class, wechat.protobuf.Friendgroup.GeneralControlBitSet.Builder.class); } // Construct using wechat.protobuf.Friendgroup.GeneralControlBitSet.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(); bitValue_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_GeneralControlBitSet_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.GeneralControlBitSet getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.GeneralControlBitSet.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.GeneralControlBitSet build() { wechat.protobuf.Friendgroup.GeneralControlBitSet result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.GeneralControlBitSet buildPartial() { wechat.protobuf.Friendgroup.GeneralControlBitSet result = new wechat.protobuf.Friendgroup.GeneralControlBitSet(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.bitValue_ = bitValue_; 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.Friendgroup.GeneralControlBitSet) { return mergeFrom((wechat.protobuf.Friendgroup.GeneralControlBitSet)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.GeneralControlBitSet other) { if (other == wechat.protobuf.Friendgroup.GeneralControlBitSet.getDefaultInstance()) return this; if (other.hasBitValue()) { setBitValue(other.getBitValue()); } 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.Friendgroup.GeneralControlBitSet parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.GeneralControlBitSet) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int bitValue_ ; /** * optional uint32 bitValue = 1; * @return Whether the bitValue field is set. */ @java.lang.Override public boolean hasBitValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 bitValue = 1; * @return The bitValue. */ @java.lang.Override public int getBitValue() { return bitValue_; } /** * optional uint32 bitValue = 1; * @param value The bitValue to set. * @return This builder for chaining. */ public Builder setBitValue(int value) { bitField0_ |= 0x00000001; bitValue_ = value; onChanged(); return this; } /** * optional uint32 bitValue = 1; * @return This builder for chaining. */ public Builder clearBitValue() { bitField0_ = (bitField0_ & ~0x00000001); bitValue_ = 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.GeneralControlBitSet) } // @@protoc_insertion_point(class_scope:wechat_proto.GeneralControlBitSet) private static final wechat.protobuf.Friendgroup.GeneralControlBitSet DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.GeneralControlBitSet(); } public static wechat.protobuf.Friendgroup.GeneralControlBitSet getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GeneralControlBitSet parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GeneralControlBitSet(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.Friendgroup.GeneralControlBitSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BizScopeInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.BizScopeInfo) com.google.protobuf.MessageOrBuilder { /** * optional string scope = 1; * @return Whether the scope field is set. */ boolean hasScope(); /** * optional string scope = 1; * @return The scope. */ java.lang.String getScope(); /** * optional string scope = 1; * @return The bytes for scope. */ com.google.protobuf.ByteString getScopeBytes(); /** * optional uint32 scopeStatus = 2; * @return Whether the scopeStatus field is set. */ boolean hasScopeStatus(); /** * optional uint32 scopeStatus = 2; * @return The scopeStatus. */ int getScopeStatus(); /** * optional string scopeDesc = 3; * @return Whether the scopeDesc field is set. */ boolean hasScopeDesc(); /** * optional string scopeDesc = 3; * @return The scopeDesc. */ java.lang.String getScopeDesc(); /** * optional string scopeDesc = 3; * @return The bytes for scopeDesc. */ com.google.protobuf.ByteString getScopeDescBytes(); /** * optional uint32 apiCount = 4; * @return Whether the apiCount field is set. */ boolean hasApiCount(); /** * optional uint32 apiCount = 4; * @return The apiCount. */ int getApiCount(); /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ java.util.List getApiListList(); /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ wechat.protobuf.Friendgroup.BizApiInfo getApiList(int index); /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ int getApiListCount(); /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ java.util.List getApiListOrBuilderList(); /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ wechat.protobuf.Friendgroup.BizApiInfoOrBuilder getApiListOrBuilder( int index); } /** * Protobuf type {@code wechat_proto.BizScopeInfo} */ public static final class BizScopeInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.BizScopeInfo) BizScopeInfoOrBuilder { private static final long serialVersionUID = 0L; // Use BizScopeInfo.newBuilder() to construct. private BizScopeInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BizScopeInfo() { scope_ = ""; scopeDesc_ = ""; apiList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BizScopeInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BizScopeInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; scope_ = bs; break; } case 16: { bitField0_ |= 0x00000002; scopeStatus_ = input.readUInt32(); break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; scopeDesc_ = bs; break; } case 32: { bitField0_ |= 0x00000008; apiCount_ = input.readUInt32(); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { apiList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } apiList_.add( input.readMessage(wechat.protobuf.Friendgroup.BizApiInfo.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_ & 0x00000010) != 0)) { apiList_ = java.util.Collections.unmodifiableList(apiList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_BizScopeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_BizScopeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.BizScopeInfo.class, wechat.protobuf.Friendgroup.BizScopeInfo.Builder.class); } private int bitField0_; public static final int SCOPE_FIELD_NUMBER = 1; private volatile java.lang.Object scope_; /** * optional string scope = 1; * @return Whether the scope field is set. */ @java.lang.Override public boolean hasScope() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string scope = 1; * @return The scope. */ @java.lang.Override public java.lang.String getScope() { java.lang.Object ref = scope_; 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()) { scope_ = s; } return s; } } /** * optional string scope = 1; * @return The bytes for scope. */ @java.lang.Override public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); scope_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCOPESTATUS_FIELD_NUMBER = 2; private int scopeStatus_; /** * optional uint32 scopeStatus = 2; * @return Whether the scopeStatus field is set. */ @java.lang.Override public boolean hasScopeStatus() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 scopeStatus = 2; * @return The scopeStatus. */ @java.lang.Override public int getScopeStatus() { return scopeStatus_; } public static final int SCOPEDESC_FIELD_NUMBER = 3; private volatile java.lang.Object scopeDesc_; /** * optional string scopeDesc = 3; * @return Whether the scopeDesc field is set. */ @java.lang.Override public boolean hasScopeDesc() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string scopeDesc = 3; * @return The scopeDesc. */ @java.lang.Override public java.lang.String getScopeDesc() { java.lang.Object ref = scopeDesc_; 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()) { scopeDesc_ = s; } return s; } } /** * optional string scopeDesc = 3; * @return The bytes for scopeDesc. */ @java.lang.Override public com.google.protobuf.ByteString getScopeDescBytes() { java.lang.Object ref = scopeDesc_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); scopeDesc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int APICOUNT_FIELD_NUMBER = 4; private int apiCount_; /** * optional uint32 apiCount = 4; * @return Whether the apiCount field is set. */ @java.lang.Override public boolean hasApiCount() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 apiCount = 4; * @return The apiCount. */ @java.lang.Override public int getApiCount() { return apiCount_; } public static final int APILIST_FIELD_NUMBER = 5; private java.util.List apiList_; /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ @java.lang.Override public java.util.List getApiListList() { return apiList_; } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ @java.lang.Override public java.util.List getApiListOrBuilderList() { return apiList_; } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ @java.lang.Override public int getApiListCount() { return apiList_.size(); } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ @java.lang.Override public wechat.protobuf.Friendgroup.BizApiInfo getApiList(int index) { return apiList_.get(index); } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ @java.lang.Override public wechat.protobuf.Friendgroup.BizApiInfoOrBuilder getApiListOrBuilder( int index) { return apiList_.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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, scopeStatus_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, scopeDesc_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, apiCount_); } for (int i = 0; i < apiList_.size(); i++) { output.writeMessage(5, apiList_.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.GeneratedMessageV3.computeStringSize(1, scope_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, scopeStatus_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, scopeDesc_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, apiCount_); } for (int i = 0; i < apiList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, apiList_.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.Friendgroup.BizScopeInfo)) { return super.equals(obj); } wechat.protobuf.Friendgroup.BizScopeInfo other = (wechat.protobuf.Friendgroup.BizScopeInfo) obj; if (hasScope() != other.hasScope()) return false; if (hasScope()) { if (!getScope() .equals(other.getScope())) return false; } if (hasScopeStatus() != other.hasScopeStatus()) return false; if (hasScopeStatus()) { if (getScopeStatus() != other.getScopeStatus()) return false; } if (hasScopeDesc() != other.hasScopeDesc()) return false; if (hasScopeDesc()) { if (!getScopeDesc() .equals(other.getScopeDesc())) return false; } if (hasApiCount() != other.hasApiCount()) return false; if (hasApiCount()) { if (getApiCount() != other.getApiCount()) return false; } if (!getApiListList() .equals(other.getApiListList())) 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 (hasScope()) { hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + getScope().hashCode(); } if (hasScopeStatus()) { hash = (37 * hash) + SCOPESTATUS_FIELD_NUMBER; hash = (53 * hash) + getScopeStatus(); } if (hasScopeDesc()) { hash = (37 * hash) + SCOPEDESC_FIELD_NUMBER; hash = (53 * hash) + getScopeDesc().hashCode(); } if (hasApiCount()) { hash = (37 * hash) + APICOUNT_FIELD_NUMBER; hash = (53 * hash) + getApiCount(); } if (getApiListCount() > 0) { hash = (37 * hash) + APILIST_FIELD_NUMBER; hash = (53 * hash) + getApiListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.BizScopeInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.BizScopeInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.BizScopeInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.BizScopeInfo 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.Friendgroup.BizScopeInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.BizScopeInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.BizScopeInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.BizScopeInfo 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.Friendgroup.BizScopeInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.BizScopeInfo 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.Friendgroup.BizScopeInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.BizScopeInfo 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.Friendgroup.BizScopeInfo 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.BizScopeInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.BizScopeInfo) wechat.protobuf.Friendgroup.BizScopeInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_BizScopeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_BizScopeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.BizScopeInfo.class, wechat.protobuf.Friendgroup.BizScopeInfo.Builder.class); } // Construct using wechat.protobuf.Friendgroup.BizScopeInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getApiListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); scope_ = ""; bitField0_ = (bitField0_ & ~0x00000001); scopeStatus_ = 0; bitField0_ = (bitField0_ & ~0x00000002); scopeDesc_ = ""; bitField0_ = (bitField0_ & ~0x00000004); apiCount_ = 0; bitField0_ = (bitField0_ & ~0x00000008); if (apiListBuilder_ == null) { apiList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { apiListBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_BizScopeInfo_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.BizScopeInfo getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.BizScopeInfo.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.BizScopeInfo build() { wechat.protobuf.Friendgroup.BizScopeInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.BizScopeInfo buildPartial() { wechat.protobuf.Friendgroup.BizScopeInfo result = new wechat.protobuf.Friendgroup.BizScopeInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.scope_ = scope_; if (((from_bitField0_ & 0x00000002) != 0)) { result.scopeStatus_ = scopeStatus_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.scopeDesc_ = scopeDesc_; if (((from_bitField0_ & 0x00000008) != 0)) { result.apiCount_ = apiCount_; to_bitField0_ |= 0x00000008; } if (apiListBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { apiList_ = java.util.Collections.unmodifiableList(apiList_); bitField0_ = (bitField0_ & ~0x00000010); } result.apiList_ = apiList_; } else { result.apiList_ = apiListBuilder_.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.Friendgroup.BizScopeInfo) { return mergeFrom((wechat.protobuf.Friendgroup.BizScopeInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.BizScopeInfo other) { if (other == wechat.protobuf.Friendgroup.BizScopeInfo.getDefaultInstance()) return this; if (other.hasScope()) { bitField0_ |= 0x00000001; scope_ = other.scope_; onChanged(); } if (other.hasScopeStatus()) { setScopeStatus(other.getScopeStatus()); } if (other.hasScopeDesc()) { bitField0_ |= 0x00000004; scopeDesc_ = other.scopeDesc_; onChanged(); } if (other.hasApiCount()) { setApiCount(other.getApiCount()); } if (apiListBuilder_ == null) { if (!other.apiList_.isEmpty()) { if (apiList_.isEmpty()) { apiList_ = other.apiList_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureApiListIsMutable(); apiList_.addAll(other.apiList_); } onChanged(); } } else { if (!other.apiList_.isEmpty()) { if (apiListBuilder_.isEmpty()) { apiListBuilder_.dispose(); apiListBuilder_ = null; apiList_ = other.apiList_; bitField0_ = (bitField0_ & ~0x00000010); apiListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getApiListFieldBuilder() : null; } else { apiListBuilder_.addAllMessages(other.apiList_); } } } 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.Friendgroup.BizScopeInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.BizScopeInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object scope_ = ""; /** * optional string scope = 1; * @return Whether the scope field is set. */ public boolean hasScope() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string scope = 1; * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; 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()) { scope_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string scope = 1; * @return The bytes for scope. */ public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); scope_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string scope = 1; * @param value The scope to set. * @return This builder for chaining. */ public Builder setScope( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; scope_ = value; onChanged(); return this; } /** * optional string scope = 1; * @return This builder for chaining. */ public Builder clearScope() { bitField0_ = (bitField0_ & ~0x00000001); scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** * optional string scope = 1; * @param value The bytes for scope to set. * @return This builder for chaining. */ public Builder setScopeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; scope_ = value; onChanged(); return this; } private int scopeStatus_ ; /** * optional uint32 scopeStatus = 2; * @return Whether the scopeStatus field is set. */ @java.lang.Override public boolean hasScopeStatus() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 scopeStatus = 2; * @return The scopeStatus. */ @java.lang.Override public int getScopeStatus() { return scopeStatus_; } /** * optional uint32 scopeStatus = 2; * @param value The scopeStatus to set. * @return This builder for chaining. */ public Builder setScopeStatus(int value) { bitField0_ |= 0x00000002; scopeStatus_ = value; onChanged(); return this; } /** * optional uint32 scopeStatus = 2; * @return This builder for chaining. */ public Builder clearScopeStatus() { bitField0_ = (bitField0_ & ~0x00000002); scopeStatus_ = 0; onChanged(); return this; } private java.lang.Object scopeDesc_ = ""; /** * optional string scopeDesc = 3; * @return Whether the scopeDesc field is set. */ public boolean hasScopeDesc() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string scopeDesc = 3; * @return The scopeDesc. */ public java.lang.String getScopeDesc() { java.lang.Object ref = scopeDesc_; 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()) { scopeDesc_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string scopeDesc = 3; * @return The bytes for scopeDesc. */ public com.google.protobuf.ByteString getScopeDescBytes() { java.lang.Object ref = scopeDesc_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); scopeDesc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string scopeDesc = 3; * @param value The scopeDesc to set. * @return This builder for chaining. */ public Builder setScopeDesc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; scopeDesc_ = value; onChanged(); return this; } /** * optional string scopeDesc = 3; * @return This builder for chaining. */ public Builder clearScopeDesc() { bitField0_ = (bitField0_ & ~0x00000004); scopeDesc_ = getDefaultInstance().getScopeDesc(); onChanged(); return this; } /** * optional string scopeDesc = 3; * @param value The bytes for scopeDesc to set. * @return This builder for chaining. */ public Builder setScopeDescBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; scopeDesc_ = value; onChanged(); return this; } private int apiCount_ ; /** * optional uint32 apiCount = 4; * @return Whether the apiCount field is set. */ @java.lang.Override public boolean hasApiCount() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 apiCount = 4; * @return The apiCount. */ @java.lang.Override public int getApiCount() { return apiCount_; } /** * optional uint32 apiCount = 4; * @param value The apiCount to set. * @return This builder for chaining. */ public Builder setApiCount(int value) { bitField0_ |= 0x00000008; apiCount_ = value; onChanged(); return this; } /** * optional uint32 apiCount = 4; * @return This builder for chaining. */ public Builder clearApiCount() { bitField0_ = (bitField0_ & ~0x00000008); apiCount_ = 0; onChanged(); return this; } private java.util.List apiList_ = java.util.Collections.emptyList(); private void ensureApiListIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { apiList_ = new java.util.ArrayList(apiList_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.BizApiInfo, wechat.protobuf.Friendgroup.BizApiInfo.Builder, wechat.protobuf.Friendgroup.BizApiInfoOrBuilder> apiListBuilder_; /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public java.util.List getApiListList() { if (apiListBuilder_ == null) { return java.util.Collections.unmodifiableList(apiList_); } else { return apiListBuilder_.getMessageList(); } } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public int getApiListCount() { if (apiListBuilder_ == null) { return apiList_.size(); } else { return apiListBuilder_.getCount(); } } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public wechat.protobuf.Friendgroup.BizApiInfo getApiList(int index) { if (apiListBuilder_ == null) { return apiList_.get(index); } else { return apiListBuilder_.getMessage(index); } } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public Builder setApiList( int index, wechat.protobuf.Friendgroup.BizApiInfo value) { if (apiListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureApiListIsMutable(); apiList_.set(index, value); onChanged(); } else { apiListBuilder_.setMessage(index, value); } return this; } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public Builder setApiList( int index, wechat.protobuf.Friendgroup.BizApiInfo.Builder builderForValue) { if (apiListBuilder_ == null) { ensureApiListIsMutable(); apiList_.set(index, builderForValue.build()); onChanged(); } else { apiListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public Builder addApiList(wechat.protobuf.Friendgroup.BizApiInfo value) { if (apiListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureApiListIsMutable(); apiList_.add(value); onChanged(); } else { apiListBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public Builder addApiList( int index, wechat.protobuf.Friendgroup.BizApiInfo value) { if (apiListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureApiListIsMutable(); apiList_.add(index, value); onChanged(); } else { apiListBuilder_.addMessage(index, value); } return this; } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public Builder addApiList( wechat.protobuf.Friendgroup.BizApiInfo.Builder builderForValue) { if (apiListBuilder_ == null) { ensureApiListIsMutable(); apiList_.add(builderForValue.build()); onChanged(); } else { apiListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public Builder addApiList( int index, wechat.protobuf.Friendgroup.BizApiInfo.Builder builderForValue) { if (apiListBuilder_ == null) { ensureApiListIsMutable(); apiList_.add(index, builderForValue.build()); onChanged(); } else { apiListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public Builder addAllApiList( java.lang.Iterable values) { if (apiListBuilder_ == null) { ensureApiListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, apiList_); onChanged(); } else { apiListBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public Builder clearApiList() { if (apiListBuilder_ == null) { apiList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { apiListBuilder_.clear(); } return this; } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public Builder removeApiList(int index) { if (apiListBuilder_ == null) { ensureApiListIsMutable(); apiList_.remove(index); onChanged(); } else { apiListBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public wechat.protobuf.Friendgroup.BizApiInfo.Builder getApiListBuilder( int index) { return getApiListFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public wechat.protobuf.Friendgroup.BizApiInfoOrBuilder getApiListOrBuilder( int index) { if (apiListBuilder_ == null) { return apiList_.get(index); } else { return apiListBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public java.util.List getApiListOrBuilderList() { if (apiListBuilder_ != null) { return apiListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(apiList_); } } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public wechat.protobuf.Friendgroup.BizApiInfo.Builder addApiListBuilder() { return getApiListFieldBuilder().addBuilder( wechat.protobuf.Friendgroup.BizApiInfo.getDefaultInstance()); } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public wechat.protobuf.Friendgroup.BizApiInfo.Builder addApiListBuilder( int index) { return getApiListFieldBuilder().addBuilder( index, wechat.protobuf.Friendgroup.BizApiInfo.getDefaultInstance()); } /** * repeated .wechat_proto.BizApiInfo apiList = 5; */ public java.util.List getApiListBuilderList() { return getApiListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.BizApiInfo, wechat.protobuf.Friendgroup.BizApiInfo.Builder, wechat.protobuf.Friendgroup.BizApiInfoOrBuilder> getApiListFieldBuilder() { if (apiListBuilder_ == null) { apiListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.Friendgroup.BizApiInfo, wechat.protobuf.Friendgroup.BizApiInfo.Builder, wechat.protobuf.Friendgroup.BizApiInfoOrBuilder>( apiList_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); apiList_ = null; } return apiListBuilder_; } @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.BizScopeInfo) } // @@protoc_insertion_point(class_scope:wechat_proto.BizScopeInfo) private static final wechat.protobuf.Friendgroup.BizScopeInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.BizScopeInfo(); } public static wechat.protobuf.Friendgroup.BizScopeInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BizScopeInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BizScopeInfo(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.Friendgroup.BizScopeInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BizApiInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.BizApiInfo) com.google.protobuf.MessageOrBuilder { /** * optional string apiName = 1; * @return Whether the apiName field is set. */ boolean hasApiName(); /** * optional string apiName = 1; * @return The apiName. */ java.lang.String getApiName(); /** * optional string apiName = 1; * @return The bytes for apiName. */ com.google.protobuf.ByteString getApiNameBytes(); } /** * Protobuf type {@code wechat_proto.BizApiInfo} */ public static final class BizApiInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.BizApiInfo) BizApiInfoOrBuilder { private static final long serialVersionUID = 0L; // Use BizApiInfo.newBuilder() to construct. private BizApiInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BizApiInfo() { apiName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BizApiInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BizApiInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; apiName_ = 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.Friendgroup.internal_static_wechat_proto_BizApiInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_BizApiInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.BizApiInfo.class, wechat.protobuf.Friendgroup.BizApiInfo.Builder.class); } private int bitField0_; public static final int APINAME_FIELD_NUMBER = 1; private volatile java.lang.Object apiName_; /** * optional string apiName = 1; * @return Whether the apiName field is set. */ @java.lang.Override public boolean hasApiName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string apiName = 1; * @return The apiName. */ @java.lang.Override public java.lang.String getApiName() { java.lang.Object ref = apiName_; 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()) { apiName_ = s; } return s; } } /** * optional string apiName = 1; * @return The bytes for apiName. */ @java.lang.Override public com.google.protobuf.ByteString getApiNameBytes() { java.lang.Object ref = apiName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); apiName_ = 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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, apiName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, apiName_); } 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.Friendgroup.BizApiInfo)) { return super.equals(obj); } wechat.protobuf.Friendgroup.BizApiInfo other = (wechat.protobuf.Friendgroup.BizApiInfo) obj; if (hasApiName() != other.hasApiName()) return false; if (hasApiName()) { if (!getApiName() .equals(other.getApiName())) 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 (hasApiName()) { hash = (37 * hash) + APINAME_FIELD_NUMBER; hash = (53 * hash) + getApiName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.BizApiInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.BizApiInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.BizApiInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.BizApiInfo 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.Friendgroup.BizApiInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.BizApiInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.BizApiInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.BizApiInfo 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.Friendgroup.BizApiInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.BizApiInfo 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.Friendgroup.BizApiInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.BizApiInfo 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.Friendgroup.BizApiInfo 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.BizApiInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.BizApiInfo) wechat.protobuf.Friendgroup.BizApiInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_BizApiInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_BizApiInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.BizApiInfo.class, wechat.protobuf.Friendgroup.BizApiInfo.Builder.class); } // Construct using wechat.protobuf.Friendgroup.BizApiInfo.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(); apiName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_BizApiInfo_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.BizApiInfo getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.BizApiInfo.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.BizApiInfo build() { wechat.protobuf.Friendgroup.BizApiInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.BizApiInfo buildPartial() { wechat.protobuf.Friendgroup.BizApiInfo result = new wechat.protobuf.Friendgroup.BizApiInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.apiName_ = apiName_; 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.Friendgroup.BizApiInfo) { return mergeFrom((wechat.protobuf.Friendgroup.BizApiInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.BizApiInfo other) { if (other == wechat.protobuf.Friendgroup.BizApiInfo.getDefaultInstance()) return this; if (other.hasApiName()) { bitField0_ |= 0x00000001; apiName_ = other.apiName_; 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.Friendgroup.BizApiInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.BizApiInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object apiName_ = ""; /** * optional string apiName = 1; * @return Whether the apiName field is set. */ public boolean hasApiName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string apiName = 1; * @return The apiName. */ public java.lang.String getApiName() { java.lang.Object ref = apiName_; 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()) { apiName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string apiName = 1; * @return The bytes for apiName. */ public com.google.protobuf.ByteString getApiNameBytes() { java.lang.Object ref = apiName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); apiName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string apiName = 1; * @param value The apiName to set. * @return This builder for chaining. */ public Builder setApiName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; apiName_ = value; onChanged(); return this; } /** * optional string apiName = 1; * @return This builder for chaining. */ public Builder clearApiName() { bitField0_ = (bitField0_ & ~0x00000001); apiName_ = getDefaultInstance().getApiName(); onChanged(); return this; } /** * optional string apiName = 1; * @param value The bytes for apiName to set. * @return This builder for chaining. */ public Builder setApiNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; apiName_ = 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.BizApiInfo) } // @@protoc_insertion_point(class_scope:wechat_proto.BizApiInfo) private static final wechat.protobuf.Friendgroup.BizApiInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.BizApiInfo(); } public static wechat.protobuf.Friendgroup.BizApiInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BizApiInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BizApiInfo(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.Friendgroup.BizApiInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeepLinkBitSetOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.DeepLinkBitSet) com.google.protobuf.MessageOrBuilder { /** * optional uint64 bitValue = 1; * @return Whether the bitValue field is set. */ boolean hasBitValue(); /** * optional uint64 bitValue = 1; * @return The bitValue. */ long getBitValue(); } /** * Protobuf type {@code wechat_proto.DeepLinkBitSet} */ public static final class DeepLinkBitSet extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.DeepLinkBitSet) DeepLinkBitSetOrBuilder { private static final long serialVersionUID = 0L; // Use DeepLinkBitSet.newBuilder() to construct. private DeepLinkBitSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeepLinkBitSet() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeepLinkBitSet(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeepLinkBitSet( 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; bitValue_ = 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.Friendgroup.internal_static_wechat_proto_DeepLinkBitSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_DeepLinkBitSet_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.DeepLinkBitSet.class, wechat.protobuf.Friendgroup.DeepLinkBitSet.Builder.class); } private int bitField0_; public static final int BITVALUE_FIELD_NUMBER = 1; private long bitValue_; /** * optional uint64 bitValue = 1; * @return Whether the bitValue field is set. */ @java.lang.Override public boolean hasBitValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint64 bitValue = 1; * @return The bitValue. */ @java.lang.Override public long getBitValue() { return bitValue_; } 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.writeUInt64(1, bitValue_); } 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 .computeUInt64Size(1, bitValue_); } 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.Friendgroup.DeepLinkBitSet)) { return super.equals(obj); } wechat.protobuf.Friendgroup.DeepLinkBitSet other = (wechat.protobuf.Friendgroup.DeepLinkBitSet) obj; if (hasBitValue() != other.hasBitValue()) return false; if (hasBitValue()) { if (getBitValue() != other.getBitValue()) 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 (hasBitValue()) { hash = (37 * hash) + BITVALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBitValue()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Friendgroup.DeepLinkBitSet parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.DeepLinkBitSet parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.DeepLinkBitSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.DeepLinkBitSet 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.Friendgroup.DeepLinkBitSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Friendgroup.DeepLinkBitSet parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Friendgroup.DeepLinkBitSet parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.DeepLinkBitSet 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.Friendgroup.DeepLinkBitSet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.DeepLinkBitSet 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.Friendgroup.DeepLinkBitSet parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Friendgroup.DeepLinkBitSet 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.Friendgroup.DeepLinkBitSet 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.DeepLinkBitSet} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.DeepLinkBitSet) wechat.protobuf.Friendgroup.DeepLinkBitSetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_DeepLinkBitSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_DeepLinkBitSet_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Friendgroup.DeepLinkBitSet.class, wechat.protobuf.Friendgroup.DeepLinkBitSet.Builder.class); } // Construct using wechat.protobuf.Friendgroup.DeepLinkBitSet.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(); bitValue_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Friendgroup.internal_static_wechat_proto_DeepLinkBitSet_descriptor; } @java.lang.Override public wechat.protobuf.Friendgroup.DeepLinkBitSet getDefaultInstanceForType() { return wechat.protobuf.Friendgroup.DeepLinkBitSet.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Friendgroup.DeepLinkBitSet build() { wechat.protobuf.Friendgroup.DeepLinkBitSet result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Friendgroup.DeepLinkBitSet buildPartial() { wechat.protobuf.Friendgroup.DeepLinkBitSet result = new wechat.protobuf.Friendgroup.DeepLinkBitSet(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.bitValue_ = bitValue_; 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.Friendgroup.DeepLinkBitSet) { return mergeFrom((wechat.protobuf.Friendgroup.DeepLinkBitSet)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Friendgroup.DeepLinkBitSet other) { if (other == wechat.protobuf.Friendgroup.DeepLinkBitSet.getDefaultInstance()) return this; if (other.hasBitValue()) { setBitValue(other.getBitValue()); } 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.Friendgroup.DeepLinkBitSet parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Friendgroup.DeepLinkBitSet) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long bitValue_ ; /** * optional uint64 bitValue = 1; * @return Whether the bitValue field is set. */ @java.lang.Override public boolean hasBitValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint64 bitValue = 1; * @return The bitValue. */ @java.lang.Override public long getBitValue() { return bitValue_; } /** * optional uint64 bitValue = 1; * @param value The bitValue to set. * @return This builder for chaining. */ public Builder setBitValue(long value) { bitField0_ |= 0x00000001; bitValue_ = value; onChanged(); return this; } /** * optional uint64 bitValue = 1; * @return This builder for chaining. */ public Builder clearBitValue() { bitField0_ = (bitField0_ & ~0x00000001); bitValue_ = 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.DeepLinkBitSet) } // @@protoc_insertion_point(class_scope:wechat_proto.DeepLinkBitSet) private static final wechat.protobuf.Friendgroup.DeepLinkBitSet DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.DeepLinkBitSet(); } public static wechat.protobuf.Friendgroup.DeepLinkBitSet getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeepLinkBitSet parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeepLinkBitSet(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.Friendgroup.DeepLinkBitSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsUserPageRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsUserPageRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsUserPageResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsUserPageResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsServerConfig_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsServerConfig_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsObject_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsObject_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsRedEnvelops_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsRedEnvelops_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_PreDownloadInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_PreDownloadInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsWeAppInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsWeAppInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsCommentInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsCommentInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsGroup_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsGroup_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsHBUserInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsHBUserInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_CryptoData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_CryptoData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsPostRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsPostRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_TwitterInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_TwitterInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsPostCtocUploadInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsPostCtocUploadInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsPostOperationFields_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsPostOperationFields_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_CanvasInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_CanvasInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_MediaInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_MediaInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsPostResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsPostResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsObjectOpRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsObjectOpRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsObjectOpResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsObjectOpResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsObjectOp_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsObjectOp_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsObjectOpDeleteComment_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsObjectOpDeleteComment_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsCommentRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsCommentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsCommentResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsCommentResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_ModSnsBlackList_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_ModSnsBlackList_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsTagMemberOptionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsTagMemberOptionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsTagMemberOptionResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsTagMemberOptionResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsTag_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsTag_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsTagListRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsTagListRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsTagListResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsTagListResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsTimeLineRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsTimeLineRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsAdExpInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsAdExpInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsTimeLineResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsTimeLineResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_DelAdvertiseObject_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_DelAdvertiseObject_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_AdvertiseObject_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_AdvertiseObject_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsADObject_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsADObject_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_RecObject_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_RecObject_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsRecommendObject_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsRecommendObject_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsObjectDetailRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsObjectDetailRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsObjectDetailResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsObjectDetailResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsSyncRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsSyncRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsSyncResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsSyncResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_GetA8KeyReq_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_GetA8KeyReq_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_GetA8KeyResp_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_GetA8KeyResp_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_JSAPIPermissionBitSet_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_JSAPIPermissionBitSet_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_GeneralControlBitSet_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_GeneralControlBitSet_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_BizScopeInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_BizScopeInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_BizApiInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_BizApiInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_DeepLinkBitSet_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_DeepLinkBitSet_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\021friendgroup.proto\022\014wechat_proto\032\014wecha" + "t.proto\032\016syncitem.proto\"\315\001\n\022SnsUserPageR" + "equest\022.\n\013baseRequest\030\001 \001(\0132\031.wechat_pro" + "to.BaseRequest\022\024\n\014firstPageMd5\030\002 \001(\t\022\020\n\010" + "username\030\003 \001(\t\022\r\n\005maxId\030\004 \001(\004\022\016\n\006source\030" + "\005 \001(\r\022\023\n\013minFilterId\030\006 \001(\004\022\027\n\017lastReques" + "tTime\030\007 \001(\r\022\022\n\nfilterType\030\010 \001(\r\"\207\003\n\023SnsU" + "serPageResponse\0220\n\014baseResponse\030\001 \001(\0132\032." + "wechat_proto.BaseResponse\022\024\n\014firstPageMd" + "5\030\002 \001(\t\022\021\n\tobjectNum\030\003 \001(\r\022+\n\nobjectList" + "\030\004 \003(\0132\027.wechat_proto.SnsObject\022\026\n\016objec" + "tTotalNum\030\005 \001(\r\022.\n\013snsUserInfo\030\006 \001(\0132\031.w" + "echat_proto.SnsUserInfo\022\026\n\016newRequestTim" + "e\030\007 \001(\r\022\033\n\023objectNumForSameMd5\030\010 \001(\r\0223\n\014" + "serverConfig\030\t \001(\0132\035.wechat_proto.SnsSer" + "verConfig\022\021\n\tlimitedId\030\n \001(\003\022\022\n\ncontinue" + "Id\030\013 \001(\003\022\017\n\007retTips\030\014 \001(\t\"J\n\017SnsServerCo" + "nfig\022\030\n\020postMentionLimit\030\001 \001(\r\022\035\n\025copyAn" + "dPasteWordLimit\030\002 \001(\r\"\326\007\n\tSnsObject\022\n\n\002i" + "d\030\001 \001(\004\022\020\n\010username\030\002 \001(\t\022\020\n\010nickname\030\003 " + "\001(\t\022\022\n\ncreateTime\030\004 \001(\r\0222\n\nobjectDesc\030\005 " + "\001(\0132\036.wechat_proto.SKBuiltinString_\022\020\n\010l" + "ikeFlag\030\006 \001(\r\022\017\n\007likeNum\030\007 \001(\r\022\027\n\017likeUs" + "erListNum\030\010 \001(\r\0222\n\014likeUserList\030\t \003(\0132\034." + "wechat_proto.SnsCommentInfo\022\022\n\ncommentNu" + "m\030\n \001(\r\022\032\n\022commentUserListNum\030\013 \001(\r\0225\n\017c" + "ommentUserList\030\014 \003(\0132\034.wechat_proto.SnsC" + "ommentInfo\022\023\n\013withUserNum\030\r \001(\r\022\027\n\017withU" + "serListNum\030\016 \001(\r\0222\n\014withUserList\030\017 \003(\0132\034" + ".wechat_proto.SnsCommentInfo\022\017\n\007extFlag\030" + "\020 \001(\r\022\020\n\010noChange\030\021 \001(\r\022\020\n\010groupNum\030\022 \001(" + "\r\022)\n\tgroupList\030\023 \003(\0132\026.wechat_proto.SnsG" + "roup\022\025\n\risNotRichText\030\024 \001(\r\022\025\n\rreferUser" + "name\030\025 \001(\t\022\017\n\007referId\030\026 \001(\004\022\024\n\014blackList" + "Num\030\027 \001(\r\0220\n\tblackList\030\030 \003(\0132\035.wechat_pr" + "oto.SKBuiltinString\022\022\n\ndeleteFlag\030\031 \001(\r\022" + "\024\n\014groupUserNum\030\032 \001(\r\0220\n\tgroupUser\030\033 \003(\013" + "2\035.wechat_proto.SKBuiltinString\0228\n\020objec" + "tOperations\030\034 \001(\0132\036.wechat_proto.SKBuilt" + "inString_\0224\n\016snsRedEnvelops\030\035 \001(\0132\034.wech" + "at_proto.SnsRedEnvelops\0226\n\017preDownloadIn" + "fo\030\036 \001(\0132\035.wechat_proto.PreDownloadInfo\022" + "-\n\tweAppInfo\030\037 \001(\0132\032.wechat_proto.SnsWeA" + "ppInfo\"\221\001\n\016SnsRedEnvelops\022\021\n\trewardNum\030\001" + " \001(\r\0223\n\016rewardUserList\030\002 \003(\0132\033.wechat_pr" + "oto.SnsHBUserInfo\022\022\n\nresourceId\030\003 \001(\r\022\020\n" + "\010reportId\030\004 \001(\r\022\021\n\treportKey\030\005 \001(\r\"e\n\017Pr" + "eDownloadInfo\022\032\n\022preDownloadPercent\030\001 \001(" + "\r\022\032\n\022preDownloadNetType\030\002 \001(\r\022\032\n\022noPreDo" + "wnloadRange\030\003 \001(\t\"w\n\014SnsWeAppInfo\022\020\n\010map" + "PoiId\030\001 \001(\t\022\r\n\005appId\030\002 \001(\r\022\020\n\010userName\030\003" + " \001(\t\022\023\n\013redirectUrl\030\004 \001(\t\022\020\n\010showType\030\005 " + "\001(\r\022\r\n\005score\030\006 \001(\r\"\246\002\n\016SnsCommentInfo\022\020\n" + "\010username\030\001 \001(\t\022\020\n\010nickname\030\002 \001(\t\022\016\n\006sou" + "rce\030\003 \001(\r\022\014\n\004type\030\004 \001(\r\022\017\n\007content\030\005 \001(\t" + "\022\022\n\ncreateTime\030\006 \001(\r\022\021\n\tcommentId\030\007 \001(\r\022" + "\026\n\016replyCommentId\030\010 \001(\r\022\025\n\rreplyUsername" + "\030\t \001(\t\022\025\n\risNotRichText\030\n \001(\r\022\027\n\017replyCo" + "mmentId2\030\013 \001(\004\022\022\n\ncommentId2\030\014 \001(\004\022\022\n\nde" + "leteFlag\030\r \001(\r\022\023\n\013commentFlag\030\016 \001(\r\"\033\n\010S" + "nsGroup\022\017\n\007groupId\030\001 \001(\004\"g\n\rSnsHBUserInf" + "o\022\020\n\010username\030\001 \001(\t\022\022\n\ncreateTime\030\002 \001(\r\022" + "0\n\010hbbuffer\030\003 \001(\0132\036.wechat_proto.SKBuilt" + "inString_\"w\n\nCryptoData\022\017\n\007version\030\001 \001(\014" + "\022\014\n\004type\030\002 \001(\r\022\023\n\013encryptData\030\003 \001(\014\022\021\n\tt" + "imestamp\030\004 \001(\r\022\020\n\010unknown5\030\005 \001(\r\022\020\n\010unkn" + "own6\030\006 \001(\r\"\273\010\n\016SnsPostRequest\022.\n\013baseReq" + "uest\030\001 \001(\0132\031.wechat_proto.BaseRequest\0222\n" + "\nobjectDesc\030\002 \001(\0132\036.wechat_proto.SKBuilt" + "inString_\022\027\n\017withUserListNum\030\003 \001(\r\0223\n\014wi" + "thUserList\030\004 \003(\0132\035.wechat_proto.SKBuilti" + "nString\022\017\n\007privacy\030\005 \001(\r\022\020\n\010syncFlag\030\006 \001" + "(\r\022\020\n\010clientId\030\007 \001(\t\022\025\n\rpostBgimgType\030\010 " + "\001(\r\022\020\n\010groupNum\030\t \001(\r\022(\n\010groupIds\030\n \003(\0132" + "\026.wechat_proto.SnsGroup\022\024\n\014objectSource\030" + "\013 \001(\r\022\017\n\007referId\030\014 \001(\004\022\024\n\014blackListNum\030\r" + " \001(\r\0220\n\tblackList\030\016 \003(\0132\035.wechat_proto.S" + "KBuiltinString\022.\n\013twitterInfo\030\017 \001(\0132\031.we" + "chat_proto.TwitterInfo\022\024\n\014groupUserNum\030\020" + " \001(\r\0220\n\tgroupUser\030\021 \003(\0132\035.wechat_proto.S" + "KBuiltinString\022;\n\016ctocUploadInfo\030\022 \001(\0132#" + ".wechat_proto.SnsPostCtocUploadInfo\022D\n\026s" + "nsPostOperationFields\030\023 \001(\0132$.wechat_pro" + "to.SnsPostOperationFields\0224\n\016snsRedEnvel" + "ops\030\024 \001(\0132\034.wechat_proto.SnsRedEnvelops\022" + "/\n\007poiInfo\030\025 \001(\0132\036.wechat_proto.SKBuilti" + "nString_\022\021\n\tfromScene\030\026 \001(\t\022,\n\ncanvasInf" + "o\030\027 \001(\0132\030.wechat_proto.CanvasInfo\022\024\n\014med" + "iaInfoNum\030\030 \001(\r\022*\n\tmediaInfo\030\031 \003(\0132\027.wec" + "hat_proto.MediaInfo\022-\n\tweAppInfo\030\032 \001(\0132\032" + ".wechat_proto.SnsWeAppInfo\0227\n\017clientChec" + "kData\030\033 \001(\0132\036.wechat_proto.SKBuiltinStri" + "ng_\0223\n\013extSpamInfo\030\034 \001(\0132\036.wechat_proto." + "SKBuiltinString_\";\n\013TwitterInfo\022\022\n\noauth" + "Token\030\001 \001(\t\022\030\n\020oauthTokenSecret\030\002 \001(\t\"7\n" + "\025SnsPostCtocUploadInfo\022\014\n\004flag\030\001 \001(\r\022\020\n\010" + "photoNum\030\002 \001(\r\"\205\001\n\026SnsPostOperationField" + "s\022\030\n\020shareUrlOriginal\030\001 \001(\t\022\024\n\014shareUrlO" + "pen\030\002 \001(\t\022\017\n\007jsAppId\030\003 \001(\t\022\025\n\rcontactTag" + "Num\030\004 \001(\r\022\023\n\013tempUserNum\030\005 \001(\r\" \n\nCanvas" + "Info\022\022\n\ndataBuffer\030\001 \001(\t\"m\n\tMediaInfo\022\016\n" + "\006source\030\001 \001(\r\022\021\n\tmediaType\030\002 \001(\r\022\027\n\017vide" + "oPlayLength\030\003 \001(\r\022\021\n\tsessionId\030\004 \001(\t\022\021\n\t" + "startTime\030\005 \001(\r\"\201\001\n\017SnsPostResponse\0220\n\014b" + "aseResponse\030\001 \001(\0132\032.wechat_proto.BaseRes" + "ponse\022*\n\tsnsObject\030\002 \001(\0132\027.wechat_proto." + "SnsObject\022\020\n\010spamTips\030\003 \001(\t\"~\n\022SnsObject" + "OpRequest\022.\n\013baseRequest\030\001 \001(\0132\031.wechat_" + "proto.BaseRequest\022\r\n\005opNum\030\002 \001(\r\022)\n\006opLi" + "st\030\003 \003(\0132\031.wechat_proto.SnsObjectOp\"i\n\023S" + "nsObjectOpResponse\0220\n\014baseResponse\030\001 \001(\013" + "2\032.wechat_proto.BaseResponse\022\r\n\005opNum\030\002 " + "\001(\r\022\021\n\topRetList\030\003 \003(\005\"V\n\013SnsObjectOp\022\n\n" + "\002id\030\001 \001(\004\022\016\n\006opType\030\002 \001(\r\022+\n\003ext\030\003 \001(\0132\036" + ".wechat_proto.SKBuiltinString_\"-\n\030SnsObj" + "ectOpDeleteComment\022\021\n\tcommentId\030\001 \001(\r\"\203\001" + "\n\021SnsCommentRequest\022.\n\013baseRequest\030\001 \001(\013" + "2\031.wechat_proto.BaseRequest\022,\n\006action\030\002 " + "\001(\0132\034.wechat_proto.SnsActionGroup\022\020\n\010cli" + "entId\030\003 \001(\t\"r\n\022SnsCommentResponse\0220\n\014bas" + "eResponse\030\001 \001(\0132\032.wechat_proto.BaseRespo" + "nse\022*\n\tsnsObject\030\002 \001(\0132\027.wechat_proto.Sn" + "sObject\";\n\017ModSnsBlackList\022\027\n\017contactUse" + "rname\030\001 \001(\t\022\017\n\007modType\030\002 \001(\r\"\306\001\n\031SnsTagM" + "emberOptionRequest\022.\n\013baseRequest\030\001 \001(\0132" + "\031.wechat_proto.BaseRequest\022\016\n\006opCode\030\002 \001" + "(\r\022\r\n\005tagId\030\003 \001(\004\022\017\n\007tagName\030\004 \001(\t\022\r\n\005co" + "unt\030\005 \001(\r\022+\n\004list\030\006 \003(\0132\035.wechat_proto.S" + "KBuiltinString\022\r\n\005scene\030\007 \001(\r\"t\n\032SnsTagM" + "emberOptionResponse\0220\n\014baseResponse\030\001 \001(" + "\0132\032.wechat_proto.BaseResponse\022$\n\006snsTag\030" + "\002 \001(\0132\024.wechat_proto.SnsTag\"d\n\006SnsTag\022\r\n" + "\005tagId\030\001 \001(\004\022\017\n\007tagName\030\002 \001(\t\022\r\n\005count\030\003" + " \001(\r\022+\n\004list\030\004 \003(\0132\035.wechat_proto.SKBuil" + "tinString\"g\n\021SnsTagListRequest\022.\n\013baseRe" + "quest\030\001 \001(\0132\031.wechat_proto.BaseRequest\022\016" + "\n\006opCode\030\002 \001(\r\022\022\n\ntagListMd5\030\003 \001(\t\"\254\001\n\022S" + "nsTagListResponse\0220\n\014baseResponse\030\001 \001(\0132" + "\032.wechat_proto.BaseResponse\022\016\n\006opCode\030\002 " + "\001(\r\022\022\n\ntagListMd5\030\003 \001(\t\022\r\n\005count\030\004 \001(\r\022\"" + "\n\004list\030\005 \003(\0132\024.wechat_proto.SnsTag\022\r\n\005st" + "ate\030\006 \001(\r\"\311\003\n\022SnsTimeLineRequest\022.\n\013base" + "Request\030\001 \001(\0132\031.wechat_proto.BaseRequest" + "\022\024\n\014firstPageMd5\030\002 \001(\t\022\r\n\005maxId\030\003 \001(\004\022\023\n" + "\013minFilterId\030\004 \001(\004\022\027\n\017lastRequestTime\030\005 " + "\001(\r\022\026\n\016clientLatestId\030\006 \001(\004\022/\n\007session\030\007" + " \001(\0132\036.wechat_proto.SKBuiltinString_\022\023\n\013" + "networkType\030\010 \001(\r\022-\n\tadexpinfo\030\n \001(\0132\032.w" + "echat_proto.SnsAdExpInfo\022\036\n\026realFeedExpo" + "sureIdsNum\030\013 \001(\r\022\033\n\023realFeedExposureIds\030" + "\014 \003(\004\022\033\n\023updateTimelineScene\030\r \001(\r\022\020\n\010pu" + "llType\030\016 \001(\r\022\032\n\022minIdForGetPrePage\030\017 \001(\004" + "\022\033\n\023minIdForCheckUnread\030\020 \001(\004\"9\n\014SnsAdEx" + "pInfo\022\022\n\nhateFeedid\030\001 \001(\004\022\025\n\rhateTimesta" + "mp\030\002 \001(\r\"\343\004\n\023SnsTimeLineResponse\0220\n\014base" + "Response\030\001 \001(\0132\032.wechat_proto.BaseRespon" + "se\022\024\n\014firstPageMd5\030\002 \001(\t\022\021\n\tobjectNum\030\003 " + "\001(\r\022+\n\nobjectList\030\004 \003(\0132\027.wechat_proto.S" + "nsObject\022\026\n\016newRequestTime\030\005 \001(\r\022\033\n\023obje" + "ctNumForSameMd5\030\006 \001(\r\022\023\n\013controlFlag\030\007 \001" + "(\r\0223\n\014serverConfig\030\010 \001(\0132\035.wechat_proto." + "SnsServerConfig\022\024\n\014advertiseNum\030\t \001(\r\0224\n" + "\radvertiseList\030\n \003(\0132\035.wechat_proto.Adve" + "rtiseObject\022/\n\007session\030\013 \001(\0132\036.wechat_pr" + "oto.SKBuiltinString_\022\016\n\006recNum\030\014 \001(\r\022(\n\007" + "recList\030\r \003(\0132\027.wechat_proto.RecObject\022\027" + "\n\017delAdvertiseNum\030\016 \001(\r\022:\n\020delAdvertiseL" + "ist\030\017 \003(\0132 .wechat_proto.DelAdvertiseObj" + "ect\022\033\n\023countForCheckUnread\030\020 \001(\r\022\034\n\024idLi" + "stForCheckUnread\030\021 \003(\004\" \n\022DelAdvertiseOb" + "ject\022\n\n\002id\030\001 \001(\004\"\273\001\n\017AdvertiseObject\022.\n\013" + "snsAdobject\030\001 \001(\0132\031.wechat_proto.SnsADOb" + "ject\022-\n\006adinfo\030\002 \001(\0132\035.wechat_proto.SKBu" + "iltinString\022\r\n\005adpos\030\003 \001(\r\022:\n\021remindFrie" + "ndsInfo\030\004 \001(\0132\037.wechat_proto.RemindFrien" + "dsInfo\"g\n\013SnsADObject\022*\n\tsnsObject\030\001 \001(\013" + "2\027.wechat_proto.SnsObject\022,\n\005adxml\030\002 \001(\013" + "2\035.wechat_proto.SKBuiltinString\"\177\n\tRecOb" + "ject\022<\n\022snsRecommendObject\030\001 \001(\0132 .wecha" + "t_proto.SnsRecommendObject\0224\n\rrecommendI" + "nfo\030\002 \001(\0132\035.wechat_proto.SKBuiltinString" + "\"u\n\022SnsRecommendObject\022*\n\tsnsObject\030\001 \001(" + "\0132\027.wechat_proto.SnsObject\0223\n\014recommendX" + "ml\030\002 \001(\0132\035.wechat_proto.SKBuiltinString\"" + "i\n\026SnsObjectDetailRequest\022.\n\013baseRequest" + "\030\001 \001(\0132\031.wechat_proto.BaseRequest\022\n\n\002id\030" + "\002 \001(\004\022\023\n\013groupDetail\030\003 \001(\r\"t\n\027SnsObjectD" + "etailResponse\0220\n\014baseResponse\030\001 \001(\0132\032.we" + "chat_proto.BaseResponse\022\'\n\006object\030\002 \001(\0132" + "\027.wechat_proto.SnsObject\"\202\001\n\016SnsSyncRequ" + "est\022.\n\013baseRequest\030\001 \001(\0132\031.wechat_proto." + "BaseRequest\022\020\n\010selector\030\002 \001(\r\022.\n\006keyBuf\030" + "\003 \001(\0132\036.wechat_proto.SKBuiltinString_\"\261\001" + "\n\017SnsSyncResponse\0220\n\014baseResponse\030\001 \001(\0132" + "\032.wechat_proto.BaseResponse\022&\n\007cmdList\030\002" + " \001(\0132\025.wechat_proto.CmdList\022\024\n\014continueF" + "lag\030\003 \001(\r\022.\n\006keyBuf\030\004 \001(\0132\036.wechat_proto" + ".SKBuiltinString_\"\236\005\n\013GetA8KeyReq\022.\n\013bas" + "eRequest\030\001 \001(\0132\031.wechat_proto.BaseReques" + "t\022\016\n\006OpCode\030\002 \001(\r\022-\n\005A2key\030\003 \001(\0132\036.wecha" + "t_proto.SKBuiltinString_\022,\n\005AppID\030\004 \001(\0132" + "\035.wechat_proto.SKBuiltinString\022,\n\005Scope\030" + "\005 \001(\0132\035.wechat_proto.SKBuiltinString\022,\n\005" + "State\030\006 \001(\0132\035.wechat_proto.SKBuiltinStri" + "ng\022-\n\006ReqUrl\030\007 \001(\0132\035.wechat_proto.SKBuil" + "tinString\022\026\n\016FriendUserName\030\010 \001(\t\022\020\n\010Fri" + "endQq\030\t \001(\r\022\r\n\005Scene\030\n \001(\r\022\020\n\010UserName\030\013" + " \001(\t\022\020\n\010BundleID\030\014 \001(\t\022\020\n\010A2KeyNew\030\r \001(\014" + "\022\016\n\006Reason\030\016 \001(\r\022\021\n\tFontScale\030\017 \001(\r\022\014\n\004F" + "lag\030\020 \001(\r\022\017\n\007NetType\030\021 \001(\t\022\020\n\010CodeType\030\022" + " \001(\r\022\023\n\013CodeVersion\030\023 \001(\r\022\021\n\tRequestId\030\024" + " \001(\004\022\022\n\nFunctionId\030\025 \001(\t\022\024\n\014WalletRegion" + "\030\026 \001(\r\022.\n\006Cookie\030\027 \001(\0132\036.wechat_proto.SK" + "BuiltinString_\022\020\n\010OuterUrl\030\030 \001(\t\022\020\n\010SubS" + "cene\030\031 \001(\r\"\263\005\n\014GetA8KeyResp\0220\n\014BaseRespo" + "nse\030\001 \001(\0132\032.wechat_proto.BaseResponse\022\017\n" + "\007FullURL\030\002 \001(\t\022\r\n\005A8key\030\003 \001(\t\022\022\n\nActionC" + "ode\030\004 \001(\t\022\r\n\005Title\030\005 \001(\t\022\017\n\007Content\030\006 \001(" + "\t\022<\n\017JSAPIPermission\030\007 \001(\0132#.wechat_prot" + "o.JSAPIPermissionBitSet\022@\n\024GeneralContro" + "lBitSet\030\010 \001(\0132\".wechat_proto.GeneralCont" + "rolBitSet\022\020\n\010UserName\030\t \001(\t\022\020\n\010ShareURL\030" + "\017 \001(\t\022\022\n\nScopeCount\030\020 \001(\r\022-\n\tScopeList\030\021" + " \003(\0132\032.wechat_proto.BizScopeInfo\022\026\n\016Anti" + "spamTicket\030\022 \001(\t\022\014\n\004Ssid\030\024 \001(\t\022\013\n\003MID\030\025 " + "\001(\t\0224\n\016DeepLinkBitSet\030\026 \001(\0132\034.wechat_pro" + "to.DeepLinkBitSet\0229\n\021JSAPIControlBytes\030\027" + " \001(\0132\036.wechat_proto.SKBuiltinString_\022\027\n\017" + "HttpHeaderCount\030\030 \001(\r\022\022\n\nHttpHeader\030\031 \001(" + "\t\022\017\n\007Wording\030\032 \001(\t\022\017\n\007Headimg\030\033 \001(\t\022.\n\006C" + "ookie\030\034 \001(\0132\036.wechat_proto.SKBuiltinStri" + "ng_\022\023\n\013MenuWording\030\035 \001(\t\"b\n\025JSAPIPermiss" + "ionBitSet\022\020\n\010bitValue\030\001 \001(\r\022\021\n\tbitValue2" + "\030\002 \001(\r\022\021\n\tbitValue3\030\003 \001(\r\022\021\n\tbitValue4\030\004" + " \001(\r\"(\n\024GeneralControlBitSet\022\020\n\010bitValue" + "\030\001 \001(\r\"\202\001\n\014BizScopeInfo\022\r\n\005scope\030\001 \001(\t\022\023" + "\n\013scopeStatus\030\002 \001(\r\022\021\n\tscopeDesc\030\003 \001(\t\022\020" + "\n\010apiCount\030\004 \001(\r\022)\n\007apiList\030\005 \003(\0132\030.wech" + "at_proto.BizApiInfo\"\035\n\nBizApiInfo\022\017\n\007api" + "Name\030\001 \001(\t\"\"\n\016DeepLinkBitSet\022\020\n\010bitValue" + "\030\001 \001(\004B\034\n\017wechat.protobufZ\t../wechat" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { wechat.protobuf.Wechat.getDescriptor(), wechat.protobuf.Syncitem.getDescriptor(), }); internal_static_wechat_proto_SnsUserPageRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_wechat_proto_SnsUserPageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsUserPageRequest_descriptor, new java.lang.String[] { "BaseRequest", "FirstPageMd5", "Username", "MaxId", "Source", "MinFilterId", "LastRequestTime", "FilterType", }); internal_static_wechat_proto_SnsUserPageResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_wechat_proto_SnsUserPageResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsUserPageResponse_descriptor, new java.lang.String[] { "BaseResponse", "FirstPageMd5", "ObjectNum", "ObjectList", "ObjectTotalNum", "SnsUserInfo", "NewRequestTime", "ObjectNumForSameMd5", "ServerConfig", "LimitedId", "ContinueId", "RetTips", }); internal_static_wechat_proto_SnsServerConfig_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_wechat_proto_SnsServerConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsServerConfig_descriptor, new java.lang.String[] { "PostMentionLimit", "CopyAndPasteWordLimit", }); internal_static_wechat_proto_SnsObject_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_wechat_proto_SnsObject_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsObject_descriptor, new java.lang.String[] { "Id", "Username", "Nickname", "CreateTime", "ObjectDesc", "LikeFlag", "LikeNum", "LikeUserListNum", "LikeUserList", "CommentNum", "CommentUserListNum", "CommentUserList", "WithUserNum", "WithUserListNum", "WithUserList", "ExtFlag", "NoChange", "GroupNum", "GroupList", "IsNotRichText", "ReferUsername", "ReferId", "BlackListNum", "BlackList", "DeleteFlag", "GroupUserNum", "GroupUser", "ObjectOperations", "SnsRedEnvelops", "PreDownloadInfo", "WeAppInfo", }); internal_static_wechat_proto_SnsRedEnvelops_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_wechat_proto_SnsRedEnvelops_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsRedEnvelops_descriptor, new java.lang.String[] { "RewardNum", "RewardUserList", "ResourceId", "ReportId", "ReportKey", }); internal_static_wechat_proto_PreDownloadInfo_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_wechat_proto_PreDownloadInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_PreDownloadInfo_descriptor, new java.lang.String[] { "PreDownloadPercent", "PreDownloadNetType", "NoPreDownloadRange", }); internal_static_wechat_proto_SnsWeAppInfo_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_wechat_proto_SnsWeAppInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsWeAppInfo_descriptor, new java.lang.String[] { "MapPoiId", "AppId", "UserName", "RedirectUrl", "ShowType", "Score", }); internal_static_wechat_proto_SnsCommentInfo_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_wechat_proto_SnsCommentInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsCommentInfo_descriptor, new java.lang.String[] { "Username", "Nickname", "Source", "Type", "Content", "CreateTime", "CommentId", "ReplyCommentId", "ReplyUsername", "IsNotRichText", "ReplyCommentId2", "CommentId2", "DeleteFlag", "CommentFlag", }); internal_static_wechat_proto_SnsGroup_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_wechat_proto_SnsGroup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsGroup_descriptor, new java.lang.String[] { "GroupId", }); internal_static_wechat_proto_SnsHBUserInfo_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_wechat_proto_SnsHBUserInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsHBUserInfo_descriptor, new java.lang.String[] { "Username", "CreateTime", "Hbbuffer", }); internal_static_wechat_proto_CryptoData_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_wechat_proto_CryptoData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_CryptoData_descriptor, new java.lang.String[] { "Version", "Type", "EncryptData", "Timestamp", "Unknown5", "Unknown6", }); internal_static_wechat_proto_SnsPostRequest_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_wechat_proto_SnsPostRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsPostRequest_descriptor, new java.lang.String[] { "BaseRequest", "ObjectDesc", "WithUserListNum", "WithUserList", "Privacy", "SyncFlag", "ClientId", "PostBgimgType", "GroupNum", "GroupIds", "ObjectSource", "ReferId", "BlackListNum", "BlackList", "TwitterInfo", "GroupUserNum", "GroupUser", "CtocUploadInfo", "SnsPostOperationFields", "SnsRedEnvelops", "PoiInfo", "FromScene", "CanvasInfo", "MediaInfoNum", "MediaInfo", "WeAppInfo", "ClientCheckData", "ExtSpamInfo", }); internal_static_wechat_proto_TwitterInfo_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_wechat_proto_TwitterInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_TwitterInfo_descriptor, new java.lang.String[] { "OauthToken", "OauthTokenSecret", }); internal_static_wechat_proto_SnsPostCtocUploadInfo_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_wechat_proto_SnsPostCtocUploadInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsPostCtocUploadInfo_descriptor, new java.lang.String[] { "Flag", "PhotoNum", }); internal_static_wechat_proto_SnsPostOperationFields_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_wechat_proto_SnsPostOperationFields_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsPostOperationFields_descriptor, new java.lang.String[] { "ShareUrlOriginal", "ShareUrlOpen", "JsAppId", "ContactTagNum", "TempUserNum", }); internal_static_wechat_proto_CanvasInfo_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_wechat_proto_CanvasInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_CanvasInfo_descriptor, new java.lang.String[] { "DataBuffer", }); internal_static_wechat_proto_MediaInfo_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_wechat_proto_MediaInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_MediaInfo_descriptor, new java.lang.String[] { "Source", "MediaType", "VideoPlayLength", "SessionId", "StartTime", }); internal_static_wechat_proto_SnsPostResponse_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_wechat_proto_SnsPostResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsPostResponse_descriptor, new java.lang.String[] { "BaseResponse", "SnsObject", "SpamTips", }); internal_static_wechat_proto_SnsObjectOpRequest_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_wechat_proto_SnsObjectOpRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsObjectOpRequest_descriptor, new java.lang.String[] { "BaseRequest", "OpNum", "OpList", }); internal_static_wechat_proto_SnsObjectOpResponse_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_wechat_proto_SnsObjectOpResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsObjectOpResponse_descriptor, new java.lang.String[] { "BaseResponse", "OpNum", "OpRetList", }); internal_static_wechat_proto_SnsObjectOp_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_wechat_proto_SnsObjectOp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsObjectOp_descriptor, new java.lang.String[] { "Id", "OpType", "Ext", }); internal_static_wechat_proto_SnsObjectOpDeleteComment_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_wechat_proto_SnsObjectOpDeleteComment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsObjectOpDeleteComment_descriptor, new java.lang.String[] { "CommentId", }); internal_static_wechat_proto_SnsCommentRequest_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_wechat_proto_SnsCommentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsCommentRequest_descriptor, new java.lang.String[] { "BaseRequest", "Action", "ClientId", }); internal_static_wechat_proto_SnsCommentResponse_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_wechat_proto_SnsCommentResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsCommentResponse_descriptor, new java.lang.String[] { "BaseResponse", "SnsObject", }); internal_static_wechat_proto_ModSnsBlackList_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_wechat_proto_ModSnsBlackList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_ModSnsBlackList_descriptor, new java.lang.String[] { "ContactUsername", "ModType", }); internal_static_wechat_proto_SnsTagMemberOptionRequest_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_wechat_proto_SnsTagMemberOptionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsTagMemberOptionRequest_descriptor, new java.lang.String[] { "BaseRequest", "OpCode", "TagId", "TagName", "Count", "List", "Scene", }); internal_static_wechat_proto_SnsTagMemberOptionResponse_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_wechat_proto_SnsTagMemberOptionResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsTagMemberOptionResponse_descriptor, new java.lang.String[] { "BaseResponse", "SnsTag", }); internal_static_wechat_proto_SnsTag_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_wechat_proto_SnsTag_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsTag_descriptor, new java.lang.String[] { "TagId", "TagName", "Count", "List", }); internal_static_wechat_proto_SnsTagListRequest_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_wechat_proto_SnsTagListRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsTagListRequest_descriptor, new java.lang.String[] { "BaseRequest", "OpCode", "TagListMd5", }); internal_static_wechat_proto_SnsTagListResponse_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_wechat_proto_SnsTagListResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsTagListResponse_descriptor, new java.lang.String[] { "BaseResponse", "OpCode", "TagListMd5", "Count", "List", "State", }); internal_static_wechat_proto_SnsTimeLineRequest_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_wechat_proto_SnsTimeLineRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsTimeLineRequest_descriptor, new java.lang.String[] { "BaseRequest", "FirstPageMd5", "MaxId", "MinFilterId", "LastRequestTime", "ClientLatestId", "Session", "NetworkType", "Adexpinfo", "RealFeedExposureIdsNum", "RealFeedExposureIds", "UpdateTimelineScene", "PullType", "MinIdForGetPrePage", "MinIdForCheckUnread", }); internal_static_wechat_proto_SnsAdExpInfo_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_wechat_proto_SnsAdExpInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsAdExpInfo_descriptor, new java.lang.String[] { "HateFeedid", "HateTimestamp", }); internal_static_wechat_proto_SnsTimeLineResponse_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_wechat_proto_SnsTimeLineResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsTimeLineResponse_descriptor, new java.lang.String[] { "BaseResponse", "FirstPageMd5", "ObjectNum", "ObjectList", "NewRequestTime", "ObjectNumForSameMd5", "ControlFlag", "ServerConfig", "AdvertiseNum", "AdvertiseList", "Session", "RecNum", "RecList", "DelAdvertiseNum", "DelAdvertiseList", "CountForCheckUnread", "IdListForCheckUnread", }); internal_static_wechat_proto_DelAdvertiseObject_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_wechat_proto_DelAdvertiseObject_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_DelAdvertiseObject_descriptor, new java.lang.String[] { "Id", }); internal_static_wechat_proto_AdvertiseObject_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_wechat_proto_AdvertiseObject_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_AdvertiseObject_descriptor, new java.lang.String[] { "SnsAdobject", "Adinfo", "Adpos", "RemindFriendsInfo", }); internal_static_wechat_proto_SnsADObject_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_wechat_proto_SnsADObject_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsADObject_descriptor, new java.lang.String[] { "SnsObject", "Adxml", }); internal_static_wechat_proto_RecObject_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_wechat_proto_RecObject_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_RecObject_descriptor, new java.lang.String[] { "SnsRecommendObject", "RecommendInfo", }); internal_static_wechat_proto_SnsRecommendObject_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_wechat_proto_SnsRecommendObject_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsRecommendObject_descriptor, new java.lang.String[] { "SnsObject", "RecommendXml", }); internal_static_wechat_proto_SnsObjectDetailRequest_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_wechat_proto_SnsObjectDetailRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsObjectDetailRequest_descriptor, new java.lang.String[] { "BaseRequest", "Id", "GroupDetail", }); internal_static_wechat_proto_SnsObjectDetailResponse_descriptor = getDescriptor().getMessageTypes().get(39); internal_static_wechat_proto_SnsObjectDetailResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsObjectDetailResponse_descriptor, new java.lang.String[] { "BaseResponse", "Object", }); internal_static_wechat_proto_SnsSyncRequest_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_wechat_proto_SnsSyncRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsSyncRequest_descriptor, new java.lang.String[] { "BaseRequest", "Selector", "KeyBuf", }); internal_static_wechat_proto_SnsSyncResponse_descriptor = getDescriptor().getMessageTypes().get(41); internal_static_wechat_proto_SnsSyncResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsSyncResponse_descriptor, new java.lang.String[] { "BaseResponse", "CmdList", "ContinueFlag", "KeyBuf", }); internal_static_wechat_proto_GetA8KeyReq_descriptor = getDescriptor().getMessageTypes().get(42); internal_static_wechat_proto_GetA8KeyReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_GetA8KeyReq_descriptor, new java.lang.String[] { "BaseRequest", "OpCode", "A2Key", "AppID", "Scope", "State", "ReqUrl", "FriendUserName", "FriendQq", "Scene", "UserName", "BundleID", "A2KeyNew", "Reason", "FontScale", "Flag", "NetType", "CodeType", "CodeVersion", "RequestId", "FunctionId", "WalletRegion", "Cookie", "OuterUrl", "SubScene", }); internal_static_wechat_proto_GetA8KeyResp_descriptor = getDescriptor().getMessageTypes().get(43); internal_static_wechat_proto_GetA8KeyResp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_GetA8KeyResp_descriptor, new java.lang.String[] { "BaseResponse", "FullURL", "A8Key", "ActionCode", "Title", "Content", "JSAPIPermission", "GeneralControlBitSet", "UserName", "ShareURL", "ScopeCount", "ScopeList", "AntispamTicket", "Ssid", "MID", "DeepLinkBitSet", "JSAPIControlBytes", "HttpHeaderCount", "HttpHeader", "Wording", "Headimg", "Cookie", "MenuWording", }); internal_static_wechat_proto_JSAPIPermissionBitSet_descriptor = getDescriptor().getMessageTypes().get(44); internal_static_wechat_proto_JSAPIPermissionBitSet_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_JSAPIPermissionBitSet_descriptor, new java.lang.String[] { "BitValue", "BitValue2", "BitValue3", "BitValue4", }); internal_static_wechat_proto_GeneralControlBitSet_descriptor = getDescriptor().getMessageTypes().get(45); internal_static_wechat_proto_GeneralControlBitSet_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_GeneralControlBitSet_descriptor, new java.lang.String[] { "BitValue", }); internal_static_wechat_proto_BizScopeInfo_descriptor = getDescriptor().getMessageTypes().get(46); internal_static_wechat_proto_BizScopeInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_BizScopeInfo_descriptor, new java.lang.String[] { "Scope", "ScopeStatus", "ScopeDesc", "ApiCount", "ApiList", }); internal_static_wechat_proto_BizApiInfo_descriptor = getDescriptor().getMessageTypes().get(47); internal_static_wechat_proto_BizApiInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_BizApiInfo_descriptor, new java.lang.String[] { "ApiName", }); internal_static_wechat_proto_DeepLinkBitSet_descriptor = getDescriptor().getMessageTypes().get(48); internal_static_wechat_proto_DeepLinkBitSet_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_DeepLinkBitSet_descriptor, new java.lang.String[] { "BitValue", }); wechat.protobuf.Wechat.getDescriptor(); wechat.protobuf.Syncitem.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy