Class RunVO2Max.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RunVO2Max.Builder>
com.google.devicesandservices.health.v4.RunVO2Max.Builder
All Implemented Interfaces:
RunVO2MaxOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RunVO2Max

public static final class RunVO2Max.Builder extends com.google.protobuf.GeneratedMessage.Builder<RunVO2Max.Builder> implements RunVO2MaxOrBuilder
 VO2 max value calculated based on the user's running activity.
 Value stored in ml/kg/min.
 
Protobuf type google.devicesandservices.health.v4.RunVO2Max
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RunVO2Max.Builder>
    • clear

      public RunVO2Max.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RunVO2Max.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RunVO2Max.Builder>
    • getDefaultInstanceForType

      public RunVO2Max getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RunVO2Max build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RunVO2Max buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RunVO2Max.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RunVO2Max.Builder>
    • mergeFrom

      public RunVO2Max.Builder mergeFrom(RunVO2Max other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RunVO2Max.Builder>
    • mergeFrom

      public RunVO2Max.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RunVO2Max.Builder>
      Throws:
      IOException
    • hasSampleTime

      public boolean hasSampleTime()
       Required. The time at which the metric was measured.
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasSampleTime in interface RunVO2MaxOrBuilder
      Returns:
      Whether the sampleTime field is set.
    • getSampleTime

      public ObservationSampleTime getSampleTime()
       Required. The time at which the metric was measured.
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSampleTime in interface RunVO2MaxOrBuilder
      Returns:
      The sampleTime.
    • setSampleTime

      public RunVO2Max.Builder setSampleTime(ObservationSampleTime value)
       Required. The time at which the metric was measured.
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
    • setSampleTime

      public RunVO2Max.Builder setSampleTime(ObservationSampleTime.Builder builderForValue)
       Required. The time at which the metric was measured.
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeSampleTime

      public RunVO2Max.Builder mergeSampleTime(ObservationSampleTime value)
       Required. The time at which the metric was measured.
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearSampleTime

      public RunVO2Max.Builder clearSampleTime()
       Required. The time at which the metric was measured.
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
    • getSampleTimeBuilder

      public ObservationSampleTime.Builder getSampleTimeBuilder()
       Required. The time at which the metric was measured.
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
    • getSampleTimeOrBuilder

      public ObservationSampleTimeOrBuilder getSampleTimeOrBuilder()
       Required. The time at which the metric was measured.
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSampleTimeOrBuilder in interface RunVO2MaxOrBuilder
    • getRunVo2Max

      public double getRunVo2Max()
       Required. Run VO2 max value in ml/kg/min.
       
      double run_vo2_max = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRunVo2Max in interface RunVO2MaxOrBuilder
      Returns:
      The runVo2Max.
    • setRunVo2Max

      public RunVO2Max.Builder setRunVo2Max(double value)
       Required. Run VO2 max value in ml/kg/min.
       
      double run_vo2_max = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The runVo2Max to set.
      Returns:
      This builder for chaining.
    • clearRunVo2Max

      public RunVO2Max.Builder clearRunVo2Max()
       Required. Run VO2 max value in ml/kg/min.
       
      double run_vo2_max = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.