Class UpdateTaskQueueConfigRequest.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<UpdateTaskQueueConfigRequest.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<UpdateTaskQueueConfigRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public UpdateTaskQueueConfigRequest.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<UpdateTaskQueueConfigRequest.Builder>
      • addRepeatedField

        public UpdateTaskQueueConfigRequest.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<UpdateTaskQueueConfigRequest.Builder>
      • isInitialized

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

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

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

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

        public UpdateTaskQueueConfigRequest.Builder setIdentity​(java.lang.String value)
        string identity = 2;
        Parameters:
        value - The identity to set.
        Returns:
        This builder for chaining.
      • setIdentityBytes

        public UpdateTaskQueueConfigRequest.Builder setIdentityBytes​(com.google.protobuf.ByteString value)
        string identity = 2;
        Parameters:
        value - The bytes for identity to set.
        Returns:
        This builder for chaining.
      • setTaskQueue

        public UpdateTaskQueueConfigRequest.Builder setTaskQueue​(java.lang.String value)
         Selects the task queue to update.
         
        string task_queue = 3;
        Parameters:
        value - The taskQueue to set.
        Returns:
        This builder for chaining.
      • setTaskQueueBytes

        public UpdateTaskQueueConfigRequest.Builder setTaskQueueBytes​(com.google.protobuf.ByteString value)
         Selects the task queue to update.
         
        string task_queue = 3;
        Parameters:
        value - The bytes for taskQueue to set.
        Returns:
        This builder for chaining.
      • setTaskQueueTypeValue

        public UpdateTaskQueueConfigRequest.Builder setTaskQueueTypeValue​(int value)
        .temporal.api.enums.v1.TaskQueueType task_queue_type = 4;
        Parameters:
        value - The enum numeric value on the wire for taskQueueType to set.
        Returns:
        This builder for chaining.
      • setTaskQueueType

        public UpdateTaskQueueConfigRequest.Builder setTaskQueueType​(TaskQueueType value)
        .temporal.api.enums.v1.TaskQueueType task_queue_type = 4;
        Parameters:
        value - The taskQueueType to set.
        Returns:
        This builder for chaining.
      • clearTaskQueueType

        public UpdateTaskQueueConfigRequest.Builder clearTaskQueueType()
        .temporal.api.enums.v1.TaskQueueType task_queue_type = 4;
        Returns:
        This builder for chaining.
      • hasUpdateQueueRateLimit

        public boolean hasUpdateQueueRateLimit()
         Update to queue-wide rate limit.
         If not set, this configuration is unchanged.
         NOTE: A limit set by the worker is overriden; and restored again when reset.
         If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit.
         
        .temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate update_queue_rate_limit = 5;
        Specified by:
        hasUpdateQueueRateLimit in interface UpdateTaskQueueConfigRequestOrBuilder
        Returns:
        Whether the updateQueueRateLimit field is set.
      • getUpdateQueueRateLimit

        public UpdateTaskQueueConfigRequest.RateLimitUpdate getUpdateQueueRateLimit()
         Update to queue-wide rate limit.
         If not set, this configuration is unchanged.
         NOTE: A limit set by the worker is overriden; and restored again when reset.
         If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit.
         
        .temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate update_queue_rate_limit = 5;
        Specified by:
        getUpdateQueueRateLimit in interface UpdateTaskQueueConfigRequestOrBuilder
        Returns:
        The updateQueueRateLimit.
      • setUpdateQueueRateLimit

        public UpdateTaskQueueConfigRequest.Builder setUpdateQueueRateLimit​(UpdateTaskQueueConfigRequest.RateLimitUpdate value)
         Update to queue-wide rate limit.
         If not set, this configuration is unchanged.
         NOTE: A limit set by the worker is overriden; and restored again when reset.
         If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit.
         
        .temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate update_queue_rate_limit = 5;
      • setUpdateQueueRateLimit

        public UpdateTaskQueueConfigRequest.Builder setUpdateQueueRateLimit​(UpdateTaskQueueConfigRequest.RateLimitUpdate.Builder builderForValue)
         Update to queue-wide rate limit.
         If not set, this configuration is unchanged.
         NOTE: A limit set by the worker is overriden; and restored again when reset.
         If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit.
         
        .temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate update_queue_rate_limit = 5;
      • mergeUpdateQueueRateLimit

        public UpdateTaskQueueConfigRequest.Builder mergeUpdateQueueRateLimit​(UpdateTaskQueueConfigRequest.RateLimitUpdate value)
         Update to queue-wide rate limit.
         If not set, this configuration is unchanged.
         NOTE: A limit set by the worker is overriden; and restored again when reset.
         If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit.
         
        .temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate update_queue_rate_limit = 5;
      • clearUpdateQueueRateLimit

        public UpdateTaskQueueConfigRequest.Builder clearUpdateQueueRateLimit()
         Update to queue-wide rate limit.
         If not set, this configuration is unchanged.
         NOTE: A limit set by the worker is overriden; and restored again when reset.
         If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit.
         
        .temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate update_queue_rate_limit = 5;
      • getUpdateQueueRateLimitBuilder

        public UpdateTaskQueueConfigRequest.RateLimitUpdate.Builder getUpdateQueueRateLimitBuilder()
         Update to queue-wide rate limit.
         If not set, this configuration is unchanged.
         NOTE: A limit set by the worker is overriden; and restored again when reset.
         If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit.
         
        .temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate update_queue_rate_limit = 5;
      • hasUpdateFairnessKeyRateLimitDefault

        public boolean hasUpdateFairnessKeyRateLimitDefault()
         Update to the default fairness key rate limit.
         If not set, this configuration is unchanged.
         If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit.
         
        .temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate update_fairness_key_rate_limit_default = 6;
        Specified by:
        hasUpdateFairnessKeyRateLimitDefault in interface UpdateTaskQueueConfigRequestOrBuilder
        Returns:
        Whether the updateFairnessKeyRateLimitDefault field is set.
      • getUpdateFairnessKeyRateLimitDefault

        public UpdateTaskQueueConfigRequest.RateLimitUpdate getUpdateFairnessKeyRateLimitDefault()
         Update to the default fairness key rate limit.
         If not set, this configuration is unchanged.
         If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit.
         
        .temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate update_fairness_key_rate_limit_default = 6;
        Specified by:
        getUpdateFairnessKeyRateLimitDefault in interface UpdateTaskQueueConfigRequestOrBuilder
        Returns:
        The updateFairnessKeyRateLimitDefault.
      • setUpdateFairnessKeyRateLimitDefault

        public UpdateTaskQueueConfigRequest.Builder setUpdateFairnessKeyRateLimitDefault​(UpdateTaskQueueConfigRequest.RateLimitUpdate value)
         Update to the default fairness key rate limit.
         If not set, this configuration is unchanged.
         If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit.
         
        .temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate update_fairness_key_rate_limit_default = 6;
      • setUpdateFairnessKeyRateLimitDefault

        public UpdateTaskQueueConfigRequest.Builder setUpdateFairnessKeyRateLimitDefault​(UpdateTaskQueueConfigRequest.RateLimitUpdate.Builder builderForValue)
         Update to the default fairness key rate limit.
         If not set, this configuration is unchanged.
         If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit.
         
        .temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate update_fairness_key_rate_limit_default = 6;
      • mergeUpdateFairnessKeyRateLimitDefault

        public UpdateTaskQueueConfigRequest.Builder mergeUpdateFairnessKeyRateLimitDefault​(UpdateTaskQueueConfigRequest.RateLimitUpdate value)
         Update to the default fairness key rate limit.
         If not set, this configuration is unchanged.
         If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit.
         
        .temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate update_fairness_key_rate_limit_default = 6;
      • clearUpdateFairnessKeyRateLimitDefault

        public UpdateTaskQueueConfigRequest.Builder clearUpdateFairnessKeyRateLimitDefault()
         Update to the default fairness key rate limit.
         If not set, this configuration is unchanged.
         If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit.
         
        .temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate update_fairness_key_rate_limit_default = 6;
      • getUpdateFairnessKeyRateLimitDefaultBuilder

        public UpdateTaskQueueConfigRequest.RateLimitUpdate.Builder getUpdateFairnessKeyRateLimitDefaultBuilder()
         Update to the default fairness key rate limit.
         If not set, this configuration is unchanged.
         If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit.
         
        .temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate update_fairness_key_rate_limit_default = 6;