Class RunVO2MaxRollupValue.Builder (0.2.0)

public static final class RunVO2MaxRollupValue.Builder extends GeneratedMessage.Builder<RunVO2MaxRollupValue.Builder> implements RunVO2MaxRollupValueOrBuilder

Represents the result of the rollup of the user's daily heart rate variability personal range.

Protobuf type google.devicesandservices.health.v4.RunVO2MaxRollupValue

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public RunVO2MaxRollupValue build()
Returns
Type Description
RunVO2MaxRollupValue

buildPartial()

public RunVO2MaxRollupValue buildPartial()
Returns
Type Description
RunVO2MaxRollupValue

clear()

public RunVO2MaxRollupValue.Builder clear()
Returns
Type Description
RunVO2MaxRollupValue.Builder
Overrides

clearRateAvg()

public RunVO2MaxRollupValue.Builder clearRateAvg()

Average value of run VO2 max in the interval.

optional double rate_avg = 3;

Returns
Type Description
RunVO2MaxRollupValue.Builder

This builder for chaining.

clearRateMax()

public RunVO2MaxRollupValue.Builder clearRateMax()

Maximum value of run VO2 max in the interval.

optional double rate_max = 2;

Returns
Type Description
RunVO2MaxRollupValue.Builder

This builder for chaining.

clearRateMin()

public RunVO2MaxRollupValue.Builder clearRateMin()

Minimum value of run VO2 max in the interval..

optional double rate_min = 1;

Returns
Type Description
RunVO2MaxRollupValue.Builder

This builder for chaining.

getDefaultInstanceForType()

public RunVO2MaxRollupValue getDefaultInstanceForType()
Returns
Type Description
RunVO2MaxRollupValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRateAvg()

public double getRateAvg()

Average value of run VO2 max in the interval.

optional double rate_avg = 3;

Returns
Type Description
double

The rateAvg.

getRateMax()

public double getRateMax()

Maximum value of run VO2 max in the interval.

optional double rate_max = 2;

Returns
Type Description
double

The rateMax.

getRateMin()

public double getRateMin()

Minimum value of run VO2 max in the interval..

optional double rate_min = 1;

Returns
Type Description
double

The rateMin.

hasRateAvg()

public boolean hasRateAvg()

Average value of run VO2 max in the interval.

optional double rate_avg = 3;

Returns
Type Description
boolean

Whether the rateAvg field is set.

hasRateMax()

public boolean hasRateMax()

Maximum value of run VO2 max in the interval.

optional double rate_max = 2;

Returns
Type Description
boolean

Whether the rateMax field is set.

hasRateMin()

public boolean hasRateMin()

Minimum value of run VO2 max in the interval..

optional double rate_min = 1;

Returns
Type Description
boolean

Whether the rateMin field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RunVO2MaxRollupValue other)

public RunVO2MaxRollupValue.Builder mergeFrom(RunVO2MaxRollupValue other)
Parameter
Name Description
other RunVO2MaxRollupValue
Returns
Type Description
RunVO2MaxRollupValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RunVO2MaxRollupValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunVO2MaxRollupValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RunVO2MaxRollupValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RunVO2MaxRollupValue.Builder
Overrides

setRateAvg(double value)

public RunVO2MaxRollupValue.Builder setRateAvg(double value)

Average value of run VO2 max in the interval.

optional double rate_avg = 3;

Parameter
Name Description
value double

The rateAvg to set.

Returns
Type Description
RunVO2MaxRollupValue.Builder

This builder for chaining.

setRateMax(double value)

public RunVO2MaxRollupValue.Builder setRateMax(double value)

Maximum value of run VO2 max in the interval.

optional double rate_max = 2;

Parameter
Name Description
value double

The rateMax to set.

Returns
Type Description
RunVO2MaxRollupValue.Builder

This builder for chaining.

setRateMin(double value)

public RunVO2MaxRollupValue.Builder setRateMin(double value)

Minimum value of run VO2 max in the interval..

optional double rate_min = 1;

Parameter
Name Description
value double

The rateMin to set.

Returns
Type Description
RunVO2MaxRollupValue.Builder

This builder for chaining.