Class Exercise.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Exercise.Builder>
com.google.devicesandservices.health.v4.Exercise.Builder
- All Implemented Interfaces:
ExerciseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Exercise
public static final class Exercise.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Exercise.Builder>
implements ExerciseOrBuilder
An exercise that stores information about a physical activity.Protobuf type
google.devicesandservices.health.v4.Exercise-
Method Summary
Modifier and TypeMethodDescriptionaddAllExerciseEvents(Iterable<? extends Exercise.ExerciseEvent> values) Optional.addAllSplits(Iterable<? extends Exercise.SplitSummary> values) Optional.addAllSplitSummaries(Iterable<? extends Exercise.SplitSummary> values) Optional.addExerciseEvents(int index, Exercise.ExerciseEvent value) Optional.addExerciseEvents(int index, Exercise.ExerciseEvent.Builder builderForValue) Optional.Optional.addExerciseEvents(Exercise.ExerciseEvent.Builder builderForValue) Optional.Optional.addExerciseEventsBuilder(int index) Optional.addSplits(int index, Exercise.SplitSummary value) Optional.addSplits(int index, Exercise.SplitSummary.Builder builderForValue) Optional.addSplits(Exercise.SplitSummary value) Optional.addSplits(Exercise.SplitSummary.Builder builderForValue) Optional.Optional.addSplitsBuilder(int index) Optional.addSplitSummaries(int index, Exercise.SplitSummary value) Optional.addSplitSummaries(int index, Exercise.SplitSummary.Builder builderForValue) Optional.Optional.addSplitSummaries(Exercise.SplitSummary.Builder builderForValue) Optional.Optional.addSplitSummariesBuilder(int index) Optional.build()clear()Optional.Output only.Required.Optional.Optional.Required.Required.Required.Optional.Optional.Optional.Output only.com.google.protobuf.DurationOptional.com.google.protobuf.Duration.BuilderOptional.com.google.protobuf.DurationOrBuilderOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.getExerciseEvents(int index) Optional.getExerciseEventsBuilder(int index) Optional.Optional.intOptional.Optional.getExerciseEventsOrBuilder(int index) Optional.List<? extends Exercise.ExerciseEventOrBuilder>Optional.Optional.Optional.Optional.Required.intRequired.Required.Required.Required.Required.Required.Required.getNotes()Optional.com.google.protobuf.ByteStringOptional.getSplits(int index) Optional.getSplitsBuilder(int index) Optional.Optional.intOptional.Optional.getSplitsOrBuilder(int index) Optional.List<? extends Exercise.SplitSummaryOrBuilder>Optional.getSplitSummaries(int index) Optional.getSplitSummariesBuilder(int index) Optional.Optional.intOptional.Optional.getSplitSummariesOrBuilder(int index) Optional.List<? extends Exercise.SplitSummaryOrBuilder>Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOptional.booleanOutput only.booleanOptional.booleanRequired.booleanRequired.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeActiveDuration(com.google.protobuf.Duration value) Optional.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInterval(SessionTimeInterval value) Required.Required.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.removeExerciseEvents(int index) Optional.removeSplits(int index) Optional.removeSplitSummaries(int index) Optional.setActiveDuration(com.google.protobuf.Duration value) Optional.setActiveDuration(com.google.protobuf.Duration.Builder builderForValue) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.setExerciseEvents(int index, Exercise.ExerciseEvent value) Optional.setExerciseEvents(int index, Exercise.ExerciseEvent.Builder builderForValue) Optional.Optional.setExerciseMetadata(Exercise.ExerciseMetadata.Builder builderForValue) Optional.Required.setExerciseTypeValue(int value) Required.setInterval(SessionTimeInterval value) Required.setInterval(SessionTimeInterval.Builder builderForValue) Required.setMetricsSummary(MetricsSummary value) Required.setMetricsSummary(MetricsSummary.Builder builderForValue) Required.Optional.setNotesBytes(com.google.protobuf.ByteString value) Optional.setSplits(int index, Exercise.SplitSummary value) Optional.setSplits(int index, Exercise.SplitSummary.Builder builderForValue) Optional.setSplitSummaries(int index, Exercise.SplitSummary value) Optional.setSplitSummaries(int index, Exercise.SplitSummary.Builder builderForValue) Optional.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Exercise.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Exercise.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Exercise.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Exercise.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Exercise.Builder>
-
mergeFrom
public Exercise.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Exercise.Builder>- Throws:
IOException
-
hasInterval
public boolean hasInterval()Required. Observed exercise interval
.google.devicesandservices.health.v4.SessionTimeInterval interval = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasIntervalin interfaceExerciseOrBuilder- Returns:
- Whether the interval field is set.
-
getInterval
Required. Observed exercise interval
.google.devicesandservices.health.v4.SessionTimeInterval interval = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getIntervalin interfaceExerciseOrBuilder- Returns:
- The interval.
-
setInterval
Required. Observed exercise interval
.google.devicesandservices.health.v4.SessionTimeInterval interval = 2 [(.google.api.field_behavior) = REQUIRED]; -
setInterval
Required. Observed exercise interval
.google.devicesandservices.health.v4.SessionTimeInterval interval = 2 [(.google.api.field_behavior) = REQUIRED]; -
mergeInterval
Required. Observed exercise interval
.google.devicesandservices.health.v4.SessionTimeInterval interval = 2 [(.google.api.field_behavior) = REQUIRED]; -
clearInterval
Required. Observed exercise interval
.google.devicesandservices.health.v4.SessionTimeInterval interval = 2 [(.google.api.field_behavior) = REQUIRED]; -
getIntervalBuilder
Required. Observed exercise interval
.google.devicesandservices.health.v4.SessionTimeInterval interval = 2 [(.google.api.field_behavior) = REQUIRED]; -
getIntervalOrBuilder
Required. Observed exercise interval
.google.devicesandservices.health.v4.SessionTimeInterval interval = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getIntervalOrBuilderin interfaceExerciseOrBuilder
-
getExerciseTypeValue
public int getExerciseTypeValue()Required. The type of activity performed during an exercise.
.google.devicesandservices.health.v4.Exercise.ExerciseType exercise_type = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getExerciseTypeValuein interfaceExerciseOrBuilder- Returns:
- The enum numeric value on the wire for exerciseType.
-
setExerciseTypeValue
Required. The type of activity performed during an exercise.
.google.devicesandservices.health.v4.Exercise.ExerciseType exercise_type = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for exerciseType to set.- Returns:
- This builder for chaining.
-
getExerciseType
Required. The type of activity performed during an exercise.
.google.devicesandservices.health.v4.Exercise.ExerciseType exercise_type = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getExerciseTypein interfaceExerciseOrBuilder- Returns:
- The exerciseType.
-
setExerciseType
Required. The type of activity performed during an exercise.
.google.devicesandservices.health.v4.Exercise.ExerciseType exercise_type = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The exerciseType to set.- Returns:
- This builder for chaining.
-
clearExerciseType
Required. The type of activity performed during an exercise.
.google.devicesandservices.health.v4.Exercise.ExerciseType exercise_type = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getSplitsList
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSplitsListin interfaceExerciseOrBuilder
-
getSplitsCount
public int getSplitsCount()Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSplitsCountin interfaceExerciseOrBuilder
-
getSplits
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSplitsin interfaceExerciseOrBuilder
-
setSplits
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL]; -
setSplits
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addSplits
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addSplits
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addSplits
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addSplits
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addAllSplits
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL]; -
clearSplits
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL]; -
removeSplits
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getSplitsBuilder
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getSplitsOrBuilder
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSplitsOrBuilderin interfaceExerciseOrBuilder
-
getSplitsOrBuilderList
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSplitsOrBuilderListin interfaceExerciseOrBuilder
-
addSplitsBuilder
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addSplitsBuilder
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getSplitsBuilderList
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary splits = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getExerciseEventsList
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExerciseEventsListin interfaceExerciseOrBuilder
-
getExerciseEventsCount
public int getExerciseEventsCount()Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExerciseEventsCountin interfaceExerciseOrBuilder
-
getExerciseEvents
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExerciseEventsin interfaceExerciseOrBuilder
-
setExerciseEvents
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL]; -
setExerciseEvents
public Exercise.Builder setExerciseEvents(int index, Exercise.ExerciseEvent.Builder builderForValue) Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL]; -
addExerciseEvents
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL]; -
addExerciseEvents
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL]; -
addExerciseEvents
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL]; -
addExerciseEvents
public Exercise.Builder addExerciseEvents(int index, Exercise.ExerciseEvent.Builder builderForValue) Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL]; -
addAllExerciseEvents
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL]; -
clearExerciseEvents
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL]; -
removeExerciseEvents
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL]; -
getExerciseEventsBuilder
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL]; -
getExerciseEventsOrBuilder
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExerciseEventsOrBuilderin interfaceExerciseOrBuilder
-
getExerciseEventsOrBuilderList
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExerciseEventsOrBuilderListin interfaceExerciseOrBuilder
-
addExerciseEventsBuilder
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL]; -
addExerciseEventsBuilder
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL]; -
getExerciseEventsBuilderList
Optional. Exercise events that happen during an exercise, such as pause & restarts.
repeated .google.devicesandservices.health.v4.Exercise.ExerciseEvent exercise_events = 15 [(.google.api.field_behavior) = OPTIONAL]; -
getSplitSummariesList
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSplitSummariesListin interfaceExerciseOrBuilder
-
getSplitSummariesCount
public int getSplitSummariesCount()Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSplitSummariesCountin interfaceExerciseOrBuilder
-
getSplitSummaries
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSplitSummariesin interfaceExerciseOrBuilder
-
setSplitSummaries
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL]; -
setSplitSummaries
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL]; -
addSplitSummaries
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL]; -
addSplitSummaries
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL]; -
addSplitSummaries
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL]; -
addSplitSummaries
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL]; -
addAllSplitSummaries
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL]; -
clearSplitSummaries
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL]; -
removeSplitSummaries
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getSplitSummariesBuilder
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getSplitSummariesOrBuilder
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSplitSummariesOrBuilderin interfaceExerciseOrBuilder
-
getSplitSummariesOrBuilderList
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSplitSummariesOrBuilderListin interfaceExerciseOrBuilder
-
addSplitSummariesBuilder
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL]; -
addSplitSummariesBuilder
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getSplitSummariesBuilderList
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
repeated .google.devicesandservices.health.v4.Exercise.SplitSummary split_summaries = 9 [(.google.api.field_behavior) = OPTIONAL]; -
hasMetricsSummary
public boolean hasMetricsSummary()Required. Summary metrics for this exercise ( )
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 10 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasMetricsSummaryin interfaceExerciseOrBuilder- Returns:
- Whether the metricsSummary field is set.
-
getMetricsSummary
Required. Summary metrics for this exercise ( )
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 10 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMetricsSummaryin interfaceExerciseOrBuilder- Returns:
- The metricsSummary.
-
setMetricsSummary
Required. Summary metrics for this exercise ( )
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 10 [(.google.api.field_behavior) = REQUIRED]; -
setMetricsSummary
Required. Summary metrics for this exercise ( )
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 10 [(.google.api.field_behavior) = REQUIRED]; -
mergeMetricsSummary
Required. Summary metrics for this exercise ( )
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 10 [(.google.api.field_behavior) = REQUIRED]; -
clearMetricsSummary
Required. Summary metrics for this exercise ( )
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 10 [(.google.api.field_behavior) = REQUIRED]; -
getMetricsSummaryBuilder
Required. Summary metrics for this exercise ( )
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 10 [(.google.api.field_behavior) = REQUIRED]; -
getMetricsSummaryOrBuilder
Required. Summary metrics for this exercise ( )
.google.devicesandservices.health.v4.MetricsSummary metrics_summary = 10 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMetricsSummaryOrBuilderin interfaceExerciseOrBuilder
-
hasExerciseMetadata
public boolean hasExerciseMetadata()Optional. Additional exercise metadata.
.google.devicesandservices.health.v4.Exercise.ExerciseMetadata exercise_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasExerciseMetadatain interfaceExerciseOrBuilder- Returns:
- Whether the exerciseMetadata field is set.
-
getExerciseMetadata
Optional. Additional exercise metadata.
.google.devicesandservices.health.v4.Exercise.ExerciseMetadata exercise_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExerciseMetadatain interfaceExerciseOrBuilder- Returns:
- The exerciseMetadata.
-
setExerciseMetadata
Optional. Additional exercise metadata.
.google.devicesandservices.health.v4.Exercise.ExerciseMetadata exercise_metadata = 11 [(.google.api.field_behavior) = OPTIONAL]; -
setExerciseMetadata
Optional. Additional exercise metadata.
.google.devicesandservices.health.v4.Exercise.ExerciseMetadata exercise_metadata = 11 [(.google.api.field_behavior) = OPTIONAL]; -
mergeExerciseMetadata
Optional. Additional exercise metadata.
.google.devicesandservices.health.v4.Exercise.ExerciseMetadata exercise_metadata = 11 [(.google.api.field_behavior) = OPTIONAL]; -
clearExerciseMetadata
Optional. Additional exercise metadata.
.google.devicesandservices.health.v4.Exercise.ExerciseMetadata exercise_metadata = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getExerciseMetadataBuilder
Optional. Additional exercise metadata.
.google.devicesandservices.health.v4.Exercise.ExerciseMetadata exercise_metadata = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getExerciseMetadataOrBuilder
Optional. Additional exercise metadata.
.google.devicesandservices.health.v4.Exercise.ExerciseMetadata exercise_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExerciseMetadataOrBuilderin interfaceExerciseOrBuilder
-
getDisplayName
Required. Exercise display name.
string display_name = 12 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceExerciseOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. Exercise display name.
string display_name = 12 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceExerciseOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. Exercise display name.
string display_name = 12 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Required. Exercise display name.
string display_name = 12 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Required. Exercise display name.
string display_name = 12 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasActiveDuration
public boolean hasActiveDuration()Optional. Duration excluding pauses.
.google.protobuf.Duration active_duration = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasActiveDurationin interfaceExerciseOrBuilder- Returns:
- Whether the activeDuration field is set.
-
getActiveDuration
public com.google.protobuf.Duration getActiveDuration()Optional. Duration excluding pauses.
.google.protobuf.Duration active_duration = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActiveDurationin interfaceExerciseOrBuilder- Returns:
- The activeDuration.
-
setActiveDuration
Optional. Duration excluding pauses.
.google.protobuf.Duration active_duration = 13 [(.google.api.field_behavior) = OPTIONAL]; -
setActiveDuration
Optional. Duration excluding pauses.
.google.protobuf.Duration active_duration = 13 [(.google.api.field_behavior) = OPTIONAL]; -
mergeActiveDuration
Optional. Duration excluding pauses.
.google.protobuf.Duration active_duration = 13 [(.google.api.field_behavior) = OPTIONAL]; -
clearActiveDuration
Optional. Duration excluding pauses.
.google.protobuf.Duration active_duration = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getActiveDurationBuilder
public com.google.protobuf.Duration.Builder getActiveDurationBuilder()Optional. Duration excluding pauses.
.google.protobuf.Duration active_duration = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getActiveDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getActiveDurationOrBuilder()Optional. Duration excluding pauses.
.google.protobuf.Duration active_duration = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActiveDurationOrBuilderin interfaceExerciseOrBuilder
-
getNotes
Optional. Standard free-form notes captured at manual logging.
string notes = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNotesin interfaceExerciseOrBuilder- Returns:
- The notes.
-
getNotesBytes
public com.google.protobuf.ByteString getNotesBytes()Optional. Standard free-form notes captured at manual logging.
string notes = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNotesBytesin interfaceExerciseOrBuilder- Returns:
- The bytes for notes.
-
setNotes
Optional. Standard free-form notes captured at manual logging.
string notes = 14 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The notes to set.- Returns:
- This builder for chaining.
-
clearNotes
Optional. Standard free-form notes captured at manual logging.
string notes = 14 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setNotesBytes
Optional. Standard free-form notes captured at manual logging.
string notes = 14 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for notes to set.- Returns:
- This builder for chaining.
-
hasUpdateTime
public boolean hasUpdateTime()Output only. This is the timestamp of the last update to the exercise.
.google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceExerciseOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. This is the timestamp of the last update to the exercise.
.google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceExerciseOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. This is the timestamp of the last update to the exercise.
.google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. This is the timestamp of the last update to the exercise.
.google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. This is the timestamp of the last update to the exercise.
.google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. This is the timestamp of the last update to the exercise.
.google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. This is the timestamp of the last update to the exercise.
.google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. This is the timestamp of the last update to the exercise.
.google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceExerciseOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Output only. Represents the timestamp of the creation of the exercise.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceExerciseOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Represents the timestamp of the creation of the exercise.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceExerciseOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Represents the timestamp of the creation of the exercise.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Represents the timestamp of the creation of the exercise.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Represents the timestamp of the creation of the exercise.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Represents the timestamp of the creation of the exercise.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Represents the timestamp of the creation of the exercise.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Represents the timestamp of the creation of the exercise.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceExerciseOrBuilder
-