Class ExportExerciseTcxRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportExerciseTcxRequest.Builder>
com.google.devicesandservices.health.v4.ExportExerciseTcxRequest.Builder
All Implemented Interfaces:
ExportExerciseTcxRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExportExerciseTcxRequest

public static final class ExportExerciseTcxRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportExerciseTcxRequest.Builder> implements ExportExerciseTcxRequestOrBuilder
 Represents a request to export exercise data in TCX format.
 
Protobuf type google.devicesandservices.health.v4.ExportExerciseTcxRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ExportExerciseTcxRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ExportExerciseTcxRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ExportExerciseTcxRequest.Builder>
    • getDefaultInstanceForType

      public ExportExerciseTcxRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ExportExerciseTcxRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ExportExerciseTcxRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ExportExerciseTcxRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportExerciseTcxRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ExportExerciseTcxRequest.Builder>
    • mergeFrom

      public ExportExerciseTcxRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportExerciseTcxRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The resource name of the exercise data point to export.
      
       Format: `users/{user}/dataTypes/exercise/dataPoints/{data_point}`
       Example: `users/me/dataTypes/exercise/dataPoints/2026443605080188808`
      
       The `{user}` is the alias `"me"` currently. Future versions may support
       user IDs.
       The `{data_point}` ID maps to the exercise ID, which is a long integer.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface ExportExerciseTcxRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The resource name of the exercise data point to export.
      
       Format: `users/{user}/dataTypes/exercise/dataPoints/{data_point}`
       Example: `users/me/dataTypes/exercise/dataPoints/2026443605080188808`
      
       The `{user}` is the alias `"me"` currently. Future versions may support
       user IDs.
       The `{data_point}` ID maps to the exercise ID, which is a long integer.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface ExportExerciseTcxRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ExportExerciseTcxRequest.Builder setName(String value)
       Required. The resource name of the exercise data point to export.
      
       Format: `users/{user}/dataTypes/exercise/dataPoints/{data_point}`
       Example: `users/me/dataTypes/exercise/dataPoints/2026443605080188808`
      
       The `{user}` is the alias `"me"` currently. Future versions may support
       user IDs.
       The `{data_point}` ID maps to the exercise ID, which is a long integer.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Required. The resource name of the exercise data point to export.
      
       Format: `users/{user}/dataTypes/exercise/dataPoints/{data_point}`
       Example: `users/me/dataTypes/exercise/dataPoints/2026443605080188808`
      
       The `{user}` is the alias `"me"` currently. Future versions may support
       user IDs.
       The `{data_point}` ID maps to the exercise ID, which is a long integer.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public ExportExerciseTcxRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the exercise data point to export.
      
       Format: `users/{user}/dataTypes/exercise/dataPoints/{data_point}`
       Example: `users/me/dataTypes/exercise/dataPoints/2026443605080188808`
      
       The `{user}` is the alias `"me"` currently. Future versions may support
       user IDs.
       The `{data_point}` ID maps to the exercise ID, which is a long integer.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getPartialData

      public boolean getPartialData()
       Optional. Indicates whether to include the TCX data points when the GPS
       data is not available. If not specified, defaults to `false` and partial
       data will not be included.
       
      bool partial_data = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPartialData in interface ExportExerciseTcxRequestOrBuilder
      Returns:
      The partialData.
    • setPartialData

      public ExportExerciseTcxRequest.Builder setPartialData(boolean value)
       Optional. Indicates whether to include the TCX data points when the GPS
       data is not available. If not specified, defaults to `false` and partial
       data will not be included.
       
      bool partial_data = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The partialData to set.
      Returns:
      This builder for chaining.
    • clearPartialData

      public ExportExerciseTcxRequest.Builder clearPartialData()
       Optional. Indicates whether to include the TCX data points when the GPS
       data is not available. If not specified, defaults to `false` and partial
       data will not be included.
       
      bool partial_data = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.