Interface IrregularRhythmNotification.AlertWindowOrBuilder (0.2.0)

public static interface IrregularRhythmNotification.AlertWindowOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCivilEndTime()

public abstract CivilDateTime getCivilEndTime()

Output only. Observed interval end time in civil time in the timezone the subject is in at the end of the observed interval

.google.devicesandservices.health.v4.CivilDateTime civil_end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CivilDateTime

The civilEndTime.

getCivilEndTimeOrBuilder()

public abstract CivilDateTimeOrBuilder getCivilEndTimeOrBuilder()

Output only. Observed interval end time in civil time in the timezone the subject is in at the end of the observed interval

.google.devicesandservices.health.v4.CivilDateTime civil_end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CivilDateTimeOrBuilder

getCivilStartTime()

public abstract CivilDateTime getCivilStartTime()

Output only. Observed interval start time in civil time in the timezone the subject is in at the start of the observed interval

.google.devicesandservices.health.v4.CivilDateTime civil_start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CivilDateTime

The civilStartTime.

getCivilStartTimeOrBuilder()

public abstract CivilDateTimeOrBuilder getCivilStartTimeOrBuilder()

Output only. Observed interval start time in civil time in the timezone the subject is in at the start of the observed interval

.google.devicesandservices.health.v4.CivilDateTime civil_start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CivilDateTimeOrBuilder

getEndTime()

public abstract Timestamp getEndTime()

Required. The end time of the analysis window.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Required. The end time of the analysis window.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getEndUtcOffset()

public abstract Duration getEndUtcOffset()

Required. The UTC offset of the user's timezone when the analysis window ended.

.google.protobuf.Duration end_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Duration

The endUtcOffset.

getEndUtcOffsetOrBuilder()

public abstract DurationOrBuilder getEndUtcOffsetOrBuilder()

Required. The UTC offset of the user's timezone when the analysis window ended.

.google.protobuf.Duration end_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DurationOrBuilder

getHeartBeats(int index)

public abstract IrregularRhythmNotification.HeartBeat getHeartBeats(int index)

Optional. All heart beats in the interval contained in this analysis window.

repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.HeartBeat heart_beats = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
IrregularRhythmNotification.HeartBeat

getHeartBeatsCount()

public abstract int getHeartBeatsCount()

Optional. All heart beats in the interval contained in this analysis window.

repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.HeartBeat heart_beats = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getHeartBeatsList()

public abstract List<IrregularRhythmNotification.HeartBeat> getHeartBeatsList()

Optional. All heart beats in the interval contained in this analysis window.

repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.HeartBeat heart_beats = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<HeartBeat>

getHeartBeatsOrBuilder(int index)

public abstract IrregularRhythmNotification.HeartBeatOrBuilder getHeartBeatsOrBuilder(int index)

Optional. All heart beats in the interval contained in this analysis window.

repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.HeartBeat heart_beats = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
IrregularRhythmNotification.HeartBeatOrBuilder

getHeartBeatsOrBuilderList()

public abstract List<? extends IrregularRhythmNotification.HeartBeatOrBuilder> getHeartBeatsOrBuilderList()

Optional. All heart beats in the interval contained in this analysis window.

repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.HeartBeat heart_beats = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.devicesandservices.health.v4.IrregularRhythmNotification.HeartBeatOrBuilder>

getPositive()

public abstract boolean getPositive()

Optional. Flag indicating whether the window was positive for AFib or not. A true value indicates that AFib was detected in this window. A false value means AFib was not detected, but does not guarantee the absence of AFib.

bool positive = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The positive.

getStartTime()

public abstract Timestamp getStartTime()

Required. Observed interval. The start time of the analysis window.

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

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Required. Observed interval. The start time of the analysis window.

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

Returns
Type Description
TimestampOrBuilder

getStartUtcOffset()

public abstract Duration getStartUtcOffset()

Required. The UTC offset of the user's timezone when the analysis window started.

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

Returns
Type Description
Duration

The startUtcOffset.

getStartUtcOffsetOrBuilder()

public abstract DurationOrBuilder getStartUtcOffsetOrBuilder()

Required. The UTC offset of the user's timezone when the analysis window started.

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

Returns
Type Description
DurationOrBuilder

hasCivilEndTime()

public abstract boolean hasCivilEndTime()

Output only. Observed interval end time in civil time in the timezone the subject is in at the end of the observed interval

.google.devicesandservices.health.v4.CivilDateTime civil_end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the civilEndTime field is set.

hasCivilStartTime()

public abstract boolean hasCivilStartTime()

Output only. Observed interval start time in civil time in the timezone the subject is in at the start of the observed interval

.google.devicesandservices.health.v4.CivilDateTime civil_start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the civilStartTime field is set.

hasEndTime()

public abstract boolean hasEndTime()

Required. The end time of the analysis window.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the endTime field is set.

hasEndUtcOffset()

public abstract boolean hasEndUtcOffset()

Required. The UTC offset of the user's timezone when the analysis window ended.

.google.protobuf.Duration end_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the endUtcOffset field is set.

hasStartTime()

public abstract boolean hasStartTime()

Required. Observed interval. The start time of the analysis window.

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

Returns
Type Description
boolean

Whether the startTime field is set.

hasStartUtcOffset()

public abstract boolean hasStartUtcOffset()

Required. The UTC offset of the user's timezone when the analysis window started.

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

Returns
Type Description
boolean

Whether the startUtcOffset field is set.