Interface SymptomsOrBuilder (0.8.0)

public interface SymptomsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSampleTime()

public abstract ObservationSampleTime getSampleTime()

Required. Time when the symptoms were logged.

.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ObservationSampleTime

The sampleTime.

getSampleTimeOrBuilder()

public abstract ObservationSampleTimeOrBuilder getSampleTimeOrBuilder()

Required. Time when the symptoms were logged.

.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ObservationSampleTimeOrBuilder

getSymptoms(int index)

public abstract Symptoms.SymptomValue getSymptoms(int index)

Required. List of symptoms experienced.

repeated .google.devicesandservices.health.v4.Symptoms.SymptomValue symptoms = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
Symptoms.SymptomValue

The symptoms at the given index.

getSymptomsCount()

public abstract int getSymptomsCount()

Required. List of symptoms experienced.

repeated .google.devicesandservices.health.v4.Symptoms.SymptomValue symptoms = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of symptoms.

getSymptomsList()

public abstract List<Symptoms.SymptomValue> getSymptomsList()

Required. List of symptoms experienced.

repeated .google.devicesandservices.health.v4.Symptoms.SymptomValue symptoms = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<SymptomValue>

A list containing the symptoms.

getSymptomsValue(int index)

public abstract int getSymptomsValue(int index)

Required. List of symptoms experienced.

repeated .google.devicesandservices.health.v4.Symptoms.SymptomValue symptoms = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of symptoms at the given index.

getSymptomsValueList()

public abstract List<Integer> getSymptomsValueList()

Required. List of symptoms experienced.

repeated .google.devicesandservices.health.v4.Symptoms.SymptomValue symptoms = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for symptoms.

hasSampleTime()

public abstract boolean hasSampleTime()

Required. Time when the symptoms were logged.

.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the sampleTime field is set.