Class NamespaceInfo.Capabilities

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

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

    • EAGER_WORKFLOW_START_FIELD_NUMBER

      public static final int EAGER_WORKFLOW_START_FIELD_NUMBER
      See Also:
    • SYNC_UPDATE_FIELD_NUMBER

      public static final int SYNC_UPDATE_FIELD_NUMBER
      See Also:
    • ASYNC_UPDATE_FIELD_NUMBER

      public static final int ASYNC_UPDATE_FIELD_NUMBER
      See Also:
    • WORKER_HEARTBEATS_FIELD_NUMBER

      public static final int WORKER_HEARTBEATS_FIELD_NUMBER
      See Also:
    • REPORTED_PROBLEMS_SEARCH_ATTRIBUTE_FIELD_NUMBER

      public static final int REPORTED_PROBLEMS_SEARCH_ATTRIBUTE_FIELD_NUMBER
      See Also:
    • WORKFLOW_PAUSE_FIELD_NUMBER

      public static final int WORKFLOW_PAUSE_FIELD_NUMBER
      See Also:
    • STANDALONE_ACTIVITIES_FIELD_NUMBER

      public static final int STANDALONE_ACTIVITIES_FIELD_NUMBER
      See Also:
    • WORKER_POLL_COMPLETE_ON_SHUTDOWN_FIELD_NUMBER

      public static final int WORKER_POLL_COMPLETE_ON_SHUTDOWN_FIELD_NUMBER
      See Also:
    • POLLER_AUTOSCALING_FIELD_NUMBER

      public static final int POLLER_AUTOSCALING_FIELD_NUMBER
      See Also:
    • WORKER_COMMANDS_FIELD_NUMBER

      public static final int WORKER_COMMANDS_FIELD_NUMBER
      See Also:
    • STANDALONE_NEXUS_OPERATION_FIELD_NUMBER

      public static final int STANDALONE_NEXUS_OPERATION_FIELD_NUMBER
      See Also:
    • WORKFLOW_UPDATE_CALLBACKS_FIELD_NUMBER

      public static final int WORKFLOW_UPDATE_CALLBACKS_FIELD_NUMBER
      See Also:
    • POLLER_AUTOSCALING_AUTO_ENROLL_FIELD_NUMBER

      public static final int POLLER_AUTOSCALING_AUTO_ENROLL_FIELD_NUMBER
      See Also:
    • WORKFLOW_TASK_COMPLETION_PAGINATION_FIELD_NUMBER

      public static final int WORKFLOW_TASK_COMPLETION_PAGINATION_FIELD_NUMBER
      See Also:
    • STANDALONE_ACTIVITY_START_DELAY_FIELD_NUMBER

      public static final int STANDALONE_ACTIVITY_START_DELAY_FIELD_NUMBER
      See Also:
    • STANDALONE_ACTIVITY_BATCH_OPERATIONS_FIELD_NUMBER

      public static final int STANDALONE_ACTIVITY_BATCH_OPERATIONS_FIELD_NUMBER
      See Also:
    • STANDALONE_ACTIVITY_OPERATOR_COMMANDS_FIELD_NUMBER

      public static final int STANDALONE_ACTIVITY_OPERATOR_COMMANDS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static NamespaceInfo.Capabilities parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NamespaceInfo.Capabilities parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NamespaceInfo.Capabilities parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NamespaceInfo.Capabilities parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NamespaceInfo.Capabilities parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NamespaceInfo.Capabilities parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NamespaceInfo.Capabilities parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NamespaceInfo.Capabilities parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NamespaceInfo.Capabilities parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NamespaceInfo.Capabilities parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NamespaceInfo.Capabilities parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NamespaceInfo.Capabilities parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public NamespaceInfo.Capabilities.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static NamespaceInfo.Capabilities.Builder newBuilder()
    • newBuilder

      public static NamespaceInfo.Capabilities.Builder newBuilder(NamespaceInfo.Capabilities prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected NamespaceInfo.Capabilities.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static NamespaceInfo.Capabilities getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<NamespaceInfo.Capabilities> parser()
    • getParserForType

      public com.google.protobuf.Parser<NamespaceInfo.Capabilities> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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