Class WorkflowTaskCompletedEventAttributes.Builder

    • Method Detail

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

        public WorkflowTaskCompletedEventAttributes 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
      • 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 java.io.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:
        java.io.IOException
      • 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.
      • 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.
      • setIdentity

        public WorkflowTaskCompletedEventAttributes.Builder setIdentity​(java.lang.String value)
         Identity of the worker who completed this task
         
        string identity = 3;
        Parameters:
        value - The identity to set.
        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 java.lang.String getBinaryChecksum()
        Deprecated.
        temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.binary_checksum is deprecated. See temporal/api/history/v1/message.proto;l=262
         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=262
         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
        public WorkflowTaskCompletedEventAttributes.Builder setBinaryChecksum​(java.lang.String value)
        Deprecated.
        temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.binary_checksum is deprecated. See temporal/api/history/v1/message.proto;l=262
         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
        public WorkflowTaskCompletedEventAttributes.Builder clearBinaryChecksum()
        Deprecated.
        temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.binary_checksum is deprecated. See temporal/api/history/v1/message.proto;l=262
         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=262
         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=267
         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=267
         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
        public WorkflowTaskCompletedEventAttributes.Builder setWorkerVersion​(WorkerVersionStamp value)
        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
        public WorkflowTaskCompletedEventAttributes.Builder setWorkerVersion​(WorkerVersionStamp.Builder builderForValue)
        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
        public WorkflowTaskCompletedEventAttributes.Builder mergeWorkerVersion​(WorkerVersionStamp value)
        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
        public WorkflowTaskCompletedEventAttributes.Builder 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.
      • clearSdkMetadata

        public WorkflowTaskCompletedEventAttributes.Builder 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;
      • 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.
      • 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;
      • hasDeployment

        @Deprecated
        public boolean hasDeployment()
        Deprecated.
        temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.deployment is deprecated. See temporal/api/history/v1/message.proto;l=279
         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=279
         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
        public WorkflowTaskCompletedEventAttributes.Builder setDeployment​(Deployment value)
        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
        public WorkflowTaskCompletedEventAttributes.Builder setDeployment​(Deployment.Builder builderForValue)
        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
        public WorkflowTaskCompletedEventAttributes.Builder mergeDeployment​(Deployment value)
        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
        public WorkflowTaskCompletedEventAttributes.Builder 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

        public WorkflowTaskCompletedEventAttributes.Builder setVersioningBehavior​(VersioningBehavior 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 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 java.lang.String getWorkerDeploymentVersion()
        Deprecated.
        temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=288
         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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         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=288
         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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         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​(java.lang.String value)
        Deprecated.
        temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=288
         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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         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=288
         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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         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=288
         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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         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 java.lang.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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        string worker_deployment_name = 10;
        Specified by:
        getWorkerDeploymentNameBytes in interface WorkflowTaskCompletedEventAttributesOrBuilder
        Returns:
        The bytes for workerDeploymentName.
      • setWorkerDeploymentName

        public WorkflowTaskCompletedEventAttributes.Builder setWorkerDeploymentName​(java.lang.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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;
        Specified by:
        getDeploymentVersion in interface WorkflowTaskCompletedEventAttributesOrBuilder
        Returns:
        The deploymentVersion.
      • setDeploymentVersion

        public WorkflowTaskCompletedEventAttributes.Builder setDeploymentVersion​(WorkerDeploymentVersion value)
         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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;
      • setDeploymentVersion

        public WorkflowTaskCompletedEventAttributes.Builder setDeploymentVersion​(WorkerDeploymentVersion.Builder builderForValue)
         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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;
      • mergeDeploymentVersion

        public WorkflowTaskCompletedEventAttributes.Builder mergeDeploymentVersion​(WorkerDeploymentVersion value)
         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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .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`.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;
        Specified by:
        getDeploymentVersionOrBuilder in interface WorkflowTaskCompletedEventAttributesOrBuilder