Interface SetWorkerDeploymentCurrentVersionResponseOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SetWorkerDeploymentCurrentVersionResponse, SetWorkerDeploymentCurrentVersionResponse.Builder

    @Generated(value="protoc",
               comments="annotations:SetWorkerDeploymentCurrentVersionResponseOrBuilder.java.pb.meta")
    public interface SetWorkerDeploymentCurrentVersionResponseOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getConflictToken()
      This value is returned so that it can be optionally passed to APIs that write to the Worker Deployment state to ensure that the state did not change between this API call and a future write.
      WorkerDeploymentVersion getPreviousDeploymentVersion()
      Deprecated.
      temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_deployment_version is deprecated.
      WorkerDeploymentVersionOrBuilder getPreviousDeploymentVersionOrBuilder()
      Deprecated.
      java.lang.String getPreviousVersion()
      Deprecated.
      temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_version is deprecated.
      com.google.protobuf.ByteString getPreviousVersionBytes()
      Deprecated.
      temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_version is deprecated.
      boolean hasPreviousDeploymentVersion()
      Deprecated.
      temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_deployment_version is deprecated.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getConflictToken

        com.google.protobuf.ByteString getConflictToken()
         This value is returned so that it can be optionally passed to APIs
         that write to the Worker Deployment state to ensure that the state
         did not change between this API call and a future write.
         
        bytes conflict_token = 1;
        Returns:
        The conflictToken.
      • getPreviousVersion

        @Deprecated
        java.lang.String getPreviousVersion()
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2267
         Deprecated. Use `previous_deployment_version`.
         
        string previous_version = 2 [deprecated = true];
        Returns:
        The previousVersion.
      • getPreviousVersionBytes

        @Deprecated
        com.google.protobuf.ByteString getPreviousVersionBytes()
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2267
         Deprecated. Use `previous_deployment_version`.
         
        string previous_version = 2 [deprecated = true];
        Returns:
        The bytes for previousVersion.
      • hasPreviousDeploymentVersion

        @Deprecated
        boolean hasPreviousDeploymentVersion()
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_deployment_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2273
         The version that was current before executing this operation.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         Current version info before calling this API. By passing the `conflict_token` got from the
         `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes
         between the two calls.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion previous_deployment_version = 3 [deprecated = true];
        Returns:
        Whether the previousDeploymentVersion field is set.
      • getPreviousDeploymentVersion

        @Deprecated
        WorkerDeploymentVersion getPreviousDeploymentVersion()
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_deployment_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2273
         The version that was current before executing this operation.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         Current version info before calling this API. By passing the `conflict_token` got from the
         `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes
         between the two calls.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion previous_deployment_version = 3 [deprecated = true];
        Returns:
        The previousDeploymentVersion.
      • getPreviousDeploymentVersionOrBuilder

        @Deprecated
        WorkerDeploymentVersionOrBuilder getPreviousDeploymentVersionOrBuilder()
        Deprecated.
         The version that was current before executing this operation.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         Current version info before calling this API. By passing the `conflict_token` got from the
         `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes
         between the two calls.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion previous_deployment_version = 3 [deprecated = true];