// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: igpsport/real_time_trace.proto

package nodomain.freeyourgadget.gadgetbridge.proto.igpsport;

public final class RealTimeTrace {
  private RealTimeTrace() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  /**
   * Protobuf enum {@code REAL_TIME_TRACE_OPERATE_TYPE}
   */
  public enum REAL_TIME_TRACE_OPERATE_TYPE
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE = 0;</code>
     */
    enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE(0),
    /**
     * <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_GET = 1;</code>
     */
    enum_REAL_TIME_TRACE_OPERATE_TYPE_GET(1),
    /**
     * <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_FIT = 2;</code>
     */
    enum_REAL_TIME_TRACE_OPERATE_TYPE_FIT(2),
    /**
     * <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_FINISH = 3;</code>
     */
    enum_REAL_TIME_TRACE_OPERATE_TYPE_FINISH(3),
    /**
     * <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_END = 4;</code>
     */
    enum_REAL_TIME_TRACE_OPERATE_TYPE_END(4),
    ;

    /**
     * <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE = 0;</code>
     */
    public static final int enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE_VALUE = 0;
    /**
     * <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_GET = 1;</code>
     */
    public static final int enum_REAL_TIME_TRACE_OPERATE_TYPE_GET_VALUE = 1;
    /**
     * <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_FIT = 2;</code>
     */
    public static final int enum_REAL_TIME_TRACE_OPERATE_TYPE_FIT_VALUE = 2;
    /**
     * <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_FINISH = 3;</code>
     */
    public static final int enum_REAL_TIME_TRACE_OPERATE_TYPE_FINISH_VALUE = 3;
    /**
     * <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_END = 4;</code>
     */
    public static final int enum_REAL_TIME_TRACE_OPERATE_TYPE_END_VALUE = 4;


    @java.lang.Override
    public final int getNumber() {
      return value;
    }

    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static REAL_TIME_TRACE_OPERATE_TYPE valueOf(int value) {
      return forNumber(value);
    }

