Class RestingHeartRatePersonalRangeRollupValue.Builder (0.2.0)

public static final class RestingHeartRatePersonalRangeRollupValue.Builder extends GeneratedMessage.Builder<RestingHeartRatePersonalRangeRollupValue.Builder> implements RestingHeartRatePersonalRangeRollupValueOrBuilder

Represents the rollup value for the daily resting heart rate data type.

Protobuf type google.devicesandservices.health.v4.RestingHeartRatePersonalRangeRollupValue

Static Methods

getDescriptor()

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

Methods

build()

public RestingHeartRatePersonalRangeRollupValue build()
Returns
Type Description
RestingHeartRatePersonalRangeRollupValue

buildPartial()

public RestingHeartRatePersonalRangeRollupValue buildPartial()
Returns
Type Description
RestingHeartRatePersonalRangeRollupValue

clear()

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

clearBeatsPerMinuteMax()

public RestingHeartRatePersonalRangeRollupValue.Builder clearBeatsPerMinuteMax()

The upper bound of the user's daily resting heart rate personal range.

optional double beats_per_minute_max = 2;

Returns
Type Description
RestingHeartRatePersonalRangeRollupValue.Builder

This builder for chaining.

clearBeatsPerMinuteMin()

public RestingHeartRatePersonalRangeRollupValue.Builder clearBeatsPerMinuteMin()

The lower bound of the user's daily resting heart rate personal range.

optional double beats_per_minute_min = 1;

Returns
Type Description
RestingHeartRatePersonalRangeRollupValue.Builder

This builder for chaining.

getBeatsPerMinuteMax()

public double getBeatsPerMinuteMax()

The upper bound of the user's daily resting heart rate personal range.

optional double beats_per_minute_max = 2;

Returns
Type Description
double

The beatsPerMinuteMax.

getBeatsPerMinuteMin()

public double getBeatsPerMinuteMin()

The lower bound of the user's daily resting heart rate personal range.

optional double beats_per_minute_min = 1;

Returns
Type Description
double

The beatsPerMinuteMin.

getDefaultInstanceForType()

public RestingHeartRatePersonalRangeRollupValue getDefaultInstanceForType()
Returns
Type Description
RestingHeartRatePersonalRangeRollupValue

getDescriptorForType()

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

hasBeatsPerMinuteMax()

public boolean hasBeatsPerMinuteMax()

The upper bound of the user's daily resting heart rate personal range.

optional double beats_per_minute_max = 2;

Returns
Type Description
boolean

Whether the beatsPerMinuteMax field is set.

hasBeatsPerMinuteMin()

public boolean hasBeatsPerMinuteMin()

The lower bound of the user's daily resting heart rate personal range.

optional double beats_per_minute_min = 1;

Returns
Type Description
boolean

Whether the beatsPerMinuteMin field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RestingHeartRatePersonalRangeRollupValue other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBeatsPerMinuteMax(double value)

public RestingHeartRatePersonalRangeRollupValue.Builder setBeatsPerMinuteMax(double value)

The upper bound of the user's daily resting heart rate personal range.

optional double beats_per_minute_max = 2;

Parameter
Name Description
value double

The beatsPerMinuteMax to set.

Returns
Type Description
RestingHeartRatePersonalRangeRollupValue.Builder

This builder for chaining.

setBeatsPerMinuteMin(double value)

public RestingHeartRatePersonalRangeRollupValue.Builder setBeatsPerMinuteMin(double value)

The lower bound of the user's daily resting heart rate personal range.

optional double beats_per_minute_min = 1;

Parameter
Name Description
value double

The beatsPerMinuteMin to set.

Returns
Type Description
RestingHeartRatePersonalRangeRollupValue.Builder

This builder for chaining.