public static final class StepsRollupValue.Builder extends GeneratedMessage.Builder<StepsRollupValue.Builder> implements StepsRollupValueOrBuilderRepresents the result of the rollup of the steps data type.
Protobuf type google.devicesandservices.health.v4.StepsRollupValue
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StepsRollupValue.BuilderImplements
StepsRollupValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StepsRollupValue build()| Returns | |
|---|---|
| Type | Description |
StepsRollupValue |
|
buildPartial()
public StepsRollupValue buildPartial()| Returns | |
|---|---|
| Type | Description |
StepsRollupValue |
|
clear()
public StepsRollupValue.Builder clear()| Returns | |
|---|---|
| Type | Description |
StepsRollupValue.Builder |
|
clearCountSum()
public StepsRollupValue.Builder clearCountSum()Total number of steps in the interval.
optional int64 count_sum = 1;
| Returns | |
|---|---|
| Type | Description |
StepsRollupValue.Builder |
This builder for chaining. |
getCountSum()
public long getCountSum()Total number of steps in the interval.
optional int64 count_sum = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The countSum. |
getDefaultInstanceForType()
public StepsRollupValue getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StepsRollupValue |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
hasCountSum()
public boolean hasCountSum()Total number of steps in the interval.
optional int64 count_sum = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the countSum field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(StepsRollupValue other)
public StepsRollupValue.Builder mergeFrom(StepsRollupValue other)| Parameter | |
|---|---|
| Name | Description |
other |
StepsRollupValue |
| Returns | |
|---|---|
| Type | Description |
StepsRollupValue.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StepsRollupValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StepsRollupValue.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StepsRollupValue.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StepsRollupValue.Builder |
|
setCountSum(long value)
public StepsRollupValue.Builder setCountSum(long value)Total number of steps in the interval.
optional int64 count_sum = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe countSum to set. |
| Returns | |
|---|---|
| Type | Description |
StepsRollupValue.Builder |
This builder for chaining. |