public final class ActiveZoneMinutesRollupValue extends GeneratedMessage implements ActiveZoneMinutesRollupValueOrBuilderRepresents the result of the rollup of the active zone minutes data type.
Protobuf type google.devicesandservices.health.v4.ActiveZoneMinutesRollupValue
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ActiveZoneMinutesRollupValueImplements
ActiveZoneMinutesRollupValueOrBuilderStatic Fields
SUM_IN_CARDIO_HEART_ZONE_FIELD_NUMBER
public static final int SUM_IN_CARDIO_HEART_ZONE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SUM_IN_FAT_BURN_HEART_ZONE_FIELD_NUMBER
public static final int SUM_IN_FAT_BURN_HEART_ZONE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SUM_IN_PEAK_HEART_ZONE_FIELD_NUMBER
public static final int SUM_IN_PEAK_HEART_ZONE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ActiveZoneMinutesRollupValue getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ActiveZoneMinutesRollupValue.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue.Builder |
|
newBuilder(ActiveZoneMinutesRollupValue prototype)
public static ActiveZoneMinutesRollupValue.Builder newBuilder(ActiveZoneMinutesRollupValue prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ActiveZoneMinutesRollupValue |
| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue.Builder |
|
parseDelimitedFrom(InputStream input)
public static ActiveZoneMinutesRollupValue parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ActiveZoneMinutesRollupValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ActiveZoneMinutesRollupValue parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ActiveZoneMinutesRollupValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ActiveZoneMinutesRollupValue parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ActiveZoneMinutesRollupValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ActiveZoneMinutesRollupValue parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ActiveZoneMinutesRollupValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ActiveZoneMinutesRollupValue parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ActiveZoneMinutesRollupValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ActiveZoneMinutesRollupValue parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ActiveZoneMinutesRollupValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ActiveZoneMinutesRollupValue> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ActiveZoneMinutesRollupValue> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ActiveZoneMinutesRollupValue getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue |
|
getParserForType()
public Parser<ActiveZoneMinutesRollupValue> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ActiveZoneMinutesRollupValue> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSumInCardioHeartZone()
public long getSumInCardioHeartZone() Active zone minutes in HeartRateZone.CARDIO.
optional int64 sum_in_cardio_heart_zone = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The sumInCardioHeartZone. |
getSumInFatBurnHeartZone()
public long getSumInFatBurnHeartZone() Active zone minutes in HeartRateZone.FAT_BURN.
optional int64 sum_in_fat_burn_heart_zone = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The sumInFatBurnHeartZone. |
getSumInPeakHeartZone()
public long getSumInPeakHeartZone() Active zone minutes in HeartRateZone.PEAK.
optional int64 sum_in_peak_heart_zone = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The sumInPeakHeartZone. |
hasSumInCardioHeartZone()
public boolean hasSumInCardioHeartZone() Active zone minutes in HeartRateZone.CARDIO.
optional int64 sum_in_cardio_heart_zone = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sumInCardioHeartZone field is set. |
hasSumInFatBurnHeartZone()
public boolean hasSumInFatBurnHeartZone() Active zone minutes in HeartRateZone.FAT_BURN.
optional int64 sum_in_fat_burn_heart_zone = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sumInFatBurnHeartZone field is set. |
hasSumInPeakHeartZone()
public boolean hasSumInPeakHeartZone() Active zone minutes in HeartRateZone.PEAK.
optional int64 sum_in_peak_heart_zone = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sumInPeakHeartZone 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 ActiveZoneMinutesRollupValue.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ActiveZoneMinutesRollupValue.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue.Builder |
|
toBuilder()
public ActiveZoneMinutesRollupValue.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ActiveZoneMinutesRollupValue.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|