Class UpdateNamespaceRequest.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<UpdateNamespaceRequest.Builder>
      • clear

        public UpdateNamespaceRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceRequest.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<UpdateNamespaceRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public UpdateNamespaceRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceRequest.Builder>
      • setField

        public UpdateNamespaceRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceRequest.Builder>
      • clearField

        public UpdateNamespaceRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceRequest.Builder>
      • clearOneof

        public UpdateNamespaceRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceRequest.Builder>
      • setRepeatedField

        public UpdateNamespaceRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceRequest.Builder>
      • addRepeatedField

        public UpdateNamespaceRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceRequest.Builder>
      • isInitialized

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

        public UpdateNamespaceRequest.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<UpdateNamespaceRequest.Builder>
        Throws:
        java.io.IOException
      • setNamespace

        public UpdateNamespaceRequest.Builder setNamespace​(java.lang.String value)
         The namespace to update.
         
        string namespace = 1;
        Parameters:
        value - The namespace to set.
        Returns:
        This builder for chaining.
      • clearNamespace

        public UpdateNamespaceRequest.Builder clearNamespace()
         The namespace to update.
         
        string namespace = 1;
        Returns:
        This builder for chaining.
      • setNamespaceBytes

        public UpdateNamespaceRequest.Builder setNamespaceBytes​(com.google.protobuf.ByteString value)
         The namespace to update.
         
        string namespace = 1;
        Parameters:
        value - The bytes for namespace to set.
        Returns:
        This builder for chaining.
      • hasSpec

        public boolean hasSpec()
         The new namespace specification.
         
        .temporal.api.cloud.namespace.v1.NamespaceSpec spec = 2;
        Specified by:
        hasSpec in interface UpdateNamespaceRequestOrBuilder
        Returns:
        Whether the spec field is set.
      • clearSpec

        public UpdateNamespaceRequest.Builder clearSpec()
         The new namespace specification.
         
        .temporal.api.cloud.namespace.v1.NamespaceSpec spec = 2;
      • getSpecBuilder

        public NamespaceSpec.Builder getSpecBuilder()
         The new namespace specification.
         
        .temporal.api.cloud.namespace.v1.NamespaceSpec spec = 2;
      • getResourceVersion

        public java.lang.String getResourceVersion()
         The version of the namespace for which this update is intended for.
         The latest version can be found in the namespace status.
         
        string resource_version = 3;
        Specified by:
        getResourceVersion in interface UpdateNamespaceRequestOrBuilder
        Returns:
        The resourceVersion.
      • getResourceVersionBytes

        public com.google.protobuf.ByteString getResourceVersionBytes()
         The version of the namespace for which this update is intended for.
         The latest version can be found in the namespace status.
         
        string resource_version = 3;
        Specified by:
        getResourceVersionBytes in interface UpdateNamespaceRequestOrBuilder
        Returns:
        The bytes for resourceVersion.
      • setResourceVersion

        public UpdateNamespaceRequest.Builder setResourceVersion​(java.lang.String value)
         The version of the namespace for which this update is intended for.
         The latest version can be found in the namespace status.
         
        string resource_version = 3;
        Parameters:
        value - The resourceVersion to set.
        Returns:
        This builder for chaining.
      • clearResourceVersion

        public UpdateNamespaceRequest.Builder clearResourceVersion()
         The version of the namespace for which this update is intended for.
         The latest version can be found in the namespace status.
         
        string resource_version = 3;
        Returns:
        This builder for chaining.
      • setResourceVersionBytes

        public UpdateNamespaceRequest.Builder setResourceVersionBytes​(com.google.protobuf.ByteString value)
         The version of the namespace for which this update is intended for.
         The latest version can be found in the namespace status.
         
        string resource_version = 3;
        Parameters:
        value - The bytes for resourceVersion to set.
        Returns:
        This builder for chaining.
      • getAsyncOperationId

        public java.lang.String getAsyncOperationId()
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 4;
        Specified by:
        getAsyncOperationId in interface UpdateNamespaceRequestOrBuilder
        Returns:
        The asyncOperationId.
      • getAsyncOperationIdBytes

        public com.google.protobuf.ByteString getAsyncOperationIdBytes()
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 4;
        Specified by:
        getAsyncOperationIdBytes in interface UpdateNamespaceRequestOrBuilder
        Returns:
        The bytes for asyncOperationId.
      • setAsyncOperationId

        public UpdateNamespaceRequest.Builder setAsyncOperationId​(java.lang.String value)
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 4;
        Parameters:
        value - The asyncOperationId to set.
        Returns:
        This builder for chaining.
      • clearAsyncOperationId

        public UpdateNamespaceRequest.Builder clearAsyncOperationId()
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 4;
        Returns:
        This builder for chaining.
      • setAsyncOperationIdBytes

        public UpdateNamespaceRequest.Builder setAsyncOperationIdBytes​(com.google.protobuf.ByteString value)
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 4;
        Parameters:
        value - The bytes for asyncOperationId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final UpdateNamespaceRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceRequest.Builder>
      • mergeUnknownFields

        public final UpdateNamespaceRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceRequest.Builder>