public static interface Sleep.SleepStageOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCreateTime()
public abstract Timestamp getCreateTime()Output only. Creation time of this sleep stages segment.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation time of this sleep stages segment.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getEndTime()
public abstract Timestamp getEndTime()Required. Sleep stage end time.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The endTime. |
getEndTimeOrBuilder()
public abstract TimestampOrBuilder getEndTimeOrBuilder()Required. Sleep stage end time.
.google.protobuf.Timestamp end_time = 5 [(.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 sleep stage relative to the Coordinated Universal Time (UTC).
.google.protobuf.Duration end_utc_offset = 6 [(.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 sleep stage relative to the Coordinated Universal Time (UTC).
.google.protobuf.Duration end_utc_offset = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getStartTime()
public abstract Timestamp getStartTime()Required. Sleep stage start time.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The startTime. |
getStartTimeOrBuilder()
public abstract TimestampOrBuilder getStartTimeOrBuilder()Required. Sleep stage start time.
.google.protobuf.Timestamp start_time = 3 [(.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 sleep stage relative to the Coordinated Universal Time (UTC).
.google.protobuf.Duration start_utc_offset = 4 [(.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 sleep stage relative to the Coordinated Universal Time (UTC).
.google.protobuf.Duration start_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getType()
public abstract Sleep.SleepStageType getType()Required. Sleep stage type: AWAKE, DEEP, REM, LIGHT etc.
.google.devicesandservices.health.v4.Sleep.SleepStageType type = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Sleep.SleepStageType |
The type. |
getTypeValue()
public abstract int getTypeValue()Required. Sleep stage type: AWAKE, DEEP, REM, LIGHT etc.
.google.devicesandservices.health.v4.Sleep.SleepStageType type = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
getUpdateTime()
public abstract Timestamp getUpdateTime()Output only. Last update time of this sleep stages segment.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last update time of this sleep stages segment.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public abstract boolean hasCreateTime()Output only. Creation time of this sleep stages segment.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasEndTime()
public abstract boolean hasEndTime()Required. Sleep stage end time.
.google.protobuf.Timestamp end_time = 5 [(.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 sleep stage relative to the Coordinated Universal Time (UTC).
.google.protobuf.Duration end_utc_offset = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endUtcOffset field is set. |
hasStartTime()
public abstract boolean hasStartTime()Required. Sleep stage start time.
.google.protobuf.Timestamp start_time = 3 [(.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 sleep stage relative to the Coordinated Universal Time (UTC).
.google.protobuf.Duration start_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startUtcOffset field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()Output only. Last update time of this sleep stages segment.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |