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
## 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 ClassesModifier and TypeClassDescriptionstatic 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 interfacestatic final class### Name Describes a person's name, including their given and family names, and a display name.static interfacestatic final class### User Key Specifies the primary key structure for a Buildless user account.static interfaceNested 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanSpecifies whether this user account is "active." This field summarizes all relevant inputs, such as the `suspended` field.booleanFlipped to `true` if an organization admin archives a managed account.com.google.protobuf.TimestampTimestamp indicating when this record was created.com.google.protobuf.TimestampOrBuilderTimestamp indicating when this record was created.static UserDefault tenant name which this user has elected to show upon log-in.com.google.protobuf.ByteStringDefault tenant name which this user has elected to show upon log-in.static final com.google.protobuf.Descriptors.DescriptorgetEmail(int index) Specifies the email addresses linked to this user's account.intSpecifies 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.List<? extends User.EmailAddressOrBuilder>Specifies the email addresses linked to this user's account.getKey()Specifies a unique text ID which identifies this user globally.Specifies a unique text ID which identifies this user globally.getLink()Specifies a link to this user's profile, if available.com.google.protobuf.ByteStringSpecifies a link to this user's profile, if available.Locale override for this user.com.google.protobuf.ByteStringLocale override for this user.booleanSpecifies whether this user is managed by an enterprise directory.getName()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.ByteStringPhone number for this user, if known and if provided.booleanIndicates 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.ByteStringSpecifies a link to the user's avatar, or profile picture.getPlan()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.intSpecifies the host or provider of this account.intID generated for this user's active individual subscription by the billing system.com.google.protobuf.ByteStringID generated for this user's active individual subscription by the billing system.booleanSpecifies whether this user account is suspended from access.Timezone override for this user.com.google.protobuf.ByteStringTimezone override for this user.com.google.protobuf.TimestampTimestamp indicating when this record was last updated.com.google.protobuf.TimestampOrBuilderTimestamp 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.ByteStringSpecifies this user's display username, which may be changed by the user or populated from source control platforms such as GitHub.booleanTimestamp indicating when this record was created.inthashCode()booleanhasKey()Specifies a unique text ID which identifies this user globally.booleanhasName()Specifies naming information for this user, including their given name, family name, and display name.booleanhasPlan()Plan info for this individual account, as applicable, indicating their main subscription level and additional add-on entitlements, if any.booleanTimestamp indicating when this record was last updated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic User.Builderstatic User.BuildernewBuilder(User prototype) protected User.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static UserparseDelimitedFrom(InputStream input) static UserparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserparseFrom(byte[] data) static UserparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserparseFrom(com.google.protobuf.ByteString data) static UserparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserparseFrom(com.google.protobuf.CodedInputStream input) static UserparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserparseFrom(InputStream input) static UserparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserparseFrom(ByteBuffer data) static UserparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<User>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER- See Also:
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
EMAIL_FIELD_NUMBER
public static final int EMAIL_FIELD_NUMBER- See Also:
-
PLAN_FIELD_NUMBER
public static final int PLAN_FIELD_NUMBER- See Also:
-
PHONE_NUMBER_FIELD_NUMBER
public static final int PHONE_NUMBER_FIELD_NUMBER- See Also:
-
PHONE_VERIFIED_FIELD_NUMBER
public static final int PHONE_VERIFIED_FIELD_NUMBER- See Also:
-
PROVIDER_FIELD_NUMBER
public static final int PROVIDER_FIELD_NUMBER- See Also:
-
PICTURE_FIELD_NUMBER
public static final int PICTURE_FIELD_NUMBER- See Also:
-
LINK_FIELD_NUMBER
public static final int LINK_FIELD_NUMBER- See Also:
-
MANAGED_FIELD_NUMBER
public static final int MANAGED_FIELD_NUMBER- See Also:
-
SUSPENDED_FIELD_NUMBER
public static final int SUSPENDED_FIELD_NUMBER- See Also:
-
ACTIVE_FIELD_NUMBER
public static final int ACTIVE_FIELD_NUMBER- See Also:
-
ARCHIVED_FIELD_NUMBER
public static final int ARCHIVED_FIELD_NUMBER- See Also:
-
DEFAULT_TENANT_FIELD_NUMBER
public static final int DEFAULT_TENANT_FIELD_NUMBER- See Also:
-
SUBSCRIPTION_ID_FIELD_NUMBER
public static final int SUBSCRIPTION_ID_FIELD_NUMBER- See Also:
-
LOCALE_FIELD_NUMBER
public static final int LOCALE_FIELD_NUMBER- See Also:
-
TIMEZONE_FIELD_NUMBER
public static final int TIMEZONE_FIELD_NUMBER- See Also:
-
UPDATED_AT_FIELD_NUMBER
public static final int UPDATED_AT_FIELD_NUMBER- See Also:
-
CREATED_AT_FIELD_NUMBER
public static final int CREATED_AT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.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:
hasKeyin interfaceUserOrBuilder- Returns:
- Whether the key field is set.
-
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:
getKeyin interfaceUserOrBuilder- Returns:
- The key.
-
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:
getKeyOrBuilderin interfaceUserOrBuilder
-
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:
getUsernamein interfaceUserOrBuilder- 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:
getUsernameBytesin interfaceUserOrBuilder- 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:
hasNamein interfaceUserOrBuilder- Returns:
- Whether the name field is set.
-
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:
getNamein interfaceUserOrBuilder- Returns:
- The name.
-
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:
getNameOrBuilderin interfaceUserOrBuilder
-
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:
getEmailListin interfaceUserOrBuilder
-
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:
getEmailOrBuilderListin interfaceUserOrBuilder
-
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:
getEmailCountin interfaceUserOrBuilder
-
getEmail
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:
getEmailin interfaceUserOrBuilder
-
getEmailOrBuilder
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:
getEmailOrBuilderin interfaceUserOrBuilder
-
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:
hasPlanin interfaceUserOrBuilder- Returns:
- Whether the plan field is set.
-
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:
getPlanin interfaceUserOrBuilder- Returns:
- The plan.
-
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:
getPlanOrBuilderin interfaceUserOrBuilder
-
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:
getPhoneNumberin interfaceUserOrBuilder- 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:
getPhoneNumberBytesin interfaceUserOrBuilder- 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:
getPhoneVerifiedin interfaceUserOrBuilder- 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:
getProviderValuein interfaceUserOrBuilder- Returns:
- The enum numeric value on the wire for provider.
-
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:
getProviderin interfaceUserOrBuilder- Returns:
- The provider.
-
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:
getPicturein interfaceUserOrBuilder- 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:
getPictureBytesin interfaceUserOrBuilder- Returns:
- The bytes for picture.
-
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:
getLinkin interfaceUserOrBuilder- 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:
getLinkBytesin interfaceUserOrBuilder- 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:
getManagedin interfaceUserOrBuilder- 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:
getSuspendedin interfaceUserOrBuilder- 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:
getActivein interfaceUserOrBuilder- 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:
getArchivedin interfaceUserOrBuilder- Returns:
- The archived.
-
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:
getDefaultTenantin interfaceUserOrBuilder- 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:
getDefaultTenantBytesin interfaceUserOrBuilder- Returns:
- The bytes for defaultTenant.
-
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:
getSubscriptionIdin interfaceUserOrBuilder- 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:
getSubscriptionIdBytesin interfaceUserOrBuilder- Returns:
- The bytes for subscriptionId.
-
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:
getLocalein interfaceUserOrBuilder- 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:
getLocaleBytesin interfaceUserOrBuilder- Returns:
- The bytes for locale.
-
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:
getTimezonein interfaceUserOrBuilder- 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:
getTimezoneBytesin interfaceUserOrBuilder- 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:
hasUpdatedAtin interfaceUserOrBuilder- 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:
getUpdatedAtin interfaceUserOrBuilder- 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:
getUpdatedAtOrBuilderin interfaceUserOrBuilder
-
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:
hasCreatedAtin interfaceUserOrBuilder- 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:
getCreatedAtin interfaceUserOrBuilder- 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:
getCreatedAtOrBuilderin interfaceUserOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- 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
- Throws:
IOException
-
parseFrom
public static User parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static User parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static User parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected User.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-