public static final class TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue extends GeneratedMessage implements TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValueOrBuilderRepresents the total time spent in a specific heart rate zone.
Protobuf type
google.devicesandservices.health.v4.TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValueStatic Fields
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
HEART_RATE_ZONE_FIELD_NUMBER
public static final int HEART_RATE_ZONE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue.Builder |
|
newBuilder(TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue prototype)
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue.Builder newBuilder(TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue.Builder |
|
parseDelimitedFrom(InputStream input)
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue> parser()| Returns | |
|---|---|
| Type | Description |
Parser<TimeInHeartRateZoneValue> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue |
|
getDuration()
public Duration getDuration()The total time spent in the specified heart rate zone.
.google.protobuf.Duration duration = 2;
| Returns | |
|---|---|
| Type | Description |
Duration |
The duration. |
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()The total time spent in the specified heart rate zone.
.google.protobuf.Duration duration = 2;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getHeartRateZone()
public HeartRateZoneType getHeartRateZone()The heart rate zone.
.google.devicesandservices.health.v4.HeartRateZoneType heart_rate_zone = 1;
| Returns | |
|---|---|
| Type | Description |
HeartRateZoneType |
The heartRateZone. |
getHeartRateZoneValue()
public int getHeartRateZoneValue()The heart rate zone.
.google.devicesandservices.health.v4.HeartRateZoneType heart_rate_zone = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for heartRateZone. |
getParserForType()
public Parser<TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<TimeInHeartRateZoneValue> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasDuration()
public boolean hasDuration()The total time spent in the specified heart rate zone.
.google.protobuf.Duration duration = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the duration 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 TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue.Builder |
|
toBuilder()
public TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
TimeInHeartRateZoneRollupValue.TimeInHeartRateZoneValue.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|