public final class ActiveEnergyBurnedRollupValue extends GeneratedMessage implements ActiveEnergyBurnedRollupValueOrBuilderRepresents the result of the rollup of active energy burned.
Protobuf type google.devicesandservices.health.v4.ActiveEnergyBurnedRollupValue
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ActiveEnergyBurnedRollupValueImplements
ActiveEnergyBurnedRollupValueOrBuilderStatic Fields
KCAL_SUM_FIELD_NUMBER
public static final int KCAL_SUM_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ActiveEnergyBurnedRollupValue getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ActiveEnergyBurnedRollupValue.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue.Builder |
|
newBuilder(ActiveEnergyBurnedRollupValue prototype)
public static ActiveEnergyBurnedRollupValue.Builder newBuilder(ActiveEnergyBurnedRollupValue prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ActiveEnergyBurnedRollupValue |
| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue.Builder |
|
parseDelimitedFrom(InputStream input)
public static ActiveEnergyBurnedRollupValue parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ActiveEnergyBurnedRollupValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ActiveEnergyBurnedRollupValue parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ActiveEnergyBurnedRollupValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ActiveEnergyBurnedRollupValue parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ActiveEnergyBurnedRollupValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ActiveEnergyBurnedRollupValue parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ActiveEnergyBurnedRollupValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ActiveEnergyBurnedRollupValue parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ActiveEnergyBurnedRollupValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ActiveEnergyBurnedRollupValue parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ActiveEnergyBurnedRollupValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ActiveEnergyBurnedRollupValue> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ActiveEnergyBurnedRollupValue> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ActiveEnergyBurnedRollupValue getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue |
|
getKcalSum()
public double getKcalSum()Output only. Sum of the active energy burned in kilocalories.
optional double kcal_sum = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
double |
The kcalSum. |
getParserForType()
public Parser<ActiveEnergyBurnedRollupValue> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ActiveEnergyBurnedRollupValue> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasKcalSum()
public boolean hasKcalSum()Output only. Sum of the active energy burned in kilocalories.
optional double kcal_sum = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the kcalSum field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ActiveEnergyBurnedRollupValue.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ActiveEnergyBurnedRollupValue.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue.Builder |
|
toBuilder()
public ActiveEnergyBurnedRollupValue.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ActiveEnergyBurnedRollupValue.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|