    public static REAL_TIME_TRACE_OPERATE_TYPE forNumber(int value) {
      switch (value) {
        case 0: return enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE;
        case 1: return enum_REAL_TIME_TRACE_OPERATE_TYPE_GET;
        case 2: return enum_REAL_TIME_TRACE_OPERATE_TYPE_FIT;
        case 3: return enum_REAL_TIME_TRACE_OPERATE_TYPE_FINISH;
        case 4: return enum_REAL_TIME_TRACE_OPERATE_TYPE_END;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<REAL_TIME_TRACE_OPERATE_TYPE>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        REAL_TIME_TRACE_OPERATE_TYPE> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<REAL_TIME_TRACE_OPERATE_TYPE>() {
            @java.lang.Override
            public REAL_TIME_TRACE_OPERATE_TYPE findValueByNumber(int number) {
              return REAL_TIME_TRACE_OPERATE_TYPE.forNumber(number);
            }
          };

    public static com.google.protobuf.Internal.EnumVerifier 
        internalGetVerifier() {
      return REAL_TIME_TRACE_OPERATE_TYPEVerifier.INSTANCE;
    }

    private static final class REAL_TIME_TRACE_OPERATE_TYPEVerifier implements 
         com.google.protobuf.Internal.EnumVerifier { 
            static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new REAL_TIME_TRACE_OPERATE_TYPEVerifier();
            @java.lang.Override
            public boolean isInRange(int number) {
              return REAL_TIME_TRACE_OPERATE_TYPE.forNumber(number) != null;
            }
          };

    private final int value;

    private REAL_TIME_TRACE_OPERATE_TYPE(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:REAL_TIME_TRACE_OPERATE_TYPE)
  }

  public interface real_time_trace_fit_messageOrBuilder extends
      // @@protoc_insertion_point(interface_extends:real_time_trace_fit_message)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <code>optional uint32 timestamp = 1;</code>
     * @return Whether the timestamp field is set.
     */
    boolean hasTimestamp();
    /**
     * <code>optional uint32 timestamp = 1;</code>
     * @return The timestamp.
     */
    int getTimestamp();

    /**
     * <code>optional bytes fit_content = 2;</code>
     * @return Whether the fitContent field is set.
     */
    boolean hasFitContent();
    /**
     * <code>optional bytes fit_content = 2;</code>
     * @return The fitContent.
     */
    com.google.protobuf.ByteString getFitContent();
  }
  /**
   * Protobuf type {@code real_time_trace_fit_message}
   */
  public  static final class real_time_trace_fit_message extends
      com.google.protobuf.GeneratedMessageLite<
          real_time_trace_fit_message, real_time_trace_fit_message.Builder> implements
      // @@protoc_insertion_point(message_implements:real_time_trace_fit_message)
      real_time_trace_fit_messageOrBuilder {
    private real_time_trace_fit_message() {
      fitContent_ = com.google.protobuf.ByteString.EMPTY;
    }
    private int bitField0_;
    public static final int TIMESTAMP_FIELD_NUMBER = 1;
    private int timestamp_;
    /**
     * <code>optional uint32 timestamp = 1;</code>
     * @return Whether the timestamp field is set.
     */
    @java.lang.Override
    public boolean hasTimestamp() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>optional uint32 timestamp = 1;</code>
     * @return The timestamp.
     */
    @java.lang.Override
    public int getTimestamp() {
      return timestamp_;
    }
    /**
     * <code>optional uint32 timestamp = 1;</code>
     * @param value The timestamp to set.
     */
    private void setTimestamp(int value) {
      bitField0_ |= 0x00000001;
      timestamp_ = value;
    }
    /**
     * <code>optional uint32 timestamp = 1;</code>
     */
    private void clearTimestamp() {
      bitField0_ = (bitField0_ & ~0x00000001);
      timestamp_ = 0;
    }

    public static final int FIT_CONTENT_FIELD_NUMBER = 2;
    private com.google.protobuf.ByteString fitContent_;
    /**
     * <code>optional bytes fit_content = 2;</code>
     * @return Whether the fitContent field is set.
     */
    @java.lang.Override
    public boolean hasFitContent() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>optional bytes fit_content = 2;</code>
     * @return The fitContent.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getFitContent() {
      return fitContent_;
    }
    /**
     * <code>optional bytes fit_content = 2;</code>
     * @param value The fitContent to set.
     */
    private void setFitContent(com.google.protobuf.ByteString value) {
      java.lang.Class<?> valueClass = value.getClass();
  bitField0_ |= 0x00000002;
      fitContent_ = value;
    }
    /**
     * <code>optional bytes fit_content = 2;</code>
     */
    private void clearFitContent() {
      bitField0_ = (bitField0_ & ~0x00000002);
      fitContent_ = getDefaultInstance().getFitContent();
    }

    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code real_time_trace_fit_message}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message, Builder> implements
        // @@protoc_insertion_point(builder_implements:real_time_trace_fit_message)
        nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_messageOrBuilder {
      // Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <code>optional uint32 timestamp = 1;</code>
       * @return Whether the timestamp field is set.
       */
      @java.lang.Override
      public boolean hasTimestamp() {
        return instance.hasTimestamp();
      }
      /**
       * <code>optional uint32 timestamp = 1;</code>
       * @return The timestamp.
       */
      @java.lang.Override
      public int getTimestamp() {
        return instance.getTimestamp();
      }
      /**
       * <code>optional uint32 timestamp = 1;</code>
       * @param value The timestamp to set.
       * @return This builder for chaining.
       */
      public Builder setTimestamp(int value) {
        copyOnWrite();
        instance.setTimestamp(value);
        return this;
      }
      /**
       * <code>optional uint32 timestamp = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTimestamp() {
        copyOnWrite();
        instance.clearTimestamp();
        return this;
      }

      /**
       * <code>optional bytes fit_content = 2;</code>
       * @return Whether the fitContent field is set.
       */
      @java.lang.Override
      public boolean hasFitContent() {
        return instance.hasFitContent();
      }
      /**
       * <code>optional bytes fit_content = 2;</code>
       * @return The fitContent.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getFitContent() {
        return instance.getFitContent();
      }
      /**
       * <code>optional bytes fit_content = 2;</code>
       * @param value The fitContent to set.
       * @return This builder for chaining.
       */
      public Builder setFitContent(com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setFitContent(value);
        return this;
      }
      /**
       * <code>optional bytes fit_content = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearFitContent() {
        copyOnWrite();
        instance.clearFitContent();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:real_time_trace_fit_message)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "bitField0_",
              "timestamp_",
              "fitContent_",
            };
            java.lang.String info =
                "\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u100b\u0000\u0002" +
                "\u100a\u0001";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:real_time_trace_fit_message)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message DEFAULT_INSTANCE;
    static {
      real_time_trace_fit_message defaultInstance = new real_time_trace_fit_message();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        real_time_trace_fit_message.class, defaultInstance);
    }

    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<real_time_trace_fit_message> PARSER;

    public static com.google.protobuf.Parser<real_time_trace_fit_message> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface real_time_trace_msgOrBuilder extends
      // @@protoc_insertion_point(interface_extends:real_time_trace_msg)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
     * @return Whether the serviceType field is set.
     */
    boolean hasServiceType();
    /**
     * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
     * @return The serviceType.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType();

    /**
     * <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
     * @return Whether the realTimeTraceOperateType field is set.
     */
    boolean hasRealTimeTraceOperateType();
    /**
     * <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
     * @return The realTimeTraceOperateType.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE getRealTimeTraceOperateType();

    /**
     * <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
     * @return Whether the realTimeTraceFitMsg field is set.
     */
    boolean hasRealTimeTraceFitMsg();
    /**
     * <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
     * @return The realTimeTraceFitMsg.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message getRealTimeTraceFitMsg();
  }
  /**
   * Protobuf type {@code real_time_trace_msg}
   */
  public  static final class real_time_trace_msg extends
      com.google.protobuf.GeneratedMessageLite<
          real_time_trace_msg, real_time_trace_msg.Builder> implements
      // @@protoc_insertion_point(message_implements:real_time_trace_msg)
      real_time_trace_msgOrBuilder {
    private real_time_trace_msg() {
      serviceType_ = 8;
    }
    private int bitField0_;
    public static final int SERVICE_TYPE_FIELD_NUMBER = 1;
    private int serviceType_;
    /**
     * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
     * @return Whether the serviceType field is set.
     */
    @java.lang.Override
    public boolean hasServiceType() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
     * @return The serviceType.
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType() {
      nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.forNumber(serviceType_);
      return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE : result;
    }
    /**
     * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
     * @param value The serviceType to set.
     */
    private void setServiceType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index value) {
      serviceType_ = value.getNumber();
      bitField0_ |= 0x00000001;
    }
    /**
     * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
     */
    private void clearServiceType() {
      bitField0_ = (bitField0_ & ~0x00000001);
      serviceType_ = 8;
    }

    public static final int REAL_TIME_TRACE_OPERATE_TYPE_FIELD_NUMBER = 2;
    private int realTimeTraceOperateType_;
    /**
     * <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
     * @return Whether the realTimeTraceOperateType field is set.
     */
    @java.lang.Override
    public boolean hasRealTimeTraceOperateType() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
     * @return The realTimeTraceOperateType.
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE getRealTimeTraceOperateType() {
      nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE.forNumber(realTimeTraceOperateType_);
      return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE.enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE : result;
    }
    /**
     * <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
     * @param value The realTimeTraceOperateType to set.
     */
    private void setRealTimeTraceOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE value) {
      realTimeTraceOperateType_ = value.getNumber();
      bitField0_ |= 0x00000002;
    }
    /**
     * <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
     */
    private void clearRealTimeTraceOperateType() {
      bitField0_ = (bitField0_ & ~0x00000002);
      realTimeTraceOperateType_ = 0;
    }

