Class NamespaceInfo.Capabilities.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<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

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

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

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