Class CustomRole.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CustomRole.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<CustomRole.Builder>
io.temporal.api.cloud.identity.v1.CustomRole.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CustomRoleOrBuilder,Cloneable
- Enclosing class:
CustomRole
public static final class CustomRole.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CustomRole.Builder>
implements CustomRoleOrBuilder
Protobuf type
temporal.api.cloud.identity.v1.CustomRole-
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 custom role, if any.The date and time when the custom role was created.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()The id of the custom role.The date and time when the custom role was last modified.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The current version of the custom role specification.The custom role specification.The current state of the custom role.clone()The id of the async operation that is creating/updating/deleting the custom role, if any.com.google.protobuf.ByteStringThe id of the async operation that is creating/updating/deleting the custom role, if any.com.google.protobuf.TimestampThe date and time when the custom role was created.com.google.protobuf.Timestamp.BuilderThe date and time when the custom role was created.com.google.protobuf.TimestampOrBuilderThe date and time when the custom role was created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()The id of the custom role.com.google.protobuf.ByteStringThe id of the custom role.com.google.protobuf.TimestampThe date and time when the custom role was last modified.com.google.protobuf.Timestamp.BuilderThe date and time when the custom role was last modified.com.google.protobuf.TimestampOrBuilderThe date and time when the custom role was last modified.The current version of the custom role specification.com.google.protobuf.ByteStringThe current version of the custom role specification.getSpec()The custom role specification.The custom role specification.The custom role specification.getState()The current state of the custom role.intThe current state of the custom role.booleanThe date and time when the custom role was created.booleanThe date and time when the custom role was last modified.booleanhasSpec()The custom role specification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCreatedTime(com.google.protobuf.Timestamp value) The date and time when the custom role was created.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CustomRole other) mergeLastModifiedTime(com.google.protobuf.Timestamp value) The date and time when the custom role was last modified.mergeSpec(CustomRoleSpec value) The custom role specification.final CustomRole.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAsyncOperationId(String value) The id of the async operation that is creating/updating/deleting the custom role, if any.setAsyncOperationIdBytes(com.google.protobuf.ByteString value) The id of the async operation that is creating/updating/deleting the custom role, if any.setCreatedTime(com.google.protobuf.Timestamp value) The date and time when the custom role was created.setCreatedTime(com.google.protobuf.Timestamp.Builder builderForValue) The date and time when the custom role was created.The id of the custom role.setIdBytes(com.google.protobuf.ByteString value) The id of the custom role.setLastModifiedTime(com.google.protobuf.Timestamp value) The date and time when the custom role was last modified.setLastModifiedTime(com.google.protobuf.Timestamp.Builder builderForValue) The date and time when the custom role was last modified.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceVersion(String value) The current version of the custom role specification.setResourceVersionBytes(com.google.protobuf.ByteString value) The current version of the custom role specification.setSpec(CustomRoleSpec value) The custom role specification.setSpec(CustomRoleSpec.Builder builderForValue) The custom role specification.setState(ResourceState value) The current state of the custom role.setStateValue(int value) The current state of the custom role.final CustomRole.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<CustomRole.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<CustomRole.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<CustomRole.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<CustomRole.Builder>
-
setField
public CustomRole.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomRole.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomRole.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomRole.Builder>
-
setRepeatedField
public CustomRole.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<CustomRole.Builder>
-
addRepeatedField
public CustomRole.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<CustomRole.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomRole.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomRole.Builder>
-
mergeFrom
public CustomRole.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<CustomRole.Builder>- Throws:
IOException
-
getId
The id of the custom role.
string id = 1;- Specified by:
getIdin interfaceCustomRoleOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The id of the custom role.
string id = 1;- Specified by:
getIdBytesin interfaceCustomRoleOrBuilder- Returns:
- The bytes for id.
-
setId
The id of the custom role.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
The id of the custom role.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
The id of the custom role.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getResourceVersion
The current version of the custom role specification. The next update operation will have to include this version.
string resource_version = 2;- Specified by:
getResourceVersionin interfaceCustomRoleOrBuilder- Returns:
- The resourceVersion.
-
getResourceVersionBytes
public com.google.protobuf.ByteString getResourceVersionBytes()The current version of the custom role specification. The next update operation will have to include this version.
string resource_version = 2;- Specified by:
getResourceVersionBytesin interfaceCustomRoleOrBuilder- Returns:
- The bytes for resourceVersion.
-
setResourceVersion
The current version of the custom role 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 custom role 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 custom role 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 custom role specification.
.temporal.api.cloud.identity.v1.CustomRoleSpec spec = 3;- Specified by:
hasSpecin interfaceCustomRoleOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
The custom role specification.
.temporal.api.cloud.identity.v1.CustomRoleSpec spec = 3;- Specified by:
getSpecin interfaceCustomRoleOrBuilder- Returns:
- The spec.
-
setSpec
The custom role specification.
.temporal.api.cloud.identity.v1.CustomRoleSpec spec = 3; -
setSpec
The custom role specification.
.temporal.api.cloud.identity.v1.CustomRoleSpec spec = 3; -
mergeSpec
The custom role specification.
.temporal.api.cloud.identity.v1.CustomRoleSpec spec = 3; -
clearSpec
The custom role specification.
.temporal.api.cloud.identity.v1.CustomRoleSpec spec = 3; -
getSpecBuilder
The custom role specification.
.temporal.api.cloud.identity.v1.CustomRoleSpec spec = 3; -
getSpecOrBuilder
The custom role specification.
.temporal.api.cloud.identity.v1.CustomRoleSpec spec = 3;- Specified by:
getSpecOrBuilderin interfaceCustomRoleOrBuilder
-
getStateValue
public int getStateValue()The current state of the custom role. For any failed state, reach out to Temporal Cloud support for remediation.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Specified by:
getStateValuein interfaceCustomRoleOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
The current state of the custom role. For any failed state, reach out to Temporal Cloud support for remediation.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
The current state of the custom role. For any failed state, reach out to Temporal Cloud support for remediation.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Specified by:
getStatein interfaceCustomRoleOrBuilder- Returns:
- The state.
-
setState
The current state of the custom role. For any failed state, reach out to Temporal Cloud support for remediation.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
The current state of the custom role. For any failed state, reach out to Temporal Cloud support for remediation.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Returns:
- This builder for chaining.
-
getAsyncOperationId
The id of the async operation that is creating/updating/deleting the custom role, if any.
string async_operation_id = 5;- Specified by:
getAsyncOperationIdin interfaceCustomRoleOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()The id of the async operation that is creating/updating/deleting the custom role, if any.
string async_operation_id = 5;- Specified by:
getAsyncOperationIdBytesin interfaceCustomRoleOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
The id of the async operation that is creating/updating/deleting the custom role, 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 custom role, 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 custom role, if any.
string async_operation_id = 5;- Parameters:
value- The bytes for asyncOperationId to set.- Returns:
- This builder for chaining.
-
hasCreatedTime
public boolean hasCreatedTime()The date and time when the custom role was created.
.google.protobuf.Timestamp created_time = 6;- Specified by:
hasCreatedTimein interfaceCustomRoleOrBuilder- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
public com.google.protobuf.Timestamp getCreatedTime()The date and time when the custom role was created.
.google.protobuf.Timestamp created_time = 6;- Specified by:
getCreatedTimein interfaceCustomRoleOrBuilder- Returns:
- The createdTime.
-
setCreatedTime
The date and time when the custom role was created.
.google.protobuf.Timestamp created_time = 6; -
setCreatedTime
The date and time when the custom role was created.
.google.protobuf.Timestamp created_time = 6; -
mergeCreatedTime
The date and time when the custom role was created.
.google.protobuf.Timestamp created_time = 6; -
clearCreatedTime
The date and time when the custom role was created.
.google.protobuf.Timestamp created_time = 6; -
getCreatedTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreatedTimeBuilder()The date and time when the custom role was created.
.google.protobuf.Timestamp created_time = 6; -
getCreatedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder()The date and time when the custom role was created.
.google.protobuf.Timestamp created_time = 6;- Specified by:
getCreatedTimeOrBuilderin interfaceCustomRoleOrBuilder
-
hasLastModifiedTime
public boolean hasLastModifiedTime()The date and time when the custom role was last modified. Will not be set if the custom role has never been modified.
.google.protobuf.Timestamp last_modified_time = 7;- Specified by:
hasLastModifiedTimein interfaceCustomRoleOrBuilder- Returns:
- Whether the lastModifiedTime field is set.
-
getLastModifiedTime
public com.google.protobuf.Timestamp getLastModifiedTime()The date and time when the custom role was last modified. Will not be set if the custom role has never been modified.
.google.protobuf.Timestamp last_modified_time = 7;- Specified by:
getLastModifiedTimein interfaceCustomRoleOrBuilder- Returns:
- The lastModifiedTime.
-
setLastModifiedTime
The date and time when the custom role was last modified. Will not be set if the custom role has never been modified.
.google.protobuf.Timestamp last_modified_time = 7; -
setLastModifiedTime
public CustomRole.Builder setLastModifiedTime(com.google.protobuf.Timestamp.Builder builderForValue) The date and time when the custom role was last modified. Will not be set if the custom role has never been modified.
.google.protobuf.Timestamp last_modified_time = 7; -
mergeLastModifiedTime
The date and time when the custom role was last modified. Will not be set if the custom role has never been modified.
.google.protobuf.Timestamp last_modified_time = 7; -
clearLastModifiedTime
The date and time when the custom role was last modified. Will not be set if the custom role has never been modified.
.google.protobuf.Timestamp last_modified_time = 7; -
getLastModifiedTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastModifiedTimeBuilder()The date and time when the custom role was last modified. Will not be set if the custom role has never been modified.
.google.protobuf.Timestamp last_modified_time = 7; -
getLastModifiedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder()The date and time when the custom role was last modified. Will not be set if the custom role has never been modified.
.google.protobuf.Timestamp last_modified_time = 7;- Specified by:
getLastModifiedTimeOrBuilderin interfaceCustomRoleOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomRole.Builder>
-
mergeUnknownFields
public final CustomRole.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomRole.Builder>
-