Interface ObservationTimeIntervalOrBuilder (0.2.0)

public interface ObservationTimeIntervalOrBuilder 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. Observed interval end time.

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

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Required. Observed interval end time.

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

Returns
Type Description
TimestampOrBuilder

getEndUtcOffset()

public abstract Duration getEndUtcOffset()

Required. The offset of the user's local time at the end of the observation relative to the Coordinated Universal Time (UTC).

.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 offset of the user's local time at the end of the observation relative to the Coordinated Universal Time (UTC).

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

Returns
Type Description
DurationOrBuilder

getStartTime()

public abstract Timestamp getStartTime()

Required. Observed interval start time.

.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 start time.

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

Returns
Type Description
TimestampOrBuilder

getStartUtcOffset()

public abstract Duration getStartUtcOffset()

Required. The offset of the user's local time at the start of the observation relative to the Coordinated Universal Time (UTC).

.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 offset of the user's local time at the start of the observation relative to the Coordinated Universal Time (UTC).

.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. Observed interval end time.

.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 offset of the user's local time at the end of the observation relative to the Coordinated Universal Time (UTC).

.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 start time.

.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 offset of the user's local time at the start of the observation relative to the Coordinated Universal Time (UTC).

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

Returns
Type Description
boolean

Whether the startUtcOffset field is set.