Class SetUserGroupNamespaceAccessRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SetUserGroupNamespaceAccessRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SetUserGroupNamespaceAccessRequest.Builder>
      • getDefaultInstanceForType

        public SetUserGroupNamespaceAccessRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public SetUserGroupNamespaceAccessRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SetUserGroupNamespaceAccessRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SetUserGroupNamespaceAccessRequest.Builder>
      • mergeFrom

        public SetUserGroupNamespaceAccessRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SetUserGroupNamespaceAccessRequest.Builder>
        Throws:
        java.io.IOException
      • setNamespace

        public SetUserGroupNamespaceAccessRequest.Builder setNamespace​(java.lang.String value)
         The namespace to set permissions for.
         
        string namespace = 1;
        Parameters:
        value - The namespace to set.
        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.
      • setGroupId

        public SetUserGroupNamespaceAccessRequest.Builder setGroupId​(java.lang.String value)
         The id of the group to set permissions for.
         
        string group_id = 2;
        Parameters:
        value - The groupId to set.
        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:
        hasAccess in interface SetUserGroupNamespaceAccessRequestOrBuilder
        Returns:
        Whether the access field is set.
      • clearAccess

        public SetUserGroupNamespaceAccessRequest.Builder 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

        public NamespaceAccess.Builder 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;
      • getResourceVersion

        public java.lang.String 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:
        getResourceVersion in interface SetUserGroupNamespaceAccessRequestOrBuilder
        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:
        getResourceVersionBytes in interface SetUserGroupNamespaceAccessRequestOrBuilder
        Returns:
        The bytes for resourceVersion.
      • setResourceVersion

        public SetUserGroupNamespaceAccessRequest.Builder setResourceVersion​(java.lang.String 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 resourceVersion to set.
        Returns:
        This builder for chaining.
      • clearResourceVersion

        public SetUserGroupNamespaceAccessRequest.Builder 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.
      • setAsyncOperationId

        public SetUserGroupNamespaceAccessRequest.Builder setAsyncOperationId​(java.lang.String value)
         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

        public SetUserGroupNamespaceAccessRequest.Builder 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.