Interface ObservationSampleTimeOrBuilder (0.2.0)

public interface ObservationSampleTimeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCivilTime()

public abstract 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.

getCivilTimeOrBuilder()

public abstract 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

getPhysicalTime()

public abstract Timestamp getPhysicalTime()

Required. The time of the observation.

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

Returns
Type Description
Timestamp

The physicalTime.

getPhysicalTimeOrBuilder()

public abstract TimestampOrBuilder getPhysicalTimeOrBuilder()

Required. The time of the observation.

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

Returns
Type Description
TimestampOrBuilder

getUtcOffset()

public abstract Duration getUtcOffset()

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

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

Returns
Type Description
Duration

The utcOffset.

getUtcOffsetOrBuilder()

public abstract DurationOrBuilder getUtcOffsetOrBuilder()

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

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

Returns
Type Description
DurationOrBuilder

hasCivilTime()

public abstract 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 abstract boolean hasPhysicalTime()

Required. The time of the observation.

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

Returns
Type Description
boolean

Whether the physicalTime field is set.

hasUtcOffset()

public abstract boolean hasUtcOffset()

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

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

Returns
Type Description
boolean

Whether the utcOffset field is set.