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

    /**
     * <code>required .HisDataHealth health = 1;</code>
     * @return Whether the health field is set.
     */
    boolean hasHealth();
    /**
     * <code>required .HisDataHealth health = 1;</code>
     * @return The health.
     */
    HisHealthData.HisDataHealth getHealth();
    /**
     * <code>required .HisDataHealth health = 1;</code>
     */
    HisHealthData.HisDataHealthOrBuilder getHealthOrBuilder();

    /**
     * <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 HisHealthEncrypt}
   */
  public  static final class HisHealthEncrypt extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:HisHealthEncrypt)
      HisHealthEncryptOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HisHealthEncrypt.newBuilder() to construct.
    private HisHealthEncrypt(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private HisHealthEncrypt() {
      random_ = com.google.protobuf.ByteString.EMPTY;
      bleMac_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HisHealthEncrypt(
        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: {
              HisHealthData.HisDataHealth.Builder subBuilder = null;
              if (((bitField0_ & 0x00000001) != 0)) {
                subBuilder = health_.toBuilder();
              }
              health_ = input.readMessage(HisHealthData.HisDataHealth.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(health_);
                health_ = 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 HisEncryptHealthData.internal_static_HisHealthEncrypt_descriptor;
    }

    @Override
    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return HisEncryptHealthData.internal_static_HisHealthEncrypt_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              HisHealthEncrypt.class, Builder.class);
    }

    private int bitField0_;
    public static final int HEALTH_FIELD_NUMBER = 1;
    private HisHealthData.HisDataHealth health_;
    /**
     * <code>required .HisDataHealth health = 1;</code>
     * @return Whether the health field is set.
     */
    public boolean hasHealth() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required .HisDataHealth health = 1;</code>
     * @return The health.
     */
    public HisHealthData.HisDataHealth getHealth() {
      return health_ == null ? HisHealthData.HisDataHealth.getDefaultInstance() : health_;
    }
    /**
     * <code>required .HisDataHealth health = 1;</code>
     */
    public HisHealthData.HisDataHealthOrBuilder getHealthOrBuilder() {
      return health_ == null ? HisHealthData.HisDataHealth.getDefaultInstance() : health_;
    }

    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 (!hasHealth()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasRandom()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasBleMac()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getHealth().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, getHealth());
      }
      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, getHealth());
      }
      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 HisHealthEncrypt)) {
        return super.equals(obj);
      }
      HisHealthEncrypt other = (HisHealthEncrypt) obj;

      if (hasHealth() != other.hasHealth()) return false;
      if (hasHealth()) {
        if (!getHealth()
            .equals(other.getHealth())) 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 (hasHealth()) {
        hash = (37 * hash) + HEALTH_FIELD_NUMBER;
        hash = (53 * hash) + getHealth().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 HisHealthEncrypt parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static HisHealthEncrypt parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static HisHealthEncrypt parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static HisHealthEncrypt parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static HisHealthEncrypt parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static HisHealthEncrypt parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static HisHealthEncrypt parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static HisHealthEncrypt 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 HisHealthEncrypt parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static HisHealthEncrypt 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 HisHealthEncrypt parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static HisHealthEncrypt 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(HisHealthEncrypt 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 HisHealthEncrypt}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:HisHealthEncrypt)
        HisHealthEncryptOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return HisEncryptHealthData.internal_static_HisHealthEncrypt_descriptor;
      }

      @Override
      protected FieldAccessorTable
          internalGetFieldAccessorTable() {
        return HisEncryptHealthData.internal_static_HisHealthEncrypt_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                HisHealthEncrypt.class, Builder.class);
      }

      // Construct using HisEncryptHealthData.HisHealthEncrypt.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getHealthFieldBuilder();
        }
      }
      @Override
      public Builder clear() {
        super.clear();
        if (healthBuilder_ == null) {
          health_ = null;
        } else {
          healthBuilder_.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 HisEncryptHealthData.internal_static_HisHealthEncrypt_descriptor;
      }

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

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

      @Override
      public HisHealthEncrypt buildPartial() {
        HisHealthEncrypt result = new HisHealthEncrypt(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          if (healthBuilder_ == null) {
            result.health_ = health_;
          } else {
            result.health_ = healthBuilder_.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 HisHealthEncrypt) {
          return mergeFrom((HisHealthEncrypt)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(HisHealthEncrypt other) {
        if (other == HisHealthEncrypt.getDefaultInstance()) return this;
        if (other.hasHealth()) {
          mergeHealth(other.getHealth());
        }
        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 (!hasHealth()) {
          return false;
        }
        if (!hasRandom()) {
          return false;
        }
        if (!hasBleMac()) {
          return false;
        }
        if (!getHealth().isInitialized()) {
          return false;
        }
        return true;
      }

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

      private HisHealthData.HisDataHealth health_;
      private com.google.protobuf.SingleFieldBuilderV3<
          HisHealthData.HisDataHealth, HisHealthData.HisDataHealth.Builder, HisHealthData.HisDataHealthOrBuilder> healthBuilder_;
      /**
       * <code>required .HisDataHealth health = 1;</code>
       * @return Whether the health field is set.
       */
      public boolean hasHealth() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required .HisDataHealth health = 1;</code>
       * @return The health.
       */
      public HisHealthData.HisDataHealth getHealth() {
        if (healthBuilder_ == null) {
          return health_ == null ? HisHealthData.HisDataHealth.getDefaultInstance() : health_;
        } else {
          return healthBuilder_.getMessage();
        }
      }
      /**
       * <code>required .HisDataHealth health = 1;</code>
       */
      public Builder setHealth(HisHealthData.HisDataHealth value) {
        if (healthBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          health_ = value;
          onChanged();
        } else {
          healthBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .HisDataHealth health = 1;</code>
       */
      public Builder setHealth(
          HisHealthData.HisDataHealth.Builder builderForValue) {
        if (healthBuilder_ == null) {
          health_ = builderForValue.build();
          onChanged();
        } else {
          healthBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .HisDataHealth health = 1;</code>
       */
      public Builder mergeHealth(HisHealthData.HisDataHealth value) {
        if (healthBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
              health_ != null &&
              health_ != HisHealthData.HisDataHealth.getDefaultInstance()) {
            health_ =
              HisHealthData.HisDataHealth.newBuilder(health_).mergeFrom(value).buildPartial();
          } else {
            health_ = value;
          }
          onChanged();
        } else {
          healthBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .HisDataHealth health = 1;</code>
       */
      public Builder clearHealth() {
        if (healthBuilder_ == null) {
          health_ = null;
          onChanged();
        } else {
          healthBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }
      /**
       * <code>required .HisDataHealth health = 1;</code>
       */
      public HisHealthData.HisDataHealth.Builder getHealthBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getHealthFieldBuilder().getBuilder();
      }
      /**
       * <code>required .HisDataHealth health = 1;</code>
       */
      public HisHealthData.HisDataHealthOrBuilder getHealthOrBuilder() {
        if (healthBuilder_ != null) {
          return healthBuilder_.getMessageOrBuilder();
        } else {
          return health_ == null ?
              HisHealthData.HisDataHealth.getDefaultInstance() : health_;
        }
      }
      /**
       * <code>required .HisDataHealth health = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          HisHealthData.HisDataHealth, HisHealthData.HisDataHealth.Builder, HisHealthData.HisDataHealthOrBuilder>
          getHealthFieldBuilder() {
        if (healthBuilder_ == null) {
          healthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              HisHealthData.HisDataHealth, HisHealthData.HisDataHealth.Builder, HisHealthData.HisDataHealthOrBuilder>(
                  getHealth(),
                  getParentForChildren(),
                  isClean());
          health_ = null;
        }
        return healthBuilder_;
      }

      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:HisHealthEncrypt)
    }

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

    public static HisHealthEncrypt getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

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

    /**
     * <code>required .HisHealthEncrypt his_Health = 1;</code>
     * @return Whether the hisHealth field is set.
     */
    boolean hasHisHealth();
    /**
     * <code>required .HisHealthEncrypt his_Health = 1;</code>
     * @return The hisHealth.
     */
    HisHealthEncrypt getHisHealth();
    /**
     * <code>required .HisHealthEncrypt his_Health = 1;</code>
     */
    HisHealthEncryptOrBuilder getHisHealthOrBuilder();

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

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

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HisDataHealthEncrypt(
        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: {
              HisHealthEncrypt.Builder subBuilder = null;
              if (((bitField0_ & 0x00000001) != 0)) {
                subBuilder = hisHealth_.toBuilder();
              }
              hisHealth_ = input.readMessage(HisHealthEncrypt.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(hisHealth_);
                hisHealth_ = 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 HisEncryptHealthData.internal_static_HisDataHealthEncrypt_descriptor;
    }

    @Override
    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return HisEncryptHealthData.internal_static_HisDataHealthEncrypt_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              HisDataHealthEncrypt.class, Builder.class);
    }

    private int bitField0_;
    public static final int HIS_HEALTH_FIELD_NUMBER = 1;
    private HisHealthEncrypt hisHealth_;
    /**
     * <code>required .HisHealthEncrypt his_Health = 1;</code>
     * @return Whether the hisHealth field is set.
     */
    public boolean hasHisHealth() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required .HisHealthEncrypt his_Health = 1;</code>
     * @return The hisHealth.
     */
    public HisHealthEncrypt getHisHealth() {
      return hisHealth_ == null ? HisHealthEncrypt.getDefaultInstance() : hisHealth_;
    }
    /**
     * <code>required .HisHealthEncrypt his_Health = 1;</code>
     */
    public HisHealthEncryptOrBuilder getHisHealthOrBuilder() {
      return hisHealth_ == null ? HisHealthEncrypt.getDefaultInstance() : hisHealth_;
    }

    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 (!hasHisHealth()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasSignatureData()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getHisHealth().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, getHisHealth());
      }
      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, getHisHealth());
      }
      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 HisDataHealthEncrypt)) {
        return super.equals(obj);
      }
      HisDataHealthEncrypt other = (HisDataHealthEncrypt) obj;

      if (hasHisHealth() != other.hasHisHealth()) return false;
      if (hasHisHealth()) {
        if (!getHisHealth()
            .equals(other.getHisHealth())) 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 (hasHisHealth()) {
        hash = (37 * hash) + HIS_HEALTH_FIELD_NUMBER;
        hash = (53 * hash) + getHisHealth().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 HisDataHealthEncrypt parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static HisDataHealthEncrypt parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static HisDataHealthEncrypt parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static HisDataHealthEncrypt parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static HisDataHealthEncrypt parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static HisDataHealthEncrypt parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static HisDataHealthEncrypt parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static HisDataHealthEncrypt 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 HisDataHealthEncrypt parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static HisDataHealthEncrypt 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 HisDataHealthEncrypt parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static HisDataHealthEncrypt 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(HisDataHealthEncrypt 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 HisDataHealthEncrypt}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:HisDataHealthEncrypt)
        HisDataHealthEncryptOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return HisEncryptHealthData.internal_static_HisDataHealthEncrypt_descriptor;
      }

      @Override
      protected FieldAccessorTable
          internalGetFieldAccessorTable() {
        return HisEncryptHealthData.internal_static_HisDataHealthEncrypt_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                HisDataHealthEncrypt.class, Builder.class);
      }

      // Construct using HisEncryptHealthData.HisDataHealthEncrypt.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

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

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

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

      @Override
      public HisDataHealthEncrypt buildPartial() {
        HisDataHealthEncrypt result = new HisDataHealthEncrypt(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          if (hisHealthBuilder_ == null) {
            result.hisHealth_ = hisHealth_;
          } else {
            result.hisHealth_ = hisHealthBuilder_.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 HisDataHealthEncrypt) {
          return mergeFrom((HisDataHealthEncrypt)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(HisDataHealthEncrypt other) {
        if (other == HisDataHealthEncrypt.getDefaultInstance()) return this;
        if (other.hasHisHealth()) {
          mergeHisHealth(other.getHisHealth());
        }
        if (other.hasSignatureData()) {
          setSignatureData(other.getSignatureData());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

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

      private HisHealthEncrypt hisHealth_;
      private com.google.protobuf.SingleFieldBuilderV3<
          HisHealthEncrypt, HisHealthEncrypt.Builder, HisHealthEncryptOrBuilder> hisHealthBuilder_;
      /**
       * <code>required .HisHealthEncrypt his_Health = 1;</code>
       * @return Whether the hisHealth field is set.
       */
      public boolean hasHisHealth() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required .HisHealthEncrypt his_Health = 1;</code>
       * @return The hisHealth.
       */
      public HisHealthEncrypt getHisHealth() {
        if (hisHealthBuilder_ == null) {
          return hisHealth_ == null ? HisHealthEncrypt.getDefaultInstance() : hisHealth_;
        } else {
          return hisHealthBuilder_.getMessage();
        }
      }
      /**
       * <code>required .HisHealthEncrypt his_Health = 1;</code>
       */
      public Builder setHisHealth(HisHealthEncrypt value) {
        if (hisHealthBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          hisHealth_ = value;
          onChanged();
        } else {
          hisHealthBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .HisHealthEncrypt his_Health = 1;</code>
       */
      public Builder setHisHealth(
          HisHealthEncrypt.Builder builderForValue) {
        if (hisHealthBuilder_ == null) {
          hisHealth_ = builderForValue.build();
          onChanged();
        } else {
          hisHealthBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .HisHealthEncrypt his_Health = 1;</code>
       */
      public Builder mergeHisHealth(HisHealthEncrypt value) {
        if (hisHealthBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
              hisHealth_ != null &&
              hisHealth_ != HisHealthEncrypt.getDefaultInstance()) {
            hisHealth_ =
              HisHealthEncrypt.newBuilder(hisHealth_).mergeFrom(value).buildPartial();
          } else {
            hisHealth_ = value;
          }
          onChanged();
        } else {
          hisHealthBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .HisHealthEncrypt his_Health = 1;</code>
       */
      public Builder clearHisHealth() {
        if (hisHealthBuilder_ == null) {
          hisHealth_ = null;
          onChanged();
        } else {
          hisHealthBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }
      /**
       * <code>required .HisHealthEncrypt his_Health = 1;</code>
       */
      public HisHealthEncrypt.Builder getHisHealthBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getHisHealthFieldBuilder().getBuilder();
      }
      /**
       * <code>required .HisHealthEncrypt his_Health = 1;</code>
       */
      public HisHealthEncryptOrBuilder getHisHealthOrBuilder() {
        if (hisHealthBuilder_ != null) {
          return hisHealthBuilder_.getMessageOrBuilder();
        } else {
          return hisHealth_ == null ?
              HisHealthEncrypt.getDefaultInstance() : hisHealth_;
        }
      }
      /**
       * <code>required .HisHealthEncrypt his_Health = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          HisHealthEncrypt, HisHealthEncrypt.Builder, HisHealthEncryptOrBuilder>
          getHisHealthFieldBuilder() {
        if (hisHealthBuilder_ == null) {
          hisHealthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              HisHealthEncrypt, HisHealthEncrypt.Builder, HisHealthEncryptOrBuilder>(
                  getHisHealth(),
                  getParentForChildren(),
                  isClean());
          hisHealth_ = null;
        }
        return hisHealthBuilder_;
      }

      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:HisDataHealthEncrypt)
    }

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

    public static HisDataHealthEncrypt getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_HisHealthEncrypt_descriptor;
  private static final
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_HisHealthEncrypt_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_HisDataHealthEncrypt_descriptor;
  private static final
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_HisDataHealthEncrypt_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    String[] descriptorData = {
      "\n\035his_encrypt_health_data.proto\032\023realtim" +
      "e_data.proto\032\025his_health_data.proto\"R\n\020H" +
      "isHealthEncrypt\022\036\n\006health\030\001 \002(\0132\016.HisDat" +
      "aHealth\022\016\n\006Random\030\002 \002(\014\022\016\n\006BleMac\030\003 \002(\014\"" +
      "U\n\024HisDataHealthEncrypt\022%\n\nhis_Health\030\001 " +
      "\002(\0132\021.HisHealthEncrypt\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(),
          HisHealthData.getDescriptor(),
        });
    internal_static_HisHealthEncrypt_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_HisHealthEncrypt_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_HisHealthEncrypt_descriptor,
        new String[] { "Health", "Random", "BleMac", });
    internal_static_HisDataHealthEncrypt_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_HisDataHealthEncrypt_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_HisDataHealthEncrypt_descriptor,
        new String[] { "HisHealth", "SignatureData", });
    RealtimeData.getDescriptor();
    HisHealthData.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
