Interface WorkflowTaskCompletedEventAttributesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkflowTaskCompletedEventAttributes,WorkflowTaskCompletedEventAttributes.Builder
@Generated(value="protoc",
comments="annotations:WorkflowTaskCompletedEventAttributesOrBuilder.java.pb.meta")
public interface WorkflowTaskCompletedEventAttributesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.binary_checksum is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.binary_checksum is deprecated.Deprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.deployment is deprecated.Deprecated.The Worker Deployment Version that completed this task.The Worker Deployment Version that completed this task.Identity of the worker who completed this taskcom.google.protobuf.ByteStringIdentity of the worker who completed this taskLocal usage data sent during workflow task completion and recorded here for posterityLocal usage data sent during workflow task completion and recorded here for posteritylongThe id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds toData the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.longThe id of the `WORKFLOW_TASK_STARTED` event this task corresponds toVersioning behavior sent by the worker that completed this task for this particular workflow execution.intVersioning behavior sent by the worker that completed this task for this particular workflow execution.The name of Worker Deployment that completed this task.com.google.protobuf.ByteStringThe name of Worker Deployment that completed this task.Deprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_deployment_version is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_deployment_version is deprecated.Deprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_version is deprecated.Deprecated.booleanDeprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.deployment is deprecated.booleanThe Worker Deployment Version that completed this task.booleanLocal usage data sent during workflow task completion and recorded here for posteritybooleanData the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.booleanDeprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_version is deprecated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getScheduledEventId
long getScheduledEventId()The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
int64 scheduled_event_id = 1;- Returns:
- The scheduledEventId.
-
getStartedEventId
long getStartedEventId()The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
int64 started_event_id = 2;- Returns:
- The startedEventId.
-
getIdentity
String getIdentity()Identity of the worker who completed this task
string identity = 3;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()Identity of the worker who completed this task
string identity = 3;- Returns:
- The bytes for identity.
-
getBinaryChecksum
Deprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.binary_checksum is deprecated. See temporal/api/history/v1/message.proto;l=349Binary ID of the worker who completed this task Deprecated. Replaced with `deployment_version`.
string binary_checksum = 4 [deprecated = true];- Returns:
- The binaryChecksum.
-
getBinaryChecksumBytes
Deprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.binary_checksum is deprecated. See temporal/api/history/v1/message.proto;l=349Binary ID of the worker who completed this task Deprecated. Replaced with `deployment_version`.
string binary_checksum = 4 [deprecated = true];- Returns:
- The bytes for binaryChecksum.
-
hasWorkerVersion
Deprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_version is deprecated. See temporal/api/history/v1/message.proto;l=354Version info of the worker who processed this workflow task. If present, the `build_id` field within is also used as `binary_checksum`, which may be omitted in that case (it may also be populated to preserve compatibility). Deprecated. Use `deployment_version` and `versioning_behavior` instead.
.temporal.api.common.v1.WorkerVersionStamp worker_version = 5 [deprecated = true];- Returns:
- Whether the workerVersion field is set.
-
getWorkerVersion
Deprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_version is deprecated. See temporal/api/history/v1/message.proto;l=354Version info of the worker who processed this workflow task. If present, the `build_id` field within is also used as `binary_checksum`, which may be omitted in that case (it may also be populated to preserve compatibility). Deprecated. Use `deployment_version` and `versioning_behavior` instead.
.temporal.api.common.v1.WorkerVersionStamp worker_version = 5 [deprecated = true];- Returns:
- The workerVersion.
-
getWorkerVersionOrBuilder
Deprecated.Version info of the worker who processed this workflow task. If present, the `build_id` field within is also used as `binary_checksum`, which may be omitted in that case (it may also be populated to preserve compatibility). Deprecated. Use `deployment_version` and `versioning_behavior` instead.
.temporal.api.common.v1.WorkerVersionStamp worker_version = 5 [deprecated = true]; -
hasSdkMetadata
boolean hasSdkMetadata()Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.
.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata sdk_metadata = 6;- Returns:
- Whether the sdkMetadata field is set.
-
getSdkMetadata
WorkflowTaskCompletedMetadata getSdkMetadata()Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.
.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata sdk_metadata = 6;- Returns:
- The sdkMetadata.
-
getSdkMetadataOrBuilder
WorkflowTaskCompletedMetadataOrBuilder getSdkMetadataOrBuilder()Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.
.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata sdk_metadata = 6; -
hasMeteringMetadata
boolean hasMeteringMetadata()Local usage data sent during workflow task completion and recorded here for posterity
.temporal.api.common.v1.MeteringMetadata metering_metadata = 13;- Returns:
- Whether the meteringMetadata field is set.
-
getMeteringMetadata
MeteringMetadata getMeteringMetadata()Local usage data sent during workflow task completion and recorded here for posterity
.temporal.api.common.v1.MeteringMetadata metering_metadata = 13;- Returns:
- The meteringMetadata.
-
getMeteringMetadataOrBuilder
MeteringMetadataOrBuilder getMeteringMetadataOrBuilder()Local usage data sent during workflow task completion and recorded here for posterity
.temporal.api.common.v1.MeteringMetadata metering_metadata = 13; -
hasDeployment
Deprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.deployment is deprecated. See temporal/api/history/v1/message.proto;l=366The deployment that completed this task. May or may not be set for unversioned workers, depending on whether a value is sent by the SDK. This value updates workflow execution's `versioning_info.deployment`. Deprecated. Replaced with `deployment_version`.
.temporal.api.deployment.v1.Deployment deployment = 7 [deprecated = true];- Returns:
- Whether the deployment field is set.
-
getDeployment
Deprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.deployment is deprecated. See temporal/api/history/v1/message.proto;l=366The deployment that completed this task. May or may not be set for unversioned workers, depending on whether a value is sent by the SDK. This value updates workflow execution's `versioning_info.deployment`. Deprecated. Replaced with `deployment_version`.
.temporal.api.deployment.v1.Deployment deployment = 7 [deprecated = true];- Returns:
- The deployment.
-
getDeploymentOrBuilder
Deprecated.The deployment that completed this task. May or may not be set for unversioned workers, depending on whether a value is sent by the SDK. This value updates workflow execution's `versioning_info.deployment`. Deprecated. Replaced with `deployment_version`.
.temporal.api.deployment.v1.Deployment deployment = 7 [deprecated = true]; -
getVersioningBehaviorValue
int getVersioningBehaviorValue()Versioning behavior sent by the worker that completed this task for this particular workflow execution. UNSPECIFIED means the task was completed by an unversioned worker. This value updates workflow execution's `versioning_info.behavior`.
.temporal.api.enums.v1.VersioningBehavior versioning_behavior = 8;- Returns:
- The enum numeric value on the wire for versioningBehavior.
-
getVersioningBehavior
VersioningBehavior getVersioningBehavior()Versioning behavior sent by the worker that completed this task for this particular workflow execution. UNSPECIFIED means the task was completed by an unversioned worker. This value updates workflow execution's `versioning_info.behavior`.
.temporal.api.enums.v1.VersioningBehavior versioning_behavior = 8;- Returns:
- The versioningBehavior.
-
getWorkerDeploymentVersion
Deprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=374The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` is set. This value updates workflow execution's `versioning_info.version`. Deprecated. Replaced with `deployment_version`.
string worker_deployment_version = 9 [deprecated = true];- Returns:
- The workerDeploymentVersion.
-
getWorkerDeploymentVersionBytes
Deprecated.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=374The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` is set. This value updates workflow execution's `versioning_info.version`. Deprecated. Replaced with `deployment_version`.
string worker_deployment_version = 9 [deprecated = true];- Returns:
- The bytes for workerDeploymentVersion.
-
getWorkerDeploymentName
String getWorkerDeploymentName()The name of Worker Deployment that completed this task. Must be set if `versioning_behavior` is set. This value updates workflow execution's `worker_deployment_name`.
string worker_deployment_name = 10;- Returns:
- The workerDeploymentName.
-
getWorkerDeploymentNameBytes
com.google.protobuf.ByteString getWorkerDeploymentNameBytes()The name of Worker Deployment that completed this task. Must be set if `versioning_behavior` is set. This value updates workflow execution's `worker_deployment_name`.
string worker_deployment_name = 10;- Returns:
- The bytes for workerDeploymentName.
-
hasDeploymentVersion
boolean hasDeploymentVersion()The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` is set. This value updates workflow execution's `versioning_info.deployment_version`.
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;- Returns:
- Whether the deploymentVersion field is set.
-
getDeploymentVersion
WorkerDeploymentVersion getDeploymentVersion()The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` is set. This value updates workflow execution's `versioning_info.deployment_version`.
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;- Returns:
- The deploymentVersion.
-
getDeploymentVersionOrBuilder
WorkerDeploymentVersionOrBuilder getDeploymentVersionOrBuilder()The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` is set. This value updates workflow execution's `versioning_info.deployment_version`.
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;
-