Class WorkerHeartbeat.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkerHeartbeatOrBuilder, java.lang.Cloneable
    Enclosing class:
    WorkerHeartbeat

    public static final class WorkerHeartbeat.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<WorkerHeartbeat.Builder>
    implements WorkerHeartbeatOrBuilder
     Worker info message, contains information about the worker and its current state.
     All information is provided by the worker itself.
     (-- api-linter: core::0140::prepositions=disabled
         aip.dev/not-precedent: Removing those words make names less clear. --)
     
    Protobuf type temporal.api.worker.v1.WorkerHeartbeat
    • 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<WorkerHeartbeat.Builder>
      • clear

        public WorkerHeartbeat.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<WorkerHeartbeat.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<WorkerHeartbeat.Builder>
      • getDefaultInstanceForType

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

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

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

        public WorkerHeartbeat.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<WorkerHeartbeat.Builder>
      • setField

        public WorkerHeartbeat.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<WorkerHeartbeat.Builder>
      • clearField

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

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

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

        public WorkerHeartbeat.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<WorkerHeartbeat.Builder>
      • mergeFrom

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

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

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

        public java.lang.String getWorkerInstanceKey()
         Worker identifier, should be unique for the namespace.
         It is distinct from worker identity, which is not necessarily namespace-unique.
         
        string worker_instance_key = 1;
        Specified by:
        getWorkerInstanceKey in interface WorkerHeartbeatOrBuilder
        Returns:
        The workerInstanceKey.
      • getWorkerInstanceKeyBytes

        public com.google.protobuf.ByteString getWorkerInstanceKeyBytes()
         Worker identifier, should be unique for the namespace.
         It is distinct from worker identity, which is not necessarily namespace-unique.
         
        string worker_instance_key = 1;
        Specified by:
        getWorkerInstanceKeyBytes in interface WorkerHeartbeatOrBuilder
        Returns:
        The bytes for workerInstanceKey.
      • setWorkerInstanceKey

        public WorkerHeartbeat.Builder setWorkerInstanceKey​(java.lang.String value)
         Worker identifier, should be unique for the namespace.
         It is distinct from worker identity, which is not necessarily namespace-unique.
         
        string worker_instance_key = 1;
        Parameters:
        value - The workerInstanceKey to set.
        Returns:
        This builder for chaining.
      • clearWorkerInstanceKey

        public WorkerHeartbeat.Builder clearWorkerInstanceKey()
         Worker identifier, should be unique for the namespace.
         It is distinct from worker identity, which is not necessarily namespace-unique.
         
        string worker_instance_key = 1;
        Returns:
        This builder for chaining.
      • setWorkerInstanceKeyBytes

        public WorkerHeartbeat.Builder setWorkerInstanceKeyBytes​(com.google.protobuf.ByteString value)
         Worker identifier, should be unique for the namespace.
         It is distinct from worker identity, which is not necessarily namespace-unique.
         
        string worker_instance_key = 1;
        Parameters:
        value - The bytes for workerInstanceKey to set.
        Returns:
        This builder for chaining.
      • getWorkerIdentity

        public java.lang.String getWorkerIdentity()
         Worker identity, set by the client, may not be unique.
         Usually host_name+(user group name)+process_id, but can be overwritten by the user.
         
        string worker_identity = 2;
        Specified by:
        getWorkerIdentity in interface WorkerHeartbeatOrBuilder
        Returns:
        The workerIdentity.
      • getWorkerIdentityBytes

        public com.google.protobuf.ByteString getWorkerIdentityBytes()
         Worker identity, set by the client, may not be unique.
         Usually host_name+(user group name)+process_id, but can be overwritten by the user.
         
        string worker_identity = 2;
        Specified by:
        getWorkerIdentityBytes in interface WorkerHeartbeatOrBuilder
        Returns:
        The bytes for workerIdentity.
      • setWorkerIdentity

        public WorkerHeartbeat.Builder setWorkerIdentity​(java.lang.String value)
         Worker identity, set by the client, may not be unique.
         Usually host_name+(user group name)+process_id, but can be overwritten by the user.
         
        string worker_identity = 2;
        Parameters:
        value - The workerIdentity to set.
        Returns:
        This builder for chaining.
      • clearWorkerIdentity

        public WorkerHeartbeat.Builder clearWorkerIdentity()
         Worker identity, set by the client, may not be unique.
         Usually host_name+(user group name)+process_id, but can be overwritten by the user.
         
        string worker_identity = 2;
        Returns:
        This builder for chaining.
      • setWorkerIdentityBytes

        public WorkerHeartbeat.Builder setWorkerIdentityBytes​(com.google.protobuf.ByteString value)
         Worker identity, set by the client, may not be unique.
         Usually host_name+(user group name)+process_id, but can be overwritten by the user.
         
        string worker_identity = 2;
        Parameters:
        value - The bytes for workerIdentity to set.
        Returns:
        This builder for chaining.
      • hasHostInfo

        public boolean hasHostInfo()
         Worker host information.
         
        .temporal.api.worker.v1.WorkerHostInfo host_info = 3;
        Specified by:
        hasHostInfo in interface WorkerHeartbeatOrBuilder
        Returns:
        Whether the hostInfo field is set.
      • clearHostInfo

        public WorkerHeartbeat.Builder clearHostInfo()
         Worker host information.
         
        .temporal.api.worker.v1.WorkerHostInfo host_info = 3;
      • getHostInfoBuilder

        public WorkerHostInfo.Builder getHostInfoBuilder()
         Worker host information.
         
        .temporal.api.worker.v1.WorkerHostInfo host_info = 3;
      • getTaskQueue

        public java.lang.String getTaskQueue()
         Task queue this worker is polling for tasks.
         
        string task_queue = 4;
        Specified by:
        getTaskQueue in interface WorkerHeartbeatOrBuilder
        Returns:
        The taskQueue.
      • getTaskQueueBytes

        public com.google.protobuf.ByteString getTaskQueueBytes()
         Task queue this worker is polling for tasks.
         
        string task_queue = 4;
        Specified by:
        getTaskQueueBytes in interface WorkerHeartbeatOrBuilder
        Returns:
        The bytes for taskQueue.
      • setTaskQueue

        public WorkerHeartbeat.Builder setTaskQueue​(java.lang.String value)
         Task queue this worker is polling for tasks.
         
        string task_queue = 4;
        Parameters:
        value - The taskQueue to set.
        Returns:
        This builder for chaining.
      • clearTaskQueue

        public WorkerHeartbeat.Builder clearTaskQueue()
         Task queue this worker is polling for tasks.
         
        string task_queue = 4;
        Returns:
        This builder for chaining.
      • setTaskQueueBytes

        public WorkerHeartbeat.Builder setTaskQueueBytes​(com.google.protobuf.ByteString value)
         Task queue this worker is polling for tasks.
         
        string task_queue = 4;
        Parameters:
        value - The bytes for taskQueue to set.
        Returns:
        This builder for chaining.
      • hasDeploymentVersion

        public boolean hasDeploymentVersion()
        .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;
        Specified by:
        hasDeploymentVersion in interface WorkerHeartbeatOrBuilder
        Returns:
        Whether the deploymentVersion field is set.
      • clearDeploymentVersion

        public WorkerHeartbeat.Builder clearDeploymentVersion()
        .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;
      • getDeploymentVersionBuilder

        public WorkerDeploymentVersion.Builder getDeploymentVersionBuilder()
        .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;
      • getSdkNameBytes

        public com.google.protobuf.ByteString getSdkNameBytes()
        string sdk_name = 6;
        Specified by:
        getSdkNameBytes in interface WorkerHeartbeatOrBuilder
        Returns:
        The bytes for sdkName.
      • setSdkName

        public WorkerHeartbeat.Builder setSdkName​(java.lang.String value)
        string sdk_name = 6;
        Parameters:
        value - The sdkName to set.
        Returns:
        This builder for chaining.
      • clearSdkName

        public WorkerHeartbeat.Builder clearSdkName()
        string sdk_name = 6;
        Returns:
        This builder for chaining.
      • setSdkNameBytes

        public WorkerHeartbeat.Builder setSdkNameBytes​(com.google.protobuf.ByteString value)
        string sdk_name = 6;
        Parameters:
        value - The bytes for sdkName to set.
        Returns:
        This builder for chaining.
      • getSdkVersionBytes

        public com.google.protobuf.ByteString getSdkVersionBytes()
        string sdk_version = 7;
        Specified by:
        getSdkVersionBytes in interface WorkerHeartbeatOrBuilder
        Returns:
        The bytes for sdkVersion.
      • setSdkVersion

        public WorkerHeartbeat.Builder setSdkVersion​(java.lang.String value)
        string sdk_version = 7;
        Parameters:
        value - The sdkVersion to set.
        Returns:
        This builder for chaining.
      • clearSdkVersion

        public WorkerHeartbeat.Builder clearSdkVersion()
        string sdk_version = 7;
        Returns:
        This builder for chaining.
      • setSdkVersionBytes

        public WorkerHeartbeat.Builder setSdkVersionBytes​(com.google.protobuf.ByteString value)
        string sdk_version = 7;
        Parameters:
        value - The bytes for sdkVersion to set.
        Returns:
        This builder for chaining.
      • getStatusValue

        public int getStatusValue()
         Worker status. Defined by SDK.
         
        .temporal.api.enums.v1.WorkerStatus status = 8;
        Specified by:
        getStatusValue in interface WorkerHeartbeatOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • setStatusValue

        public WorkerHeartbeat.Builder setStatusValue​(int value)
         Worker status. Defined by SDK.
         
        .temporal.api.enums.v1.WorkerStatus status = 8;
        Parameters:
        value - The enum numeric value on the wire for status to set.
        Returns:
        This builder for chaining.
      • setStatus

        public WorkerHeartbeat.Builder setStatus​(WorkerStatus value)
         Worker status. Defined by SDK.
         
        .temporal.api.enums.v1.WorkerStatus status = 8;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public WorkerHeartbeat.Builder clearStatus()
         Worker status. Defined by SDK.
         
        .temporal.api.enums.v1.WorkerStatus status = 8;
        Returns:
        This builder for chaining.
      • hasStartTime

        public boolean hasStartTime()
         Worker start time.
         It can be used to determine worker uptime. (current time - start time)
         
        .google.protobuf.Timestamp start_time = 9;
        Specified by:
        hasStartTime in interface WorkerHeartbeatOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
         Worker start time.
         It can be used to determine worker uptime. (current time - start time)
         
        .google.protobuf.Timestamp start_time = 9;
        Specified by:
        getStartTime in interface WorkerHeartbeatOrBuilder
        Returns:
        The startTime.
      • setStartTime

        public WorkerHeartbeat.Builder setStartTime​(com.google.protobuf.Timestamp value)
         Worker start time.
         It can be used to determine worker uptime. (current time - start time)
         
        .google.protobuf.Timestamp start_time = 9;
      • setStartTime

        public WorkerHeartbeat.Builder setStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Worker start time.
         It can be used to determine worker uptime. (current time - start time)
         
        .google.protobuf.Timestamp start_time = 9;
      • mergeStartTime

        public WorkerHeartbeat.Builder mergeStartTime​(com.google.protobuf.Timestamp value)
         Worker start time.
         It can be used to determine worker uptime. (current time - start time)
         
        .google.protobuf.Timestamp start_time = 9;
      • clearStartTime

        public WorkerHeartbeat.Builder clearStartTime()
         Worker start time.
         It can be used to determine worker uptime. (current time - start time)
         
        .google.protobuf.Timestamp start_time = 9;
      • getStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
         Worker start time.
         It can be used to determine worker uptime. (current time - start time)
         
        .google.protobuf.Timestamp start_time = 9;
      • getStartTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
         Worker start time.
         It can be used to determine worker uptime. (current time - start time)
         
        .google.protobuf.Timestamp start_time = 9;
        Specified by:
        getStartTimeOrBuilder in interface WorkerHeartbeatOrBuilder
      • hasHeartbeatTime

        public boolean hasHeartbeatTime()
         Timestamp of this heartbeat, coming from the worker. Worker should set it to "now".
         Note that this timestamp comes directly from the worker and is subject to workers' clock skew.
         
        .google.protobuf.Timestamp heartbeat_time = 10;
        Specified by:
        hasHeartbeatTime in interface WorkerHeartbeatOrBuilder
        Returns:
        Whether the heartbeatTime field is set.
      • getHeartbeatTime

        public com.google.protobuf.Timestamp getHeartbeatTime()
         Timestamp of this heartbeat, coming from the worker. Worker should set it to "now".
         Note that this timestamp comes directly from the worker and is subject to workers' clock skew.
         
        .google.protobuf.Timestamp heartbeat_time = 10;
        Specified by:
        getHeartbeatTime in interface WorkerHeartbeatOrBuilder
        Returns:
        The heartbeatTime.
      • setHeartbeatTime

        public WorkerHeartbeat.Builder setHeartbeatTime​(com.google.protobuf.Timestamp value)
         Timestamp of this heartbeat, coming from the worker. Worker should set it to "now".
         Note that this timestamp comes directly from the worker and is subject to workers' clock skew.
         
        .google.protobuf.Timestamp heartbeat_time = 10;
      • setHeartbeatTime

        public WorkerHeartbeat.Builder setHeartbeatTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Timestamp of this heartbeat, coming from the worker. Worker should set it to "now".
         Note that this timestamp comes directly from the worker and is subject to workers' clock skew.
         
        .google.protobuf.Timestamp heartbeat_time = 10;
      • mergeHeartbeatTime

        public WorkerHeartbeat.Builder mergeHeartbeatTime​(com.google.protobuf.Timestamp value)
         Timestamp of this heartbeat, coming from the worker. Worker should set it to "now".
         Note that this timestamp comes directly from the worker and is subject to workers' clock skew.
         
        .google.protobuf.Timestamp heartbeat_time = 10;
      • clearHeartbeatTime

        public WorkerHeartbeat.Builder clearHeartbeatTime()
         Timestamp of this heartbeat, coming from the worker. Worker should set it to "now".
         Note that this timestamp comes directly from the worker and is subject to workers' clock skew.
         
        .google.protobuf.Timestamp heartbeat_time = 10;
      • getHeartbeatTimeBuilder

        public com.google.protobuf.Timestamp.Builder getHeartbeatTimeBuilder()
         Timestamp of this heartbeat, coming from the worker. Worker should set it to "now".
         Note that this timestamp comes directly from the worker and is subject to workers' clock skew.
         
        .google.protobuf.Timestamp heartbeat_time = 10;
      • getHeartbeatTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getHeartbeatTimeOrBuilder()
         Timestamp of this heartbeat, coming from the worker. Worker should set it to "now".
         Note that this timestamp comes directly from the worker and is subject to workers' clock skew.
         
        .google.protobuf.Timestamp heartbeat_time = 10;
        Specified by:
        getHeartbeatTimeOrBuilder in interface WorkerHeartbeatOrBuilder
      • hasElapsedSinceLastHeartbeat

        public boolean hasElapsedSinceLastHeartbeat()
         Elapsed time since the last heartbeat from the worker.
         
        .google.protobuf.Duration elapsed_since_last_heartbeat = 11;
        Specified by:
        hasElapsedSinceLastHeartbeat in interface WorkerHeartbeatOrBuilder
        Returns:
        Whether the elapsedSinceLastHeartbeat field is set.
      • getElapsedSinceLastHeartbeat

        public com.google.protobuf.Duration getElapsedSinceLastHeartbeat()
         Elapsed time since the last heartbeat from the worker.
         
        .google.protobuf.Duration elapsed_since_last_heartbeat = 11;
        Specified by:
        getElapsedSinceLastHeartbeat in interface WorkerHeartbeatOrBuilder
        Returns:
        The elapsedSinceLastHeartbeat.
      • setElapsedSinceLastHeartbeat

        public WorkerHeartbeat.Builder setElapsedSinceLastHeartbeat​(com.google.protobuf.Duration value)
         Elapsed time since the last heartbeat from the worker.
         
        .google.protobuf.Duration elapsed_since_last_heartbeat = 11;
      • setElapsedSinceLastHeartbeat

        public WorkerHeartbeat.Builder setElapsedSinceLastHeartbeat​(com.google.protobuf.Duration.Builder builderForValue)
         Elapsed time since the last heartbeat from the worker.
         
        .google.protobuf.Duration elapsed_since_last_heartbeat = 11;
      • mergeElapsedSinceLastHeartbeat

        public WorkerHeartbeat.Builder mergeElapsedSinceLastHeartbeat​(com.google.protobuf.Duration value)
         Elapsed time since the last heartbeat from the worker.
         
        .google.protobuf.Duration elapsed_since_last_heartbeat = 11;
      • clearElapsedSinceLastHeartbeat

        public WorkerHeartbeat.Builder clearElapsedSinceLastHeartbeat()
         Elapsed time since the last heartbeat from the worker.
         
        .google.protobuf.Duration elapsed_since_last_heartbeat = 11;
      • getElapsedSinceLastHeartbeatBuilder

        public com.google.protobuf.Duration.Builder getElapsedSinceLastHeartbeatBuilder()
         Elapsed time since the last heartbeat from the worker.
         
        .google.protobuf.Duration elapsed_since_last_heartbeat = 11;
      • getElapsedSinceLastHeartbeatOrBuilder

        public com.google.protobuf.DurationOrBuilder getElapsedSinceLastHeartbeatOrBuilder()
         Elapsed time since the last heartbeat from the worker.
         
        .google.protobuf.Duration elapsed_since_last_heartbeat = 11;
        Specified by:
        getElapsedSinceLastHeartbeatOrBuilder in interface WorkerHeartbeatOrBuilder
      • hasWorkflowTaskSlotsInfo

        public boolean hasWorkflowTaskSlotsInfo()
        .temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;
        Specified by:
        hasWorkflowTaskSlotsInfo in interface WorkerHeartbeatOrBuilder
        Returns:
        Whether the workflowTaskSlotsInfo field is set.
      • clearWorkflowTaskSlotsInfo

        public WorkerHeartbeat.Builder clearWorkflowTaskSlotsInfo()
        .temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;
      • getWorkflowTaskSlotsInfoBuilder

        public WorkerSlotsInfo.Builder getWorkflowTaskSlotsInfoBuilder()
        .temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;
      • hasActivityTaskSlotsInfo

        public boolean hasActivityTaskSlotsInfo()
        .temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;
        Specified by:
        hasActivityTaskSlotsInfo in interface WorkerHeartbeatOrBuilder
        Returns:
        Whether the activityTaskSlotsInfo field is set.
      • clearActivityTaskSlotsInfo

        public WorkerHeartbeat.Builder clearActivityTaskSlotsInfo()
        .temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;
      • getActivityTaskSlotsInfoBuilder

        public WorkerSlotsInfo.Builder getActivityTaskSlotsInfoBuilder()
        .temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;
      • hasNexusTaskSlotsInfo

        public boolean hasNexusTaskSlotsInfo()
        .temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;
        Specified by:
        hasNexusTaskSlotsInfo in interface WorkerHeartbeatOrBuilder
        Returns:
        Whether the nexusTaskSlotsInfo field is set.
      • clearNexusTaskSlotsInfo

        public WorkerHeartbeat.Builder clearNexusTaskSlotsInfo()
        .temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;
      • getNexusTaskSlotsInfoBuilder

        public WorkerSlotsInfo.Builder getNexusTaskSlotsInfoBuilder()
        .temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;
      • hasLocalActivitySlotsInfo

        public boolean hasLocalActivitySlotsInfo()
        .temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;
        Specified by:
        hasLocalActivitySlotsInfo in interface WorkerHeartbeatOrBuilder
        Returns:
        Whether the localActivitySlotsInfo field is set.
      • clearLocalActivitySlotsInfo

        public WorkerHeartbeat.Builder clearLocalActivitySlotsInfo()
        .temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;
      • getLocalActivitySlotsInfoBuilder

        public WorkerSlotsInfo.Builder getLocalActivitySlotsInfoBuilder()
        .temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;
      • hasWorkflowPollerInfo

        public boolean hasWorkflowPollerInfo()
        .temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;
        Specified by:
        hasWorkflowPollerInfo in interface WorkerHeartbeatOrBuilder
        Returns:
        Whether the workflowPollerInfo field is set.
      • clearWorkflowPollerInfo

        public WorkerHeartbeat.Builder clearWorkflowPollerInfo()
        .temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;
      • getWorkflowPollerInfoBuilder

        public WorkerPollerInfo.Builder getWorkflowPollerInfoBuilder()
        .temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;
      • hasWorkflowStickyPollerInfo

        public boolean hasWorkflowStickyPollerInfo()
        .temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;
        Specified by:
        hasWorkflowStickyPollerInfo in interface WorkerHeartbeatOrBuilder
        Returns:
        Whether the workflowStickyPollerInfo field is set.
      • mergeWorkflowStickyPollerInfo

        public WorkerHeartbeat.Builder mergeWorkflowStickyPollerInfo​(WorkerPollerInfo value)
        .temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;
      • clearWorkflowStickyPollerInfo

        public WorkerHeartbeat.Builder clearWorkflowStickyPollerInfo()
        .temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;
      • getWorkflowStickyPollerInfoBuilder

        public WorkerPollerInfo.Builder getWorkflowStickyPollerInfoBuilder()
        .temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;
      • hasActivityPollerInfo

        public boolean hasActivityPollerInfo()
        .temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;
        Specified by:
        hasActivityPollerInfo in interface WorkerHeartbeatOrBuilder
        Returns:
        Whether the activityPollerInfo field is set.
      • clearActivityPollerInfo

        public WorkerHeartbeat.Builder clearActivityPollerInfo()
        .temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;
      • getActivityPollerInfoBuilder

        public WorkerPollerInfo.Builder getActivityPollerInfoBuilder()
        .temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;
      • hasNexusPollerInfo

        public boolean hasNexusPollerInfo()
        .temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;
        Specified by:
        hasNexusPollerInfo in interface WorkerHeartbeatOrBuilder
        Returns:
        Whether the nexusPollerInfo field is set.
      • clearNexusPollerInfo

        public WorkerHeartbeat.Builder clearNexusPollerInfo()
        .temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;
      • getNexusPollerInfoBuilder

        public WorkerPollerInfo.Builder getNexusPollerInfoBuilder()
        .temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;
      • getTotalStickyCacheHit

        public int getTotalStickyCacheHit()
         A Workflow Task found a cached Workflow Execution to run against.
         
        int32 total_sticky_cache_hit = 20;
        Specified by:
        getTotalStickyCacheHit in interface WorkerHeartbeatOrBuilder
        Returns:
        The totalStickyCacheHit.
      • setTotalStickyCacheHit

        public WorkerHeartbeat.Builder setTotalStickyCacheHit​(int value)
         A Workflow Task found a cached Workflow Execution to run against.
         
        int32 total_sticky_cache_hit = 20;
        Parameters:
        value - The totalStickyCacheHit to set.
        Returns:
        This builder for chaining.
      • clearTotalStickyCacheHit

        public WorkerHeartbeat.Builder clearTotalStickyCacheHit()
         A Workflow Task found a cached Workflow Execution to run against.
         
        int32 total_sticky_cache_hit = 20;
        Returns:
        This builder for chaining.
      • getTotalStickyCacheMiss

        public int getTotalStickyCacheMiss()
         A Workflow Task did not find a cached Workflow execution to run against.
         
        int32 total_sticky_cache_miss = 21;
        Specified by:
        getTotalStickyCacheMiss in interface WorkerHeartbeatOrBuilder
        Returns:
        The totalStickyCacheMiss.
      • setTotalStickyCacheMiss

        public WorkerHeartbeat.Builder setTotalStickyCacheMiss​(int value)
         A Workflow Task did not find a cached Workflow execution to run against.
         
        int32 total_sticky_cache_miss = 21;
        Parameters:
        value - The totalStickyCacheMiss to set.
        Returns:
        This builder for chaining.
      • clearTotalStickyCacheMiss

        public WorkerHeartbeat.Builder clearTotalStickyCacheMiss()
         A Workflow Task did not find a cached Workflow execution to run against.
         
        int32 total_sticky_cache_miss = 21;
        Returns:
        This builder for chaining.
      • getCurrentStickyCacheSize

        public int getCurrentStickyCacheSize()
         Current cache size, expressed in number of Workflow Executions.
         
        int32 current_sticky_cache_size = 22;
        Specified by:
        getCurrentStickyCacheSize in interface WorkerHeartbeatOrBuilder
        Returns:
        The currentStickyCacheSize.
      • setCurrentStickyCacheSize

        public WorkerHeartbeat.Builder setCurrentStickyCacheSize​(int value)
         Current cache size, expressed in number of Workflow Executions.
         
        int32 current_sticky_cache_size = 22;
        Parameters:
        value - The currentStickyCacheSize to set.
        Returns:
        This builder for chaining.
      • clearCurrentStickyCacheSize

        public WorkerHeartbeat.Builder clearCurrentStickyCacheSize()
         Current cache size, expressed in number of Workflow Executions.
         
        int32 current_sticky_cache_size = 22;
        Returns:
        This builder for chaining.
      • getPluginsCount

        public int getPluginsCount()
         Plugins currently in use by this SDK.
         
        repeated .temporal.api.worker.v1.PluginInfo plugins = 23;
        Specified by:
        getPluginsCount in interface WorkerHeartbeatOrBuilder
      • setPlugins

        public WorkerHeartbeat.Builder setPlugins​(int index,
                                                  PluginInfo value)
         Plugins currently in use by this SDK.
         
        repeated .temporal.api.worker.v1.PluginInfo plugins = 23;
      • addPlugins

        public WorkerHeartbeat.Builder addPlugins​(PluginInfo value)
         Plugins currently in use by this SDK.
         
        repeated .temporal.api.worker.v1.PluginInfo plugins = 23;
      • addPlugins

        public WorkerHeartbeat.Builder addPlugins​(int index,
                                                  PluginInfo value)
         Plugins currently in use by this SDK.
         
        repeated .temporal.api.worker.v1.PluginInfo plugins = 23;
      • addAllPlugins

        public WorkerHeartbeat.Builder addAllPlugins​(java.lang.Iterable<? extends PluginInfo> values)
         Plugins currently in use by this SDK.
         
        repeated .temporal.api.worker.v1.PluginInfo plugins = 23;
      • clearPlugins

        public WorkerHeartbeat.Builder clearPlugins()
         Plugins currently in use by this SDK.
         
        repeated .temporal.api.worker.v1.PluginInfo plugins = 23;
      • removePlugins

        public WorkerHeartbeat.Builder removePlugins​(int index)
         Plugins currently in use by this SDK.
         
        repeated .temporal.api.worker.v1.PluginInfo plugins = 23;
      • getPluginsBuilder

        public PluginInfo.Builder getPluginsBuilder​(int index)
         Plugins currently in use by this SDK.
         
        repeated .temporal.api.worker.v1.PluginInfo plugins = 23;
      • addPluginsBuilder

        public PluginInfo.Builder addPluginsBuilder()
         Plugins currently in use by this SDK.
         
        repeated .temporal.api.worker.v1.PluginInfo plugins = 23;
      • addPluginsBuilder

        public PluginInfo.Builder addPluginsBuilder​(int index)
         Plugins currently in use by this SDK.
         
        repeated .temporal.api.worker.v1.PluginInfo plugins = 23;
      • getPluginsBuilderList

        public java.util.List<PluginInfo.Builder> getPluginsBuilderList()
         Plugins currently in use by this SDK.
         
        repeated .temporal.api.worker.v1.PluginInfo plugins = 23;
      • setUnknownFields

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

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