Class ApiKey.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ApiKey.Builder>
-
- io.temporal.api.cloud.identity.v1.ApiKey.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ApiKeyOrBuilder,java.lang.Cloneable
- Enclosing class:
- ApiKey
public static final class ApiKey.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ApiKey.Builder> implements ApiKeyOrBuilder
Protobuf typetemporal.api.cloud.identity.v1.ApiKey
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiKey.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ApiKeybuild()ApiKeybuildPartial()ApiKey.Builderclear()ApiKey.BuilderclearAsyncOperationId()The id of the async operation that is creating/updating/deleting the API key, if any.ApiKey.BuilderclearCreatedTime()The date and time when the API key was created.ApiKey.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ApiKey.BuilderclearId()The id of the API Key.ApiKey.BuilderclearLastModifiedTime()The date and time when the API key was last modified.ApiKey.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ApiKey.BuilderclearResourceVersion()The current version of the API key specification.ApiKey.BuilderclearSpec()The API key specification.ApiKey.BuilderclearState()The current state of the API key.ApiKey.Builderclone()java.lang.StringgetAsyncOperationId()The id of the async operation that is creating/updating/deleting the API key, if any.com.google.protobuf.ByteStringgetAsyncOperationIdBytes()The id of the async operation that is creating/updating/deleting the API key, if any.com.google.protobuf.TimestampgetCreatedTime()The date and time when the API key was created.com.google.protobuf.Timestamp.BuildergetCreatedTimeBuilder()The date and time when the API key was created.com.google.protobuf.TimestampOrBuildergetCreatedTimeOrBuilder()The date and time when the API key was created.ApiKeygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetId()The id of the API Key.com.google.protobuf.ByteStringgetIdBytes()The id of the API Key.com.google.protobuf.TimestampgetLastModifiedTime()The date and time when the API key was last modified.com.google.protobuf.Timestamp.BuildergetLastModifiedTimeBuilder()The date and time when the API key was last modified.com.google.protobuf.TimestampOrBuildergetLastModifiedTimeOrBuilder()The date and time when the API key was last modified.java.lang.StringgetResourceVersion()The current version of the API key specification.com.google.protobuf.ByteStringgetResourceVersionBytes()The current version of the API key specification.ApiKeySpecgetSpec()The API key specification.ApiKeySpec.BuildergetSpecBuilder()The API key specification.ApiKeySpecOrBuildergetSpecOrBuilder()The API key specification.java.lang.StringgetState()The current state of the API key.com.google.protobuf.ByteStringgetStateBytes()The current state of the API key.booleanhasCreatedTime()The date and time when the API key was created.booleanhasLastModifiedTime()The date and time when the API key was last modified.booleanhasSpec()The API key specification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ApiKey.BuildermergeCreatedTime(com.google.protobuf.Timestamp value)The date and time when the API key was created.ApiKey.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ApiKey.BuildermergeFrom(com.google.protobuf.Message other)ApiKey.BuildermergeFrom(ApiKey other)ApiKey.BuildermergeLastModifiedTime(com.google.protobuf.Timestamp value)The date and time when the API key was last modified.ApiKey.BuildermergeSpec(ApiKeySpec value)The API key specification.ApiKey.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ApiKey.BuildersetAsyncOperationId(java.lang.String value)The id of the async operation that is creating/updating/deleting the API key, if any.ApiKey.BuildersetAsyncOperationIdBytes(com.google.protobuf.ByteString value)The id of the async operation that is creating/updating/deleting the API key, if any.ApiKey.BuildersetCreatedTime(com.google.protobuf.Timestamp value)The date and time when the API key was created.ApiKey.BuildersetCreatedTime(com.google.protobuf.Timestamp.Builder builderForValue)The date and time when the API key was created.ApiKey.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ApiKey.BuildersetId(java.lang.String value)The id of the API Key.ApiKey.BuildersetIdBytes(com.google.protobuf.ByteString value)The id of the API Key.ApiKey.BuildersetLastModifiedTime(com.google.protobuf.Timestamp value)The date and time when the API key was last modified.ApiKey.BuildersetLastModifiedTime(com.google.protobuf.Timestamp.Builder builderForValue)The date and time when the API key was last modified.ApiKey.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ApiKey.BuildersetResourceVersion(java.lang.String value)The current version of the API key specification.ApiKey.BuildersetResourceVersionBytes(com.google.protobuf.ByteString value)The current version of the API key specification.ApiKey.BuildersetSpec(ApiKeySpec value)The API key specification.ApiKey.BuildersetSpec(ApiKeySpec.Builder builderForValue)The API key specification.ApiKey.BuildersetState(java.lang.String value)The current state of the API key.ApiKey.BuildersetStateBytes(com.google.protobuf.ByteString value)The current state of the API key.ApiKey.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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<ApiKey.Builder>
-
clear
public ApiKey.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<ApiKey.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<ApiKey.Builder>
-
getDefaultInstanceForType
public ApiKey getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ApiKey build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ApiKey buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ApiKey.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<ApiKey.Builder>
-
setField
public ApiKey.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKey.Builder>
-
clearField
public ApiKey.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKey.Builder>
-
clearOneof
public ApiKey.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKey.Builder>
-
setRepeatedField
public ApiKey.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKey.Builder>
-
addRepeatedField
public ApiKey.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKey.Builder>
-
mergeFrom
public ApiKey.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ApiKey.Builder>
-
mergeFrom
public ApiKey.Builder mergeFrom(ApiKey other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKey.Builder>
-
mergeFrom
public ApiKey.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ApiKey.Builder>- Throws:
java.io.IOException
-
getId
public java.lang.String getId()
The id of the API Key.
string id = 1;- Specified by:
getIdin interfaceApiKeyOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
The id of the API Key.
string id = 1;- Specified by:
getIdBytesin interfaceApiKeyOrBuilder- Returns:
- The bytes for id.
-
setId
public ApiKey.Builder setId(java.lang.String value)
The id of the API Key.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public ApiKey.Builder clearId()
The id of the API Key.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public ApiKey.Builder setIdBytes(com.google.protobuf.ByteString value)
The id of the API Key.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getResourceVersion
public java.lang.String getResourceVersion()
The current version of the API key specification. The next update operation will have to include this version.
string resource_version = 2;- Specified by:
getResourceVersionin interfaceApiKeyOrBuilder- Returns:
- The resourceVersion.
-
getResourceVersionBytes
public com.google.protobuf.ByteString getResourceVersionBytes()
The current version of the API key specification. The next update operation will have to include this version.
string resource_version = 2;- Specified by:
getResourceVersionBytesin interfaceApiKeyOrBuilder- Returns:
- The bytes for resourceVersion.
-
setResourceVersion
public ApiKey.Builder setResourceVersion(java.lang.String value)
The current version of the API key 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
public ApiKey.Builder clearResourceVersion()
The current version of the API key specification. The next update operation will have to include this version.
string resource_version = 2;- Returns:
- This builder for chaining.
-
setResourceVersionBytes
public ApiKey.Builder setResourceVersionBytes(com.google.protobuf.ByteString value)
The current version of the API key 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 API key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 3;- Specified by:
hasSpecin interfaceApiKeyOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
public ApiKeySpec getSpec()
The API key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 3;- Specified by:
getSpecin interfaceApiKeyOrBuilder- Returns:
- The spec.
-
setSpec
public ApiKey.Builder setSpec(ApiKeySpec value)
The API key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 3;
-
setSpec
public ApiKey.Builder setSpec(ApiKeySpec.Builder builderForValue)
The API key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 3;
-
mergeSpec
public ApiKey.Builder mergeSpec(ApiKeySpec value)
The API key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 3;
-
clearSpec
public ApiKey.Builder clearSpec()
The API key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 3;
-
getSpecBuilder
public ApiKeySpec.Builder getSpecBuilder()
The API key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 3;
-
getSpecOrBuilder
public ApiKeySpecOrBuilder getSpecOrBuilder()
The API key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 3;- Specified by:
getSpecOrBuilderin interfaceApiKeyOrBuilder
-
getState
public java.lang.String getState()
The current state of the API key. Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended. For any failed state, reach out to Temporal Cloud support for remediation.
string state = 4;- Specified by:
getStatein interfaceApiKeyOrBuilder- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()
The current state of the API key. Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended. For any failed state, reach out to Temporal Cloud support for remediation.
string state = 4;- Specified by:
getStateBytesin interfaceApiKeyOrBuilder- Returns:
- The bytes for state.
-
setState
public ApiKey.Builder setState(java.lang.String value)
The current state of the API key. Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended. For any failed state, reach out to Temporal Cloud support for remediation.
string state = 4;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public ApiKey.Builder clearState()
The current state of the API key. Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended. For any failed state, reach out to Temporal Cloud support for remediation.
string state = 4;- Returns:
- This builder for chaining.
-
setStateBytes
public ApiKey.Builder setStateBytes(com.google.protobuf.ByteString value)
The current state of the API key. Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended. For any failed state, reach out to Temporal Cloud support for remediation.
string state = 4;- Parameters:
value- The bytes for state to set.- Returns:
- This builder for chaining.
-
getAsyncOperationId
public java.lang.String getAsyncOperationId()
The id of the async operation that is creating/updating/deleting the API key, if any.
string async_operation_id = 5;- Specified by:
getAsyncOperationIdin interfaceApiKeyOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()
The id of the async operation that is creating/updating/deleting the API key, if any.
string async_operation_id = 5;- Specified by:
getAsyncOperationIdBytesin interfaceApiKeyOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
public ApiKey.Builder setAsyncOperationId(java.lang.String value)
The id of the async operation that is creating/updating/deleting the API key, if any.
string async_operation_id = 5;- Parameters:
value- The asyncOperationId to set.- Returns:
- This builder for chaining.
-
clearAsyncOperationId
public ApiKey.Builder clearAsyncOperationId()
The id of the async operation that is creating/updating/deleting the API key, if any.
string async_operation_id = 5;- Returns:
- This builder for chaining.
-
setAsyncOperationIdBytes
public ApiKey.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value)
The id of the async operation that is creating/updating/deleting the API key, 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 API key was created.
.google.protobuf.Timestamp created_time = 6;- Specified by:
hasCreatedTimein interfaceApiKeyOrBuilder- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
public com.google.protobuf.Timestamp getCreatedTime()
The date and time when the API key was created.
.google.protobuf.Timestamp created_time = 6;- Specified by:
getCreatedTimein interfaceApiKeyOrBuilder- Returns:
- The createdTime.
-
setCreatedTime
public ApiKey.Builder setCreatedTime(com.google.protobuf.Timestamp value)
The date and time when the API key was created.
.google.protobuf.Timestamp created_time = 6;
-
setCreatedTime
public ApiKey.Builder setCreatedTime(com.google.protobuf.Timestamp.Builder builderForValue)
The date and time when the API key was created.
.google.protobuf.Timestamp created_time = 6;
-
mergeCreatedTime
public ApiKey.Builder mergeCreatedTime(com.google.protobuf.Timestamp value)
The date and time when the API key was created.
.google.protobuf.Timestamp created_time = 6;
-
clearCreatedTime
public ApiKey.Builder clearCreatedTime()
The date and time when the API key was created.
.google.protobuf.Timestamp created_time = 6;
-
getCreatedTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreatedTimeBuilder()
The date and time when the API key was created.
.google.protobuf.Timestamp created_time = 6;
-
getCreatedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder()
The date and time when the API key was created.
.google.protobuf.Timestamp created_time = 6;- Specified by:
getCreatedTimeOrBuilderin interfaceApiKeyOrBuilder
-
hasLastModifiedTime
public boolean hasLastModifiedTime()
The date and time when the API key was last modified. Will not be set if the API key has never been modified.
.google.protobuf.Timestamp last_modified_time = 7;- Specified by:
hasLastModifiedTimein interfaceApiKeyOrBuilder- Returns:
- Whether the lastModifiedTime field is set.
-
getLastModifiedTime
public com.google.protobuf.Timestamp getLastModifiedTime()
The date and time when the API key was last modified. Will not be set if the API key has never been modified.
.google.protobuf.Timestamp last_modified_time = 7;- Specified by:
getLastModifiedTimein interfaceApiKeyOrBuilder- Returns:
- The lastModifiedTime.
-
setLastModifiedTime
public ApiKey.Builder setLastModifiedTime(com.google.protobuf.Timestamp value)
The date and time when the API key was last modified. Will not be set if the API key has never been modified.
.google.protobuf.Timestamp last_modified_time = 7;
-
setLastModifiedTime
public ApiKey.Builder setLastModifiedTime(com.google.protobuf.Timestamp.Builder builderForValue)
The date and time when the API key was last modified. Will not be set if the API key has never been modified.
.google.protobuf.Timestamp last_modified_time = 7;
-
mergeLastModifiedTime
public ApiKey.Builder mergeLastModifiedTime(com.google.protobuf.Timestamp value)
The date and time when the API key was last modified. Will not be set if the API key has never been modified.
.google.protobuf.Timestamp last_modified_time = 7;
-
clearLastModifiedTime
public ApiKey.Builder clearLastModifiedTime()
The date and time when the API key was last modified. Will not be set if the API key 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 API key was last modified. Will not be set if the API key has never been modified.
.google.protobuf.Timestamp last_modified_time = 7;
-
getLastModifiedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder()
The date and time when the API key was last modified. Will not be set if the API key has never been modified.
.google.protobuf.Timestamp last_modified_time = 7;- Specified by:
getLastModifiedTimeOrBuilderin interfaceApiKeyOrBuilder
-
setUnknownFields
public final ApiKey.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKey.Builder>
-
mergeUnknownFields
public final ApiKey.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKey.Builder>
-
-