Class SetServiceAccountNamespaceAccessRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SetServiceAccountNamespaceAccessRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<SetServiceAccountNamespaceAccessRequest.Builder>
io.temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SetServiceAccountNamespaceAccessRequestOrBuilder,Cloneable
- Enclosing class:
SetServiceAccountNamespaceAccessRequest
public static final class SetServiceAccountNamespaceAccessRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SetServiceAccountNamespaceAccessRequest.Builder>
implements SetServiceAccountNamespaceAccessRequestOrBuilder
Protobuf type
temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The namespace access to assign the service account.The ID to use for this async operation - optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The namespace to set permissions for.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.clone()The namespace access to assign the service account.The namespace access to assign the service account.The namespace access to assign the service account.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 namespace to set permissions for.com.google.protobuf.ByteStringThe namespace to set permissions for.The 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.booleanThe namespace access to assign the service account.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAccess(NamespaceAccess value) The namespace access to assign the service account.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAccess(NamespaceAccess value) The namespace access to assign the service account.setAccess(NamespaceAccess.Builder builderForValue) The namespace access to assign the service account.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.setNamespace(String value) The namespace to set permissions for.setNamespaceBytes(com.google.protobuf.ByteString value) The namespace to set permissions for.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.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<SetServiceAccountNamespaceAccessRequest.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<SetServiceAccountNamespaceAccessRequest.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<SetServiceAccountNamespaceAccessRequest.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<SetServiceAccountNamespaceAccessRequest.Builder>
-
setField
public SetServiceAccountNamespaceAccessRequest.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<SetServiceAccountNamespaceAccessRequest.Builder>
-
clearField
public SetServiceAccountNamespaceAccessRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SetServiceAccountNamespaceAccessRequest.Builder>
-
clearOneof
public SetServiceAccountNamespaceAccessRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SetServiceAccountNamespaceAccessRequest.Builder>
-
setRepeatedField
public SetServiceAccountNamespaceAccessRequest.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<SetServiceAccountNamespaceAccessRequest.Builder>
-
addRepeatedField
public SetServiceAccountNamespaceAccessRequest.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<SetServiceAccountNamespaceAccessRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SetServiceAccountNamespaceAccessRequest.Builder>
-
mergeFrom
public SetServiceAccountNamespaceAccessRequest.Builder mergeFrom(SetServiceAccountNamespaceAccessRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SetServiceAccountNamespaceAccessRequest.Builder>
-
mergeFrom
public SetServiceAccountNamespaceAccessRequest.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<SetServiceAccountNamespaceAccessRequest.Builder>- Throws:
IOException
-
getServiceAccountId
The ID of the service account to update.
string service_account_id = 1;- Specified by:
getServiceAccountIdin interfaceSetServiceAccountNamespaceAccessRequestOrBuilder- 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 interfaceSetServiceAccountNamespaceAccessRequestOrBuilder- 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 SetServiceAccountNamespaceAccessRequest.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.
-
getNamespace
The namespace to set permissions for.
string namespace = 2;- Specified by:
getNamespacein interfaceSetServiceAccountNamespaceAccessRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()The namespace to set permissions for.
string namespace = 2;- Specified by:
getNamespaceBytesin interfaceSetServiceAccountNamespaceAccessRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
The namespace to set permissions for.
string namespace = 2;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
The namespace to set permissions for.
string namespace = 2;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public SetServiceAccountNamespaceAccessRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value) The namespace to set permissions for.
string namespace = 2;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
hasAccess
public boolean hasAccess()The namespace access to assign the service account.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3;- Specified by:
hasAccessin interfaceSetServiceAccountNamespaceAccessRequestOrBuilder- Returns:
- Whether the access field is set.
-
getAccess
The namespace access to assign the service account.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3;- Specified by:
getAccessin interfaceSetServiceAccountNamespaceAccessRequestOrBuilder- Returns:
- The access.
-
setAccess
The namespace access to assign the service account.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3; -
setAccess
public SetServiceAccountNamespaceAccessRequest.Builder setAccess(NamespaceAccess.Builder builderForValue) The namespace access to assign the service account.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3; -
mergeAccess
The namespace access to assign the service account.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3; -
clearAccess
The namespace access to assign the service account.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3; -
getAccessBuilder
The namespace access to assign the service account.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3; -
getAccessOrBuilder
The namespace access to assign the service account.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3;- Specified by:
getAccessOrBuilderin interfaceSetServiceAccountNamespaceAccessRequestOrBuilder
-
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 = 4;- Specified by:
getResourceVersionin interfaceSetServiceAccountNamespaceAccessRequestOrBuilder- 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 = 4;- Specified by:
getResourceVersionBytesin interfaceSetServiceAccountNamespaceAccessRequestOrBuilder- 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 = 4;- 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 = 4;- Returns:
- This builder for chaining.
-
setResourceVersionBytes
public SetServiceAccountNamespaceAccessRequest.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 = 4;- 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 = 5;- Specified by:
getAsyncOperationIdin interfaceSetServiceAccountNamespaceAccessRequestOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()The ID to use for this async operation - optional.
string async_operation_id = 5;- Specified by:
getAsyncOperationIdBytesin interfaceSetServiceAccountNamespaceAccessRequestOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
The ID to use for this async operation - optional.
string async_operation_id = 5;- 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 = 5;- Returns:
- This builder for chaining.
-
setAsyncOperationIdBytes
public SetServiceAccountNamespaceAccessRequest.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value) The ID to use for this async operation - optional.
string async_operation_id = 5;- Parameters:
value- The bytes for asyncOperationId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final SetServiceAccountNamespaceAccessRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SetServiceAccountNamespaceAccessRequest.Builder>
-
mergeUnknownFields
public final SetServiceAccountNamespaceAccessRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SetServiceAccountNamespaceAccessRequest.Builder>
-