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

wechat.protobuf.AutoAuthRsaReqData 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.AutoAuthRsaReqData}
 */
public final class AutoAuthRsaReqData extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:wechat_proto.AutoAuthRsaReqData)
    AutoAuthRsaReqDataOrBuilder {
private static final long serialVersionUID = 0L;
  // Use AutoAuthRsaReqData.newBuilder() to construct.
  private AutoAuthRsaReqData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private AutoAuthRsaReqData() {
  }

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

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

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

  private int bitField0_;
  public static final int AES_ENCRYPT_KEY_FIELD_NUMBER = 2;
  private wechat.protobuf.SKBuiltinString_ aesEncryptKey_;
  /**
   * optional .wechat_proto.SKBuiltinString_ aes_encrypt_key = 2;
   * @return Whether the aesEncryptKey field is set.
   */
  @java.lang.Override
  public boolean hasAesEncryptKey() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * optional .wechat_proto.SKBuiltinString_ aes_encrypt_key = 2;
   * @return The aesEncryptKey.
   */
  @java.lang.Override
  public wechat.protobuf.SKBuiltinString_ getAesEncryptKey() {
    return aesEncryptKey_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : aesEncryptKey_;
  }
  /**
   * optional .wechat_proto.SKBuiltinString_ aes_encrypt_key = 2;
   */
  @java.lang.Override
  public wechat.protobuf.SKBuiltinString_OrBuilder getAesEncryptKeyOrBuilder() {
    return aesEncryptKey_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : aesEncryptKey_;
  }

  public static final int PUBECDHKEY_FIELD_NUMBER = 3;
  private wechat.protobuf.ECDHKey pubEcdhKey_;
  /**
   * optional .wechat_proto.ECDHKey pubEcdhKey = 3;
   * @return Whether the pubEcdhKey field is set.
   */
  @java.lang.Override
  public boolean hasPubEcdhKey() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * optional .wechat_proto.ECDHKey pubEcdhKey = 3;
   * @return The pubEcdhKey.
   */
  @java.lang.Override
  public wechat.protobuf.ECDHKey getPubEcdhKey() {
    return pubEcdhKey_ == null ? wechat.protobuf.ECDHKey.getDefaultInstance() : pubEcdhKey_;
  }
  /**
   * optional .wechat_proto.ECDHKey pubEcdhKey = 3;
   */
  @java.lang.Override
  public wechat.protobuf.ECDHKeyOrBuilder getPubEcdhKeyOrBuilder() {
    return pubEcdhKey_ == null ? wechat.protobuf.ECDHKey.getDefaultInstance() : pubEcdhKey_;
  }

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

    if (hasAesEncryptKey() != other.hasAesEncryptKey()) return false;
    if (hasAesEncryptKey()) {
      if (!getAesEncryptKey()
          .equals(other.getAesEncryptKey())) return false;
    }
    if (hasPubEcdhKey() != other.hasPubEcdhKey()) return false;
    if (hasPubEcdhKey()) {
      if (!getPubEcdhKey()
          .equals(other.getPubEcdhKey())) 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 (hasAesEncryptKey()) {
      hash = (37 * hash) + AES_ENCRYPT_KEY_FIELD_NUMBER;
      hash = (53 * hash) + getAesEncryptKey().hashCode();
    }
    if (hasPubEcdhKey()) {
      hash = (37 * hash) + PUBECDHKEY_FIELD_NUMBER;
      hash = (53 * hash) + getPubEcdhKey().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getAesEncryptKeyFieldBuilder();
        getPubEcdhKeyFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (aesEncryptKeyBuilder_ == null) {
        aesEncryptKey_ = null;
      } else {
        aesEncryptKeyBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000001);
      if (pubEcdhKeyBuilder_ == null) {
        pubEcdhKey_ = null;
      } else {
        pubEcdhKeyBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000002);
      return this;
    }

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

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

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

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

    public Builder mergeFrom(wechat.protobuf.AutoAuthRsaReqData other) {
      if (other == wechat.protobuf.AutoAuthRsaReqData.getDefaultInstance()) return this;
      if (other.hasAesEncryptKey()) {
        mergeAesEncryptKey(other.getAesEncryptKey());
      }
      if (other.hasPubEcdhKey()) {
        mergePubEcdhKey(other.getPubEcdhKey());
      }
      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.AutoAuthRsaReqData parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (wechat.protobuf.AutoAuthRsaReqData) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private wechat.protobuf.SKBuiltinString_ aesEncryptKey_;
    private com.google.protobuf.SingleFieldBuilderV3<
        wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> aesEncryptKeyBuilder_;
    /**
     * optional .wechat_proto.SKBuiltinString_ aes_encrypt_key = 2;
     * @return Whether the aesEncryptKey field is set.
     */
    public boolean hasAesEncryptKey() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional .wechat_proto.SKBuiltinString_ aes_encrypt_key = 2;
     * @return The aesEncryptKey.
     */
    public wechat.protobuf.SKBuiltinString_ getAesEncryptKey() {
      if (aesEncryptKeyBuilder_ == null) {
        return aesEncryptKey_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : aesEncryptKey_;
      } else {
        return aesEncryptKeyBuilder_.getMessage();
      }
    }
    /**
     * optional .wechat_proto.SKBuiltinString_ aes_encrypt_key = 2;
     */
    public Builder setAesEncryptKey(wechat.protobuf.SKBuiltinString_ value) {
      if (aesEncryptKeyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        aesEncryptKey_ = value;
        onChanged();
      } else {
        aesEncryptKeyBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000001;
      return this;
    }
    /**
     * optional .wechat_proto.SKBuiltinString_ aes_encrypt_key = 2;
     */
    public Builder setAesEncryptKey(
        wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
      if (aesEncryptKeyBuilder_ == null) {
        aesEncryptKey_ = builderForValue.build();
        onChanged();
      } else {
        aesEncryptKeyBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000001;
      return this;
    }
    /**
     * optional .wechat_proto.SKBuiltinString_ aes_encrypt_key = 2;
     */
    public Builder mergeAesEncryptKey(wechat.protobuf.SKBuiltinString_ value) {
      if (aesEncryptKeyBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0) &&
            aesEncryptKey_ != null &&
            aesEncryptKey_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
          aesEncryptKey_ =
            wechat.protobuf.SKBuiltinString_.newBuilder(aesEncryptKey_).mergeFrom(value).buildPartial();
        } else {
          aesEncryptKey_ = value;
        }
        onChanged();
      } else {
        aesEncryptKeyBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000001;
      return this;
    }
    /**
     * optional .wechat_proto.SKBuiltinString_ aes_encrypt_key = 2;
     */
    public Builder clearAesEncryptKey() {
      if (aesEncryptKeyBuilder_ == null) {
        aesEncryptKey_ = null;
        onChanged();
      } else {
        aesEncryptKeyBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000001);
      return this;
    }
    /**
     * optional .wechat_proto.SKBuiltinString_ aes_encrypt_key = 2;
     */
    public wechat.protobuf.SKBuiltinString_.Builder getAesEncryptKeyBuilder() {
      bitField0_ |= 0x00000001;
      onChanged();
      return getAesEncryptKeyFieldBuilder().getBuilder();
    }
    /**
     * optional .wechat_proto.SKBuiltinString_ aes_encrypt_key = 2;
     */
    public wechat.protobuf.SKBuiltinString_OrBuilder getAesEncryptKeyOrBuilder() {
      if (aesEncryptKeyBuilder_ != null) {
        return aesEncryptKeyBuilder_.getMessageOrBuilder();
      } else {
        return aesEncryptKey_ == null ?
            wechat.protobuf.SKBuiltinString_.getDefaultInstance() : aesEncryptKey_;
      }
    }
    /**
     * optional .wechat_proto.SKBuiltinString_ aes_encrypt_key = 2;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> 
        getAesEncryptKeyFieldBuilder() {
      if (aesEncryptKeyBuilder_ == null) {
        aesEncryptKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
                getAesEncryptKey(),
                getParentForChildren(),
                isClean());
        aesEncryptKey_ = null;
      }
      return aesEncryptKeyBuilder_;
    }

    private wechat.protobuf.ECDHKey pubEcdhKey_;
    private com.google.protobuf.SingleFieldBuilderV3<
        wechat.protobuf.ECDHKey, wechat.protobuf.ECDHKey.Builder, wechat.protobuf.ECDHKeyOrBuilder> pubEcdhKeyBuilder_;
    /**
     * optional .wechat_proto.ECDHKey pubEcdhKey = 3;
     * @return Whether the pubEcdhKey field is set.
     */
    public boolean hasPubEcdhKey() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional .wechat_proto.ECDHKey pubEcdhKey = 3;
     * @return The pubEcdhKey.
     */
    public wechat.protobuf.ECDHKey getPubEcdhKey() {
      if (pubEcdhKeyBuilder_ == null) {
        return pubEcdhKey_ == null ? wechat.protobuf.ECDHKey.getDefaultInstance() : pubEcdhKey_;
      } else {
        return pubEcdhKeyBuilder_.getMessage();
      }
    }
    /**
     * optional .wechat_proto.ECDHKey pubEcdhKey = 3;
     */
    public Builder setPubEcdhKey(wechat.protobuf.ECDHKey value) {
      if (pubEcdhKeyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        pubEcdhKey_ = value;
        onChanged();
      } else {
        pubEcdhKeyBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000002;
      return this;
    }
    /**
     * optional .wechat_proto.ECDHKey pubEcdhKey = 3;
     */
    public Builder setPubEcdhKey(
        wechat.protobuf.ECDHKey.Builder builderForValue) {
      if (pubEcdhKeyBuilder_ == null) {
        pubEcdhKey_ = builderForValue.build();
        onChanged();
      } else {
        pubEcdhKeyBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000002;
      return this;
    }
    /**
     * optional .wechat_proto.ECDHKey pubEcdhKey = 3;
     */
    public Builder mergePubEcdhKey(wechat.protobuf.ECDHKey value) {
      if (pubEcdhKeyBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0) &&
            pubEcdhKey_ != null &&
            pubEcdhKey_ != wechat.protobuf.ECDHKey.getDefaultInstance()) {
          pubEcdhKey_ =
            wechat.protobuf.ECDHKey.newBuilder(pubEcdhKey_).mergeFrom(value).buildPartial();
        } else {
          pubEcdhKey_ = value;
        }
        onChanged();
      } else {
        pubEcdhKeyBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000002;
      return this;
    }
    /**
     * optional .wechat_proto.ECDHKey pubEcdhKey = 3;
     */
    public Builder clearPubEcdhKey() {
      if (pubEcdhKeyBuilder_ == null) {
        pubEcdhKey_ = null;
        onChanged();
      } else {
        pubEcdhKeyBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000002);
      return this;
    }
    /**
     * optional .wechat_proto.ECDHKey pubEcdhKey = 3;
     */
    public wechat.protobuf.ECDHKey.Builder getPubEcdhKeyBuilder() {
      bitField0_ |= 0x00000002;
      onChanged();
      return getPubEcdhKeyFieldBuilder().getBuilder();
    }
    /**
     * optional .wechat_proto.ECDHKey pubEcdhKey = 3;
     */
    public wechat.protobuf.ECDHKeyOrBuilder getPubEcdhKeyOrBuilder() {
      if (pubEcdhKeyBuilder_ != null) {
        return pubEcdhKeyBuilder_.getMessageOrBuilder();
      } else {
        return pubEcdhKey_ == null ?
            wechat.protobuf.ECDHKey.getDefaultInstance() : pubEcdhKey_;
      }
    }
    /**
     * optional .wechat_proto.ECDHKey pubEcdhKey = 3;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        wechat.protobuf.ECDHKey, wechat.protobuf.ECDHKey.Builder, wechat.protobuf.ECDHKeyOrBuilder> 
        getPubEcdhKeyFieldBuilder() {
      if (pubEcdhKeyBuilder_ == null) {
        pubEcdhKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            wechat.protobuf.ECDHKey, wechat.protobuf.ECDHKey.Builder, wechat.protobuf.ECDHKeyOrBuilder>(
                getPubEcdhKey(),
                getParentForChildren(),
                isClean());
        pubEcdhKey_ = null;
      }
      return pubEcdhKeyBuilder_;
    }
    @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.AutoAuthRsaReqData)
  }

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

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

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

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy