Package com.buildless

Class User

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.User
All Implemented Interfaces:
UserOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class User extends com.google.protobuf.GeneratedMessageV3 implements UserOrBuilder
 ## User

 Specifies the structure of a user record within Buildless. Users are free-agent records which do not have any parent
 record associated with them by default. Users may be members of one or more `Tenant` organizations, but also may not
 be a member of any `Tenant`.

 Users are one kind of `Account` within Buildless, with the other being a `Tenant`. Anybody who logs into Buildless
 gets a user record.
 
Protobuf type buildless.User
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    ## User Specifies the structure of a user record within Buildless.
    static final class 
    ### Email Address Specifies an email address which is linked to a `User` account.
    static interface 
     
    static final class 
    ### Name Describes a person's name, including their given and family names, and a display name.
    static interface 
     
    static final class 
    ### User Key Specifies the primary key structure for a Buildless user account.
    static interface 
     

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
    Specifies whether this user account is "active." This field summarizes all relevant inputs, such as the `suspended` field.
    boolean
    Flipped to `true` if an organization admin archives a managed account.
    com.google.protobuf.Timestamp
    Timestamp indicating when this record was created.
    com.google.protobuf.TimestampOrBuilder
    Timestamp indicating when this record was created.
    static User
     
     
    Default tenant name which this user has elected to show upon log-in.
    com.google.protobuf.ByteString
    Default tenant name which this user has elected to show upon log-in.
    static final com.google.protobuf.Descriptors.Descriptor
     
    getEmail(int index)
    Specifies the email addresses linked to this user's account.
    int
    Specifies the email addresses linked to this user's account.
    Specifies the email addresses linked to this user's account.
    getEmailOrBuilder(int index)
    Specifies the email addresses linked to this user's account.
    Specifies the email addresses linked to this user's account.
    Specifies a unique text ID which identifies this user globally.
    Specifies a unique text ID which identifies this user globally.
    Specifies a link to this user's profile, if available.
    com.google.protobuf.ByteString
    Specifies a link to this user's profile, if available.
    Locale override for this user.
    com.google.protobuf.ByteString
    Locale override for this user.
    boolean
    Specifies whether this user is managed by an enterprise directory.
    Specifies naming information for this user, including their given name, family name, and display name.
    Specifies naming information for this user, including their given name, family name, and display name.
    com.google.protobuf.Parser<User>
     
    Phone number for this user, if known and if provided.
    com.google.protobuf.ByteString
    Phone number for this user, if known and if provided.
    boolean
    Indicates whether the user has verified their phone number, via a one-time SMS message.
    Specifies a link to the user's avatar, or profile picture.
    com.google.protobuf.ByteString
    Specifies a link to the user's avatar, or profile picture.
    Plan info for this individual account, as applicable, indicating their main subscription level and additional add-on entitlements, if any.
    Plan info for this individual account, as applicable, indicating their main subscription level and additional add-on entitlements, if any.
    Specifies the host or provider of this account.
    int
    Specifies the host or provider of this account.
    int
     
    ID generated for this user's active individual subscription by the billing system.
    com.google.protobuf.ByteString
    ID generated for this user's active individual subscription by the billing system.
    boolean
    Specifies whether this user account is suspended from access.
    Timezone override for this user.
    com.google.protobuf.ByteString
    Timezone override for this user.
    com.google.protobuf.Timestamp
    Timestamp indicating when this record was last updated.
    com.google.protobuf.TimestampOrBuilder
    Timestamp indicating when this record was last updated.
    Specifies this user's display username, which may be changed by the user or populated from source control platforms such as GitHub.
    com.google.protobuf.ByteString
    Specifies this user's display username, which may be changed by the user or populated from source control platforms such as GitHub.
    boolean
    Timestamp indicating when this record was created.
    int
     
    boolean
    Specifies a unique text ID which identifies this user globally.
    boolean
    Specifies naming information for this user, including their given name, family name, and display name.
    boolean
    Plan info for this individual account, as applicable, indicating their main subscription level and additional add-on entitlements, if any.
    boolean
    Timestamp indicating when this record was last updated.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(User prototype)
     
     
    protected User.Builder
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static User
     
    static User
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static User
    parseFrom(byte[] data)
     
    static User
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static User
    parseFrom(com.google.protobuf.ByteString data)
     
    static User
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static User
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static User
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static User
     
    static User
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static User
     
    static User
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<User>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasKey

      public boolean hasKey()
       Specifies a unique text ID which identifies this user globally. This value is generated by the auth engine used by
       Buildless and is considered immutable for the entire lifecycle of a user account. The ID mentions the identity
       provider which was used to establish the account, and is enforced for global uniqueness.
       
      .buildless.User.UserKey key = 1 [json_name = "key", (.elide.model.field) = { ... }
      Specified by:
      hasKey in interface UserOrBuilder
      Returns:
      Whether the key field is set.
    • getKey

      public User.UserKey getKey()
       Specifies a unique text ID which identifies this user globally. This value is generated by the auth engine used by
       Buildless and is considered immutable for the entire lifecycle of a user account. The ID mentions the identity
       provider which was used to establish the account, and is enforced for global uniqueness.
       
      .buildless.User.UserKey key = 1 [json_name = "key", (.elide.model.field) = { ... }
      Specified by:
      getKey in interface UserOrBuilder
      Returns:
      The key.
    • getKeyOrBuilder

      public User.UserKeyOrBuilder getKeyOrBuilder()
       Specifies a unique text ID which identifies this user globally. This value is generated by the auth engine used by
       Buildless and is considered immutable for the entire lifecycle of a user account. The ID mentions the identity
       provider which was used to establish the account, and is enforced for global uniqueness.
       
      .buildless.User.UserKey key = 1 [json_name = "key", (.elide.model.field) = { ... }
      Specified by:
      getKeyOrBuilder in interface UserOrBuilder
    • getUsername

      public String getUsername()
       Specifies this user's display username, which may be changed by the user or populated from source control platforms
       such as GitHub. This value is not guaranteed to be globally unique, and must consist of only alphanumeric
       characters, with a length between 2-32 characters.
       
      string username = 2 [json_name = "username", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUsername in interface UserOrBuilder
      Returns:
      The username.
    • getUsernameBytes

      public com.google.protobuf.ByteString getUsernameBytes()
       Specifies this user's display username, which may be changed by the user or populated from source control platforms
       such as GitHub. This value is not guaranteed to be globally unique, and must consist of only alphanumeric
       characters, with a length between 2-32 characters.
       
      string username = 2 [json_name = "username", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUsernameBytes in interface UserOrBuilder
      Returns:
      The bytes for username.
    • hasName

      public boolean hasName()
       Specifies naming information for this user, including their given name, family name, and display name. The display
       name should be used in UI circumstances. In some contexts, only the display name may be returned.
       
      .buildless.User.Name name = 3 [json_name = "name"];
      Specified by:
      hasName in interface UserOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public User.Name getName()
       Specifies naming information for this user, including their given name, family name, and display name. The display
       name should be used in UI circumstances. In some contexts, only the display name may be returned.
       
      .buildless.User.Name name = 3 [json_name = "name"];
      Specified by:
      getName in interface UserOrBuilder
      Returns:
      The name.
    • getNameOrBuilder

      public User.NameOrBuilder getNameOrBuilder()
       Specifies naming information for this user, including their given name, family name, and display name. The display
       name should be used in UI circumstances. In some contexts, only the display name may be returned.
       
      .buildless.User.Name name = 3 [json_name = "name"];
      Specified by:
      getNameOrBuilder in interface UserOrBuilder
    • getEmailList

      public List<User.EmailAddress> getEmailList()
       Specifies the email addresses linked to this user's account. Each email address is expressed, along with that
       address' `primary` or `verified` status. Only one email address may be marked as `primary`. Primary email entries
       must be `verified`. All user accounts require at least one `primary` email address at this time.
       
      repeated .buildless.User.EmailAddress email = 4 [json_name = "email"];
      Specified by:
      getEmailList in interface UserOrBuilder
    • getEmailOrBuilderList

      public List<? extends User.EmailAddressOrBuilder> getEmailOrBuilderList()
       Specifies the email addresses linked to this user's account. Each email address is expressed, along with that
       address' `primary` or `verified` status. Only one email address may be marked as `primary`. Primary email entries
       must be `verified`. All user accounts require at least one `primary` email address at this time.
       
      repeated .buildless.User.EmailAddress email = 4 [json_name = "email"];
      Specified by:
      getEmailOrBuilderList in interface UserOrBuilder
    • getEmailCount

      public int getEmailCount()
       Specifies the email addresses linked to this user's account. Each email address is expressed, along with that
       address' `primary` or `verified` status. Only one email address may be marked as `primary`. Primary email entries
       must be `verified`. All user accounts require at least one `primary` email address at this time.
       
      repeated .buildless.User.EmailAddress email = 4 [json_name = "email"];
      Specified by:
      getEmailCount in interface UserOrBuilder
    • getEmail

      public User.EmailAddress getEmail(int index)
       Specifies the email addresses linked to this user's account. Each email address is expressed, along with that
       address' `primary` or `verified` status. Only one email address may be marked as `primary`. Primary email entries
       must be `verified`. All user accounts require at least one `primary` email address at this time.
       
      repeated .buildless.User.EmailAddress email = 4 [json_name = "email"];
      Specified by:
      getEmail in interface UserOrBuilder
    • getEmailOrBuilder

      public User.EmailAddressOrBuilder getEmailOrBuilder(int index)
       Specifies the email addresses linked to this user's account. Each email address is expressed, along with that
       address' `primary` or `verified` status. Only one email address may be marked as `primary`. Primary email entries
       must be `verified`. All user accounts require at least one `primary` email address at this time.
       
      repeated .buildless.User.EmailAddress email = 4 [json_name = "email"];
      Specified by:
      getEmailOrBuilder in interface UserOrBuilder
    • hasPlan

      public boolean hasPlan()
       Plan info for this individual account, as applicable, indicating their main subscription level and additional
       add-on entitlements, if any.
       
      .buildless.billing.IndividualPlanInfo plan = 5 [json_name = "plan", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPlan in interface UserOrBuilder
      Returns:
      Whether the plan field is set.
    • getPlan

      public IndividualPlanInfo getPlan()
       Plan info for this individual account, as applicable, indicating their main subscription level and additional
       add-on entitlements, if any.
       
      .buildless.billing.IndividualPlanInfo plan = 5 [json_name = "plan", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPlan in interface UserOrBuilder
      Returns:
      The plan.
    • getPlanOrBuilder

      public IndividualPlanInfoOrBuilder getPlanOrBuilder()
       Plan info for this individual account, as applicable, indicating their main subscription level and additional
       add-on entitlements, if any.
       
      .buildless.billing.IndividualPlanInfo plan = 5 [json_name = "plan", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPlanOrBuilder in interface UserOrBuilder
    • getPhoneNumber

      public String getPhoneNumber()
       Phone number for this user, if known and if provided. This number may be used for urgent SMS communications, such
       as 2FA verifications at login.
       
      string phone_number = 6 [json_name = "phoneNumber", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPhoneNumber in interface UserOrBuilder
      Returns:
      The phoneNumber.
    • getPhoneNumberBytes

      public com.google.protobuf.ByteString getPhoneNumberBytes()
       Phone number for this user, if known and if provided. This number may be used for urgent SMS communications, such
       as 2FA verifications at login.
       
      string phone_number = 6 [json_name = "phoneNumber", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPhoneNumberBytes in interface UserOrBuilder
      Returns:
      The bytes for phoneNumber.
    • getPhoneVerified

      public boolean getPhoneVerified()
       Indicates whether the user has verified their phone number, via a one-time SMS message.
       
      bool phone_verified = 7 [json_name = "phoneVerified", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPhoneVerified in interface UserOrBuilder
      Returns:
      The phoneVerified.
    • getProviderValue

      public int getProviderValue()
       Specifies the host or provider of this account. This value indicates the provider for the main account identity,
       and may not represent the full set of providers for the user.
       
      .buildless.AccountProvider provider = 8 [json_name = "provider", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProviderValue in interface UserOrBuilder
      Returns:
      The enum numeric value on the wire for provider.
    • getProvider

      public AccountProvider getProvider()
       Specifies the host or provider of this account. This value indicates the provider for the main account identity,
       and may not represent the full set of providers for the user.
       
      .buildless.AccountProvider provider = 8 [json_name = "provider", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProvider in interface UserOrBuilder
      Returns:
      The provider.
    • getPicture

      public String getPicture()
       Specifies a link to the user's avatar, or profile picture. This value is optional and may be null.
       
      string picture = 9 [json_name = "picture", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPicture in interface UserOrBuilder
      Returns:
      The picture.
    • getPictureBytes

      public com.google.protobuf.ByteString getPictureBytes()
       Specifies a link to the user's avatar, or profile picture. This value is optional and may be null.
       
      string picture = 9 [json_name = "picture", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPictureBytes in interface UserOrBuilder
      Returns:
      The bytes for picture.
    • getLink

      public String getLink()
       Specifies a link to this user's profile, if available. This is often the user's social or GitHub profile, but may
       also be a work-related link for Enterprise users, like to their Slack profile.
       
      string link = 10 [json_name = "link", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLink in interface UserOrBuilder
      Returns:
      The link.
    • getLinkBytes

      public com.google.protobuf.ByteString getLinkBytes()
       Specifies a link to this user's profile, if available. This is often the user's social or GitHub profile, but may
       also be a work-related link for Enterprise users, like to their Slack profile.
       
      string link = 10 [json_name = "link", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLinkBytes in interface UserOrBuilder
      Returns:
      The bytes for link.
    • getManaged

      public boolean getManaged()
       Specifies whether this user is managed by an enterprise directory.
       
      bool managed = 11 [json_name = "managed", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getManaged in interface UserOrBuilder
      Returns:
      The managed.
    • getSuspended

      public boolean getSuspended()
       Specifies whether this user account is suspended from access.
       
      bool suspended = 12 [json_name = "suspended", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSuspended in interface UserOrBuilder
      Returns:
      The suspended.
    • getActive

      public boolean getActive()
       Specifies whether this user account is "active." This field summarizes all relevant inputs, such as the `suspended`
       field. If `false`, the user account is considered "inactive" and will be denied access to all resources.
       
      bool active = 13 [json_name = "active", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getActive in interface UserOrBuilder
      Returns:
      The active.
    • getArchived

      public boolean getArchived()
       Flipped to `true` if an organization admin archives a managed account. Only applicable if `managed` is active for a
       given user profile and license seat.
       
      bool archived = 14 [json_name = "archived", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getArchived in interface UserOrBuilder
      Returns:
      The archived.
    • getDefaultTenant

      public String getDefaultTenant()
       Default tenant name which this user has elected to show upon log-in. The active tenant can be changed via the UI,
       so this is merely a hint about which tenant to select first if the user has access to multiple tenants.
       
      string default_tenant = 15 [json_name = "defaultTenant", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultTenant in interface UserOrBuilder
      Returns:
      The defaultTenant.
    • getDefaultTenantBytes

      public com.google.protobuf.ByteString getDefaultTenantBytes()
       Default tenant name which this user has elected to show upon log-in. The active tenant can be changed via the UI,
       so this is merely a hint about which tenant to select first if the user has access to multiple tenants.
       
      string default_tenant = 15 [json_name = "defaultTenant", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultTenantBytes in interface UserOrBuilder
      Returns:
      The bytes for defaultTenant.
    • getSubscriptionId

      public String getSubscriptionId()
       ID generated for this user's active individual subscription by the billing system. This ID is only present for
       active (non-suspended) accounts which have an individual subscription plan. Managed and tenant-associated users do
       not have a value present in this field.
       
      string subscription_id = 16 [json_name = "subscriptionId", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSubscriptionId in interface UserOrBuilder
      Returns:
      The subscriptionId.
    • getSubscriptionIdBytes

      public com.google.protobuf.ByteString getSubscriptionIdBytes()
       ID generated for this user's active individual subscription by the billing system. This ID is only present for
       active (non-suspended) accounts which have an individual subscription plan. Managed and tenant-associated users do
       not have a value present in this field.
       
      string subscription_id = 16 [json_name = "subscriptionId", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSubscriptionIdBytes in interface UserOrBuilder
      Returns:
      The bytes for subscriptionId.
    • getLocale

      public String getLocale()
       Locale override for this user. This value replaces whatever default is set for the tenant. If no value is present,
       a value is resolved from the session; failing that, the value `en-US` is used by default.
       
      string locale = 17 [json_name = "locale", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocale in interface UserOrBuilder
      Returns:
      The locale.
    • getLocaleBytes

      public com.google.protobuf.ByteString getLocaleBytes()
       Locale override for this user. This value replaces whatever default is set for the tenant. If no value is present,
       a value is resolved from the session; failing that, the value `en-US` is used by default.
       
      string locale = 17 [json_name = "locale", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocaleBytes in interface UserOrBuilder
      Returns:
      The bytes for locale.
    • getTimezone

      public String getTimezone()
       Timezone override for this user. This value replaces whatever default is set for the tenant. If no value is
       present, a value is resolved from the session; failing that, the value `UTC` is used by default.
       
      string timezone = 18 [json_name = "timezone", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTimezone in interface UserOrBuilder
      Returns:
      The timezone.
    • getTimezoneBytes

      public com.google.protobuf.ByteString getTimezoneBytes()
       Timezone override for this user. This value replaces whatever default is set for the tenant. If no value is
       present, a value is resolved from the session; failing that, the value `UTC` is used by default.
       
      string timezone = 18 [json_name = "timezone", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTimezoneBytes in interface UserOrBuilder
      Returns:
      The bytes for timezone.
    • hasUpdatedAt

      public boolean hasUpdatedAt()
       Timestamp indicating when this record was last updated. Any update to the tenant results in an update to this
       timestamp field. At first creation, this value should be equal to the value held by `created_at`.
       
      .google.protobuf.Timestamp updated_at = 98 [json_name = "updatedAt", (.elide.model.field) = { ... }
      Specified by:
      hasUpdatedAt in interface UserOrBuilder
      Returns:
      Whether the updatedAt field is set.
    • getUpdatedAt

      public com.google.protobuf.Timestamp getUpdatedAt()
       Timestamp indicating when this record was last updated. Any update to the tenant results in an update to this
       timestamp field. At first creation, this value should be equal to the value held by `created_at`.
       
      .google.protobuf.Timestamp updated_at = 98 [json_name = "updatedAt", (.elide.model.field) = { ... }
      Specified by:
      getUpdatedAt in interface UserOrBuilder
      Returns:
      The updatedAt.
    • getUpdatedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder()
       Timestamp indicating when this record was last updated. Any update to the tenant results in an update to this
       timestamp field. At first creation, this value should be equal to the value held by `created_at`.
       
      .google.protobuf.Timestamp updated_at = 98 [json_name = "updatedAt", (.elide.model.field) = { ... }
      Specified by:
      getUpdatedAtOrBuilder in interface UserOrBuilder
    • hasCreatedAt

      public boolean hasCreatedAt()
       Timestamp indicating when this record was created. Any update to the tenant results in an update to this timestamp
       field. This value is populated if a record has been stored, and is empty if a record has not yet been stored.
       
      .google.protobuf.Timestamp created_at = 99 [json_name = "createdAt", (.elide.model.field) = { ... }
      Specified by:
      hasCreatedAt in interface UserOrBuilder
      Returns:
      Whether the createdAt field is set.
    • getCreatedAt

      public com.google.protobuf.Timestamp getCreatedAt()
       Timestamp indicating when this record was created. Any update to the tenant results in an update to this timestamp
       field. This value is populated if a record has been stored, and is empty if a record has not yet been stored.
       
      .google.protobuf.Timestamp created_at = 99 [json_name = "createdAt", (.elide.model.field) = { ... }
      Specified by:
      getCreatedAt in interface UserOrBuilder
      Returns:
      The createdAt.
    • getCreatedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()
       Timestamp indicating when this record was created. Any update to the tenant results in an update to this timestamp
       field. This value is populated if a record has been stored, and is empty if a record has not yet been stored.
       
      .google.protobuf.Timestamp created_at = 99 [json_name = "createdAt", (.elide.model.field) = { ... }
      Specified by:
      getCreatedAtOrBuilder in interface UserOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static User parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static User parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static User parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static User parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static User parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static User parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static User parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static User parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static User parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static User parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static User parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static User parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public User.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static User.Builder newBuilder()
    • newBuilder

      public static User.Builder newBuilder(User prototype)
    • toBuilder

      public User.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected User.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static User getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<User> parser()
    • getParserForType

      public com.google.protobuf.Parser<User> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public User getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder