Class WorkflowTaskCompletedEventAttributes.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WorkflowTaskCompletedEventAttributes.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedEventAttributes.Builder>
io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkflowTaskCompletedEventAttributesOrBuilder, Cloneable
Enclosing class:
WorkflowTaskCompletedEventAttributes

public static final class WorkflowTaskCompletedEventAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedEventAttributes.Builder> implements WorkflowTaskCompletedEventAttributesOrBuilder
Protobuf type temporal.api.history.v1.WorkflowTaskCompletedEventAttributes
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedEventAttributes.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedEventAttributes.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedEventAttributes.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedEventAttributes.Builder>
    • setField

      public WorkflowTaskCompletedEventAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedEventAttributes.Builder>
    • clearField

      public WorkflowTaskCompletedEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedEventAttributes.Builder>
    • clearOneof

      public WorkflowTaskCompletedEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedEventAttributes.Builder>
    • setRepeatedField

      public WorkflowTaskCompletedEventAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedEventAttributes.Builder>
    • addRepeatedField

      public WorkflowTaskCompletedEventAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedEventAttributes.Builder>
    • mergeFrom

      public WorkflowTaskCompletedEventAttributes.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkflowTaskCompletedEventAttributes.Builder>
    • mergeFrom

    • isInitialized

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

      public WorkflowTaskCompletedEventAttributes.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkflowTaskCompletedEventAttributes.Builder>
      Throws:
      IOException
    • getScheduledEventId

      public long getScheduledEventId()
       The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
       
      int64 scheduled_event_id = 1;
      Specified by:
      getScheduledEventId in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The scheduledEventId.
    • setScheduledEventId

      public WorkflowTaskCompletedEventAttributes.Builder setScheduledEventId(long value)
       The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
       
      int64 scheduled_event_id = 1;
      Parameters:
      value - The scheduledEventId to set.
      Returns:
      This builder for chaining.
    • clearScheduledEventId

      public WorkflowTaskCompletedEventAttributes.Builder clearScheduledEventId()
       The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
       
      int64 scheduled_event_id = 1;
      Returns:
      This builder for chaining.
    • getStartedEventId

      public long getStartedEventId()
       The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
       
      int64 started_event_id = 2;
      Specified by:
      getStartedEventId in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The startedEventId.
    • setStartedEventId

      public WorkflowTaskCompletedEventAttributes.Builder setStartedEventId(long value)
       The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
       
      int64 started_event_id = 2;
      Parameters:
      value - The startedEventId to set.
      Returns:
      This builder for chaining.
    • clearStartedEventId

      public WorkflowTaskCompletedEventAttributes.Builder clearStartedEventId()
       The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
       
      int64 started_event_id = 2;
      Returns:
      This builder for chaining.
    • getIdentity

      public String getIdentity()
       Identity of the worker who completed this task
       
      string identity = 3;
      Specified by:
      getIdentity in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The identity.
    • getIdentityBytes

      public com.google.protobuf.ByteString getIdentityBytes()
       Identity of the worker who completed this task
       
      string identity = 3;
      Specified by:
      getIdentityBytes in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The bytes for identity.
    • setIdentity

       Identity of the worker who completed this task
       
      string identity = 3;
      Parameters:
      value - The identity to set.
      Returns:
      This builder for chaining.
    • clearIdentity

       Identity of the worker who completed this task
       
      string identity = 3;
      Returns:
      This builder for chaining.
    • setIdentityBytes

      public WorkflowTaskCompletedEventAttributes.Builder setIdentityBytes(com.google.protobuf.ByteString value)
       Identity of the worker who completed this task
       
      string identity = 3;
      Parameters:
      value - The bytes for identity to set.
      Returns:
      This builder for chaining.
    • getBinaryChecksum

      @Deprecated public String getBinaryChecksum()
      Deprecated.
      temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.binary_checksum is deprecated. See temporal/api/history/v1/message.proto;l=349
       Binary ID of the worker who completed this task
       Deprecated. Replaced with `deployment_version`.
       
      string binary_checksum = 4 [deprecated = true];
      Specified by:
      getBinaryChecksum in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The binaryChecksum.
    • getBinaryChecksumBytes

      @Deprecated public com.google.protobuf.ByteString getBinaryChecksumBytes()
      Deprecated.
      temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.binary_checksum is deprecated. See temporal/api/history/v1/message.proto;l=349
       Binary ID of the worker who completed this task
       Deprecated. Replaced with `deployment_version`.
       
      string binary_checksum = 4 [deprecated = true];
      Specified by:
      getBinaryChecksumBytes in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The bytes for binaryChecksum.
    • setBinaryChecksum

      Deprecated.
      temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.binary_checksum is deprecated. See temporal/api/history/v1/message.proto;l=349
       Binary ID of the worker who completed this task
       Deprecated. Replaced with `deployment_version`.
       
      string binary_checksum = 4 [deprecated = true];
      Parameters:
      value - The binaryChecksum to set.
      Returns:
      This builder for chaining.
    • clearBinaryChecksum

      Deprecated.
      temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.binary_checksum is deprecated. See temporal/api/history/v1/message.proto;l=349
       Binary ID of the worker who completed this task
       Deprecated. Replaced with `deployment_version`.
       
      string binary_checksum = 4 [deprecated = true];
      Returns:
      This builder for chaining.
    • setBinaryChecksumBytes

      @Deprecated public WorkflowTaskCompletedEventAttributes.Builder setBinaryChecksumBytes(com.google.protobuf.ByteString value)
      Deprecated.
      temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.binary_checksum is deprecated. See temporal/api/history/v1/message.proto;l=349
       Binary ID of the worker who completed this task
       Deprecated. Replaced with `deployment_version`.
       
      string binary_checksum = 4 [deprecated = true];
      Parameters:
      value - The bytes for binaryChecksum to set.
      Returns:
      This builder for chaining.
    • hasWorkerVersion

      @Deprecated public boolean hasWorkerVersion()
      Deprecated.
      temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_version is deprecated. See temporal/api/history/v1/message.proto;l=354
       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];
      Specified by:
      hasWorkerVersion in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      Whether the workerVersion field is set.
    • getWorkerVersion

      @Deprecated public WorkerVersionStamp getWorkerVersion()
      Deprecated.
      temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_version is deprecated. See temporal/api/history/v1/message.proto;l=354
       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];
      Specified by:
      getWorkerVersion in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The workerVersion.
    • setWorkerVersion

      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];
    • setWorkerVersion

      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];
    • mergeWorkerVersion

      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];
    • clearWorkerVersion

      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];
    • getWorkerVersionBuilder

      @Deprecated public WorkerVersionStamp.Builder getWorkerVersionBuilder()
      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];
    • getWorkerVersionOrBuilder

      @Deprecated public WorkerVersionStampOrBuilder 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];
      Specified by:
      getWorkerVersionOrBuilder in interface WorkflowTaskCompletedEventAttributesOrBuilder
    • hasSdkMetadata

      public 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;
      Specified by:
      hasSdkMetadata in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      Whether the sdkMetadata field is set.
    • getSdkMetadata

      public 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;
      Specified by:
      getSdkMetadata in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The sdkMetadata.
    • setSdkMetadata

       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;
    • setSdkMetadata

       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;
    • mergeSdkMetadata

       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;
    • clearSdkMetadata

       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;
    • getSdkMetadataBuilder

      public WorkflowTaskCompletedMetadata.Builder getSdkMetadataBuilder()
       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;
    • getSdkMetadataOrBuilder

      public 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;
      Specified by:
      getSdkMetadataOrBuilder in interface WorkflowTaskCompletedEventAttributesOrBuilder
    • hasMeteringMetadata

      public boolean hasMeteringMetadata()
       Local usage data sent during workflow task completion and recorded here for posterity
       
      .temporal.api.common.v1.MeteringMetadata metering_metadata = 13;
      Specified by:
      hasMeteringMetadata in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      Whether the meteringMetadata field is set.
    • getMeteringMetadata

      public MeteringMetadata getMeteringMetadata()
       Local usage data sent during workflow task completion and recorded here for posterity
       
      .temporal.api.common.v1.MeteringMetadata metering_metadata = 13;
      Specified by:
      getMeteringMetadata in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The meteringMetadata.
    • setMeteringMetadata

       Local usage data sent during workflow task completion and recorded here for posterity
       
      .temporal.api.common.v1.MeteringMetadata metering_metadata = 13;
    • setMeteringMetadata

      public WorkflowTaskCompletedEventAttributes.Builder setMeteringMetadata(MeteringMetadata.Builder builderForValue)
       Local usage data sent during workflow task completion and recorded here for posterity
       
      .temporal.api.common.v1.MeteringMetadata metering_metadata = 13;
    • mergeMeteringMetadata

      public WorkflowTaskCompletedEventAttributes.Builder mergeMeteringMetadata(MeteringMetadata value)
       Local usage data sent during workflow task completion and recorded here for posterity
       
      .temporal.api.common.v1.MeteringMetadata metering_metadata = 13;
    • clearMeteringMetadata

      public WorkflowTaskCompletedEventAttributes.Builder clearMeteringMetadata()
       Local usage data sent during workflow task completion and recorded here for posterity
       
      .temporal.api.common.v1.MeteringMetadata metering_metadata = 13;
    • getMeteringMetadataBuilder

      public MeteringMetadata.Builder getMeteringMetadataBuilder()
       Local usage data sent during workflow task completion and recorded here for posterity
       
      .temporal.api.common.v1.MeteringMetadata metering_metadata = 13;
    • getMeteringMetadataOrBuilder

      public MeteringMetadataOrBuilder getMeteringMetadataOrBuilder()
       Local usage data sent during workflow task completion and recorded here for posterity
       
      .temporal.api.common.v1.MeteringMetadata metering_metadata = 13;
      Specified by:
      getMeteringMetadataOrBuilder in interface WorkflowTaskCompletedEventAttributesOrBuilder
    • hasDeployment

      @Deprecated public boolean hasDeployment()
      Deprecated.
      temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.deployment is deprecated. See temporal/api/history/v1/message.proto;l=366
       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];
      Specified by:
      hasDeployment in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      Whether the deployment field is set.
    • getDeployment

      @Deprecated public Deployment getDeployment()
      Deprecated.
      temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.deployment is deprecated. See temporal/api/history/v1/message.proto;l=366
       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];
      Specified by:
      getDeployment in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The deployment.
    • setDeployment

      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];
    • setDeployment

      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];
    • mergeDeployment

      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];
    • clearDeployment

      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];
    • getDeploymentBuilder

      @Deprecated public Deployment.Builder getDeploymentBuilder()
      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];
    • getDeploymentOrBuilder

      @Deprecated public DeploymentOrBuilder 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];
      Specified by:
      getDeploymentOrBuilder in interface WorkflowTaskCompletedEventAttributesOrBuilder
    • getVersioningBehaviorValue

      public 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;
      Specified by:
      getVersioningBehaviorValue in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The enum numeric value on the wire for versioningBehavior.
    • setVersioningBehaviorValue

      public WorkflowTaskCompletedEventAttributes.Builder setVersioningBehaviorValue(int value)
       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;
      Parameters:
      value - The enum numeric value on the wire for versioningBehavior to set.
      Returns:
      This builder for chaining.
    • getVersioningBehavior

      public 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;
      Specified by:
      getVersioningBehavior in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The versioningBehavior.
    • setVersioningBehavior

       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;
      Parameters:
      value - The versioningBehavior to set.
      Returns:
      This builder for chaining.
    • clearVersioningBehavior

      public WorkflowTaskCompletedEventAttributes.Builder clearVersioningBehavior()
       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:
      This builder for chaining.
    • getWorkerDeploymentVersion

      @Deprecated public String getWorkerDeploymentVersion()
      Deprecated.
      temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=374
       The 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];
      Specified by:
      getWorkerDeploymentVersion in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The workerDeploymentVersion.
    • getWorkerDeploymentVersionBytes

      @Deprecated public com.google.protobuf.ByteString getWorkerDeploymentVersionBytes()
      Deprecated.
      temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=374
       The 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];
      Specified by:
      getWorkerDeploymentVersionBytes in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The bytes for workerDeploymentVersion.
    • setWorkerDeploymentVersion

      @Deprecated public WorkflowTaskCompletedEventAttributes.Builder setWorkerDeploymentVersion(String value)
      Deprecated.
      temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=374
       The 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];
      Parameters:
      value - The workerDeploymentVersion to set.
      Returns:
      This builder for chaining.
    • clearWorkerDeploymentVersion

      @Deprecated public WorkflowTaskCompletedEventAttributes.Builder clearWorkerDeploymentVersion()
      Deprecated.
      temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=374
       The 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:
      This builder for chaining.
    • setWorkerDeploymentVersionBytes

      @Deprecated public WorkflowTaskCompletedEventAttributes.Builder setWorkerDeploymentVersionBytes(com.google.protobuf.ByteString value)
      Deprecated.
      temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=374
       The 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];
      Parameters:
      value - The bytes for workerDeploymentVersion to set.
      Returns:
      This builder for chaining.
    • getWorkerDeploymentName

      public 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;
      Specified by:
      getWorkerDeploymentName in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The workerDeploymentName.
    • getWorkerDeploymentNameBytes

      public 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;
      Specified by:
      getWorkerDeploymentNameBytes in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The bytes for workerDeploymentName.
    • setWorkerDeploymentName

      public WorkflowTaskCompletedEventAttributes.Builder setWorkerDeploymentName(String value)
       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;
      Parameters:
      value - The workerDeploymentName to set.
      Returns:
      This builder for chaining.
    • clearWorkerDeploymentName

      public WorkflowTaskCompletedEventAttributes.Builder clearWorkerDeploymentName()
       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:
      This builder for chaining.
    • setWorkerDeploymentNameBytes

      public WorkflowTaskCompletedEventAttributes.Builder setWorkerDeploymentNameBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for workerDeploymentName to set.
      Returns:
      This builder for chaining.
    • hasDeploymentVersion

      public 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;
      Specified by:
      hasDeploymentVersion in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      Whether the deploymentVersion field is set.
    • getDeploymentVersion

      public 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;
      Specified by:
      getDeploymentVersion in interface WorkflowTaskCompletedEventAttributesOrBuilder
      Returns:
      The deploymentVersion.
    • setDeploymentVersion

       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;
    • setDeploymentVersion

       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;
    • mergeDeploymentVersion

       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;
    • clearDeploymentVersion

      public WorkflowTaskCompletedEventAttributes.Builder clearDeploymentVersion()
       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;
    • getDeploymentVersionBuilder

      public WorkerDeploymentVersion.Builder getDeploymentVersionBuilder()
       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;
    • getDeploymentVersionOrBuilder

      public 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;
      Specified by:
      getDeploymentVersionOrBuilder in interface WorkflowTaskCompletedEventAttributesOrBuilder
    • setUnknownFields

      public final WorkflowTaskCompletedEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedEventAttributes.Builder>
    • mergeUnknownFields

      public final WorkflowTaskCompletedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedEventAttributes.Builder>