Class UpdateApiKeyRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateApiKeyRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiKeyRequest.Builder>
io.temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateApiKeyRequestOrBuilder,Cloneable
- Enclosing class:
UpdateApiKeyRequest
public static final class UpdateApiKeyRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiKeyRequest.Builder>
implements UpdateApiKeyRequestOrBuilder
Protobuf type
temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The id to use for this async operation - optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The id of the api key to update.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The version of the api key for which this update is intended for.The new api key specification.clone()The id to use for this async operation - optional.com.google.protobuf.ByteStringThe id to use for this async operation - optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetKeyId()The id of the api key to update.com.google.protobuf.ByteStringThe id of the api key to update.The version of the api key for which this update is intended for.com.google.protobuf.ByteStringThe version of the api key for which this update is intended for.getSpec()The new api key specification.The new api key specification.The new api key specification.booleanhasSpec()The new api key specification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(UpdateApiKeyRequest other) mergeSpec(ApiKeySpec value) The new api key specification.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAsyncOperationId(String value) The id to use for this async operation - optional.setAsyncOperationIdBytes(com.google.protobuf.ByteString value) The id to use for this async operation - optional.The id of the api key to update.setKeyIdBytes(com.google.protobuf.ByteString value) The id of the api key to update.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceVersion(String value) The version of the api key for which this update is intended for.setResourceVersionBytes(com.google.protobuf.ByteString value) The version of the api key for which this update is intended for.setSpec(ApiKeySpec value) The new api key specification.setSpec(ApiKeySpec.Builder builderForValue) The new api key specification.setUnknownFields(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<UpdateApiKeyRequest.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<UpdateApiKeyRequest.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<UpdateApiKeyRequest.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<UpdateApiKeyRequest.Builder>
-
setField
public UpdateApiKeyRequest.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<UpdateApiKeyRequest.Builder>
-
clearField
public UpdateApiKeyRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiKeyRequest.Builder>
-
clearOneof
public UpdateApiKeyRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiKeyRequest.Builder>
-
setRepeatedField
public UpdateApiKeyRequest.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<UpdateApiKeyRequest.Builder>
-
addRepeatedField
public UpdateApiKeyRequest.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<UpdateApiKeyRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateApiKeyRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiKeyRequest.Builder>
-
mergeFrom
public UpdateApiKeyRequest.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<UpdateApiKeyRequest.Builder>- Throws:
IOException
-
getKeyId
The id of the api key to update.
string key_id = 1;- Specified by:
getKeyIdin interfaceUpdateApiKeyRequestOrBuilder- Returns:
- The keyId.
-
getKeyIdBytes
public com.google.protobuf.ByteString getKeyIdBytes()The id of the api key to update.
string key_id = 1;- Specified by:
getKeyIdBytesin interfaceUpdateApiKeyRequestOrBuilder- Returns:
- The bytes for keyId.
-
setKeyId
The id of the api key to update.
string key_id = 1;- Parameters:
value- The keyId to set.- Returns:
- This builder for chaining.
-
clearKeyId
The id of the api key to update.
string key_id = 1;- Returns:
- This builder for chaining.
-
setKeyIdBytes
The id of the api key to update.
string key_id = 1;- Parameters:
value- The bytes for keyId to set.- Returns:
- This builder for chaining.
-
hasSpec
public boolean hasSpec()The new api key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 2;- Specified by:
hasSpecin interfaceUpdateApiKeyRequestOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
The new api key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 2;- Specified by:
getSpecin interfaceUpdateApiKeyRequestOrBuilder- Returns:
- The spec.
-
setSpec
The new api key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 2; -
setSpec
The new api key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 2; -
mergeSpec
The new api key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 2; -
clearSpec
The new api key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 2; -
getSpecBuilder
The new api key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 2; -
getSpecOrBuilder
The new api key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 2;- Specified by:
getSpecOrBuilderin interfaceUpdateApiKeyRequestOrBuilder
-
getResourceVersion
The version of the api key for which this update is intended for. The latest version can be found in the GetApiKey operation response.
string resource_version = 3;- Specified by:
getResourceVersionin interfaceUpdateApiKeyRequestOrBuilder- Returns:
- The resourceVersion.
-
getResourceVersionBytes
public com.google.protobuf.ByteString getResourceVersionBytes()The version of the api key for which this update is intended for. The latest version can be found in the GetApiKey operation response.
string resource_version = 3;- Specified by:
getResourceVersionBytesin interfaceUpdateApiKeyRequestOrBuilder- Returns:
- The bytes for resourceVersion.
-
setResourceVersion
The version of the api key for which this update is intended for. The latest version can be found in the GetApiKey operation response.
string resource_version = 3;- Parameters:
value- The resourceVersion to set.- Returns:
- This builder for chaining.
-
clearResourceVersion
The version of the api key for which this update is intended for. The latest version can be found in the GetApiKey operation response.
string resource_version = 3;- Returns:
- This builder for chaining.
-
setResourceVersionBytes
The version of the api key for which this update is intended for. The latest version can be found in the GetApiKey operation response.
string resource_version = 3;- Parameters:
value- The bytes for resourceVersion to set.- Returns:
- This builder for chaining.
-
getAsyncOperationId
The id to use for this async operation - optional.
string async_operation_id = 4;- Specified by:
getAsyncOperationIdin interfaceUpdateApiKeyRequestOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()The id to use for this async operation - optional.
string async_operation_id = 4;- Specified by:
getAsyncOperationIdBytesin interfaceUpdateApiKeyRequestOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
The id to use for this async operation - optional.
string async_operation_id = 4;- Parameters:
value- The asyncOperationId to set.- Returns:
- This builder for chaining.
-
clearAsyncOperationId
The id to use for this async operation - optional.
string async_operation_id = 4;- Returns:
- This builder for chaining.
-
setAsyncOperationIdBytes
The id to use for this async operation - optional.
string async_operation_id = 4;- Parameters:
value- The bytes for asyncOperationId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UpdateApiKeyRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiKeyRequest.Builder>
-
mergeUnknownFields
public final UpdateApiKeyRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiKeyRequest.Builder>
-