Class FloorsRollupValue.Builder (0.2.0)

public static final class FloorsRollupValue.Builder extends GeneratedMessage.Builder<FloorsRollupValue.Builder> implements FloorsRollupValueOrBuilder

Represents the result of the rollup of the user's floors.

Protobuf type google.devicesandservices.health.v4.FloorsRollupValue

Static Methods

getDescriptor()

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

Methods

build()

public FloorsRollupValue build()
Returns
Type Description
FloorsRollupValue

buildPartial()

public FloorsRollupValue buildPartial()
Returns
Type Description
FloorsRollupValue

clear()

public FloorsRollupValue.Builder clear()
Returns
Type Description
FloorsRollupValue.Builder
Overrides

clearCountSum()

public FloorsRollupValue.Builder clearCountSum()

Sum of the floors count.

optional int64 count_sum = 1;

Returns
Type Description
FloorsRollupValue.Builder

This builder for chaining.

getCountSum()

public long getCountSum()

Sum of the floors count.

optional int64 count_sum = 1;

Returns
Type Description
long

The countSum.

getDefaultInstanceForType()

public FloorsRollupValue getDefaultInstanceForType()
Returns
Type Description
FloorsRollupValue

getDescriptorForType()

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

hasCountSum()

public boolean hasCountSum()

Sum of the floors count.

optional int64 count_sum = 1;

Returns
Type Description
boolean

Whether the countSum field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FloorsRollupValue other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCountSum(long value)

public FloorsRollupValue.Builder setCountSum(long value)

Sum of the floors count.

optional int64 count_sum = 1;

Parameter
Name Description
value long

The countSum to set.

Returns
Type Description
FloorsRollupValue.Builder

This builder for chaining.