Interface Sleep.SleepMetadataOrBuilder (0.2.0)

public static interface Sleep.SleepMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExternalId()

public abstract String getExternalId()

Optional. Sleep identifier relevant in the context of the data source.

string external_id = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The externalId.

getExternalIdBytes()

public abstract ByteString getExternalIdBytes()

Optional. Sleep identifier relevant in the context of the data source.

string external_id = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for externalId.

getManuallyEdited()

public abstract boolean getManuallyEdited()

Output only. Some sleeps autodetected by algorithms can be manually edited by users.

bool manually_edited = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The manuallyEdited.

getNap()

public abstract boolean getNap()

Output only. Naps are sleeps without stages and relatively short durations.

bool nap = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The nap.

getProcessed()

public abstract boolean getProcessed()

Output only. Sleep and sleep stages algorithms finished processing.

bool processed = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The processed.

getStagesStatus()

public abstract Sleep.SleepMetadata.StagesState getStagesStatus()

Output only. Sleep stages algorithm processing status.

.google.devicesandservices.health.v4.Sleep.SleepMetadata.StagesState stages_status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sleep.SleepMetadata.StagesState

The stagesStatus.

getStagesStatusValue()

public abstract int getStagesStatusValue()

Output only. Sleep stages algorithm processing status.

.google.devicesandservices.health.v4.Sleep.SleepMetadata.StagesState stages_status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for stagesStatus.