Class IrregularRhythmNotification.HeartBeat.Builder (0.2.0)

public static final class IrregularRhythmNotification.HeartBeat.Builder extends GeneratedMessage.Builder<IrregularRhythmNotification.HeartBeat.Builder> implements IrregularRhythmNotification.HeartBeatOrBuilder

A single heart beat measurement.

Protobuf type google.devicesandservices.health.v4.IrregularRhythmNotification.HeartBeat

Static Methods

getDescriptor()

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

Methods

build()

public IrregularRhythmNotification.HeartBeat build()
Returns
Type Description
IrregularRhythmNotification.HeartBeat

buildPartial()

public IrregularRhythmNotification.HeartBeat buildPartial()
Returns
Type Description
IrregularRhythmNotification.HeartBeat

clear()

public IrregularRhythmNotification.HeartBeat.Builder clear()
Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder
Overrides

clearBeatsPerMinute()

public IrregularRhythmNotification.HeartBeat.Builder clearBeatsPerMinute()

Required. The beats-per-minute value extrapolated from the time before the following heart beat. This is calculated as 60000 / rr, where rr is the gap between heart beats in milliseconds (IBI - Interbeat Interval).

optional int32 beats_per_minute = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder

This builder for chaining.

clearCivilTime()

public IrregularRhythmNotification.HeartBeat.Builder clearCivilTime()

Output only. The civil time in the timezone the subject is in at the time of the observation.

.google.devicesandservices.health.v4.CivilDateTime civil_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder

clearPhysicalTime()

public IrregularRhythmNotification.HeartBeat.Builder clearPhysicalTime()

Required. The time of the heart beat measurement.

.google.protobuf.Timestamp physical_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder

clearUtcOffset()

public IrregularRhythmNotification.HeartBeat.Builder clearUtcOffset()

Required. The UTC offset of the user's timezone when the heart beat measurement occurred.

.google.protobuf.Duration utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder

getBeatsPerMinute()

public int getBeatsPerMinute()

Required. The beats-per-minute value extrapolated from the time before the following heart beat. This is calculated as 60000 / rr, where rr is the gap between heart beats in milliseconds (IBI - Interbeat Interval).

optional int32 beats_per_minute = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The beatsPerMinute.

getCivilTime()

public CivilDateTime getCivilTime()

Output only. The civil time in the timezone the subject is in at the time of the observation.

.google.devicesandservices.health.v4.CivilDateTime civil_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CivilDateTime

The civilTime.

getCivilTimeBuilder()

public CivilDateTime.Builder getCivilTimeBuilder()

Output only. The civil time in the timezone the subject is in at the time of the observation.

.google.devicesandservices.health.v4.CivilDateTime civil_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CivilDateTime.Builder

getCivilTimeOrBuilder()

public CivilDateTimeOrBuilder getCivilTimeOrBuilder()

Output only. The civil time in the timezone the subject is in at the time of the observation.

.google.devicesandservices.health.v4.CivilDateTime civil_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CivilDateTimeOrBuilder

getDefaultInstanceForType()

public IrregularRhythmNotification.HeartBeat getDefaultInstanceForType()
Returns
Type Description
IrregularRhythmNotification.HeartBeat

getDescriptorForType()

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

getPhysicalTime()

public Timestamp getPhysicalTime()

Required. The time of the heart beat measurement.

.google.protobuf.Timestamp physical_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The physicalTime.

getPhysicalTimeBuilder()

public Timestamp.Builder getPhysicalTimeBuilder()

Required. The time of the heart beat measurement.

.google.protobuf.Timestamp physical_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getPhysicalTimeOrBuilder()

public TimestampOrBuilder getPhysicalTimeOrBuilder()

Required. The time of the heart beat measurement.

.google.protobuf.Timestamp physical_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getUtcOffset()

public Duration getUtcOffset()

Required. The UTC offset of the user's timezone when the heart beat measurement occurred.

.google.protobuf.Duration utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Duration

The utcOffset.

getUtcOffsetBuilder()

public Duration.Builder getUtcOffsetBuilder()

Required. The UTC offset of the user's timezone when the heart beat measurement occurred.

.google.protobuf.Duration utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUtcOffsetOrBuilder()

public DurationOrBuilder getUtcOffsetOrBuilder()

Required. The UTC offset of the user's timezone when the heart beat measurement occurred.

.google.protobuf.Duration utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DurationOrBuilder

hasBeatsPerMinute()

public boolean hasBeatsPerMinute()

Required. The beats-per-minute value extrapolated from the time before the following heart beat. This is calculated as 60000 / rr, where rr is the gap between heart beats in milliseconds (IBI - Interbeat Interval).

optional int32 beats_per_minute = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the beatsPerMinute field is set.

hasCivilTime()

public boolean hasCivilTime()

Output only. The civil time in the timezone the subject is in at the time of the observation.

.google.devicesandservices.health.v4.CivilDateTime civil_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the civilTime field is set.

hasPhysicalTime()

public boolean hasPhysicalTime()

Required. The time of the heart beat measurement.

.google.protobuf.Timestamp physical_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the physicalTime field is set.

hasUtcOffset()

public boolean hasUtcOffset()

Required. The UTC offset of the user's timezone when the heart beat measurement occurred.

.google.protobuf.Duration utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the utcOffset field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCivilTime(CivilDateTime value)

public IrregularRhythmNotification.HeartBeat.Builder mergeCivilTime(CivilDateTime value)

Output only. The civil time in the timezone the subject is in at the time of the observation.

.google.devicesandservices.health.v4.CivilDateTime civil_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CivilDateTime
Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder

mergeFrom(IrregularRhythmNotification.HeartBeat other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePhysicalTime(Timestamp value)

public IrregularRhythmNotification.HeartBeat.Builder mergePhysicalTime(Timestamp value)

Required. The time of the heart beat measurement.

.google.protobuf.Timestamp physical_time = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Timestamp
Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder

mergeUtcOffset(Duration value)

public IrregularRhythmNotification.HeartBeat.Builder mergeUtcOffset(Duration value)

Required. The UTC offset of the user's timezone when the heart beat measurement occurred.

.google.protobuf.Duration utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Duration
Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder

setBeatsPerMinute(int value)

public IrregularRhythmNotification.HeartBeat.Builder setBeatsPerMinute(int value)

Required. The beats-per-minute value extrapolated from the time before the following heart beat. This is calculated as 60000 / rr, where rr is the gap between heart beats in milliseconds (IBI - Interbeat Interval).

optional int32 beats_per_minute = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The beatsPerMinute to set.

Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder

This builder for chaining.

setCivilTime(CivilDateTime value)

public IrregularRhythmNotification.HeartBeat.Builder setCivilTime(CivilDateTime value)

Output only. The civil time in the timezone the subject is in at the time of the observation.

.google.devicesandservices.health.v4.CivilDateTime civil_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CivilDateTime
Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder

setCivilTime(CivilDateTime.Builder builderForValue)

public IrregularRhythmNotification.HeartBeat.Builder setCivilTime(CivilDateTime.Builder builderForValue)

Output only. The civil time in the timezone the subject is in at the time of the observation.

.google.devicesandservices.health.v4.CivilDateTime civil_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue CivilDateTime.Builder
Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder

setPhysicalTime(Timestamp value)

public IrregularRhythmNotification.HeartBeat.Builder setPhysicalTime(Timestamp value)

Required. The time of the heart beat measurement.

.google.protobuf.Timestamp physical_time = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Timestamp
Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder

setPhysicalTime(Timestamp.Builder builderForValue)

public IrregularRhythmNotification.HeartBeat.Builder setPhysicalTime(Timestamp.Builder builderForValue)

Required. The time of the heart beat measurement.

.google.protobuf.Timestamp physical_time = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder

setUtcOffset(Duration value)

public IrregularRhythmNotification.HeartBeat.Builder setUtcOffset(Duration value)

Required. The UTC offset of the user's timezone when the heart beat measurement occurred.

.google.protobuf.Duration utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Duration
Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder

setUtcOffset(Duration.Builder builderForValue)

public IrregularRhythmNotification.HeartBeat.Builder setUtcOffset(Duration.Builder builderForValue)

Required. The UTC offset of the user's timezone when the heart beat measurement occurred.

.google.protobuf.Duration utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
IrregularRhythmNotification.HeartBeat.Builder