Interface SessionTimeIntervalOrBuilder (0.2.0)

public interface SessionTimeIntervalOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCivilEndTime()

public abstract CivilDateTime getCivilEndTime()

Output only. Session end time in civil time in the timezone the subject is in at the end of the session.

.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. Session end time in civil time in the timezone the subject is in at the end of the session.

.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. Session start time in civil time in the timezone the subject is in at the start of the session.

.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. Session start time in civil time in the timezone the subject is in at the start of the session.

.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 observed session.

.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 observed session.

.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 session 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 session 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. The start time of the observed session.

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

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Required. The start time of the observed session.

.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 session 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 session 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. Session end time in civil time in the timezone the subject is in at the end of the session.

.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. Session start time in civil time in the timezone the subject is in at the start of the session.

.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 observed session.

.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 session 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. The start time of the observed session.

.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 session 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.