Class RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder (0.2.0)

public static final class RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder extends GeneratedMessage.Builder<RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder> implements RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatisticsOrBuilder

Respiratory rate statistics for a given sleep stage.

Protobuf type google.devicesandservices.health.v4.RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics build()
Returns
Type Description
RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics

buildPartial()

public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics buildPartial()
Returns
Type Description
RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics

clear()

public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder clear()
Returns
Type Description
RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder
Overrides

clearBreathsPerMinute()

public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder clearBreathsPerMinute()

Required. Average breaths per minute.

optional double breaths_per_minute = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder

This builder for chaining.

clearSignalToNoise()

public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder clearSignalToNoise()

Optional. How trustworthy the data is for the computation.

optional double signal_to_noise = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder

This builder for chaining.

clearStandardDeviation()

public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder clearStandardDeviation()

Optional. Standard deviation of the respiratory rate during sleep.

optional double standard_deviation = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder

This builder for chaining.

getBreathsPerMinute()

public double getBreathsPerMinute()

Required. Average breaths per minute.

optional double breaths_per_minute = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
double

The breathsPerMinute.

getDefaultInstanceForType()

public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics getDefaultInstanceForType()
Returns
Type Description
RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSignalToNoise()

public double getSignalToNoise()

Optional. How trustworthy the data is for the computation.

optional double signal_to_noise = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The signalToNoise.

getStandardDeviation()

public double getStandardDeviation()

Optional. Standard deviation of the respiratory rate during sleep.

optional double standard_deviation = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The standardDeviation.

hasBreathsPerMinute()

public boolean hasBreathsPerMinute()

Required. Average breaths per minute.

optional double breaths_per_minute = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the breathsPerMinute field is set.

hasSignalToNoise()

public boolean hasSignalToNoise()

Optional. How trustworthy the data is for the computation.

optional double signal_to_noise = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the signalToNoise field is set.

hasStandardDeviation()

public boolean hasStandardDeviation()

Optional. Standard deviation of the respiratory rate during sleep.

optional double standard_deviation = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the standardDeviation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics other)

public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder mergeFrom(RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics other)
Parameter
Name Description
other RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics
Returns
Type Description
RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder
Overrides

setBreathsPerMinute(double value)

public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder setBreathsPerMinute(double value)

Required. Average breaths per minute.

optional double breaths_per_minute = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value double

The breathsPerMinute to set.

Returns
Type Description
RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder

This builder for chaining.

setSignalToNoise(double value)

public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder setSignalToNoise(double value)

Optional. How trustworthy the data is for the computation.

optional double signal_to_noise = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value double

The signalToNoise to set.

Returns
Type Description
RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder

This builder for chaining.

setStandardDeviation(double value)

public RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder setStandardDeviation(double value)

Optional. Standard deviation of the respiratory rate during sleep.

optional double standard_deviation = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value double

The standardDeviation to set.

Returns
Type Description
RespiratoryRateSleepSummary.RespiratoryRateSleepSummaryStatistics.Builder

This builder for chaining.