Class WorkerHeartbeat.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WorkerHeartbeat.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<WorkerHeartbeat.Builder>
io.temporal.api.worker.v1.WorkerHeartbeat.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkerHeartbeatOrBuilder,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 Summary
Modifier and TypeMethodDescriptionaddAllDrivers(Iterable<? extends StorageDriverInfo> values) Storage drivers in use by this SDK.addAllPlugins(Iterable<? extends PluginInfo> values) Plugins currently in use by this SDK.addDrivers(int index, StorageDriverInfo value) Storage drivers in use by this SDK.addDrivers(int index, StorageDriverInfo.Builder builderForValue) Storage drivers in use by this SDK.addDrivers(StorageDriverInfo value) Storage drivers in use by this SDK.addDrivers(StorageDriverInfo.Builder builderForValue) Storage drivers in use by this SDK.Storage drivers in use by this SDK.addDriversBuilder(int index) Storage drivers in use by this SDK.addPlugins(int index, PluginInfo value) Plugins currently in use by this SDK.addPlugins(int index, PluginInfo.Builder builderForValue) Plugins currently in use by this SDK.addPlugins(PluginInfo value) Plugins currently in use by this SDK.addPlugins(PluginInfo.Builder builderForValue) Plugins currently in use by this SDK.Plugins currently in use by this SDK.addPluginsBuilder(int index) Plugins currently in use by this SDK.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear().temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;.temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;Current cache size, expressed in number of Workflow Executions..temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;Storage drivers in use by this SDK.Elapsed time since the last heartbeat from the worker.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Timestamp of this heartbeat, coming from the worker.Worker host information..temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;.temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;.temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Plugins currently in use by this SDK.string sdk_name = 6;string sdk_version = 7;Worker start time.Worker status.Task queue this worker is polling for tasks.A Workflow Task found a cached Workflow Execution to run against.A Workflow Task did not find a cached Workflow execution to run against.Worker identity, set by the client, may not be unique.Worker identifier, should be unique for the namespace..temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;.temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;.temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;clone().temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;.temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;.temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;.temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;.temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;.temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;intCurrent cache size, expressed in number of Workflow Executions..temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDrivers(int index) Storage drivers in use by this SDK.getDriversBuilder(int index) Storage drivers in use by this SDK.Storage drivers in use by this SDK.intStorage drivers in use by this SDK.Storage drivers in use by this SDK.getDriversOrBuilder(int index) Storage drivers in use by this SDK.List<? extends StorageDriverInfoOrBuilder> Storage drivers in use by this SDK.com.google.protobuf.DurationElapsed time since the last heartbeat from the worker.com.google.protobuf.Duration.BuilderElapsed time since the last heartbeat from the worker.com.google.protobuf.DurationOrBuilderElapsed time since the last heartbeat from the worker.com.google.protobuf.TimestampTimestamp of this heartbeat, coming from the worker.com.google.protobuf.Timestamp.BuilderTimestamp of this heartbeat, coming from the worker.com.google.protobuf.TimestampOrBuilderTimestamp of this heartbeat, coming from the worker.Worker host information.Worker host information.Worker host information..temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;.temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;.temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;.temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;.temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;.temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;.temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;.temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;.temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;getPlugins(int index) Plugins currently in use by this SDK.getPluginsBuilder(int index) Plugins currently in use by this SDK.Plugins currently in use by this SDK.intPlugins currently in use by this SDK.Plugins currently in use by this SDK.getPluginsOrBuilder(int index) Plugins currently in use by this SDK.List<? extends PluginInfoOrBuilder> Plugins currently in use by this SDK.string sdk_name = 6;com.google.protobuf.ByteStringstring sdk_name = 6;string sdk_version = 7;com.google.protobuf.ByteStringstring sdk_version = 7;com.google.protobuf.TimestampWorker start time.com.google.protobuf.Timestamp.BuilderWorker start time.com.google.protobuf.TimestampOrBuilderWorker start time.Worker status.intWorker status.Task queue this worker is polling for tasks.com.google.protobuf.ByteStringTask queue this worker is polling for tasks.intA Workflow Task found a cached Workflow Execution to run against.intA Workflow Task did not find a cached Workflow execution to run against.Worker identity, set by the client, may not be unique.com.google.protobuf.ByteStringWorker identity, set by the client, may not be unique.Worker identifier, should be unique for the namespace.com.google.protobuf.ByteStringWorker identifier, should be unique for the namespace..temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;.temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;.temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;.temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;.temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;.temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;.temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;.temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;.temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;boolean.temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;boolean.temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;boolean.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;booleanElapsed time since the last heartbeat from the worker.booleanTimestamp of this heartbeat, coming from the worker.booleanWorker host information.boolean.temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;boolean.temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;boolean.temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;booleanWorker start time.boolean.temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;boolean.temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;boolean.temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal boolean.temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;.temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;mergeElapsedSinceLastHeartbeat(com.google.protobuf.Duration value) Elapsed time since the last heartbeat from the worker.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(WorkerHeartbeat other) mergeHeartbeatTime(com.google.protobuf.Timestamp value) Timestamp of this heartbeat, coming from the worker.mergeHostInfo(WorkerHostInfo value) Worker host information..temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;.temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;.temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;mergeStartTime(com.google.protobuf.Timestamp value) Worker start time.final WorkerHeartbeat.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) .temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;.temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;.temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;removeDrivers(int index) Storage drivers in use by this SDK.removePlugins(int index) Plugins currently in use by this SDK..temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;setActivityPollerInfo(WorkerPollerInfo.Builder builderForValue) .temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;.temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;setActivityTaskSlotsInfo(WorkerSlotsInfo.Builder builderForValue) .temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;setCurrentStickyCacheSize(int value) Current cache size, expressed in number of Workflow Executions..temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;setDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue) .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;setDrivers(int index, StorageDriverInfo value) Storage drivers in use by this SDK.setDrivers(int index, StorageDriverInfo.Builder builderForValue) Storage drivers in use by this SDK.setElapsedSinceLastHeartbeat(com.google.protobuf.Duration value) Elapsed time since the last heartbeat from the worker.setElapsedSinceLastHeartbeat(com.google.protobuf.Duration.Builder builderForValue) Elapsed time since the last heartbeat from the worker.setHeartbeatTime(com.google.protobuf.Timestamp value) Timestamp of this heartbeat, coming from the worker.setHeartbeatTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp of this heartbeat, coming from the worker.setHostInfo(WorkerHostInfo value) Worker host information.setHostInfo(WorkerHostInfo.Builder builderForValue) Worker host information..temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;setLocalActivitySlotsInfo(WorkerSlotsInfo.Builder builderForValue) .temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;.temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;setNexusPollerInfo(WorkerPollerInfo.Builder builderForValue) .temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;.temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;setNexusTaskSlotsInfo(WorkerSlotsInfo.Builder builderForValue) .temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;setPlugins(int index, PluginInfo value) Plugins currently in use by this SDK.setPlugins(int index, PluginInfo.Builder builderForValue) Plugins currently in use by this SDK.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSdkName(String value) string sdk_name = 6;setSdkNameBytes(com.google.protobuf.ByteString value) string sdk_name = 6;setSdkVersion(String value) string sdk_version = 7;setSdkVersionBytes(com.google.protobuf.ByteString value) string sdk_version = 7;setStartTime(com.google.protobuf.Timestamp value) Worker start time.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Worker start time.setStatus(WorkerStatus value) Worker status.setStatusValue(int value) Worker status.setTaskQueue(String value) Task queue this worker is polling for tasks.setTaskQueueBytes(com.google.protobuf.ByteString value) Task queue this worker is polling for tasks.setTotalStickyCacheHit(int value) A Workflow Task found a cached Workflow Execution to run against.setTotalStickyCacheMiss(int value) A Workflow Task did not find a cached Workflow execution to run against.final WorkerHeartbeat.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWorkerIdentity(String value) Worker identity, set by the client, may not be unique.setWorkerIdentityBytes(com.google.protobuf.ByteString value) Worker identity, set by the client, may not be unique.setWorkerInstanceKey(String value) Worker identifier, should be unique for the namespace.setWorkerInstanceKeyBytes(com.google.protobuf.ByteString value) Worker identifier, should be unique for the namespace..temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;setWorkflowPollerInfo(WorkerPollerInfo.Builder builderForValue) .temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;.temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;setWorkflowStickyPollerInfo(WorkerPollerInfo.Builder builderForValue) .temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;.temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;setWorkflowTaskSlotsInfo(WorkerSlotsInfo.Builder builderForValue) .temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerHeartbeat.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerHeartbeat.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerHeartbeat.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerHeartbeat.Builder>
-
setField
public WorkerHeartbeat.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerHeartbeat.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerHeartbeat.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerHeartbeat.Builder>
-
setRepeatedField
public WorkerHeartbeat.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerHeartbeat.Builder>
-
addRepeatedField
public WorkerHeartbeat.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerHeartbeat.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkerHeartbeat.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerHeartbeat.Builder>
-
mergeFrom
public WorkerHeartbeat.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkerHeartbeat.Builder>- Throws:
IOException
-
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:
getWorkerInstanceKeyin interfaceWorkerHeartbeatOrBuilder- 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:
getWorkerInstanceKeyBytesin interfaceWorkerHeartbeatOrBuilder- Returns:
- The bytes for workerInstanceKey.
-
setWorkerInstanceKey
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
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
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
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:
getWorkerIdentityin interfaceWorkerHeartbeatOrBuilder- 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:
getWorkerIdentityBytesin interfaceWorkerHeartbeatOrBuilder- Returns:
- The bytes for workerIdentity.
-
setWorkerIdentity
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
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
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:
hasHostInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- Whether the hostInfo field is set.
-
getHostInfo
Worker host information.
.temporal.api.worker.v1.WorkerHostInfo host_info = 3;- Specified by:
getHostInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- The hostInfo.
-
setHostInfo
Worker host information.
.temporal.api.worker.v1.WorkerHostInfo host_info = 3; -
setHostInfo
Worker host information.
.temporal.api.worker.v1.WorkerHostInfo host_info = 3; -
mergeHostInfo
Worker host information.
.temporal.api.worker.v1.WorkerHostInfo host_info = 3; -
clearHostInfo
Worker host information.
.temporal.api.worker.v1.WorkerHostInfo host_info = 3; -
getHostInfoBuilder
Worker host information.
.temporal.api.worker.v1.WorkerHostInfo host_info = 3; -
getHostInfoOrBuilder
Worker host information.
.temporal.api.worker.v1.WorkerHostInfo host_info = 3;- Specified by:
getHostInfoOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
getTaskQueue
Task queue this worker is polling for tasks.
string task_queue = 4;- Specified by:
getTaskQueuein interfaceWorkerHeartbeatOrBuilder- Returns:
- The taskQueue.
-
getTaskQueueBytes
public com.google.protobuf.ByteString getTaskQueueBytes()Task queue this worker is polling for tasks.
string task_queue = 4;- Specified by:
getTaskQueueBytesin interfaceWorkerHeartbeatOrBuilder- Returns:
- The bytes for taskQueue.
-
setTaskQueue
Task queue this worker is polling for tasks.
string task_queue = 4;- Parameters:
value- The taskQueue to set.- Returns:
- This builder for chaining.
-
clearTaskQueue
Task queue this worker is polling for tasks.
string task_queue = 4;- Returns:
- This builder for chaining.
-
setTaskQueueBytes
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:
hasDeploymentVersionin interfaceWorkerHeartbeatOrBuilder- Returns:
- Whether the deploymentVersion field is set.
-
getDeploymentVersion
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;- Specified by:
getDeploymentVersionin interfaceWorkerHeartbeatOrBuilder- Returns:
- The deploymentVersion.
-
setDeploymentVersion
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5; -
setDeploymentVersion
public WorkerHeartbeat.Builder setDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue) .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5; -
mergeDeploymentVersion
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5; -
clearDeploymentVersion
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5; -
getDeploymentVersionBuilder
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5; -
getDeploymentVersionOrBuilder
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;- Specified by:
getDeploymentVersionOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
getSdkName
string sdk_name = 6;- Specified by:
getSdkNamein interfaceWorkerHeartbeatOrBuilder- Returns:
- The sdkName.
-
getSdkNameBytes
public com.google.protobuf.ByteString getSdkNameBytes()string sdk_name = 6;- Specified by:
getSdkNameBytesin interfaceWorkerHeartbeatOrBuilder- Returns:
- The bytes for sdkName.
-
setSdkName
string sdk_name = 6;- Parameters:
value- The sdkName to set.- Returns:
- This builder for chaining.
-
clearSdkName
string sdk_name = 6;- Returns:
- This builder for chaining.
-
setSdkNameBytes
string sdk_name = 6;- Parameters:
value- The bytes for sdkName to set.- Returns:
- This builder for chaining.
-
getSdkVersion
string sdk_version = 7;- Specified by:
getSdkVersionin interfaceWorkerHeartbeatOrBuilder- Returns:
- The sdkVersion.
-
getSdkVersionBytes
public com.google.protobuf.ByteString getSdkVersionBytes()string sdk_version = 7;- Specified by:
getSdkVersionBytesin interfaceWorkerHeartbeatOrBuilder- Returns:
- The bytes for sdkVersion.
-
setSdkVersion
string sdk_version = 7;- Parameters:
value- The sdkVersion to set.- Returns:
- This builder for chaining.
-
clearSdkVersion
string sdk_version = 7;- Returns:
- This builder for chaining.
-
setSdkVersionBytes
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:
getStatusValuein interfaceWorkerHeartbeatOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
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.
-
getStatus
Worker status. Defined by SDK.
.temporal.api.enums.v1.WorkerStatus status = 8;- Specified by:
getStatusin interfaceWorkerHeartbeatOrBuilder- Returns:
- The status.
-
setStatus
Worker status. Defined by SDK.
.temporal.api.enums.v1.WorkerStatus status = 8;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
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:
hasStartTimein interfaceWorkerHeartbeatOrBuilder- 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:
getStartTimein interfaceWorkerHeartbeatOrBuilder- Returns:
- The startTime.
-
setStartTime
Worker start time. It can be used to determine worker uptime. (current time - start time)
.google.protobuf.Timestamp start_time = 9; -
setStartTime
Worker start time. It can be used to determine worker uptime. (current time - start time)
.google.protobuf.Timestamp start_time = 9; -
mergeStartTime
Worker start time. It can be used to determine worker uptime. (current time - start time)
.google.protobuf.Timestamp start_time = 9; -
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:
getStartTimeOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
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:
hasHeartbeatTimein interfaceWorkerHeartbeatOrBuilder- 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:
getHeartbeatTimein interfaceWorkerHeartbeatOrBuilder- Returns:
- The heartbeatTime.
-
setHeartbeatTime
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
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
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:
getHeartbeatTimeOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
hasElapsedSinceLastHeartbeat
public boolean hasElapsedSinceLastHeartbeat()Elapsed time since the last heartbeat from the worker.
.google.protobuf.Duration elapsed_since_last_heartbeat = 11;- Specified by:
hasElapsedSinceLastHeartbeatin interfaceWorkerHeartbeatOrBuilder- 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:
getElapsedSinceLastHeartbeatin interfaceWorkerHeartbeatOrBuilder- Returns:
- The elapsedSinceLastHeartbeat.
-
setElapsedSinceLastHeartbeat
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
Elapsed time since the last heartbeat from the worker.
.google.protobuf.Duration elapsed_since_last_heartbeat = 11; -
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:
getElapsedSinceLastHeartbeatOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
hasWorkflowTaskSlotsInfo
public boolean hasWorkflowTaskSlotsInfo().temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;- Specified by:
hasWorkflowTaskSlotsInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- Whether the workflowTaskSlotsInfo field is set.
-
getWorkflowTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;- Specified by:
getWorkflowTaskSlotsInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- The workflowTaskSlotsInfo.
-
setWorkflowTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12; -
setWorkflowTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12; -
mergeWorkflowTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12; -
clearWorkflowTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12; -
getWorkflowTaskSlotsInfoBuilder
.temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12; -
getWorkflowTaskSlotsInfoOrBuilder
.temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;- Specified by:
getWorkflowTaskSlotsInfoOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
hasActivityTaskSlotsInfo
public boolean hasActivityTaskSlotsInfo().temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;- Specified by:
hasActivityTaskSlotsInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- Whether the activityTaskSlotsInfo field is set.
-
getActivityTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;- Specified by:
getActivityTaskSlotsInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- The activityTaskSlotsInfo.
-
setActivityTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13; -
setActivityTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13; -
mergeActivityTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13; -
clearActivityTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13; -
getActivityTaskSlotsInfoBuilder
.temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13; -
getActivityTaskSlotsInfoOrBuilder
.temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;- Specified by:
getActivityTaskSlotsInfoOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
hasNexusTaskSlotsInfo
public boolean hasNexusTaskSlotsInfo().temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;- Specified by:
hasNexusTaskSlotsInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- Whether the nexusTaskSlotsInfo field is set.
-
getNexusTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;- Specified by:
getNexusTaskSlotsInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- The nexusTaskSlotsInfo.
-
setNexusTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14; -
setNexusTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14; -
mergeNexusTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14; -
clearNexusTaskSlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14; -
getNexusTaskSlotsInfoBuilder
.temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14; -
getNexusTaskSlotsInfoOrBuilder
.temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;- Specified by:
getNexusTaskSlotsInfoOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
hasLocalActivitySlotsInfo
public boolean hasLocalActivitySlotsInfo().temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;- Specified by:
hasLocalActivitySlotsInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- Whether the localActivitySlotsInfo field is set.
-
getLocalActivitySlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;- Specified by:
getLocalActivitySlotsInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- The localActivitySlotsInfo.
-
setLocalActivitySlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15; -
setLocalActivitySlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15; -
mergeLocalActivitySlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15; -
clearLocalActivitySlotsInfo
.temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15; -
getLocalActivitySlotsInfoBuilder
.temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15; -
getLocalActivitySlotsInfoOrBuilder
.temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;- Specified by:
getLocalActivitySlotsInfoOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
hasWorkflowPollerInfo
public boolean hasWorkflowPollerInfo().temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;- Specified by:
hasWorkflowPollerInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- Whether the workflowPollerInfo field is set.
-
getWorkflowPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;- Specified by:
getWorkflowPollerInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- The workflowPollerInfo.
-
setWorkflowPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16; -
setWorkflowPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16; -
mergeWorkflowPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16; -
clearWorkflowPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16; -
getWorkflowPollerInfoBuilder
.temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16; -
getWorkflowPollerInfoOrBuilder
.temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;- Specified by:
getWorkflowPollerInfoOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
hasWorkflowStickyPollerInfo
public boolean hasWorkflowStickyPollerInfo().temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;- Specified by:
hasWorkflowStickyPollerInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- Whether the workflowStickyPollerInfo field is set.
-
getWorkflowStickyPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;- Specified by:
getWorkflowStickyPollerInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- The workflowStickyPollerInfo.
-
setWorkflowStickyPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17; -
setWorkflowStickyPollerInfo
public WorkerHeartbeat.Builder setWorkflowStickyPollerInfo(WorkerPollerInfo.Builder builderForValue) .temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17; -
mergeWorkflowStickyPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17; -
clearWorkflowStickyPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17; -
getWorkflowStickyPollerInfoBuilder
.temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17; -
getWorkflowStickyPollerInfoOrBuilder
.temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;- Specified by:
getWorkflowStickyPollerInfoOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
hasActivityPollerInfo
public boolean hasActivityPollerInfo().temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;- Specified by:
hasActivityPollerInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- Whether the activityPollerInfo field is set.
-
getActivityPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;- Specified by:
getActivityPollerInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- The activityPollerInfo.
-
setActivityPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18; -
setActivityPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18; -
mergeActivityPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18; -
clearActivityPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18; -
getActivityPollerInfoBuilder
.temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18; -
getActivityPollerInfoOrBuilder
.temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;- Specified by:
getActivityPollerInfoOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
hasNexusPollerInfo
public boolean hasNexusPollerInfo().temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;- Specified by:
hasNexusPollerInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- Whether the nexusPollerInfo field is set.
-
getNexusPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;- Specified by:
getNexusPollerInfoin interfaceWorkerHeartbeatOrBuilder- Returns:
- The nexusPollerInfo.
-
setNexusPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19; -
setNexusPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19; -
mergeNexusPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19; -
clearNexusPollerInfo
.temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19; -
getNexusPollerInfoBuilder
.temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19; -
getNexusPollerInfoOrBuilder
.temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;- Specified by:
getNexusPollerInfoOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
getTotalStickyCacheHit
public int getTotalStickyCacheHit()A Workflow Task found a cached Workflow Execution to run against.
int32 total_sticky_cache_hit = 20;- Specified by:
getTotalStickyCacheHitin interfaceWorkerHeartbeatOrBuilder- Returns:
- The totalStickyCacheHit.
-
setTotalStickyCacheHit
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
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:
getTotalStickyCacheMissin interfaceWorkerHeartbeatOrBuilder- Returns:
- The totalStickyCacheMiss.
-
setTotalStickyCacheMiss
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
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:
getCurrentStickyCacheSizein interfaceWorkerHeartbeatOrBuilder- Returns:
- The currentStickyCacheSize.
-
setCurrentStickyCacheSize
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
Current cache size, expressed in number of Workflow Executions.
int32 current_sticky_cache_size = 22;- Returns:
- This builder for chaining.
-
getPluginsList
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23;- Specified by:
getPluginsListin interfaceWorkerHeartbeatOrBuilder
-
getPluginsCount
public int getPluginsCount()Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23;- Specified by:
getPluginsCountin interfaceWorkerHeartbeatOrBuilder
-
getPlugins
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23;- Specified by:
getPluginsin interfaceWorkerHeartbeatOrBuilder
-
setPlugins
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23; -
setPlugins
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23; -
addPlugins
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23; -
addPlugins
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23; -
addPlugins
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23; -
addPlugins
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23; -
addAllPlugins
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23; -
clearPlugins
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23; -
removePlugins
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23; -
getPluginsBuilder
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23; -
getPluginsOrBuilder
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23;- Specified by:
getPluginsOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
getPluginsOrBuilderList
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23;- Specified by:
getPluginsOrBuilderListin interfaceWorkerHeartbeatOrBuilder
-
addPluginsBuilder
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23; -
addPluginsBuilder
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23; -
getPluginsBuilderList
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23; -
getDriversList
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24;- Specified by:
getDriversListin interfaceWorkerHeartbeatOrBuilder
-
getDriversCount
public int getDriversCount()Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24;- Specified by:
getDriversCountin interfaceWorkerHeartbeatOrBuilder
-
getDrivers
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24;- Specified by:
getDriversin interfaceWorkerHeartbeatOrBuilder
-
setDrivers
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24; -
setDrivers
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24; -
addDrivers
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24; -
addDrivers
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24; -
addDrivers
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24; -
addDrivers
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24; -
addAllDrivers
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24; -
clearDrivers
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24; -
removeDrivers
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24; -
getDriversBuilder
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24; -
getDriversOrBuilder
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24;- Specified by:
getDriversOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
getDriversOrBuilderList
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24;- Specified by:
getDriversOrBuilderListin interfaceWorkerHeartbeatOrBuilder
-
addDriversBuilder
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24; -
addDriversBuilder
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24; -
getDriversBuilderList
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24; -
setUnknownFields
public final WorkerHeartbeat.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerHeartbeat.Builder>
-
mergeUnknownFields
public final WorkerHeartbeat.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerHeartbeat.Builder>
-