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

    /**
     * <code>required .DateTime time_stamp = 1;</code>
     * @return Whether the timeStamp field is set.
     */
    boolean hasTimeStamp();
    /**
     * <code>required .DateTime time_stamp = 1;</code>
     * @return The timeStamp.
     */
    RealtimeData.DateTime getTimeStamp();
    /**
     * <code>required .DateTime time_stamp = 1;</code>
     */
    RealtimeData.DateTimeOrBuilder getTimeStampOrBuilder();

    /**
     * <code>required fixed32 Gyroscope_data_count = 2;</code>
     * @return Whether the gyroscopeDataCount field is set.
     */
    boolean hasGyroscopeDataCount();
    /**
     * <code>required fixed32 Gyroscope_data_count = 2;</code>
     * @return The gyroscopeDataCount.
     */
    int getGyroscopeDataCount();

    /**
     * <code>required bytes Gyroscope_x = 3;</code>
     * @return Whether the gyroscopeX field is set.
     */
    boolean hasGyroscopeX();
    /**
     * <code>required bytes Gyroscope_x = 3;</code>
     * @return The gyroscopeX.
     */
    com.google.protobuf.ByteString getGyroscopeX();

    /**
     * <code>required bytes Gyroscope_y = 4;</code>
     * @return Whether the gyroscopeY field is set.
     */
    boolean hasGyroscopeY();
    /**
     * <code>required bytes Gyroscope_y = 4;</code>
     * @return The gyroscopeY.
     */
    com.google.protobuf.ByteString getGyroscopeY();

    /**
     * <code>required bytes Gyroscope_z = 5;</code>
     * @return Whether the gyroscopeZ field is set.
     */
    boolean hasGyroscopeZ();
    /**
     * <code>required bytes Gyroscope_z = 5;</code>
     * @return The gyroscopeZ.
     */
    com.google.protobuf.ByteString getGyroscopeZ();
  }
  /**
   * Protobuf type {@code HisGyroscope}
   */
  public  static final class HisGyroscope extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:HisGyroscope)
      HisGyroscopeOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HisGyroscope.newBuilder() to construct.
    private HisGyroscope(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private HisGyroscope() {
      gyroscopeX_ = com.google.protobuf.ByteString.EMPTY;
      gyroscopeY_ = com.google.protobuf.ByteString.EMPTY;
      gyroscopeZ_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HisGyroscope(
        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: {
              RealtimeData.DateTime.Builder subBuilder = null;
              if (((bitField0_ & 0x00000001) != 0)) {
                subBuilder = timeStamp_.toBuilder();
              }
              timeStamp_ = input.readMessage(RealtimeData.DateTime.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(timeStamp_);
                timeStamp_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000001;
              break;
            }
            case 21: {
              bitField0_ |= 0x00000002;
              gyroscopeDataCount_ = input.readFixed32();
              break;
            }
            case 26: {
              bitField0_ |= 0x00000004;
              gyroscopeX_ = input.readBytes();
              break;
            }
            case 34: {
              bitField0_ |= 0x00000008;
              gyroscopeY_ = input.readBytes();
              break;
            }
            case 42: {
              bitField0_ |= 0x00000010;
              gyroscopeZ_ = 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 GyroscopeData.internal_static_HisGyroscope_descriptor;
    }

    @Override
    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return GyroscopeData.internal_static_HisGyroscope_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              HisGyroscope.class, Builder.class);
    }

    private int bitField0_;
    public static final int TIME_STAMP_FIELD_NUMBER = 1;
    private RealtimeData.DateTime timeStamp_;
    /**
     * <code>required .DateTime time_stamp = 1;</code>
     * @return Whether the timeStamp field is set.
     */
    public boolean hasTimeStamp() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required .DateTime time_stamp = 1;</code>
     * @return The timeStamp.
     */
    public RealtimeData.DateTime getTimeStamp() {
      return timeStamp_ == null ? RealtimeData.DateTime.getDefaultInstance() : timeStamp_;
    }
    /**
     * <code>required .DateTime time_stamp = 1;</code>
     */
    public RealtimeData.DateTimeOrBuilder getTimeStampOrBuilder() {
      return timeStamp_ == null ? RealtimeData.DateTime.getDefaultInstance() : timeStamp_;
    }

    public static final int GYROSCOPE_DATA_COUNT_FIELD_NUMBER = 2;
    private int gyroscopeDataCount_;
    /**
     * <code>required fixed32 Gyroscope_data_count = 2;</code>
     * @return Whether the gyroscopeDataCount field is set.
     */
    public boolean hasGyroscopeDataCount() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>required fixed32 Gyroscope_data_count = 2;</code>
     * @return The gyroscopeDataCount.
     */
    public int getGyroscopeDataCount() {
      return gyroscopeDataCount_;
    }

    public static final int GYROSCOPE_X_FIELD_NUMBER = 3;
    private com.google.protobuf.ByteString gyroscopeX_;
    /**
     * <code>required bytes Gyroscope_x = 3;</code>
     * @return Whether the gyroscopeX field is set.
     */
    public boolean hasGyroscopeX() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>required bytes Gyroscope_x = 3;</code>
     * @return The gyroscopeX.
     */
    public com.google.protobuf.ByteString getGyroscopeX() {
      return gyroscopeX_;
    }

    public static final int GYROSCOPE_Y_FIELD_NUMBER = 4;
    private com.google.protobuf.ByteString gyroscopeY_;
    /**
     * <code>required bytes Gyroscope_y = 4;</code>
     * @return Whether the gyroscopeY field is set.
     */
    public boolean hasGyroscopeY() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <code>required bytes Gyroscope_y = 4;</code>
     * @return The gyroscopeY.
     */
    public com.google.protobuf.ByteString getGyroscopeY() {
      return gyroscopeY_;
    }

    public static final int GYROSCOPE_Z_FIELD_NUMBER = 5;
    private com.google.protobuf.ByteString gyroscopeZ_;
    /**
     * <code>required bytes Gyroscope_z = 5;</code>
     * @return Whether the gyroscopeZ field is set.
     */
    public boolean hasGyroscopeZ() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * <code>required bytes Gyroscope_z = 5;</code>
     * @return The gyroscopeZ.
     */
    public com.google.protobuf.ByteString getGyroscopeZ() {
      return gyroscopeZ_;
    }

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

      if (!hasTimeStamp()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasGyroscopeDataCount()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasGyroscopeX()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasGyroscopeY()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasGyroscopeZ()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getTimeStamp().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, getTimeStamp());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeFixed32(2, gyroscopeDataCount_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeBytes(3, gyroscopeX_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        output.writeBytes(4, gyroscopeY_);
      }
      if (((bitField0_ & 0x00000010) != 0)) {
        output.writeBytes(5, gyroscopeZ_);
      }
      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, getTimeStamp());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeFixed32Size(2, gyroscopeDataCount_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(3, gyroscopeX_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(4, gyroscopeY_);
      }
      if (((bitField0_ & 0x00000010) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(5, gyroscopeZ_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

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

      if (hasTimeStamp() != other.hasTimeStamp()) return false;
      if (hasTimeStamp()) {
        if (!getTimeStamp()
            .equals(other.getTimeStamp())) return false;
      }
      if (hasGyroscopeDataCount() != other.hasGyroscopeDataCount()) return false;
      if (hasGyroscopeDataCount()) {
        if (getGyroscopeDataCount()
            != other.getGyroscopeDataCount()) return false;
      }
      if (hasGyroscopeX() != other.hasGyroscopeX()) return false;
      if (hasGyroscopeX()) {
        if (!getGyroscopeX()
            .equals(other.getGyroscopeX())) return false;
      }
      if (hasGyroscopeY() != other.hasGyroscopeY()) return false;
      if (hasGyroscopeY()) {
        if (!getGyroscopeY()
            .equals(other.getGyroscopeY())) return false;
      }
      if (hasGyroscopeZ() != other.hasGyroscopeZ()) return false;
      if (hasGyroscopeZ()) {
        if (!getGyroscopeZ()
            .equals(other.getGyroscopeZ())) 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 (hasTimeStamp()) {
        hash = (37 * hash) + TIME_STAMP_FIELD_NUMBER;
        hash = (53 * hash) + getTimeStamp().hashCode();
      }
      if (hasGyroscopeDataCount()) {
        hash = (37 * hash) + GYROSCOPE_DATA_COUNT_FIELD_NUMBER;
        hash = (53 * hash) + getGyroscopeDataCount();
      }
      if (hasGyroscopeX()) {
        hash = (37 * hash) + GYROSCOPE_X_FIELD_NUMBER;
        hash = (53 * hash) + getGyroscopeX().hashCode();
      }
      if (hasGyroscopeY()) {
        hash = (37 * hash) + GYROSCOPE_Y_FIELD_NUMBER;
        hash = (53 * hash) + getGyroscopeY().hashCode();
      }
      if (hasGyroscopeZ()) {
        hash = (37 * hash) + GYROSCOPE_Z_FIELD_NUMBER;
        hash = (53 * hash) + getGyroscopeZ().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @Override
      protected FieldAccessorTable
          internalGetFieldAccessorTable() {
        return GyroscopeData.internal_static_HisGyroscope_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                HisGyroscope.class, Builder.class);
      }

      // Construct using GyroscopeData.HisGyroscope.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getTimeStampFieldBuilder();
        }
      }
      @Override
      public Builder clear() {
        super.clear();
        if (timeStampBuilder_ == null) {
          timeStamp_ = null;
        } else {
          timeStampBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        gyroscopeDataCount_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        gyroscopeX_ = com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        gyroscopeY_ = com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000008);
        gyroscopeZ_ = com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000010);
        return this;
      }

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

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

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

      @Override
      public HisGyroscope buildPartial() {
        HisGyroscope result = new HisGyroscope(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          if (timeStampBuilder_ == null) {
            result.timeStamp_ = timeStamp_;
          } else {
            result.timeStamp_ = timeStampBuilder_.build();
          }
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.gyroscopeDataCount_ = gyroscopeDataCount_;
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          to_bitField0_ |= 0x00000004;
        }
        result.gyroscopeX_ = gyroscopeX_;
        if (((from_bitField0_ & 0x00000008) != 0)) {
          to_bitField0_ |= 0x00000008;
        }
        result.gyroscopeY_ = gyroscopeY_;
        if (((from_bitField0_ & 0x00000010) != 0)) {
          to_bitField0_ |= 0x00000010;
        }
        result.gyroscopeZ_ = gyroscopeZ_;
        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 HisGyroscope) {
          return mergeFrom((HisGyroscope)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(HisGyroscope other) {
        if (other == HisGyroscope.getDefaultInstance()) return this;
        if (other.hasTimeStamp()) {
          mergeTimeStamp(other.getTimeStamp());
        }
        if (other.hasGyroscopeDataCount()) {
          setGyroscopeDataCount(other.getGyroscopeDataCount());
        }
        if (other.hasGyroscopeX()) {
          setGyroscopeX(other.getGyroscopeX());
        }
        if (other.hasGyroscopeY()) {
          setGyroscopeY(other.getGyroscopeY());
        }
        if (other.hasGyroscopeZ()) {
          setGyroscopeZ(other.getGyroscopeZ());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @Override
      public final boolean isInitialized() {
        if (!hasTimeStamp()) {
          return false;
        }
        if (!hasGyroscopeDataCount()) {
          return false;
        }
        if (!hasGyroscopeX()) {
          return false;
        }
        if (!hasGyroscopeY()) {
          return false;
        }
        if (!hasGyroscopeZ()) {
          return false;
        }
        if (!getTimeStamp().isInitialized()) {
          return false;
        }
        return true;
      }

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

      private RealtimeData.DateTime timeStamp_;
      private com.google.protobuf.SingleFieldBuilderV3<
          RealtimeData.DateTime, RealtimeData.DateTime.Builder, RealtimeData.DateTimeOrBuilder> timeStampBuilder_;
      /**
       * <code>required .DateTime time_stamp = 1;</code>
       * @return Whether the timeStamp field is set.
       */
      public boolean hasTimeStamp() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required .DateTime time_stamp = 1;</code>
       * @return The timeStamp.
       */
      public RealtimeData.DateTime getTimeStamp() {
        if (timeStampBuilder_ == null) {
          return timeStamp_ == null ? RealtimeData.DateTime.getDefaultInstance() : timeStamp_;
        } else {
          return timeStampBuilder_.getMessage();
        }
      }
      /**
       * <code>required .DateTime time_stamp = 1;</code>
       */
      public Builder setTimeStamp(RealtimeData.DateTime value) {
        if (timeStampBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          timeStamp_ = value;
          onChanged();
        } else {
          timeStampBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .DateTime time_stamp = 1;</code>
       */
      public Builder setTimeStamp(
          RealtimeData.DateTime.Builder builderForValue) {
        if (timeStampBuilder_ == null) {
          timeStamp_ = builderForValue.build();
          onChanged();
        } else {
          timeStampBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .DateTime time_stamp = 1;</code>
       */
      public Builder mergeTimeStamp(RealtimeData.DateTime value) {
        if (timeStampBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
              timeStamp_ != null &&
              timeStamp_ != RealtimeData.DateTime.getDefaultInstance()) {
            timeStamp_ =
              RealtimeData.DateTime.newBuilder(timeStamp_).mergeFrom(value).buildPartial();
          } else {
            timeStamp_ = value;
          }
          onChanged();
        } else {
          timeStampBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .DateTime time_stamp = 1;</code>
       */
      public Builder clearTimeStamp() {
        if (timeStampBuilder_ == null) {
          timeStamp_ = null;
          onChanged();
        } else {
          timeStampBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }
      /**
       * <code>required .DateTime time_stamp = 1;</code>
       */
      public RealtimeData.DateTime.Builder getTimeStampBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getTimeStampFieldBuilder().getBuilder();
      }
      /**
       * <code>required .DateTime time_stamp = 1;</code>
       */
      public RealtimeData.DateTimeOrBuilder getTimeStampOrBuilder() {
        if (timeStampBuilder_ != null) {
          return timeStampBuilder_.getMessageOrBuilder();
        } else {
          return timeStamp_ == null ?
              RealtimeData.DateTime.getDefaultInstance() : timeStamp_;
        }
      }
      /**
       * <code>required .DateTime time_stamp = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          RealtimeData.DateTime, RealtimeData.DateTime.Builder, RealtimeData.DateTimeOrBuilder>
          getTimeStampFieldBuilder() {
        if (timeStampBuilder_ == null) {
          timeStampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              RealtimeData.DateTime, RealtimeData.DateTime.Builder, RealtimeData.DateTimeOrBuilder>(
                  getTimeStamp(),
                  getParentForChildren(),
                  isClean());
          timeStamp_ = null;
        }
        return timeStampBuilder_;
      }

      private int gyroscopeDataCount_ ;
      /**
       * <code>required fixed32 Gyroscope_data_count = 2;</code>
       * @return Whether the gyroscopeDataCount field is set.
       */
      public boolean hasGyroscopeDataCount() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>required fixed32 Gyroscope_data_count = 2;</code>
       * @return The gyroscopeDataCount.
       */
      public int getGyroscopeDataCount() {
        return gyroscopeDataCount_;
      }
      /**
       * <code>required fixed32 Gyroscope_data_count = 2;</code>
       * @param value The gyroscopeDataCount to set.
       * @return This builder for chaining.
       */
      public Builder setGyroscopeDataCount(int value) {
        bitField0_ |= 0x00000002;
        gyroscopeDataCount_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required fixed32 Gyroscope_data_count = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearGyroscopeDataCount() {
        bitField0_ = (bitField0_ & ~0x00000002);
        gyroscopeDataCount_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString gyroscopeX_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>required bytes Gyroscope_x = 3;</code>
       * @return Whether the gyroscopeX field is set.
       */
      public boolean hasGyroscopeX() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <code>required bytes Gyroscope_x = 3;</code>
       * @return The gyroscopeX.
       */
      public com.google.protobuf.ByteString getGyroscopeX() {
        return gyroscopeX_;
      }
      /**
       * <code>required bytes Gyroscope_x = 3;</code>
       * @param value The gyroscopeX to set.
       * @return This builder for chaining.
       */
      public Builder setGyroscopeX(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        gyroscopeX_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required bytes Gyroscope_x = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearGyroscopeX() {
        bitField0_ = (bitField0_ & ~0x00000004);
        gyroscopeX_ = getDefaultInstance().getGyroscopeX();
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString gyroscopeY_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>required bytes Gyroscope_y = 4;</code>
       * @return Whether the gyroscopeY field is set.
       */
      public boolean hasGyroscopeY() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * <code>required bytes Gyroscope_y = 4;</code>
       * @return The gyroscopeY.
       */
      public com.google.protobuf.ByteString getGyroscopeY() {
        return gyroscopeY_;
      }
      /**
       * <code>required bytes Gyroscope_y = 4;</code>
       * @param value The gyroscopeY to set.
       * @return This builder for chaining.
       */
      public Builder setGyroscopeY(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
        gyroscopeY_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required bytes Gyroscope_y = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearGyroscopeY() {
        bitField0_ = (bitField0_ & ~0x00000008);
        gyroscopeY_ = getDefaultInstance().getGyroscopeY();
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString gyroscopeZ_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>required bytes Gyroscope_z = 5;</code>
       * @return Whether the gyroscopeZ field is set.
       */
      public boolean hasGyroscopeZ() {
        return ((bitField0_ & 0x00000010) != 0);
      }
      /**
       * <code>required bytes Gyroscope_z = 5;</code>
       * @return The gyroscopeZ.
       */
      public com.google.protobuf.ByteString getGyroscopeZ() {
        return gyroscopeZ_;
      }
      /**
       * <code>required bytes Gyroscope_z = 5;</code>
       * @param value The gyroscopeZ to set.
       * @return This builder for chaining.
       */
      public Builder setGyroscopeZ(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000010;
        gyroscopeZ_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required bytes Gyroscope_z = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearGyroscopeZ() {
        bitField0_ = (bitField0_ & ~0x00000010);
        gyroscopeZ_ = getDefaultInstance().getGyroscopeZ();
        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:HisGyroscope)
    }

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

    public static HisGyroscope getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_HisGyroscope_descriptor;
  private static final
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_HisGyroscope_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    String[] descriptorData = {
      "\n\024Gyroscope_data.proto\032\023realtime_data.pr" +
      "oto\"\212\001\n\014HisGyroscope\022\035\n\ntime_stamp\030\001 \002(\013" +
      "2\t.DateTime\022\034\n\024Gyroscope_data_count\030\002 \002(" +
      "\007\022\023\n\013Gyroscope_x\030\003 \002(\014\022\023\n\013Gyroscope_y\030\004 " +
      "\002(\014\022\023\n\013Gyroscope_z\030\005 \002(\014B\tZ\007./iwown"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          RealtimeData.getDescriptor(),
        });
    internal_static_HisGyroscope_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_HisGyroscope_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_HisGyroscope_descriptor,
        new String[] { "TimeStamp", "GyroscopeDataCount", "GyroscopeX", "GyroscopeY", "GyroscopeZ", });
    RealtimeData.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