    public static final int REAL_TIME_TRACE_FIT_MSG_FIELD_NUMBER = 3;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message realTimeTraceFitMsg_;
    /**
     * <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
     */
    @java.lang.Override
    public boolean hasRealTimeTraceFitMsg() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message getRealTimeTraceFitMsg() {
      return realTimeTraceFitMsg_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message.getDefaultInstance() : realTimeTraceFitMsg_;
    }
    /**
     * <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
     */
    private void setRealTimeTraceFitMsg(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message value) {
      value.getClass();
  realTimeTraceFitMsg_ = value;
      bitField0_ |= 0x00000004;
      }
    /**
     * <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeRealTimeTraceFitMsg(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message value) {
      value.getClass();
  if (realTimeTraceFitMsg_ != null &&
          realTimeTraceFitMsg_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message.getDefaultInstance()) {
        realTimeTraceFitMsg_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message.newBuilder(realTimeTraceFitMsg_).mergeFrom(value).buildPartial();
      } else {
        realTimeTraceFitMsg_ = value;
      }
      bitField0_ |= 0x00000004;
    }
    /**
     * <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
     */
    private void clearRealTimeTraceFitMsg() {  realTimeTraceFitMsg_ = null;
      bitField0_ = (bitField0_ & ~0x00000004);
    }

    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code real_time_trace_msg}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg, Builder> implements
        // @@protoc_insertion_point(builder_implements:real_time_trace_msg)
        nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msgOrBuilder {
      // Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
       * @return Whether the serviceType field is set.
       */
      @java.lang.Override
      public boolean hasServiceType() {
        return instance.hasServiceType();
      }
      /**
       * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
       * @return The serviceType.
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType() {
        return instance.getServiceType();
      }
      /**
       * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
       * @param value The enum numeric value on the wire for serviceType to set.
       * @return This builder for chaining.
       */
      public Builder setServiceType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index value) {
        copyOnWrite();
        instance.setServiceType(value);
        return this;
      }
      /**
       * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
       * @return This builder for chaining.
       */
      public Builder clearServiceType() {
        copyOnWrite();
        instance.clearServiceType();
        return this;
      }

      /**
       * <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
       * @return Whether the realTimeTraceOperateType field is set.
       */
      @java.lang.Override
      public boolean hasRealTimeTraceOperateType() {
        return instance.hasRealTimeTraceOperateType();
      }
      /**
       * <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
       * @return The realTimeTraceOperateType.
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE getRealTimeTraceOperateType() {
        return instance.getRealTimeTraceOperateType();
      }
      /**
       * <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
       * @param value The enum numeric value on the wire for realTimeTraceOperateType to set.
       * @return This builder for chaining.
       */
      public Builder setRealTimeTraceOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE value) {
        copyOnWrite();
        instance.setRealTimeTraceOperateType(value);
        return this;
      }
      /**
       * <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
       * @return This builder for chaining.
       */
      public Builder clearRealTimeTraceOperateType() {
        copyOnWrite();
        instance.clearRealTimeTraceOperateType();
        return this;
      }

      /**
       * <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
       */
      @java.lang.Override
      public boolean hasRealTimeTraceFitMsg() {
        return instance.hasRealTimeTraceFitMsg();
      }
      /**
       * <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message getRealTimeTraceFitMsg() {
        return instance.getRealTimeTraceFitMsg();
      }
      /**
       * <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
       */
      public Builder setRealTimeTraceFitMsg(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message value) {
        copyOnWrite();
        instance.setRealTimeTraceFitMsg(value);
        return this;
        }
      /**
       * <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
       */
      public Builder setRealTimeTraceFitMsg(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message.Builder builderForValue) {
        copyOnWrite();
        instance.setRealTimeTraceFitMsg(builderForValue.build());
        return this;
      }
      /**
       * <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
       */
      public Builder mergeRealTimeTraceFitMsg(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message value) {
        copyOnWrite();
        instance.mergeRealTimeTraceFitMsg(value);
        return this;
      }
      /**
       * <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
       */
      public Builder clearRealTimeTraceFitMsg() {  copyOnWrite();
        instance.clearRealTimeTraceFitMsg();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:real_time_trace_msg)
    }
    private byte memoizedIsInitialized = 2;
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "bitField0_",
              "serviceType_",
              nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.internalGetVerifier(),
              "realTimeTraceOperateType_",
              nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE.internalGetVerifier(),
              "realTimeTraceFitMsg_",
            };
            java.lang.String info =
                "\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0002\u0001\u150c\u0000\u0002" +
                "\u150c\u0001\u0003\u1009\u0002";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return memoizedIsInitialized;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:real_time_trace_msg)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg DEFAULT_INSTANCE;
    static {
      real_time_trace_msg defaultInstance = new real_time_trace_msg();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        real_time_trace_msg.class, defaultInstance);
    }

    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<real_time_trace_msg> PARSER;

    public static com.google.protobuf.Parser<real_time_trace_msg> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }


  static {
  }

  // @@protoc_insertion_point(outer_class_scope)
}
