Package io.temporal.api.history.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetBinaryChecksum()Binary ID of the worker who completed this taskcom.google.protobuf.ByteStringgetBinaryChecksumBytes()Binary ID of the worker who completed this taskjava.lang.StringgetIdentity()Identity of the worker who completed this taskcom.google.protobuf.ByteStringgetIdentityBytes()Identity of the worker who completed this taskMeteringMetadatagetMeteringMetadata()Local usage data sent during workflow task completion and recorded here for posterityMeteringMetadataOrBuildergetMeteringMetadataOrBuilder()Local usage data sent during workflow task completion and recorded here for posteritylonggetScheduledEventId()The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds toWorkflowTaskCompletedMetadatagetSdkMetadata()Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.WorkflowTaskCompletedMetadataOrBuildergetSdkMetadataOrBuilder()Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.longgetStartedEventId()The id of the `WORKFLOW_TASK_STARTED` event this task corresponds toWorkerVersionStampgetWorkerVersion()Version info of the worker who processed this workflow task, or missing if worker is not using versioning.WorkerVersionStampOrBuildergetWorkerVersionOrBuilder()Version info of the worker who processed this workflow task, or missing if worker is not using versioning.booleanhasMeteringMetadata()Local usage data sent during workflow task completion and recorded here for posteritybooleanhasSdkMetadata()Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.booleanhasWorkerVersion()Version info of the worker who processed this workflow task, or missing if worker is not using versioning.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
java.lang.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
java.lang.String getBinaryChecksum()
Binary ID of the worker who completed this task
string binary_checksum = 4;- Returns:
- The binaryChecksum.
-
getBinaryChecksumBytes
com.google.protobuf.ByteString getBinaryChecksumBytes()
Binary ID of the worker who completed this task
string binary_checksum = 4;- Returns:
- The bytes for binaryChecksum.
-
hasWorkerVersion
boolean hasWorkerVersion()
Version info of the worker who processed this workflow task, or missing if worker is not using versioning. 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 compatability).
.temporal.api.common.v1.WorkerVersionStamp worker_version = 5;- Returns:
- Whether the workerVersion field is set.
-
getWorkerVersion
WorkerVersionStamp getWorkerVersion()
Version info of the worker who processed this workflow task, or missing if worker is not using versioning. 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 compatability).
.temporal.api.common.v1.WorkerVersionStamp worker_version = 5;- Returns:
- The workerVersion.
-
getWorkerVersionOrBuilder
WorkerVersionStampOrBuilder getWorkerVersionOrBuilder()
Version info of the worker who processed this workflow task, or missing if worker is not using versioning. 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 compatability).
.temporal.api.common.v1.WorkerVersionStamp worker_version = 5;
-
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;
-
-