Interface IdentityOrBuilder

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

@Generated public interface IdentityOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Identifier.
    com.google.protobuf.ByteString
    Identifier.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Identifier. The resource name of this Identity resource.
       Format: `users/me/identity`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of this Identity resource.
       Format: `users/me/identity`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getLegacyUserId

      String getLegacyUserId()
       Output only. The legacy Fitbit User identifier. This is the Fitbit ID used
       in the legacy Fitbit APIs (v1-v3). It can be referenced by clients
       migrating from the legacy Fitbit APIs to map their existing identifiers to
       the new Google user ID.
      
       It **must not** be used for any other purpose. It is not of any use for new
       clients using only the Google Health APIs.
      
       Valid values are strings of 1-63 characters, and valid characters are
       lowercase and uppercase letters, numbers, and hyphens.
       
      string legacy_user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The legacyUserId.
    • getLegacyUserIdBytes

      com.google.protobuf.ByteString getLegacyUserIdBytes()
       Output only. The legacy Fitbit User identifier. This is the Fitbit ID used
       in the legacy Fitbit APIs (v1-v3). It can be referenced by clients
       migrating from the legacy Fitbit APIs to map their existing identifiers to
       the new Google user ID.
      
       It **must not** be used for any other purpose. It is not of any use for new
       clients using only the Google Health APIs.
      
       Valid values are strings of 1-63 characters, and valid characters are
       lowercase and uppercase letters, numbers, and hyphens.
       
      string legacy_user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for legacyUserId.
    • getHealthUserId

      String getHealthUserId()
       Output only. The Google User Identifier in the Google Health APIs. It
       matches the
       `{user}` resource ID segment in the resource name paths, e.g.
       `users/{user}/dataTypes/steps`.
      
       Valid values are strings of 1-63 characters, and valid characters are
       lowercase and uppercase letters, numbers, and hyphens.
       
      string health_user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The healthUserId.
    • getHealthUserIdBytes

      com.google.protobuf.ByteString getHealthUserIdBytes()
       Output only. The Google User Identifier in the Google Health APIs. It
       matches the
       `{user}` resource ID segment in the resource name paths, e.g.
       `users/{user}/dataTypes/steps`.
      
       Valid values are strings of 1-63 characters, and valid characters are
       lowercase and uppercase letters, numbers, and hyphens.
       
      string health_user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for healthUserId.