public final class BodyFatRollupValue extends GeneratedMessage implements BodyFatRollupValueOrBuilderRepresents the result of the rollup of the body fat data type.
Protobuf type google.devicesandservices.health.v4.BodyFatRollupValue
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BodyFatRollupValueImplements
BodyFatRollupValueOrBuilderStatic Fields
BODY_FAT_PERCENTAGE_AVG_FIELD_NUMBER
public static final int BODY_FAT_PERCENTAGE_AVG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static BodyFatRollupValue getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static BodyFatRollupValue.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue.Builder |
|
newBuilder(BodyFatRollupValue prototype)
public static BodyFatRollupValue.Builder newBuilder(BodyFatRollupValue prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
BodyFatRollupValue |
| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue.Builder |
|
parseDelimitedFrom(InputStream input)
public static BodyFatRollupValue parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BodyFatRollupValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static BodyFatRollupValue parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BodyFatRollupValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static BodyFatRollupValue parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BodyFatRollupValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static BodyFatRollupValue parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BodyFatRollupValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static BodyFatRollupValue parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BodyFatRollupValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static BodyFatRollupValue parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BodyFatRollupValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<BodyFatRollupValue> parser()| Returns | |
|---|---|
| Type | Description |
Parser<BodyFatRollupValue> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getBodyFatPercentageAvg()
public double getBodyFatPercentageAvg()Average body fat percentage.
optional double body_fat_percentage_avg = 1;
| Returns | |
|---|---|
| Type | Description |
double |
The bodyFatPercentageAvg. |
getDefaultInstanceForType()
public BodyFatRollupValue getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue |
|
getParserForType()
public Parser<BodyFatRollupValue> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<BodyFatRollupValue> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasBodyFatPercentageAvg()
public boolean hasBodyFatPercentageAvg()Average body fat percentage.
optional double body_fat_percentage_avg = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the bodyFatPercentageAvg 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 BodyFatRollupValue.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BodyFatRollupValue.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue.Builder |
|
toBuilder()
public BodyFatRollupValue.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
BodyFatRollupValue.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|