Class UpdateServiceAccountRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateServiceAccountRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceAccountRequest.Builder>
io.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateServiceAccountRequestOrBuilder,Cloneable
- Enclosing class:
UpdateServiceAccountRequest
public static final class UpdateServiceAccountRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceAccountRequest.Builder>
implements UpdateServiceAccountRequestOrBuilder
Protobuf type
temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest-
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) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The version of the service account for which this update is intended for.The ID of the service account to update.The new service account 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.DescriptorThe version of the service account for which this update is intended for.com.google.protobuf.ByteStringThe version of the service account for which this update is intended for.The ID of the service account to update.com.google.protobuf.ByteStringThe ID of the service account to update.getSpec()The new service account specification.The new service account specification.The new service account specification.booleanhasSpec()The new service account specification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSpec(ServiceAccountSpec value) The new service account 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.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceVersion(String value) The version of the service account for which this update is intended for.setResourceVersionBytes(com.google.protobuf.ByteString value) The version of the service account for which this update is intended for.setServiceAccountId(String value) The ID of the service account to update.setServiceAccountIdBytes(com.google.protobuf.ByteString value) The ID of the service account to update.setSpec(ServiceAccountSpec value) The new service account specification.setSpec(ServiceAccountSpec.Builder builderForValue) The new service account 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<UpdateServiceAccountRequest.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<UpdateServiceAccountRequest.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<UpdateServiceAccountRequest.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<UpdateServiceAccountRequest.Builder>
-
setField
public UpdateServiceAccountRequest.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<UpdateServiceAccountRequest.Builder>
-
clearField
public UpdateServiceAccountRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceAccountRequest.Builder>
-
clearOneof
public UpdateServiceAccountRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceAccountRequest.Builder>
-
setRepeatedField
public UpdateServiceAccountRequest.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<UpdateServiceAccountRequest.Builder>
-
addRepeatedField
public UpdateServiceAccountRequest.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<UpdateServiceAccountRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateServiceAccountRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceAccountRequest.Builder>
-
mergeFrom
public UpdateServiceAccountRequest.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<UpdateServiceAccountRequest.Builder>- Throws:
IOException
-
getServiceAccountId
The ID of the service account to update.
string service_account_id = 1;- Specified by:
getServiceAccountIdin interfaceUpdateServiceAccountRequestOrBuilder- Returns:
- The serviceAccountId.
-
getServiceAccountIdBytes
public com.google.protobuf.ByteString getServiceAccountIdBytes()The ID of the service account to update.
string service_account_id = 1;- Specified by:
getServiceAccountIdBytesin interfaceUpdateServiceAccountRequestOrBuilder- Returns:
- The bytes for serviceAccountId.
-
setServiceAccountId
The ID of the service account to update.
string service_account_id = 1;- Parameters:
value- The serviceAccountId to set.- Returns:
- This builder for chaining.
-
clearServiceAccountId
The ID of the service account to update.
string service_account_id = 1;- Returns:
- This builder for chaining.
-
setServiceAccountIdBytes
public UpdateServiceAccountRequest.Builder setServiceAccountIdBytes(com.google.protobuf.ByteString value) The ID of the service account to update.
string service_account_id = 1;- Parameters:
value- The bytes for serviceAccountId to set.- Returns:
- This builder for chaining.
-
hasSpec
public boolean hasSpec()The new service account specification.
.temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2;- Specified by:
hasSpecin interfaceUpdateServiceAccountRequestOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
The new service account specification.
.temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2;- Specified by:
getSpecin interfaceUpdateServiceAccountRequestOrBuilder- Returns:
- The spec.
-
setSpec
The new service account specification.
.temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2; -
setSpec
The new service account specification.
.temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2; -
mergeSpec
The new service account specification.
.temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2; -
clearSpec
The new service account specification.
.temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2; -
getSpecBuilder
The new service account specification.
.temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2; -
getSpecOrBuilder
The new service account specification.
.temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2;- Specified by:
getSpecOrBuilderin interfaceUpdateServiceAccountRequestOrBuilder
-
getResourceVersion
The version of the service account for which this update is intended for. The latest version can be found in the GetServiceAccount response.
string resource_version = 3;- Specified by:
getResourceVersionin interfaceUpdateServiceAccountRequestOrBuilder- Returns:
- The resourceVersion.
-
getResourceVersionBytes
public com.google.protobuf.ByteString getResourceVersionBytes()The version of the service account for which this update is intended for. The latest version can be found in the GetServiceAccount response.
string resource_version = 3;- Specified by:
getResourceVersionBytesin interfaceUpdateServiceAccountRequestOrBuilder- Returns:
- The bytes for resourceVersion.
-
setResourceVersion
The version of the service account for which this update is intended for. The latest version can be found in the GetServiceAccount response.
string resource_version = 3;- Parameters:
value- The resourceVersion to set.- Returns:
- This builder for chaining.
-
clearResourceVersion
The version of the service account for which this update is intended for. The latest version can be found in the GetServiceAccount response.
string resource_version = 3;- Returns:
- This builder for chaining.
-
setResourceVersionBytes
public UpdateServiceAccountRequest.Builder setResourceVersionBytes(com.google.protobuf.ByteString value) The version of the service account for which this update is intended for. The latest version can be found in the GetServiceAccount 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 interfaceUpdateServiceAccountRequestOrBuilder- 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 interfaceUpdateServiceAccountRequestOrBuilder- 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
public UpdateServiceAccountRequest.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value) 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 UpdateServiceAccountRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceAccountRequest.Builder>
-
mergeUnknownFields
public final UpdateServiceAccountRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceAccountRequest.Builder>
-