Interface ProfileOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Profile, Profile.Builder

@Generated public interface ProfileOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Identifier. The resource name of this Profile resource.
      
       Format: `users/{user}/profile`
       Example: `users/1234567890/profile` or `users/me/profile`
       The {user} ID is a system-generated Google Health API user ID, a string of
       1-63 characters consisting of lowercase and uppercase letters, numbers, and
       hyphens. The literal `me` can also be used to refer to the authenticated
       user.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of this Profile resource.
      
       Format: `users/{user}/profile`
       Example: `users/1234567890/profile` or `users/me/profile`
       The {user} ID is a system-generated Google Health API user ID, a string of
       1-63 characters consisting of lowercase and uppercase letters, numbers, and
       hyphens. The literal `me` can also be used to refer to the authenticated
       user.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getAge

      int getAge()
       Optional. The age in years based on the user's birth date.
      
       Updates to this field are currently not supported.
       
      int32 age = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The age.
    • hasMembershipStartDate

      boolean hasMembershipStartDate()
       Output only. The date the user created their account.
      
       Updates to this field are currently not supported.
       
      .google.type.Date membership_start_date = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the membershipStartDate field is set.
    • getMembershipStartDate

      Date getMembershipStartDate()
       Output only. The date the user created their account.
      
       Updates to this field are currently not supported.
       
      .google.type.Date membership_start_date = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The membershipStartDate.
    • getMembershipStartDateOrBuilder

      DateOrBuilder getMembershipStartDateOrBuilder()
       Output only. The date the user created their account.
      
       Updates to this field are currently not supported.
       
      .google.type.Date membership_start_date = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUserConfiguredWalkingStrideLengthMm

      boolean hasUserConfiguredWalkingStrideLengthMm()
       Optional. The user's user configured walking stride length, in millimeters.
      
       The user must consent to
       one of the following access scopes to access this field:
      
       -
       `https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly`
       - `https://www.googleapis.com/auth/googlehealth.activity_and_fitness`
       
      optional int32 user_configured_walking_stride_length_mm = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the userConfiguredWalkingStrideLengthMm field is set.
    • getUserConfiguredWalkingStrideLengthMm

      int getUserConfiguredWalkingStrideLengthMm()
       Optional. The user's user configured walking stride length, in millimeters.
      
       The user must consent to
       one of the following access scopes to access this field:
      
       -
       `https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly`
       - `https://www.googleapis.com/auth/googlehealth.activity_and_fitness`
       
      optional int32 user_configured_walking_stride_length_mm = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The userConfiguredWalkingStrideLengthMm.
    • hasUserConfiguredRunningStrideLengthMm

      boolean hasUserConfiguredRunningStrideLengthMm()
       Optional. The user's user configured running stride length, in millimeters.
      
       The user must consent to
       one of the following access scopes to access this field:
      
       -
       `https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly`
       - `https://www.googleapis.com/auth/googlehealth.activity_and_fitness`
       
      optional int32 user_configured_running_stride_length_mm = 14 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the userConfiguredRunningStrideLengthMm field is set.
    • getUserConfiguredRunningStrideLengthMm

      int getUserConfiguredRunningStrideLengthMm()
       Optional. The user's user configured running stride length, in millimeters.
      
       The user must consent to
       one of the following access scopes to access this field:
      
       -
       `https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly`
       - `https://www.googleapis.com/auth/googlehealth.activity_and_fitness`
       
      optional int32 user_configured_running_stride_length_mm = 14 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The userConfiguredRunningStrideLengthMm.
    • hasAutoWalkingStrideLengthMm

      boolean hasAutoWalkingStrideLengthMm()
       Output only. The automatically calculated walking stride length, in
       millimeters.
      
       The user must consent to
       one of the following access scopes to access this field:
      
       -
       `https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly`
       - `https://www.googleapis.com/auth/googlehealth.activity_and_fitness`
       
      optional int32 auto_walking_stride_length_mm = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the autoWalkingStrideLengthMm field is set.
    • getAutoWalkingStrideLengthMm

      int getAutoWalkingStrideLengthMm()
       Output only. The automatically calculated walking stride length, in
       millimeters.
      
       The user must consent to
       one of the following access scopes to access this field:
      
       -
       `https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly`
       - `https://www.googleapis.com/auth/googlehealth.activity_and_fitness`
       
      optional int32 auto_walking_stride_length_mm = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The autoWalkingStrideLengthMm.
    • hasAutoRunningStrideLengthMm

      boolean hasAutoRunningStrideLengthMm()
       Output only. The automatically calculated running stride length, in
       millimeters.
      
       The user must consent to
       one of the following access scopes to access this field:
      
       -
       `https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly`
       - `https://www.googleapis.com/auth/googlehealth.activity_and_fitness`
       
      optional int32 auto_running_stride_length_mm = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the autoRunningStrideLengthMm field is set.
    • getAutoRunningStrideLengthMm

      int getAutoRunningStrideLengthMm()
       Output only. The automatically calculated running stride length, in
       millimeters.
      
       The user must consent to
       one of the following access scopes to access this field:
      
       -
       `https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly`
       - `https://www.googleapis.com/auth/googlehealth.activity_and_fitness`
       
      optional int32 auto_running_stride_length_mm = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The autoRunningStrideLengthMm.