public static final class DailyRespiratoryRate.Builder extends GeneratedMessage.Builder<DailyRespiratoryRate.Builder> implements DailyRespiratoryRateOrBuilderA daily average respiratory rate (breaths per minute) for a day of the year. One data point per day calculated for the main sleep.
Protobuf type google.devicesandservices.health.v4.DailyRespiratoryRate
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DailyRespiratoryRate.BuilderImplements
DailyRespiratoryRateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DailyRespiratoryRate build()| Returns | |
|---|---|
| Type | Description |
DailyRespiratoryRate |
|
buildPartial()
public DailyRespiratoryRate buildPartial()| Returns | |
|---|---|
| Type | Description |
DailyRespiratoryRate |
|
clear()
public DailyRespiratoryRate.Builder clear()| Returns | |
|---|---|
| Type | Description |
DailyRespiratoryRate.Builder |
|
clearBreathsPerMinute()
public DailyRespiratoryRate.Builder clearBreathsPerMinute()Required. The average number of breaths taken per minute.
optional double breaths_per_minute = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DailyRespiratoryRate.Builder |
This builder for chaining. |
clearDate()
public DailyRespiratoryRate.Builder clearDate()Required. The date on which the respiratory rate was measured.
.google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DailyRespiratoryRate.Builder |
|
getBreathsPerMinute()
public double getBreathsPerMinute()Required. The average number of breaths taken per minute.
optional double breaths_per_minute = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
double |
The breathsPerMinute. |
getDate()
public Date getDate()Required. The date on which the respiratory rate was measured.
.google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
com.google.type.Date |
The date. |
getDateBuilder()
public Date.Builder getDateBuilder()Required. The date on which the respiratory rate was measured.
.google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
com.google.type.Date.Builder |
|
getDateOrBuilder()
public DateOrBuilder getDateOrBuilder()Required. The date on which the respiratory rate was measured.
.google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
com.google.type.DateOrBuilder |
|
getDefaultInstanceForType()
public DailyRespiratoryRate getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DailyRespiratoryRate |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
hasBreathsPerMinute()
public boolean hasBreathsPerMinute()Required. The average number of breaths taken per minute.
optional double breaths_per_minute = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the breathsPerMinute field is set. |
hasDate()
public boolean hasDate()Required. The date on which the respiratory rate was measured.
.google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the date field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDate(Date value)
public DailyRespiratoryRate.Builder mergeDate(Date value)Required. The date on which the respiratory rate was measured.
.google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Date |
| Returns | |
|---|---|
| Type | Description |
DailyRespiratoryRate.Builder |
|
mergeFrom(DailyRespiratoryRate other)
public DailyRespiratoryRate.Builder mergeFrom(DailyRespiratoryRate other)| Parameter | |
|---|---|
| Name | Description |
other |
DailyRespiratoryRate |
| Returns | |
|---|---|
| Type | Description |
DailyRespiratoryRate.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DailyRespiratoryRate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DailyRespiratoryRate.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DailyRespiratoryRate.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DailyRespiratoryRate.Builder |
|
setBreathsPerMinute(double value)
public DailyRespiratoryRate.Builder setBreathsPerMinute(double value)Required. The average number of breaths taken per minute.
optional double breaths_per_minute = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe breathsPerMinute to set. |
| Returns | |
|---|---|
| Type | Description |
DailyRespiratoryRate.Builder |
This builder for chaining. |
setDate(Date value)
public DailyRespiratoryRate.Builder setDate(Date value)Required. The date on which the respiratory rate was measured.
.google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Date |
| Returns | |
|---|---|
| Type | Description |
DailyRespiratoryRate.Builder |
|
setDate(Date.Builder builderForValue)
public DailyRespiratoryRate.Builder setDate(Date.Builder builderForValue)Required. The date on which the respiratory rate was measured.
.google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.Date.Builder |
| Returns | |
|---|---|
| Type | Description |
DailyRespiratoryRate.Builder |
|