Class User.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<User.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<User.Builder>
io.temporal.api.cloud.identity.v1.User.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UserOrBuilder,Cloneable
- Enclosing class:
User
public static final class User.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<User.Builder>
implements UserOrBuilder
Protobuf type
temporal.api.cloud.identity.v1.User-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The id of the async operation that is creating/updating/deleting the user, if anyThe date and time when the user was createdclearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()The id of the userThe details of the open invitation sent to the user, if anyThe date and time when the user was last modified Will not be set if the user has never been modifiedclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The current version of the user specification The next update operation will have to include this versionThe user specificationThe current state of the user.Deprecated.temporal.api.cloud.identity.v1.User.state_deprecated is deprecated.clone()The id of the async operation that is creating/updating/deleting the user, if anycom.google.protobuf.ByteStringThe id of the async operation that is creating/updating/deleting the user, if anycom.google.protobuf.TimestampThe date and time when the user was createdcom.google.protobuf.Timestamp.BuilderThe date and time when the user was createdcom.google.protobuf.TimestampOrBuilderThe date and time when the user was createdstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()The id of the usercom.google.protobuf.ByteStringThe id of the userThe details of the open invitation sent to the user, if anyThe details of the open invitation sent to the user, if anyThe details of the open invitation sent to the user, if anycom.google.protobuf.TimestampThe date and time when the user was last modified Will not be set if the user has never been modifiedcom.google.protobuf.Timestamp.BuilderThe date and time when the user was last modified Will not be set if the user has never been modifiedcom.google.protobuf.TimestampOrBuilderThe date and time when the user was last modified Will not be set if the user has never been modifiedThe current version of the user specification The next update operation will have to include this versioncom.google.protobuf.ByteStringThe current version of the user specification The next update operation will have to include this versiongetSpec()The user specificationThe user specificationThe user specificationgetState()The current state of the user.Deprecated.temporal.api.cloud.identity.v1.User.state_deprecated is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.cloud.identity.v1.User.state_deprecated is deprecated.intThe current state of the user.booleanThe date and time when the user was createdbooleanThe details of the open invitation sent to the user, if anybooleanThe date and time when the user was last modified Will not be set if the user has never been modifiedbooleanhasSpec()The user specificationprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCreatedTime(com.google.protobuf.Timestamp value) The date and time when the user was createdmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInvitation(Invitation value) The details of the open invitation sent to the user, if anymergeLastModifiedTime(com.google.protobuf.Timestamp value) The date and time when the user was last modified Will not be set if the user has never been modifiedThe user specificationfinal User.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAsyncOperationId(String value) The id of the async operation that is creating/updating/deleting the user, if anysetAsyncOperationIdBytes(com.google.protobuf.ByteString value) The id of the async operation that is creating/updating/deleting the user, if anysetCreatedTime(com.google.protobuf.Timestamp value) The date and time when the user was createdsetCreatedTime(com.google.protobuf.Timestamp.Builder builderForValue) The date and time when the user was createdThe id of the usersetIdBytes(com.google.protobuf.ByteString value) The id of the usersetInvitation(Invitation value) The details of the open invitation sent to the user, if anysetInvitation(Invitation.Builder builderForValue) The details of the open invitation sent to the user, if anysetLastModifiedTime(com.google.protobuf.Timestamp value) The date and time when the user was last modified Will not be set if the user has never been modifiedsetLastModifiedTime(com.google.protobuf.Timestamp.Builder builderForValue) The date and time when the user was last modified Will not be set if the user has never been modifiedsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceVersion(String value) The current version of the user specification The next update operation will have to include this versionsetResourceVersionBytes(com.google.protobuf.ByteString value) The current version of the user specification The next update operation will have to include this versionThe user specificationsetSpec(UserSpec.Builder builderForValue) The user specificationsetState(ResourceState value) The current state of the user.setStateDeprecated(String value) Deprecated.temporal.api.cloud.identity.v1.User.state_deprecated is deprecated.setStateDeprecatedBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.cloud.identity.v1.User.state_deprecated is deprecated.setStateValue(int value) The current state of the user.final User.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<User.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<User.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<User.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<User.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<User.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<User.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<User.Builder>
-
setRepeatedField
public User.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<User.Builder>
-
addRepeatedField
public User.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<User.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<User.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<User.Builder>
-
mergeFrom
public User.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<User.Builder>- Throws:
IOException
-
getId
The id of the user
string id = 1;- Specified by:
getIdin interfaceUserOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The id of the user
string id = 1;- Specified by:
getIdBytesin interfaceUserOrBuilder- Returns:
- The bytes for id.
-
setId
The id of the user
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
-
setIdBytes
The id of the user
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getResourceVersion
The current version of the user specification The next update operation will have to include this version
string resource_version = 2;- Specified by:
getResourceVersionin interfaceUserOrBuilder- Returns:
- The resourceVersion.
-
getResourceVersionBytes
public com.google.protobuf.ByteString getResourceVersionBytes()The current version of the user specification The next update operation will have to include this version
string resource_version = 2;- Specified by:
getResourceVersionBytesin interfaceUserOrBuilder- Returns:
- The bytes for resourceVersion.
-
setResourceVersion
The current version of the user specification The next update operation will have to include this version
string resource_version = 2;- Parameters:
value- The resourceVersion to set.- Returns:
- This builder for chaining.
-
clearResourceVersion
The current version of the user specification The next update operation will have to include this version
string resource_version = 2;- Returns:
- This builder for chaining.
-
setResourceVersionBytes
The current version of the user specification The next update operation will have to include this version
string resource_version = 2;- Parameters:
value- The bytes for resourceVersion to set.- Returns:
- This builder for chaining.
-
hasSpec
public boolean hasSpec()The user specification
.temporal.api.cloud.identity.v1.UserSpec spec = 3;- Specified by:
hasSpecin interfaceUserOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
The user specification
.temporal.api.cloud.identity.v1.UserSpec spec = 3;- Specified by:
getSpecin interfaceUserOrBuilder- Returns:
- The spec.
-
setSpec
The user specification
.temporal.api.cloud.identity.v1.UserSpec spec = 3; -
setSpec
The user specification
.temporal.api.cloud.identity.v1.UserSpec spec = 3; -
mergeSpec
The user specification
.temporal.api.cloud.identity.v1.UserSpec spec = 3; -
clearSpec
The user specification
.temporal.api.cloud.identity.v1.UserSpec spec = 3; -
getSpecBuilder
The user specification
.temporal.api.cloud.identity.v1.UserSpec spec = 3; -
getSpecOrBuilder
The user specification
.temporal.api.cloud.identity.v1.UserSpec spec = 3;- Specified by:
getSpecOrBuilderin interfaceUserOrBuilder
-
getStateDeprecated
Deprecated.temporal.api.cloud.identity.v1.User.state_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=117The current state of the user Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0
string state_deprecated = 4 [deprecated = true];- Specified by:
getStateDeprecatedin interfaceUserOrBuilder- Returns:
- The stateDeprecated.
-
getStateDeprecatedBytes
Deprecated.temporal.api.cloud.identity.v1.User.state_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=117The current state of the user Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0
string state_deprecated = 4 [deprecated = true];- Specified by:
getStateDeprecatedBytesin interfaceUserOrBuilder- Returns:
- The bytes for stateDeprecated.
-
setStateDeprecated
Deprecated.temporal.api.cloud.identity.v1.User.state_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=117The current state of the user Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0
string state_deprecated = 4 [deprecated = true];- Parameters:
value- The stateDeprecated to set.- Returns:
- This builder for chaining.
-
clearStateDeprecated
Deprecated.temporal.api.cloud.identity.v1.User.state_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=117The current state of the user Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0
string state_deprecated = 4 [deprecated = true];- Returns:
- This builder for chaining.
-
setStateDeprecatedBytes
Deprecated.temporal.api.cloud.identity.v1.User.state_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=117The current state of the user Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0
string state_deprecated = 4 [deprecated = true];- Parameters:
value- The bytes for stateDeprecated to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()The current state of the user. For any failed state, reach out to Temporal Cloud support for remediation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.resource.v1.ResourceState state = 9;- Specified by:
getStateValuein interfaceUserOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
The current state of the user. For any failed state, reach out to Temporal Cloud support for remediation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.resource.v1.ResourceState state = 9;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
The current state of the user. For any failed state, reach out to Temporal Cloud support for remediation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.resource.v1.ResourceState state = 9;- Specified by:
getStatein interfaceUserOrBuilder- Returns:
- The state.
-
setState
The current state of the user. For any failed state, reach out to Temporal Cloud support for remediation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.resource.v1.ResourceState state = 9;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
The current state of the user. For any failed state, reach out to Temporal Cloud support for remediation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.resource.v1.ResourceState state = 9;- Returns:
- This builder for chaining.
-
getAsyncOperationId
The id of the async operation that is creating/updating/deleting the user, if any
string async_operation_id = 5;- Specified by:
getAsyncOperationIdin interfaceUserOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()The id of the async operation that is creating/updating/deleting the user, if any
string async_operation_id = 5;- Specified by:
getAsyncOperationIdBytesin interfaceUserOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
The id of the async operation that is creating/updating/deleting the user, if any
string async_operation_id = 5;- Parameters:
value- The asyncOperationId to set.- Returns:
- This builder for chaining.
-
clearAsyncOperationId
The id of the async operation that is creating/updating/deleting the user, if any
string async_operation_id = 5;- Returns:
- This builder for chaining.
-
setAsyncOperationIdBytes
The id of the async operation that is creating/updating/deleting the user, if any
string async_operation_id = 5;- Parameters:
value- The bytes for asyncOperationId to set.- Returns:
- This builder for chaining.
-
hasInvitation
public boolean hasInvitation()The details of the open invitation sent to the user, if any
.temporal.api.cloud.identity.v1.Invitation invitation = 6;- Specified by:
hasInvitationin interfaceUserOrBuilder- Returns:
- Whether the invitation field is set.
-
getInvitation
The details of the open invitation sent to the user, if any
.temporal.api.cloud.identity.v1.Invitation invitation = 6;- Specified by:
getInvitationin interfaceUserOrBuilder- Returns:
- The invitation.
-
setInvitation
The details of the open invitation sent to the user, if any
.temporal.api.cloud.identity.v1.Invitation invitation = 6; -
setInvitation
The details of the open invitation sent to the user, if any
.temporal.api.cloud.identity.v1.Invitation invitation = 6; -
mergeInvitation
The details of the open invitation sent to the user, if any
.temporal.api.cloud.identity.v1.Invitation invitation = 6; -
clearInvitation
The details of the open invitation sent to the user, if any
.temporal.api.cloud.identity.v1.Invitation invitation = 6; -
getInvitationBuilder
The details of the open invitation sent to the user, if any
.temporal.api.cloud.identity.v1.Invitation invitation = 6; -
getInvitationOrBuilder
The details of the open invitation sent to the user, if any
.temporal.api.cloud.identity.v1.Invitation invitation = 6;- Specified by:
getInvitationOrBuilderin interfaceUserOrBuilder
-
hasCreatedTime
public boolean hasCreatedTime()The date and time when the user was created
.google.protobuf.Timestamp created_time = 7;- Specified by:
hasCreatedTimein interfaceUserOrBuilder- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
public com.google.protobuf.Timestamp getCreatedTime()The date and time when the user was created
.google.protobuf.Timestamp created_time = 7;- Specified by:
getCreatedTimein interfaceUserOrBuilder- Returns:
- The createdTime.
-
setCreatedTime
The date and time when the user was created
.google.protobuf.Timestamp created_time = 7; -
setCreatedTime
The date and time when the user was created
.google.protobuf.Timestamp created_time = 7; -
mergeCreatedTime
The date and time when the user was created
.google.protobuf.Timestamp created_time = 7; -
clearCreatedTime
The date and time when the user was created
.google.protobuf.Timestamp created_time = 7; -
getCreatedTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreatedTimeBuilder()The date and time when the user was created
.google.protobuf.Timestamp created_time = 7; -
getCreatedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder()The date and time when the user was created
.google.protobuf.Timestamp created_time = 7;- Specified by:
getCreatedTimeOrBuilderin interfaceUserOrBuilder
-
hasLastModifiedTime
public boolean hasLastModifiedTime()The date and time when the user was last modified Will not be set if the user has never been modified
.google.protobuf.Timestamp last_modified_time = 8;- Specified by:
hasLastModifiedTimein interfaceUserOrBuilder- Returns:
- Whether the lastModifiedTime field is set.
-
getLastModifiedTime
public com.google.protobuf.Timestamp getLastModifiedTime()The date and time when the user was last modified Will not be set if the user has never been modified
.google.protobuf.Timestamp last_modified_time = 8;- Specified by:
getLastModifiedTimein interfaceUserOrBuilder- Returns:
- The lastModifiedTime.
-
setLastModifiedTime
The date and time when the user was last modified Will not be set if the user has never been modified
.google.protobuf.Timestamp last_modified_time = 8; -
setLastModifiedTime
The date and time when the user was last modified Will not be set if the user has never been modified
.google.protobuf.Timestamp last_modified_time = 8; -
mergeLastModifiedTime
The date and time when the user was last modified Will not be set if the user has never been modified
.google.protobuf.Timestamp last_modified_time = 8; -
clearLastModifiedTime
The date and time when the user was last modified Will not be set if the user has never been modified
.google.protobuf.Timestamp last_modified_time = 8; -
getLastModifiedTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastModifiedTimeBuilder()The date and time when the user was last modified Will not be set if the user has never been modified
.google.protobuf.Timestamp last_modified_time = 8; -
getLastModifiedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder()The date and time when the user was last modified Will not be set if the user has never been modified
.google.protobuf.Timestamp last_modified_time = 8;- Specified by:
getLastModifiedTimeOrBuilderin interfaceUserOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<User.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<User.Builder>
-