public interface WeightOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getNotes()
public abstract String getNotes()Optional. Standard free-form notes captured at manual logging.
string notes = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The notes. |
getNotesBytes()
public abstract ByteString getNotesBytes()Optional. Standard free-form notes captured at manual logging.
string notes = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for notes. |
getSampleTime()
public abstract ObservationSampleTime getSampleTime()Required. The time at which the weight was measured
.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ObservationSampleTime |
The sampleTime. |
getSampleTimeOrBuilder()
public abstract ObservationSampleTimeOrBuilder getSampleTimeOrBuilder()Required. The time at which the weight was measured
.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ObservationSampleTimeOrBuilder |
|
getWeightGrams()
public abstract double getWeightGrams()Required. Weight of a user in grams.
optional double weight_grams = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
double |
The weightGrams. |
hasSampleTime()
public abstract boolean hasSampleTime()Required. The time at which the weight was measured
.google.devicesandservices.health.v4.ObservationSampleTime sample_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sampleTime field is set. |
hasWeightGrams()
public abstract boolean hasWeightGrams()Required. Weight of a user in grams.
optional double weight_grams = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the weightGrams field is set. |