Class NamespaceInfo.Capabilities.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NamespaceInfo.Capabilities.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
io.temporal.api.namespace.v1.NamespaceInfo.Capabilities.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, NamespaceInfo.CapabilitiesOrBuilder, Cloneable
Enclosing class:
NamespaceInfo.Capabilities

public static final class NamespaceInfo.Capabilities.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder> implements NamespaceInfo.CapabilitiesOrBuilder
 Namespace capability details. Should contain what features are enabled in a namespace.
 
Protobuf type temporal.api.namespace.v1.NamespaceInfo.Capabilities
  • Method Details

    • 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<NamespaceInfo.Capabilities.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<NamespaceInfo.Capabilities.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<NamespaceInfo.Capabilities.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public NamespaceInfo.Capabilities buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<NamespaceInfo.Capabilities.Builder>
    • setField

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

      public NamespaceInfo.Capabilities.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<NamespaceInfo.Capabilities.Builder>
    • clearOneof

      public NamespaceInfo.Capabilities.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<NamespaceInfo.Capabilities.Builder>
    • setRepeatedField

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

      public NamespaceInfo.Capabilities.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
    • mergeFrom

      public NamespaceInfo.Capabilities.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NamespaceInfo.Capabilities.Builder>
    • mergeFrom

    • isInitialized

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

      public NamespaceInfo.Capabilities.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<NamespaceInfo.Capabilities.Builder>
      Throws:
      IOException
    • getEagerWorkflowStart

      public boolean getEagerWorkflowStart()
       True if the namespace supports eager workflow start.
       
      bool eager_workflow_start = 1;
      Specified by:
      getEagerWorkflowStart in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The eagerWorkflowStart.
    • setEagerWorkflowStart

      public NamespaceInfo.Capabilities.Builder setEagerWorkflowStart(boolean value)
       True if the namespace supports eager workflow start.
       
      bool eager_workflow_start = 1;
      Parameters:
      value - The eagerWorkflowStart to set.
      Returns:
      This builder for chaining.
    • clearEagerWorkflowStart

      public NamespaceInfo.Capabilities.Builder clearEagerWorkflowStart()
       True if the namespace supports eager workflow start.
       
      bool eager_workflow_start = 1;
      Returns:
      This builder for chaining.
    • getSyncUpdate

      public boolean getSyncUpdate()
       True if the namespace supports sync update
       
      bool sync_update = 2;
      Specified by:
      getSyncUpdate in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The syncUpdate.
    • setSyncUpdate

      public NamespaceInfo.Capabilities.Builder setSyncUpdate(boolean value)
       True if the namespace supports sync update
       
      bool sync_update = 2;
      Parameters:
      value - The syncUpdate to set.
      Returns:
      This builder for chaining.
    • clearSyncUpdate

      public NamespaceInfo.Capabilities.Builder clearSyncUpdate()
       True if the namespace supports sync update
       
      bool sync_update = 2;
      Returns:
      This builder for chaining.
    • getAsyncUpdate

      public boolean getAsyncUpdate()
       True if the namespace supports async update
       
      bool async_update = 3;
      Specified by:
      getAsyncUpdate in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The asyncUpdate.
    • setAsyncUpdate

      public NamespaceInfo.Capabilities.Builder setAsyncUpdate(boolean value)
       True if the namespace supports async update
       
      bool async_update = 3;
      Parameters:
      value - The asyncUpdate to set.
      Returns:
      This builder for chaining.
    • clearAsyncUpdate

      public NamespaceInfo.Capabilities.Builder clearAsyncUpdate()
       True if the namespace supports async update
       
      bool async_update = 3;
      Returns:
      This builder for chaining.
    • getWorkerHeartbeats

      public boolean getWorkerHeartbeats()
       True if the namespace supports worker heartbeats
       
      bool worker_heartbeats = 4;
      Specified by:
      getWorkerHeartbeats in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The workerHeartbeats.
    • setWorkerHeartbeats

      public NamespaceInfo.Capabilities.Builder setWorkerHeartbeats(boolean value)
       True if the namespace supports worker heartbeats
       
      bool worker_heartbeats = 4;
      Parameters:
      value - The workerHeartbeats to set.
      Returns:
      This builder for chaining.
    • clearWorkerHeartbeats

      public NamespaceInfo.Capabilities.Builder clearWorkerHeartbeats()
       True if the namespace supports worker heartbeats
       
      bool worker_heartbeats = 4;
      Returns:
      This builder for chaining.
    • getReportedProblemsSearchAttribute

      public boolean getReportedProblemsSearchAttribute()
       True if the namespace supports reported problems search attribute
       
      bool reported_problems_search_attribute = 5;
      Specified by:
      getReportedProblemsSearchAttribute in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The reportedProblemsSearchAttribute.
    • setReportedProblemsSearchAttribute

      public NamespaceInfo.Capabilities.Builder setReportedProblemsSearchAttribute(boolean value)
       True if the namespace supports reported problems search attribute
       
      bool reported_problems_search_attribute = 5;
      Parameters:
      value - The reportedProblemsSearchAttribute to set.
      Returns:
      This builder for chaining.
    • clearReportedProblemsSearchAttribute

      public NamespaceInfo.Capabilities.Builder clearReportedProblemsSearchAttribute()
       True if the namespace supports reported problems search attribute
       
      bool reported_problems_search_attribute = 5;
      Returns:
      This builder for chaining.
    • getWorkflowPause

      public boolean getWorkflowPause()
       True if the namespace supports pausing workflows
       
      bool workflow_pause = 6;
      Specified by:
      getWorkflowPause in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The workflowPause.
    • setWorkflowPause

      public NamespaceInfo.Capabilities.Builder setWorkflowPause(boolean value)
       True if the namespace supports pausing workflows
       
      bool workflow_pause = 6;
      Parameters:
      value - The workflowPause to set.
      Returns:
      This builder for chaining.
    • clearWorkflowPause

      public NamespaceInfo.Capabilities.Builder clearWorkflowPause()
       True if the namespace supports pausing workflows
       
      bool workflow_pause = 6;
      Returns:
      This builder for chaining.
    • getStandaloneActivities

      public boolean getStandaloneActivities()
       True if the namespace supports standalone activities
       
      bool standalone_activities = 7;
      Specified by:
      getStandaloneActivities in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The standaloneActivities.
    • setStandaloneActivities

      public NamespaceInfo.Capabilities.Builder setStandaloneActivities(boolean value)
       True if the namespace supports standalone activities
       
      bool standalone_activities = 7;
      Parameters:
      value - The standaloneActivities to set.
      Returns:
      This builder for chaining.
    • clearStandaloneActivities

      public NamespaceInfo.Capabilities.Builder clearStandaloneActivities()
       True if the namespace supports standalone activities
       
      bool standalone_activities = 7;
      Returns:
      This builder for chaining.
    • getWorkerPollCompleteOnShutdown

      public boolean getWorkerPollCompleteOnShutdown()
       True if the namespace supports server-side completion of outstanding worker polls on shutdown.
       When enabled, the server will complete polls for workers that send WorkerInstanceKey in their
       poll requests and call ShutdownWorker with the same WorkerInstanceKey. The poll will return
       an empty response. When this flag is true, workers should allow polls to return gracefully
       rather than terminating any open polls on shutdown.
       
      bool worker_poll_complete_on_shutdown = 8;
      Specified by:
      getWorkerPollCompleteOnShutdown in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The workerPollCompleteOnShutdown.
    • setWorkerPollCompleteOnShutdown

      public NamespaceInfo.Capabilities.Builder setWorkerPollCompleteOnShutdown(boolean value)
       True if the namespace supports server-side completion of outstanding worker polls on shutdown.
       When enabled, the server will complete polls for workers that send WorkerInstanceKey in their
       poll requests and call ShutdownWorker with the same WorkerInstanceKey. The poll will return
       an empty response. When this flag is true, workers should allow polls to return gracefully
       rather than terminating any open polls on shutdown.
       
      bool worker_poll_complete_on_shutdown = 8;
      Parameters:
      value - The workerPollCompleteOnShutdown to set.
      Returns:
      This builder for chaining.
    • clearWorkerPollCompleteOnShutdown

      public NamespaceInfo.Capabilities.Builder clearWorkerPollCompleteOnShutdown()
       True if the namespace supports server-side completion of outstanding worker polls on shutdown.
       When enabled, the server will complete polls for workers that send WorkerInstanceKey in their
       poll requests and call ShutdownWorker with the same WorkerInstanceKey. The poll will return
       an empty response. When this flag is true, workers should allow polls to return gracefully
       rather than terminating any open polls on shutdown.
       
      bool worker_poll_complete_on_shutdown = 8;
      Returns:
      This builder for chaining.
    • getPollerAutoscaling

      public boolean getPollerAutoscaling()
       True if the namespace supports poller autoscaling
       
      bool poller_autoscaling = 9;
      Specified by:
      getPollerAutoscaling in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The pollerAutoscaling.
    • setPollerAutoscaling

      public NamespaceInfo.Capabilities.Builder setPollerAutoscaling(boolean value)
       True if the namespace supports poller autoscaling
       
      bool poller_autoscaling = 9;
      Parameters:
      value - The pollerAutoscaling to set.
      Returns:
      This builder for chaining.
    • clearPollerAutoscaling

      public NamespaceInfo.Capabilities.Builder clearPollerAutoscaling()
       True if the namespace supports poller autoscaling
       
      bool poller_autoscaling = 9;
      Returns:
      This builder for chaining.
    • getWorkerCommands

      public boolean getWorkerCommands()
       True if the namespace supports worker commands (server-to-worker communication via control queues).
       
      bool worker_commands = 10;
      Specified by:
      getWorkerCommands in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The workerCommands.
    • setWorkerCommands

      public NamespaceInfo.Capabilities.Builder setWorkerCommands(boolean value)
       True if the namespace supports worker commands (server-to-worker communication via control queues).
       
      bool worker_commands = 10;
      Parameters:
      value - The workerCommands to set.
      Returns:
      This builder for chaining.
    • clearWorkerCommands

      public NamespaceInfo.Capabilities.Builder clearWorkerCommands()
       True if the namespace supports worker commands (server-to-worker communication via control queues).
       
      bool worker_commands = 10;
      Returns:
      This builder for chaining.
    • getStandaloneNexusOperation

      public boolean getStandaloneNexusOperation()
       True if the namespace supports standalone Nexus operations.
       
      bool standalone_nexus_operation = 11;
      Specified by:
      getStandaloneNexusOperation in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The standaloneNexusOperation.
    • setStandaloneNexusOperation

      public NamespaceInfo.Capabilities.Builder setStandaloneNexusOperation(boolean value)
       True if the namespace supports standalone Nexus operations.
       
      bool standalone_nexus_operation = 11;
      Parameters:
      value - The standaloneNexusOperation to set.
      Returns:
      This builder for chaining.
    • clearStandaloneNexusOperation

      public NamespaceInfo.Capabilities.Builder clearStandaloneNexusOperation()
       True if the namespace supports standalone Nexus operations.
       
      bool standalone_nexus_operation = 11;
      Returns:
      This builder for chaining.
    • getWorkflowUpdateCallbacks

      public boolean getWorkflowUpdateCallbacks()
       True if the namespace supports attaching callbacks on workflow updates
       
      bool workflow_update_callbacks = 12;
      Specified by:
      getWorkflowUpdateCallbacks in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The workflowUpdateCallbacks.
    • setWorkflowUpdateCallbacks

      public NamespaceInfo.Capabilities.Builder setWorkflowUpdateCallbacks(boolean value)
       True if the namespace supports attaching callbacks on workflow updates
       
      bool workflow_update_callbacks = 12;
      Parameters:
      value - The workflowUpdateCallbacks to set.
      Returns:
      This builder for chaining.
    • clearWorkflowUpdateCallbacks

      public NamespaceInfo.Capabilities.Builder clearWorkflowUpdateCallbacks()
       True if the namespace supports attaching callbacks on workflow updates
       
      bool workflow_update_callbacks = 12;
      Returns:
      This builder for chaining.
    • getPollerAutoscalingAutoEnroll

      public boolean getPollerAutoscalingAutoEnroll()
       When true, workers should use poller autoscaling by default unless explicitly configured otherwise.
       
      bool poller_autoscaling_auto_enroll = 13;
      Specified by:
      getPollerAutoscalingAutoEnroll in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The pollerAutoscalingAutoEnroll.
    • setPollerAutoscalingAutoEnroll

      public NamespaceInfo.Capabilities.Builder setPollerAutoscalingAutoEnroll(boolean value)
       When true, workers should use poller autoscaling by default unless explicitly configured otherwise.
       
      bool poller_autoscaling_auto_enroll = 13;
      Parameters:
      value - The pollerAutoscalingAutoEnroll to set.
      Returns:
      This builder for chaining.
    • clearPollerAutoscalingAutoEnroll

      public NamespaceInfo.Capabilities.Builder clearPollerAutoscalingAutoEnroll()
       When true, workers should use poller autoscaling by default unless explicitly configured otherwise.
       
      bool poller_autoscaling_auto_enroll = 13;
      Returns:
      This builder for chaining.
    • getWorkflowTaskCompletionPagination

      public boolean getWorkflowTaskCompletionPagination()
       True if the namespace supports pagination of `RespondWorkflowTaskCompleted` request.
       
      bool workflow_task_completion_pagination = 14;
      Specified by:
      getWorkflowTaskCompletionPagination in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The workflowTaskCompletionPagination.
    • setWorkflowTaskCompletionPagination

      public NamespaceInfo.Capabilities.Builder setWorkflowTaskCompletionPagination(boolean value)
       True if the namespace supports pagination of `RespondWorkflowTaskCompleted` request.
       
      bool workflow_task_completion_pagination = 14;
      Parameters:
      value - The workflowTaskCompletionPagination to set.
      Returns:
      This builder for chaining.
    • clearWorkflowTaskCompletionPagination

      public NamespaceInfo.Capabilities.Builder clearWorkflowTaskCompletionPagination()
       True if the namespace supports pagination of `RespondWorkflowTaskCompleted` request.
       
      bool workflow_task_completion_pagination = 14;
      Returns:
      This builder for chaining.
    • getStandaloneActivityStartDelay

      public boolean getStandaloneActivityStartDelay()
       True if the namespace supports start delay for standalone activities.
       
      bool standalone_activity_start_delay = 15;
      Specified by:
      getStandaloneActivityStartDelay in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The standaloneActivityStartDelay.
    • setStandaloneActivityStartDelay

      public NamespaceInfo.Capabilities.Builder setStandaloneActivityStartDelay(boolean value)
       True if the namespace supports start delay for standalone activities.
       
      bool standalone_activity_start_delay = 15;
      Parameters:
      value - The standaloneActivityStartDelay to set.
      Returns:
      This builder for chaining.
    • clearStandaloneActivityStartDelay

      public NamespaceInfo.Capabilities.Builder clearStandaloneActivityStartDelay()
       True if the namespace supports start delay for standalone activities.
       
      bool standalone_activity_start_delay = 15;
      Returns:
      This builder for chaining.
    • getStandaloneActivityBatchOperations

      public boolean getStandaloneActivityBatchOperations()
       True if the namespace supports batch operations for standalone activities.
       
      bool standalone_activity_batch_operations = 16;
      Specified by:
      getStandaloneActivityBatchOperations in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The standaloneActivityBatchOperations.
    • setStandaloneActivityBatchOperations

      public NamespaceInfo.Capabilities.Builder setStandaloneActivityBatchOperations(boolean value)
       True if the namespace supports batch operations for standalone activities.
       
      bool standalone_activity_batch_operations = 16;
      Parameters:
      value - The standaloneActivityBatchOperations to set.
      Returns:
      This builder for chaining.
    • clearStandaloneActivityBatchOperations

      public NamespaceInfo.Capabilities.Builder clearStandaloneActivityBatchOperations()
       True if the namespace supports batch operations for standalone activities.
       
      bool standalone_activity_batch_operations = 16;
      Returns:
      This builder for chaining.
    • getStandaloneActivityOperatorCommands

      public boolean getStandaloneActivityOperatorCommands()
       True if the namespace supports standalone activity operator commands.
       
      bool standalone_activity_operator_commands = 17;
      Specified by:
      getStandaloneActivityOperatorCommands in interface NamespaceInfo.CapabilitiesOrBuilder
      Returns:
      The standaloneActivityOperatorCommands.
    • setStandaloneActivityOperatorCommands

      public NamespaceInfo.Capabilities.Builder setStandaloneActivityOperatorCommands(boolean value)
       True if the namespace supports standalone activity operator commands.
       
      bool standalone_activity_operator_commands = 17;
      Parameters:
      value - The standaloneActivityOperatorCommands to set.
      Returns:
      This builder for chaining.
    • clearStandaloneActivityOperatorCommands

      public NamespaceInfo.Capabilities.Builder clearStandaloneActivityOperatorCommands()
       True if the namespace supports standalone activity operator commands.
       
      bool standalone_activity_operator_commands = 17;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final NamespaceInfo.Capabilities.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<NamespaceInfo.Capabilities.Builder>
    • mergeUnknownFields

      public final NamespaceInfo.Capabilities.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<NamespaceInfo.Capabilities.Builder>