// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: his_encrypt_rri_data.proto
package com.fs.watch.protobuf;
public final class HisEncryptRriData {
  private HisEncryptRriData() {}
  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 HisRRIEncryptOrBuilder extends
      // @@protoc_insertion_point(interface_extends:HisRRIEncrypt)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>required .HisDataRRI rriencrypt = 1;</code>
     * @return Whether the rriencrypt field is set.
     */
    boolean hasRriencrypt();
    /**
     * <code>required .HisDataRRI rriencrypt = 1;</code>
     * @return The rriencrypt.
     */
    HisRriData.HisDataRRI getRriencrypt();
    /**
     * <code>required .HisDataRRI rriencrypt = 1;</code>
     */
    HisRriData.HisDataRRIOrBuilder getRriencryptOrBuilder();

    /**
     * <pre>
     *random number
     * </pre>
     *
     * <code>required bytes Random = 2;</code>
     * @return Whether the random field is set.
     */
    boolean hasRandom();
    /**
     * <pre>
     *random number
     * </pre>
     *
     * <code>required bytes Random = 2;</code>
     * @return The random.
     */
    com.google.protobuf.ByteString getRandom();

    /**
     * <code>required bytes BleMac = 3;</code>
     * @return Whether the bleMac field is set.
     */
    boolean hasBleMac();
    /**
     * <code>required bytes BleMac = 3;</code>
     * @return The bleMac.
     */
    com.google.protobuf.ByteString getBleMac();
  }
  /**
   * Protobuf type {@code HisRRIEncrypt}
   */
  public  static final class HisRRIEncrypt extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:HisRRIEncrypt)
      HisRRIEncryptOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HisRRIEncrypt.newBuilder() to construct.
    private HisRRIEncrypt(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private HisRRIEncrypt() {
      random_ = com.google.protobuf.ByteString.EMPTY;
      bleMac_ = com.google.protobuf.ByteString.EMPTY;
    }

    @Override
    @SuppressWarnings({"unused"})
    protected Object newInstance(
        UnusedPrivateParameter unused) {
      return new HisRRIEncrypt();
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HisRRIEncrypt(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new 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: {
              HisRriData.HisDataRRI.Builder subBuilder = null;
              if (((bitField0_ & 0x00000001) != 0)) {
                subBuilder = rriencrypt_.toBuilder();
              }
              rriencrypt_ = input.readMessage(HisRriData.HisDataRRI.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(rriencrypt_);
                rriencrypt_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000001;
              break;
            }
            case 18: {
              bitField0_ |= 0x00000002;
              random_ = input.readBytes();
              break;
            }
            case 26: {
              bitField0_ |= 0x00000004;
              bleMac_ = input.readBytes();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return HisEncryptRriData.internal_static_HisRRIEncrypt_descriptor;
    }

    @Override
    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return HisEncryptRriData.internal_static_HisRRIEncrypt_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              HisRRIEncrypt.class, Builder.class);
    }

    private int bitField0_;
    public static final int RRIENCRYPT_FIELD_NUMBER = 1;
    private HisRriData.HisDataRRI rriencrypt_;
    /**
     * <code>required .HisDataRRI rriencrypt = 1;</code>
     * @return Whether the rriencrypt field is set.
     */
    public boolean hasRriencrypt() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required .HisDataRRI rriencrypt = 1;</code>
     * @return The rriencrypt.
     */
    public HisRriData.HisDataRRI getRriencrypt() {
      return rriencrypt_ == null ? HisRriData.HisDataRRI.getDefaultInstance() : rriencrypt_;
    }
    /**
     * <code>required .HisDataRRI rriencrypt = 1;</code>
     */
    public HisRriData.HisDataRRIOrBuilder getRriencryptOrBuilder() {
      return rriencrypt_ == null ? HisRriData.HisDataRRI.getDefaultInstance() : rriencrypt_;
    }

    public static final int RANDOM_FIELD_NUMBER = 2;
    private com.google.protobuf.ByteString random_;
    /**
     * <pre>
     *random number
     * </pre>
     *
     * <code>required bytes Random = 2;</code>
     * @return Whether the random field is set.
     */
    public boolean hasRandom() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <pre>
     *random number
     * </pre>
     *
     * <code>required bytes Random = 2;</code>
     * @return The random.
     */
    public com.google.protobuf.ByteString getRandom() {
      return random_;
    }

    public static final int BLEMAC_FIELD_NUMBER = 3;
    private com.google.protobuf.ByteString bleMac_;
    /**
     * <code>required bytes BleMac = 3;</code>
     * @return Whether the bleMac field is set.
     */
    public boolean hasBleMac() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>required bytes BleMac = 3;</code>
     * @return The bleMac.
     */
    public com.google.protobuf.ByteString getBleMac() {
      return bleMac_;
    }

    private byte memoizedIsInitialized = -1;
    @Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      if (!hasRriencrypt()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasRandom()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasBleMac()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getRriencrypt().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getRriencrypt());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeBytes(2, random_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeBytes(3, bleMac_);
      }
      unknownFields.writeTo(output);
    }

    @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, getRriencrypt());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, random_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(3, bleMac_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof HisRRIEncrypt)) {
        return super.equals(obj);
      }
      HisRRIEncrypt other = (HisRRIEncrypt) obj;

      if (hasRriencrypt() != other.hasRriencrypt()) return false;
      if (hasRriencrypt()) {
        if (!getRriencrypt()
            .equals(other.getRriencrypt())) return false;
      }
      if (hasRandom() != other.hasRandom()) return false;
      if (hasRandom()) {
        if (!getRandom()
            .equals(other.getRandom())) return false;
      }
      if (hasBleMac() != other.hasBleMac()) return false;
      if (hasBleMac()) {
        if (!getBleMac()
            .equals(other.getBleMac())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasRriencrypt()) {
        hash = (37 * hash) + RRIENCRYPT_FIELD_NUMBER;
        hash = (53 * hash) + getRriencrypt().hashCode();
      }
      if (hasRandom()) {
        hash = (37 * hash) + RANDOM_FIELD_NUMBER;
        hash = (53 * hash) + getRandom().hashCode();
      }
      if (hasBleMac()) {
        hash = (37 * hash) + BLEMAC_FIELD_NUMBER;
        hash = (53 * hash) + getBleMac().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static HisRRIEncrypt parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static HisRRIEncrypt parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static HisRRIEncrypt parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static HisRRIEncrypt parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static HisRRIEncrypt parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static HisRRIEncrypt parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static HisRRIEncrypt parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static HisRRIEncrypt 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 HisRRIEncrypt parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static HisRRIEncrypt 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 HisRRIEncrypt parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static HisRRIEncrypt parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(HisRRIEncrypt prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code HisRRIEncrypt}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:HisRRIEncrypt)
        HisRRIEncryptOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return HisEncryptRriData.internal_static_HisRRIEncrypt_descriptor;
      }

      @Override
      protected FieldAccessorTable
          internalGetFieldAccessorTable() {
        return HisEncryptRriData.internal_static_HisRRIEncrypt_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                HisRRIEncrypt.class, Builder.class);
      }

      // Construct using HisEncryptRriData.HisRRIEncrypt.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getRriencryptFieldBuilder();
        }
      }
      @Override
      public Builder clear() {
        super.clear();
        if (rriencryptBuilder_ == null) {
          rriencrypt_ = null;
        } else {
          rriencryptBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        random_ = com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        bleMac_ = com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      @Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return HisEncryptRriData.internal_static_HisRRIEncrypt_descriptor;
      }

      @Override
      public HisRRIEncrypt getDefaultInstanceForType() {
        return HisRRIEncrypt.getDefaultInstance();
      }

      @Override
      public HisRRIEncrypt build() {
        HisRRIEncrypt result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @Override
      public HisRRIEncrypt buildPartial() {
        HisRRIEncrypt result = new HisRRIEncrypt(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          if (rriencryptBuilder_ == null) {
            result.rriencrypt_ = rriencrypt_;
          } else {
            result.rriencrypt_ = rriencryptBuilder_.build();
          }
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          to_bitField0_ |= 0x00000002;
        }
        result.random_ = random_;
        if (((from_bitField0_ & 0x00000004) != 0)) {
          to_bitField0_ |= 0x00000004;
        }
        result.bleMac_ = bleMac_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @Override
      public Builder clone() {
        return super.clone();
      }
      @Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.setField(field, value);
      }
      @Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.addRepeatedField(field, value);
      }
      @Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof HisRRIEncrypt) {
          return mergeFrom((HisRRIEncrypt)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(HisRRIEncrypt other) {
        if (other == HisRRIEncrypt.getDefaultInstance()) return this;
        if (other.hasRriencrypt()) {
          mergeRriencrypt(other.getRriencrypt());
        }
        if (other.hasRandom()) {
          setRandom(other.getRandom());
        }
        if (other.hasBleMac()) {
          setBleMac(other.getBleMac());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @Override
      public final boolean isInitialized() {
        if (!hasRriencrypt()) {
          return false;
        }
        if (!hasRandom()) {
          return false;
        }
        if (!hasBleMac()) {
          return false;
        }
        if (!getRriencrypt().isInitialized()) {
          return false;
        }
        return true;
      }

      @Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        HisRRIEncrypt parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (HisRRIEncrypt) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private HisRriData.HisDataRRI rriencrypt_;
      private com.google.protobuf.SingleFieldBuilderV3<
          HisRriData.HisDataRRI, HisRriData.HisDataRRI.Builder, HisRriData.HisDataRRIOrBuilder> rriencryptBuilder_;
      /**
       * <code>required .HisDataRRI rriencrypt = 1;</code>
       * @return Whether the rriencrypt field is set.
       */
      public boolean hasRriencrypt() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required .HisDataRRI rriencrypt = 1;</code>
       * @return The rriencrypt.
       */
      public HisRriData.HisDataRRI getRriencrypt() {
        if (rriencryptBuilder_ == null) {
          return rriencrypt_ == null ? HisRriData.HisDataRRI.getDefaultInstance() : rriencrypt_;
        } else {
          return rriencryptBuilder_.getMessage();
        }
      }
      /**
       * <code>required .HisDataRRI rriencrypt = 1;</code>
       */
      public Builder setRriencrypt(HisRriData.HisDataRRI value) {
        if (rriencryptBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          rriencrypt_ = value;
          onChanged();
        } else {
          rriencryptBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .HisDataRRI rriencrypt = 1;</code>
       */
      public Builder setRriencrypt(
          HisRriData.HisDataRRI.Builder builderForValue) {
        if (rriencryptBuilder_ == null) {
          rriencrypt_ = builderForValue.build();
          onChanged();
        } else {
          rriencryptBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .HisDataRRI rriencrypt = 1;</code>
       */
      public Builder mergeRriencrypt(HisRriData.HisDataRRI value) {
        if (rriencryptBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
              rriencrypt_ != null &&
              rriencrypt_ != HisRriData.HisDataRRI.getDefaultInstance()) {
            rriencrypt_ =
              HisRriData.HisDataRRI.newBuilder(rriencrypt_).mergeFrom(value).buildPartial();
          } else {
            rriencrypt_ = value;
          }
          onChanged();
        } else {
          rriencryptBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .HisDataRRI rriencrypt = 1;</code>
       */
      public Builder clearRriencrypt() {
        if (rriencryptBuilder_ == null) {
          rriencrypt_ = null;
          onChanged();
        } else {
          rriencryptBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }
      /**
       * <code>required .HisDataRRI rriencrypt = 1;</code>
       */
      public HisRriData.HisDataRRI.Builder getRriencryptBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getRriencryptFieldBuilder().getBuilder();
      }
      /**
       * <code>required .HisDataRRI rriencrypt = 1;</code>
       */
      public HisRriData.HisDataRRIOrBuilder getRriencryptOrBuilder() {
        if (rriencryptBuilder_ != null) {
          return rriencryptBuilder_.getMessageOrBuilder();
        } else {
          return rriencrypt_ == null ?
              HisRriData.HisDataRRI.getDefaultInstance() : rriencrypt_;
        }
      }
      /**
       * <code>required .HisDataRRI rriencrypt = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          HisRriData.HisDataRRI, HisRriData.HisDataRRI.Builder, HisRriData.HisDataRRIOrBuilder>
          getRriencryptFieldBuilder() {
        if (rriencryptBuilder_ == null) {
          rriencryptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              HisRriData.HisDataRRI, HisRriData.HisDataRRI.Builder, HisRriData.HisDataRRIOrBuilder>(
                  getRriencrypt(),
                  getParentForChildren(),
                  isClean());
          rriencrypt_ = null;
        }
        return rriencryptBuilder_;
      }

      private com.google.protobuf.ByteString random_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <pre>
       *random number
       * </pre>
       *
       * <code>required bytes Random = 2;</code>
       * @return Whether the random field is set.
       */
      public boolean hasRandom() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <pre>
       *random number
       * </pre>
       *
       * <code>required bytes Random = 2;</code>
       * @return The random.
       */
      public com.google.protobuf.ByteString getRandom() {
        return random_;
      }
      /**
       * <pre>
       *random number
       * </pre>
       *
       * <code>required bytes Random = 2;</code>
       * @param value The random to set.
       * @return This builder for chaining.
       */
      public Builder setRandom(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        random_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *random number
       * </pre>
       *
       * <code>required bytes Random = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearRandom() {
        bitField0_ = (bitField0_ & ~0x00000002);
        random_ = getDefaultInstance().getRandom();
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString bleMac_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>required bytes BleMac = 3;</code>
       * @return Whether the bleMac field is set.
       */
      public boolean hasBleMac() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <code>required bytes BleMac = 3;</code>
       * @return The bleMac.
       */
      public com.google.protobuf.ByteString getBleMac() {
        return bleMac_;
      }
      /**
       * <code>required bytes BleMac = 3;</code>
       * @param value The bleMac to set.
       * @return This builder for chaining.
       */
      public Builder setBleMac(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        bleMac_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required bytes BleMac = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearBleMac() {
        bitField0_ = (bitField0_ & ~0x00000004);
        bleMac_ = getDefaultInstance().getBleMac();
        onChanged();
        return this;
      }
      @Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:HisRRIEncrypt)
    }

    // @@protoc_insertion_point(class_scope:HisRRIEncrypt)
    private static final HisRRIEncrypt DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new HisRRIEncrypt();
    }

    public static HisRRIEncrypt getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @Deprecated public static final com.google.protobuf.Parser<HisRRIEncrypt>
        PARSER = new com.google.protobuf.AbstractParser<HisRRIEncrypt>() {
      @Override
      public HisRRIEncrypt parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new HisRRIEncrypt(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<HisRRIEncrypt> parser() {
      return PARSER;
    }

    @Override
    public com.google.protobuf.Parser<HisRRIEncrypt> getParserForType() {
      return PARSER;
    }

    @Override
    public HisRRIEncrypt getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface HisDataRRIEncryptOrBuilder extends
      // @@protoc_insertion_point(interface_extends:HisDataRRIEncrypt)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>required .HisRRIEncrypt his_rri = 1;</code>
     * @return Whether the hisRri field is set.
     */
    boolean hasHisRri();
    /**
     * <code>required .HisRRIEncrypt his_rri = 1;</code>
     * @return The hisRri.
     */
    HisRRIEncrypt getHisRri();
    /**
     * <code>required .HisRRIEncrypt his_rri = 1;</code>
     */
    HisRRIEncryptOrBuilder getHisRriOrBuilder();

    /**
     * <code>required bytes signature_data = 2;</code>
     * @return Whether the signatureData field is set.
     */
    boolean hasSignatureData();
    /**
     * <code>required bytes signature_data = 2;</code>
     * @return The signatureData.
     */
    com.google.protobuf.ByteString getSignatureData();
  }
  /**
   * Protobuf type {@code HisDataRRIEncrypt}
   */
  public  static final class HisDataRRIEncrypt extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:HisDataRRIEncrypt)
      HisDataRRIEncryptOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HisDataRRIEncrypt.newBuilder() to construct.
    private HisDataRRIEncrypt(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private HisDataRRIEncrypt() {
      signatureData_ = com.google.protobuf.ByteString.EMPTY;
    }

    @Override
    @SuppressWarnings({"unused"})
    protected Object newInstance(
        UnusedPrivateParameter unused) {
      return new HisDataRRIEncrypt();
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HisDataRRIEncrypt(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new 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: {
              HisRRIEncrypt.Builder subBuilder = null;
              if (((bitField0_ & 0x00000001) != 0)) {
                subBuilder = hisRri_.toBuilder();
              }
              hisRri_ = input.readMessage(HisRRIEncrypt.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(hisRri_);
                hisRri_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000001;
              break;
            }
            case 18: {
              bitField0_ |= 0x00000002;
              signatureData_ = input.readBytes();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return HisEncryptRriData.internal_static_HisDataRRIEncrypt_descriptor;
    }

    @Override
    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return HisEncryptRriData.internal_static_HisDataRRIEncrypt_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              HisDataRRIEncrypt.class, Builder.class);
    }

    private int bitField0_;
    public static final int HIS_RRI_FIELD_NUMBER = 1;
    private HisRRIEncrypt hisRri_;
    /**
     * <code>required .HisRRIEncrypt his_rri = 1;</code>
     * @return Whether the hisRri field is set.
     */
    public boolean hasHisRri() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required .HisRRIEncrypt his_rri = 1;</code>
     * @return The hisRri.
     */
    public HisRRIEncrypt getHisRri() {
      return hisRri_ == null ? HisRRIEncrypt.getDefaultInstance() : hisRri_;
    }
    /**
     * <code>required .HisRRIEncrypt his_rri = 1;</code>
     */
    public HisRRIEncryptOrBuilder getHisRriOrBuilder() {
      return hisRri_ == null ? HisRRIEncrypt.getDefaultInstance() : hisRri_;
    }

    public static final int SIGNATURE_DATA_FIELD_NUMBER = 2;
    private com.google.protobuf.ByteString signatureData_;
    /**
     * <code>required bytes signature_data = 2;</code>
     * @return Whether the signatureData field is set.
     */
    public boolean hasSignatureData() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>required bytes signature_data = 2;</code>
     * @return The signatureData.
     */
    public com.google.protobuf.ByteString getSignatureData() {
      return signatureData_;
    }

    private byte memoizedIsInitialized = -1;
    @Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      if (!hasHisRri()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasSignatureData()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getHisRri().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getHisRri());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeBytes(2, signatureData_);
      }
      unknownFields.writeTo(output);
    }

    @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, getHisRri());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, signatureData_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof HisDataRRIEncrypt)) {
        return super.equals(obj);
      }
      HisDataRRIEncrypt other = (HisDataRRIEncrypt) obj;

      if (hasHisRri() != other.hasHisRri()) return false;
      if (hasHisRri()) {
        if (!getHisRri()
            .equals(other.getHisRri())) return false;
      }
      if (hasSignatureData() != other.hasSignatureData()) return false;
      if (hasSignatureData()) {
        if (!getSignatureData()
            .equals(other.getSignatureData())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasHisRri()) {
        hash = (37 * hash) + HIS_RRI_FIELD_NUMBER;
        hash = (53 * hash) + getHisRri().hashCode();
      }
      if (hasSignatureData()) {
        hash = (37 * hash) + SIGNATURE_DATA_FIELD_NUMBER;
        hash = (53 * hash) + getSignatureData().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static HisDataRRIEncrypt parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static HisDataRRIEncrypt parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static HisDataRRIEncrypt parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static HisDataRRIEncrypt parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static HisDataRRIEncrypt parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static HisDataRRIEncrypt parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static HisDataRRIEncrypt parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static HisDataRRIEncrypt 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 HisDataRRIEncrypt parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static HisDataRRIEncrypt 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 HisDataRRIEncrypt parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static HisDataRRIEncrypt parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(HisDataRRIEncrypt prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code HisDataRRIEncrypt}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:HisDataRRIEncrypt)
        HisDataRRIEncryptOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return HisEncryptRriData.internal_static_HisDataRRIEncrypt_descriptor;
      }

      @Override
      protected FieldAccessorTable
          internalGetFieldAccessorTable() {
        return HisEncryptRriData.internal_static_HisDataRRIEncrypt_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                HisDataRRIEncrypt.class, Builder.class);
      }

      // Construct using HisEncryptRriData.HisDataRRIEncrypt.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getHisRriFieldBuilder();
        }
      }
      @Override
      public Builder clear() {
        super.clear();
        if (hisRriBuilder_ == null) {
          hisRri_ = null;
        } else {
          hisRriBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        signatureData_ = com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      @Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return HisEncryptRriData.internal_static_HisDataRRIEncrypt_descriptor;
      }

      @Override
      public HisDataRRIEncrypt getDefaultInstanceForType() {
        return HisDataRRIEncrypt.getDefaultInstance();
      }

      @Override
      public HisDataRRIEncrypt build() {
        HisDataRRIEncrypt result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @Override
      public HisDataRRIEncrypt buildPartial() {
        HisDataRRIEncrypt result = new HisDataRRIEncrypt(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          if (hisRriBuilder_ == null) {
            result.hisRri_ = hisRri_;
          } else {
            result.hisRri_ = hisRriBuilder_.build();
          }
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          to_bitField0_ |= 0x00000002;
        }
        result.signatureData_ = signatureData_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @Override
      public Builder clone() {
        return super.clone();
      }
      @Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.setField(field, value);
      }
      @Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.addRepeatedField(field, value);
      }
      @Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof HisDataRRIEncrypt) {
          return mergeFrom((HisDataRRIEncrypt)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(HisDataRRIEncrypt other) {
        if (other == HisDataRRIEncrypt.getDefaultInstance()) return this;
        if (other.hasHisRri()) {
          mergeHisRri(other.getHisRri());
        }
        if (other.hasSignatureData()) {
          setSignatureData(other.getSignatureData());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @Override
      public final boolean isInitialized() {
        if (!hasHisRri()) {
          return false;
        }
        if (!hasSignatureData()) {
          return false;
        }
        if (!getHisRri().isInitialized()) {
          return false;
        }
        return true;
      }

      @Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        HisDataRRIEncrypt parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (HisDataRRIEncrypt) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private HisRRIEncrypt hisRri_;
      private com.google.protobuf.SingleFieldBuilderV3<
          HisRRIEncrypt, HisRRIEncrypt.Builder, HisRRIEncryptOrBuilder> hisRriBuilder_;
      /**
       * <code>required .HisRRIEncrypt his_rri = 1;</code>
       * @return Whether the hisRri field is set.
       */
      public boolean hasHisRri() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required .HisRRIEncrypt his_rri = 1;</code>
       * @return The hisRri.
       */
      public HisRRIEncrypt getHisRri() {
        if (hisRriBuilder_ == null) {
          return hisRri_ == null ? HisRRIEncrypt.getDefaultInstance() : hisRri_;
        } else {
          return hisRriBuilder_.getMessage();
        }
      }
      /**
       * <code>required .HisRRIEncrypt his_rri = 1;</code>
       */
      public Builder setHisRri(HisRRIEncrypt value) {
        if (hisRriBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          hisRri_ = value;
          onChanged();
        } else {
          hisRriBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .HisRRIEncrypt his_rri = 1;</code>
       */
      public Builder setHisRri(
          HisRRIEncrypt.Builder builderForValue) {
        if (hisRriBuilder_ == null) {
          hisRri_ = builderForValue.build();
          onChanged();
        } else {
          hisRriBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .HisRRIEncrypt his_rri = 1;</code>
       */
      public Builder mergeHisRri(HisRRIEncrypt value) {
        if (hisRriBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
              hisRri_ != null &&
              hisRri_ != HisRRIEncrypt.getDefaultInstance()) {
            hisRri_ =
              HisRRIEncrypt.newBuilder(hisRri_).mergeFrom(value).buildPartial();
          } else {
            hisRri_ = value;
          }
          onChanged();
        } else {
          hisRriBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .HisRRIEncrypt his_rri = 1;</code>
       */
      public Builder clearHisRri() {
        if (hisRriBuilder_ == null) {
          hisRri_ = null;
          onChanged();
        } else {
          hisRriBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }
      /**
       * <code>required .HisRRIEncrypt his_rri = 1;</code>
       */
      public HisRRIEncrypt.Builder getHisRriBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getHisRriFieldBuilder().getBuilder();
      }
      /**
       * <code>required .HisRRIEncrypt his_rri = 1;</code>
       */
      public HisRRIEncryptOrBuilder getHisRriOrBuilder() {
        if (hisRriBuilder_ != null) {
          return hisRriBuilder_.getMessageOrBuilder();
        } else {
          return hisRri_ == null ?
              HisRRIEncrypt.getDefaultInstance() : hisRri_;
        }
      }
      /**
       * <code>required .HisRRIEncrypt his_rri = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          HisRRIEncrypt, HisRRIEncrypt.Builder, HisRRIEncryptOrBuilder>
          getHisRriFieldBuilder() {
        if (hisRriBuilder_ == null) {
          hisRriBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              HisRRIEncrypt, HisRRIEncrypt.Builder, HisRRIEncryptOrBuilder>(
                  getHisRri(),
                  getParentForChildren(),
                  isClean());
          hisRri_ = null;
        }
        return hisRriBuilder_;
      }

      private com.google.protobuf.ByteString signatureData_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>required bytes signature_data = 2;</code>
       * @return Whether the signatureData field is set.
       */
      public boolean hasSignatureData() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>required bytes signature_data = 2;</code>
       * @return The signatureData.
       */
      public com.google.protobuf.ByteString getSignatureData() {
        return signatureData_;
      }
      /**
       * <code>required bytes signature_data = 2;</code>
       * @param value The signatureData to set.
       * @return This builder for chaining.
       */
      public Builder setSignatureData(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        signatureData_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required bytes signature_data = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearSignatureData() {
        bitField0_ = (bitField0_ & ~0x00000002);
        signatureData_ = getDefaultInstance().getSignatureData();
        onChanged();
        return this;
      }
      @Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:HisDataRRIEncrypt)
    }

    // @@protoc_insertion_point(class_scope:HisDataRRIEncrypt)
    private static final HisDataRRIEncrypt DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new HisDataRRIEncrypt();
    }

    public static HisDataRRIEncrypt getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @Deprecated public static final com.google.protobuf.Parser<HisDataRRIEncrypt>
        PARSER = new com.google.protobuf.AbstractParser<HisDataRRIEncrypt>() {
      @Override
      public HisDataRRIEncrypt parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new HisDataRRIEncrypt(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<HisDataRRIEncrypt> parser() {
      return PARSER;
    }

    @Override
    public com.google.protobuf.Parser<HisDataRRIEncrypt> getParserForType() {
      return PARSER;
    }

    @Override
    public HisDataRRIEncrypt getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_HisRRIEncrypt_descriptor;
  private static final
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_HisRRIEncrypt_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_HisDataRRIEncrypt_descriptor;
  private static final
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_HisDataRRIEncrypt_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    String[] descriptorData = {
      "\n\032his_encrypt_rri_data.proto\032\023realtime_d" +
      "ata.proto\032\022his_rri_data.proto\"P\n\rHisRRIE" +
      "ncrypt\022\037\n\nrriencrypt\030\001 \002(\0132\013.HisDataRRI\022" +
      "\016\n\006Random\030\002 \002(\014\022\016\n\006BleMac\030\003 \002(\014\"L\n\021HisDa" +
      "taRRIEncrypt\022\037\n\007his_rri\030\001 \002(\0132\016.HisRRIEn" +
      "crypt\022\026\n\016signature_data\030\002 \002(\014B\tZ\007./iwown"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          RealtimeData.getDescriptor(),
          HisRriData.getDescriptor(),
        });
    internal_static_HisRRIEncrypt_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_HisRRIEncrypt_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_HisRRIEncrypt_descriptor,
        new String[] { "Rriencrypt", "Random", "BleMac", });
    internal_static_HisDataRRIEncrypt_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_HisDataRRIEncrypt_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_HisDataRRIEncrypt_descriptor,
        new String[] { "HisRri", "SignatureData", });
    RealtimeData.getDescriptor();
    HisRriData.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
