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

wechat.protobuf.AutoAuthRequest 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: wechat.proto

package wechat.protobuf;

/**
 * Protobuf type {@code wechat_proto.AutoAuthRequest}
 */
public final class AutoAuthRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:wechat_proto.AutoAuthRequest)
    AutoAuthRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use AutoAuthRequest.newBuilder() to construct.
  private AutoAuthRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private AutoAuthRequest() {
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private AutoAuthRequest(
      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.AutoAuthRsaReqData.Builder subBuilder = null;
            if (((bitField0_ & 0x00000001) != 0)) {
              subBuilder = rsaReqData_.toBuilder();
            }
            rsaReqData_ = input.readMessage(wechat.protobuf.AutoAuthRsaReqData.PARSER, extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(rsaReqData_);
              rsaReqData_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000001;
            break;
          }
          case 18: {
            wechat.protobuf.AutoAuthAesReqData.Builder subBuilder = null;
            if (((bitField0_ & 0x00000002) != 0)) {
              subBuilder = aesReqData_.toBuilder();
            }
            aesReqData_ = input.readMessage(wechat.protobuf.AutoAuthAesReqData.PARSER, extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(aesReqData_);
              aesReqData_ = 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.Wechat.internal_static_wechat_proto_AutoAuthRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return wechat.protobuf.Wechat.internal_static_wechat_proto_AutoAuthRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            wechat.protobuf.AutoAuthRequest.class, wechat.protobuf.AutoAuthRequest.Builder.class);
  }

  private int bitField0_;
  public static final int RSA_REQ_DATA_FIELD_NUMBER = 1;
  private wechat.protobuf.AutoAuthRsaReqData rsaReqData_;
  /**
   * optional .wechat_proto.AutoAuthRsaReqData rsa_req_data = 1;
   * @return Whether the rsaReqData field is set.
   */
  @java.lang.Override
  public boolean hasRsaReqData() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * optional .wechat_proto.AutoAuthRsaReqData rsa_req_data = 1;
   * @return The rsaReqData.
   */
  @java.lang.Override
  public wechat.protobuf.AutoAuthRsaReqData getRsaReqData() {
    return rsaReqData_ == null ? wechat.protobuf.AutoAuthRsaReqData.getDefaultInstance() : rsaReqData_;
  }
  /**
   * optional .wechat_proto.AutoAuthRsaReqData rsa_req_data = 1;
   */
  @java.lang.Override
  public wechat.protobuf.AutoAuthRsaReqDataOrBuilder getRsaReqDataOrBuilder() {
    return rsaReqData_ == null ? wechat.protobuf.AutoAuthRsaReqData.getDefaultInstance() : rsaReqData_;
  }

  public static final int AES_REQ_DATA_FIELD_NUMBER = 2;
  private wechat.protobuf.AutoAuthAesReqData aesReqData_;
  /**
   * optional .wechat_proto.AutoAuthAesReqData aes_req_data = 2;
   * @return Whether the aesReqData field is set.
   */
  @java.lang.Override
  public boolean hasAesReqData() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * optional .wechat_proto.AutoAuthAesReqData aes_req_data = 2;
   * @return The aesReqData.
   */
  @java.lang.Override
  public wechat.protobuf.AutoAuthAesReqData getAesReqData() {
    return aesReqData_ == null ? wechat.protobuf.AutoAuthAesReqData.getDefaultInstance() : aesReqData_;
  }
  /**
   * optional .wechat_proto.AutoAuthAesReqData aes_req_data = 2;
   */
  @java.lang.Override
  public wechat.protobuf.AutoAuthAesReqDataOrBuilder getAesReqDataOrBuilder() {
    return aesReqData_ == null ? wechat.protobuf.AutoAuthAesReqData.getDefaultInstance() : aesReqData_;
  }

  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, getRsaReqData());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(2, getAesReqData());
    }
    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, getRsaReqData());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, getAesReqData());
    }
    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.AutoAuthRequest)) {
      return super.equals(obj);
    }
    wechat.protobuf.AutoAuthRequest other = (wechat.protobuf.AutoAuthRequest) obj;

    if (hasRsaReqData() != other.hasRsaReqData()) return false;
    if (hasRsaReqData()) {
      if (!getRsaReqData()
          .equals(other.getRsaReqData())) return false;
    }
    if (hasAesReqData() != other.hasAesReqData()) return false;
    if (hasAesReqData()) {
      if (!getAesReqData()
          .equals(other.getAesReqData())) 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 (hasRsaReqData()) {
      hash = (37 * hash) + RSA_REQ_DATA_FIELD_NUMBER;
      hash = (53 * hash) + getRsaReqData().hashCode();
    }
    if (hasAesReqData()) {
      hash = (37 * hash) + AES_REQ_DATA_FIELD_NUMBER;
      hash = (53 * hash) + getAesReqData().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return wechat.protobuf.Wechat.internal_static_wechat_proto_AutoAuthRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              wechat.protobuf.AutoAuthRequest.class, wechat.protobuf.AutoAuthRequest.Builder.class);
    }

    // Construct using wechat.protobuf.AutoAuthRequest.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getRsaReqDataFieldBuilder();
        getAesReqDataFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (rsaReqDataBuilder_ == null) {
        rsaReqData_ = null;
      } else {
        rsaReqDataBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000001);
      if (aesReqDataBuilder_ == null) {
        aesReqData_ = null;
      } else {
        aesReqDataBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000002);
      return this;
    }

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

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

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

    @java.lang.Override
    public wechat.protobuf.AutoAuthRequest buildPartial() {
      wechat.protobuf.AutoAuthRequest result = new wechat.protobuf.AutoAuthRequest(this);
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        if (rsaReqDataBuilder_ == null) {
          result.rsaReqData_ = rsaReqData_;
        } else {
          result.rsaReqData_ = rsaReqDataBuilder_.build();
        }
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        if (aesReqDataBuilder_ == null) {
          result.aesReqData_ = aesReqData_;
        } else {
          result.aesReqData_ = aesReqDataBuilder_.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.AutoAuthRequest) {
        return mergeFrom((wechat.protobuf.AutoAuthRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(wechat.protobuf.AutoAuthRequest other) {
      if (other == wechat.protobuf.AutoAuthRequest.getDefaultInstance()) return this;
      if (other.hasRsaReqData()) {
        mergeRsaReqData(other.getRsaReqData());
      }
      if (other.hasAesReqData()) {
        mergeAesReqData(other.getAesReqData());
      }
      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.AutoAuthRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (wechat.protobuf.AutoAuthRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private wechat.protobuf.AutoAuthRsaReqData rsaReqData_;
    private com.google.protobuf.SingleFieldBuilderV3<
        wechat.protobuf.AutoAuthRsaReqData, wechat.protobuf.AutoAuthRsaReqData.Builder, wechat.protobuf.AutoAuthRsaReqDataOrBuilder> rsaReqDataBuilder_;
    /**
     * optional .wechat_proto.AutoAuthRsaReqData rsa_req_data = 1;
     * @return Whether the rsaReqData field is set.
     */
    public boolean hasRsaReqData() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional .wechat_proto.AutoAuthRsaReqData rsa_req_data = 1;
     * @return The rsaReqData.
     */
    public wechat.protobuf.AutoAuthRsaReqData getRsaReqData() {
      if (rsaReqDataBuilder_ == null) {
        return rsaReqData_ == null ? wechat.protobuf.AutoAuthRsaReqData.getDefaultInstance() : rsaReqData_;
      } else {
        return rsaReqDataBuilder_.getMessage();
      }
    }
    /**
     * optional .wechat_proto.AutoAuthRsaReqData rsa_req_data = 1;
     */
    public Builder setRsaReqData(wechat.protobuf.AutoAuthRsaReqData value) {
      if (rsaReqDataBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        rsaReqData_ = value;
        onChanged();
      } else {
        rsaReqDataBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000001;
      return this;
    }
    /**
     * optional .wechat_proto.AutoAuthRsaReqData rsa_req_data = 1;
     */
    public Builder setRsaReqData(
        wechat.protobuf.AutoAuthRsaReqData.Builder builderForValue) {
      if (rsaReqDataBuilder_ == null) {
        rsaReqData_ = builderForValue.build();
        onChanged();
      } else {
        rsaReqDataBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000001;
      return this;
    }
    /**
     * optional .wechat_proto.AutoAuthRsaReqData rsa_req_data = 1;
     */
    public Builder mergeRsaReqData(wechat.protobuf.AutoAuthRsaReqData value) {
      if (rsaReqDataBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0) &&
            rsaReqData_ != null &&
            rsaReqData_ != wechat.protobuf.AutoAuthRsaReqData.getDefaultInstance()) {
          rsaReqData_ =
            wechat.protobuf.AutoAuthRsaReqData.newBuilder(rsaReqData_).mergeFrom(value).buildPartial();
        } else {
          rsaReqData_ = value;
        }
        onChanged();
      } else {
        rsaReqDataBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000001;
      return this;
    }
    /**
     * optional .wechat_proto.AutoAuthRsaReqData rsa_req_data = 1;
     */
    public Builder clearRsaReqData() {
      if (rsaReqDataBuilder_ == null) {
        rsaReqData_ = null;
        onChanged();
      } else {
        rsaReqDataBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000001);
      return this;
    }
    /**
     * optional .wechat_proto.AutoAuthRsaReqData rsa_req_data = 1;
     */
    public wechat.protobuf.AutoAuthRsaReqData.Builder getRsaReqDataBuilder() {
      bitField0_ |= 0x00000001;
      onChanged();
      return getRsaReqDataFieldBuilder().getBuilder();
    }
    /**
     * optional .wechat_proto.AutoAuthRsaReqData rsa_req_data = 1;
     */
    public wechat.protobuf.AutoAuthRsaReqDataOrBuilder getRsaReqDataOrBuilder() {
      if (rsaReqDataBuilder_ != null) {
        return rsaReqDataBuilder_.getMessageOrBuilder();
      } else {
        return rsaReqData_ == null ?
            wechat.protobuf.AutoAuthRsaReqData.getDefaultInstance() : rsaReqData_;
      }
    }
    /**
     * optional .wechat_proto.AutoAuthRsaReqData rsa_req_data = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        wechat.protobuf.AutoAuthRsaReqData, wechat.protobuf.AutoAuthRsaReqData.Builder, wechat.protobuf.AutoAuthRsaReqDataOrBuilder> 
        getRsaReqDataFieldBuilder() {
      if (rsaReqDataBuilder_ == null) {
        rsaReqDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            wechat.protobuf.AutoAuthRsaReqData, wechat.protobuf.AutoAuthRsaReqData.Builder, wechat.protobuf.AutoAuthRsaReqDataOrBuilder>(
                getRsaReqData(),
                getParentForChildren(),
                isClean());
        rsaReqData_ = null;
      }
      return rsaReqDataBuilder_;
    }

    private wechat.protobuf.AutoAuthAesReqData aesReqData_;
    private com.google.protobuf.SingleFieldBuilderV3<
        wechat.protobuf.AutoAuthAesReqData, wechat.protobuf.AutoAuthAesReqData.Builder, wechat.protobuf.AutoAuthAesReqDataOrBuilder> aesReqDataBuilder_;
    /**
     * optional .wechat_proto.AutoAuthAesReqData aes_req_data = 2;
     * @return Whether the aesReqData field is set.
     */
    public boolean hasAesReqData() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional .wechat_proto.AutoAuthAesReqData aes_req_data = 2;
     * @return The aesReqData.
     */
    public wechat.protobuf.AutoAuthAesReqData getAesReqData() {
      if (aesReqDataBuilder_ == null) {
        return aesReqData_ == null ? wechat.protobuf.AutoAuthAesReqData.getDefaultInstance() : aesReqData_;
      } else {
        return aesReqDataBuilder_.getMessage();
      }
    }
    /**
     * optional .wechat_proto.AutoAuthAesReqData aes_req_data = 2;
     */
    public Builder setAesReqData(wechat.protobuf.AutoAuthAesReqData value) {
      if (aesReqDataBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        aesReqData_ = value;
        onChanged();
      } else {
        aesReqDataBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000002;
      return this;
    }
    /**
     * optional .wechat_proto.AutoAuthAesReqData aes_req_data = 2;
     */
    public Builder setAesReqData(
        wechat.protobuf.AutoAuthAesReqData.Builder builderForValue) {
      if (aesReqDataBuilder_ == null) {
        aesReqData_ = builderForValue.build();
        onChanged();
      } else {
        aesReqDataBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000002;
      return this;
    }
    /**
     * optional .wechat_proto.AutoAuthAesReqData aes_req_data = 2;
     */
    public Builder mergeAesReqData(wechat.protobuf.AutoAuthAesReqData value) {
      if (aesReqDataBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0) &&
            aesReqData_ != null &&
            aesReqData_ != wechat.protobuf.AutoAuthAesReqData.getDefaultInstance()) {
          aesReqData_ =
            wechat.protobuf.AutoAuthAesReqData.newBuilder(aesReqData_).mergeFrom(value).buildPartial();
        } else {
          aesReqData_ = value;
        }
        onChanged();
      } else {
        aesReqDataBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000002;
      return this;
    }
    /**
     * optional .wechat_proto.AutoAuthAesReqData aes_req_data = 2;
     */
    public Builder clearAesReqData() {
      if (aesReqDataBuilder_ == null) {
        aesReqData_ = null;
        onChanged();
      } else {
        aesReqDataBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000002);
      return this;
    }
    /**
     * optional .wechat_proto.AutoAuthAesReqData aes_req_data = 2;
     */
    public wechat.protobuf.AutoAuthAesReqData.Builder getAesReqDataBuilder() {
      bitField0_ |= 0x00000002;
      onChanged();
      return getAesReqDataFieldBuilder().getBuilder();
    }
    /**
     * optional .wechat_proto.AutoAuthAesReqData aes_req_data = 2;
     */
    public wechat.protobuf.AutoAuthAesReqDataOrBuilder getAesReqDataOrBuilder() {
      if (aesReqDataBuilder_ != null) {
        return aesReqDataBuilder_.getMessageOrBuilder();
      } else {
        return aesReqData_ == null ?
            wechat.protobuf.AutoAuthAesReqData.getDefaultInstance() : aesReqData_;
      }
    }
    /**
     * optional .wechat_proto.AutoAuthAesReqData aes_req_data = 2;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        wechat.protobuf.AutoAuthAesReqData, wechat.protobuf.AutoAuthAesReqData.Builder, wechat.protobuf.AutoAuthAesReqDataOrBuilder> 
        getAesReqDataFieldBuilder() {
      if (aesReqDataBuilder_ == null) {
        aesReqDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            wechat.protobuf.AutoAuthAesReqData, wechat.protobuf.AutoAuthAesReqData.Builder, wechat.protobuf.AutoAuthAesReqDataOrBuilder>(
                getAesReqData(),
                getParentForChildren(),
                isClean());
        aesReqData_ = null;
      }
      return aesReqDataBuilder_;
    }
    @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.AutoAuthRequest)
  }

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

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

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

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy