Class SetUserGroupNamespaceAccessRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SetUserGroupNamespaceAccessRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<SetUserGroupNamespaceAccessRequest.Builder>
io.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SetUserGroupNamespaceAccessRequestOrBuilder,Cloneable
- Enclosing class:
SetUserGroupNamespaceAccessRequest
public static final class SetUserGroupNamespaceAccessRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SetUserGroupNamespaceAccessRequest.Builder>
implements SetUserGroupNamespaceAccessRequestOrBuilder
Protobuf type
temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The namespace access to assign the group.The id to use for this async operation - optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The id of the group to set permissions for.The namespace to set permissions for.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The version of the group for which this update is intended for.clone()The namespace access to assign the group.The namespace access to assign the group.The namespace access to assign the group.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 id of the group to set permissions for.com.google.protobuf.ByteStringThe id of the group to set permissions for.The namespace to set permissions for.com.google.protobuf.ByteStringThe namespace to set permissions for.The version of the group for which this update is intended for.com.google.protobuf.ByteStringThe version of the group for which this update is intended for.booleanThe namespace access to assign the group.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAccess(NamespaceAccess value) The namespace access to assign the group.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 group.setAccess(NamespaceAccess.Builder builderForValue) The namespace access to assign the group.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.setGroupId(String value) The id of the group to set permissions for.setGroupIdBytes(com.google.protobuf.ByteString value) The id of the group to set permissions for.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 group for which this update is intended for.setResourceVersionBytes(com.google.protobuf.ByteString value) The version of the group for which this update is intended for.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<SetUserGroupNamespaceAccessRequest.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<SetUserGroupNamespaceAccessRequest.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<SetUserGroupNamespaceAccessRequest.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<SetUserGroupNamespaceAccessRequest.Builder>
-
setField
public SetUserGroupNamespaceAccessRequest.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<SetUserGroupNamespaceAccessRequest.Builder>
-
clearField
public SetUserGroupNamespaceAccessRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SetUserGroupNamespaceAccessRequest.Builder>
-
clearOneof
public SetUserGroupNamespaceAccessRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SetUserGroupNamespaceAccessRequest.Builder>
-
setRepeatedField
public SetUserGroupNamespaceAccessRequest.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<SetUserGroupNamespaceAccessRequest.Builder>
-
addRepeatedField
public SetUserGroupNamespaceAccessRequest.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<SetUserGroupNamespaceAccessRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SetUserGroupNamespaceAccessRequest.Builder>
-
mergeFrom
public SetUserGroupNamespaceAccessRequest.Builder mergeFrom(SetUserGroupNamespaceAccessRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SetUserGroupNamespaceAccessRequest.Builder>
-
mergeFrom
public SetUserGroupNamespaceAccessRequest.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<SetUserGroupNamespaceAccessRequest.Builder>- Throws:
IOException
-
getNamespace
The namespace to set permissions for.
string namespace = 1;- Specified by:
getNamespacein interfaceSetUserGroupNamespaceAccessRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()The namespace to set permissions for.
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceSetUserGroupNamespaceAccessRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
The namespace to set permissions for.
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
The namespace to set permissions for.
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public SetUserGroupNamespaceAccessRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value) The namespace to set permissions for.
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getGroupId
The id of the group to set permissions for.
string group_id = 2;- Specified by:
getGroupIdin interfaceSetUserGroupNamespaceAccessRequestOrBuilder- Returns:
- The groupId.
-
getGroupIdBytes
public com.google.protobuf.ByteString getGroupIdBytes()The id of the group to set permissions for.
string group_id = 2;- Specified by:
getGroupIdBytesin interfaceSetUserGroupNamespaceAccessRequestOrBuilder- Returns:
- The bytes for groupId.
-
setGroupId
The id of the group to set permissions for.
string group_id = 2;- Parameters:
value- The groupId to set.- Returns:
- This builder for chaining.
-
clearGroupId
The id of the group to set permissions for.
string group_id = 2;- Returns:
- This builder for chaining.
-
setGroupIdBytes
public SetUserGroupNamespaceAccessRequest.Builder setGroupIdBytes(com.google.protobuf.ByteString value) The id of the group to set permissions for.
string group_id = 2;- Parameters:
value- The bytes for groupId to set.- Returns:
- This builder for chaining.
-
hasAccess
public boolean hasAccess()The namespace access to assign the group. If left empty, the group will be removed from the namespace access.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3;- Specified by:
hasAccessin interfaceSetUserGroupNamespaceAccessRequestOrBuilder- Returns:
- Whether the access field is set.
-
getAccess
The namespace access to assign the group. If left empty, the group will be removed from the namespace access.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3;- Specified by:
getAccessin interfaceSetUserGroupNamespaceAccessRequestOrBuilder- Returns:
- The access.
-
setAccess
The namespace access to assign the group. If left empty, the group will be removed from the namespace access.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3; -
setAccess
public SetUserGroupNamespaceAccessRequest.Builder setAccess(NamespaceAccess.Builder builderForValue) The namespace access to assign the group. If left empty, the group will be removed from the namespace access.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3; -
mergeAccess
The namespace access to assign the group. If left empty, the group will be removed from the namespace access.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3; -
clearAccess
The namespace access to assign the group. If left empty, the group will be removed from the namespace access.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3; -
getAccessBuilder
The namespace access to assign the group. If left empty, the group will be removed from the namespace access.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3; -
getAccessOrBuilder
The namespace access to assign the group. If left empty, the group will be removed from the namespace access.
.temporal.api.cloud.identity.v1.NamespaceAccess access = 3;- Specified by:
getAccessOrBuilderin interfaceSetUserGroupNamespaceAccessRequestOrBuilder
-
getResourceVersion
The version of the group for which this update is intended for. The latest version can be found in the GetGroup operation response.
string resource_version = 4;- Specified by:
getResourceVersionin interfaceSetUserGroupNamespaceAccessRequestOrBuilder- Returns:
- The resourceVersion.
-
getResourceVersionBytes
public com.google.protobuf.ByteString getResourceVersionBytes()The version of the group for which this update is intended for. The latest version can be found in the GetGroup operation response.
string resource_version = 4;- Specified by:
getResourceVersionBytesin interfaceSetUserGroupNamespaceAccessRequestOrBuilder- Returns:
- The bytes for resourceVersion.
-
setResourceVersion
The version of the group for which this update is intended for. The latest version can be found in the GetGroup operation response.
string resource_version = 4;- Parameters:
value- The resourceVersion to set.- Returns:
- This builder for chaining.
-
clearResourceVersion
The version of the group for which this update is intended for. The latest version can be found in the GetGroup operation response.
string resource_version = 4;- Returns:
- This builder for chaining.
-
setResourceVersionBytes
public SetUserGroupNamespaceAccessRequest.Builder setResourceVersionBytes(com.google.protobuf.ByteString value) The version of the group for which this update is intended for. The latest version can be found in the GetGroup operation 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 interfaceSetUserGroupNamespaceAccessRequestOrBuilder- 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 interfaceSetUserGroupNamespaceAccessRequestOrBuilder- 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 SetUserGroupNamespaceAccessRequest.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 SetUserGroupNamespaceAccessRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SetUserGroupNamespaceAccessRequest.Builder>
-
mergeUnknownFields
public final SetUserGroupNamespaceAccessRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SetUserGroupNamespaceAccessRequest.Builder>
-