Class WorkerHeartbeat
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.worker.v1.WorkerHeartbeat
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkerHeartbeatOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:WorkerHeartbeat.java.pb.meta")
public final class WorkerHeartbeat
extends com.google.protobuf.GeneratedMessageV3
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classWorker info message, contains information about the worker and its current state.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionboolean.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;intCurrent cache size, expressed in number of Workflow Executions.static WorkerHeartbeat.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;static final com.google.protobuf.Descriptors.DescriptorgetDrivers(int index) 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.DurationOrBuilderElapsed time since the last heartbeat from the worker.com.google.protobuf.TimestampTimestamp of this heartbeat, coming from the worker.com.google.protobuf.TimestampOrBuilderTimestamp of this heartbeat, coming from the worker.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.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;com.google.protobuf.Parser<WorkerHeartbeat> getPlugins(int index) 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;intcom.google.protobuf.TimestampWorker 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_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;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.inthashCode()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 booleanstatic WorkerHeartbeat.Builderstatic WorkerHeartbeat.BuildernewBuilder(WorkerHeartbeat prototype) protected WorkerHeartbeat.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static WorkerHeartbeatparseDelimitedFrom(InputStream input) static WorkerHeartbeatparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerHeartbeatparseFrom(byte[] data) static WorkerHeartbeatparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerHeartbeatparseFrom(com.google.protobuf.ByteString data) static WorkerHeartbeatparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerHeartbeatparseFrom(com.google.protobuf.CodedInputStream input) static WorkerHeartbeatparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerHeartbeatparseFrom(InputStream input) static WorkerHeartbeatparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerHeartbeatparseFrom(ByteBuffer data) static WorkerHeartbeatparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<WorkerHeartbeat> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
WORKER_INSTANCE_KEY_FIELD_NUMBER
public static final int WORKER_INSTANCE_KEY_FIELD_NUMBER- See Also:
-
WORKER_IDENTITY_FIELD_NUMBER
public static final int WORKER_IDENTITY_FIELD_NUMBER- See Also:
-
HOST_INFO_FIELD_NUMBER
public static final int HOST_INFO_FIELD_NUMBER- See Also:
-
TASK_QUEUE_FIELD_NUMBER
public static final int TASK_QUEUE_FIELD_NUMBER- See Also:
-
DEPLOYMENT_VERSION_FIELD_NUMBER
public static final int DEPLOYMENT_VERSION_FIELD_NUMBER- See Also:
-
SDK_NAME_FIELD_NUMBER
public static final int SDK_NAME_FIELD_NUMBER- See Also:
-
SDK_VERSION_FIELD_NUMBER
public static final int SDK_VERSION_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
HEARTBEAT_TIME_FIELD_NUMBER
public static final int HEARTBEAT_TIME_FIELD_NUMBER- See Also:
-
ELAPSED_SINCE_LAST_HEARTBEAT_FIELD_NUMBER
public static final int ELAPSED_SINCE_LAST_HEARTBEAT_FIELD_NUMBER- See Also:
-
WORKFLOW_TASK_SLOTS_INFO_FIELD_NUMBER
public static final int WORKFLOW_TASK_SLOTS_INFO_FIELD_NUMBER- See Also:
-
ACTIVITY_TASK_SLOTS_INFO_FIELD_NUMBER
public static final int ACTIVITY_TASK_SLOTS_INFO_FIELD_NUMBER- See Also:
-
NEXUS_TASK_SLOTS_INFO_FIELD_NUMBER
public static final int NEXUS_TASK_SLOTS_INFO_FIELD_NUMBER- See Also:
-
LOCAL_ACTIVITY_SLOTS_INFO_FIELD_NUMBER
public static final int LOCAL_ACTIVITY_SLOTS_INFO_FIELD_NUMBER- See Also:
-
WORKFLOW_POLLER_INFO_FIELD_NUMBER
public static final int WORKFLOW_POLLER_INFO_FIELD_NUMBER- See Also:
-
WORKFLOW_STICKY_POLLER_INFO_FIELD_NUMBER
public static final int WORKFLOW_STICKY_POLLER_INFO_FIELD_NUMBER- See Also:
-
ACTIVITY_POLLER_INFO_FIELD_NUMBER
public static final int ACTIVITY_POLLER_INFO_FIELD_NUMBER- See Also:
-
NEXUS_POLLER_INFO_FIELD_NUMBER
public static final int NEXUS_POLLER_INFO_FIELD_NUMBER- See Also:
-
TOTAL_STICKY_CACHE_HIT_FIELD_NUMBER
public static final int TOTAL_STICKY_CACHE_HIT_FIELD_NUMBER- See Also:
-
TOTAL_STICKY_CACHE_MISS_FIELD_NUMBER
public static final int TOTAL_STICKY_CACHE_MISS_FIELD_NUMBER- See Also:
-
CURRENT_STICKY_CACHE_SIZE_FIELD_NUMBER
public static final int CURRENT_STICKY_CACHE_SIZE_FIELD_NUMBER- See Also:
-
PLUGINS_FIELD_NUMBER
public static final int PLUGINS_FIELD_NUMBER- See Also:
-
DRIVERS_FIELD_NUMBER
public static final int DRIVERS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getStatus
Worker status. Defined by SDK.
.temporal.api.enums.v1.WorkerStatus status = 8;- Specified by:
getStatusin interfaceWorkerHeartbeatOrBuilder- Returns:
- The status.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getPluginsList
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23;- Specified by:
getPluginsListin interfaceWorkerHeartbeatOrBuilder
-
getPluginsOrBuilderList
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23;- Specified by:
getPluginsOrBuilderListin 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
-
getPluginsOrBuilder
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 23;- Specified by:
getPluginsOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
getDriversList
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24;- Specified by:
getDriversListin interfaceWorkerHeartbeatOrBuilder
-
getDriversOrBuilderList
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24;- Specified by:
getDriversOrBuilderListin 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
-
getDriversOrBuilder
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 24;- Specified by:
getDriversOrBuilderin interfaceWorkerHeartbeatOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static WorkerHeartbeat parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerHeartbeat parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerHeartbeat parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerHeartbeat parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerHeartbeat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerHeartbeat parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static WorkerHeartbeat parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static WorkerHeartbeat parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static WorkerHeartbeat parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static WorkerHeartbeat parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WorkerHeartbeat.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-