Interface SetWorkerDeploymentCurrentVersionRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getConflictToken()
      Optional.
      java.lang.String getDeploymentName()
      string deployment_name = 2;
      com.google.protobuf.ByteString getDeploymentNameBytes()
      string deployment_name = 2;
      java.lang.String getIdentity()
      Optional.
      com.google.protobuf.ByteString getIdentityBytes()
      Optional.
      boolean getIgnoreMissingTaskQueues()
      Optional.
      java.lang.String getNamespace()
      string namespace = 1;
      com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 1;
      java.lang.String getVersion()
      Required.
      com.google.protobuf.ByteString getVersionBytes()
      Required.
      • 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

      • getNamespace

        java.lang.String getNamespace()
        string namespace = 1;
        Returns:
        The namespace.
      • getNamespaceBytes

        com.google.protobuf.ByteString getNamespaceBytes()
        string namespace = 1;
        Returns:
        The bytes for namespace.
      • getDeploymentName

        java.lang.String getDeploymentName()
        string deployment_name = 2;
        Returns:
        The deploymentName.
      • getDeploymentNameBytes

        com.google.protobuf.ByteString getDeploymentNameBytes()
        string deployment_name = 2;
        Returns:
        The bytes for deploymentName.
      • getVersion

        java.lang.String getVersion()
         Required. Can be one of the following:
         - A Deployment Version identifier in the form "<deployment_name>.<build_id>".
         - Or, the "__unversioned__" special value, to represent all the unversioned workers (those
           with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
         
        string version = 3;
        Returns:
        The version.
      • getVersionBytes

        com.google.protobuf.ByteString getVersionBytes()
         Required. Can be one of the following:
         - A Deployment Version identifier in the form "<deployment_name>.<build_id>".
         - Or, the "__unversioned__" special value, to represent all the unversioned workers (those
           with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
         
        string version = 3;
        Returns:
        The bytes for version.
      • getConflictToken

        com.google.protobuf.ByteString getConflictToken()
         Optional. This can be the value of conflict_token from a Describe, or another Worker
         Deployment API. Passing a non-nil conflict token will cause this request to fail if the
         Deployment's configuration has been modified between the API call that generated the
         token and this one.
         
        bytes conflict_token = 4;
        Returns:
        The conflictToken.
      • getIdentity

        java.lang.String getIdentity()
         Optional. The identity of the client who initiated this request.
         
        string identity = 5;
        Returns:
        The identity.
      • getIdentityBytes

        com.google.protobuf.ByteString getIdentityBytes()
         Optional. The identity of the client who initiated this request.
         
        string identity = 5;
        Returns:
        The bytes for identity.
      • getIgnoreMissingTaskQueues

        boolean getIgnoreMissingTaskQueues()
         Optional. By default this request would be rejected if not all the expected Task Queues are
         being polled by the new Version, to protect against accidental removal of Task Queues, or
         worker health issues. Pass `true` here to bypass this protection.
         The set of expected Task Queues is the set of all the Task Queues that were ever poller by
         the existing Current Version of the Deployment, with the following exclusions:
           - Task Queues that are not used anymore (inferred by having empty backlog and a task
             add_rate of 0.)
           - Task Queues that are moved to another Worker Deployment (inferred by the Task Queue
             having a different Current Version than the Current Version of this deployment.)
         WARNING: Do not set this flag unless you are sure that the missing task queue pollers are not
         needed. If the request is unexpectedly rejected due to missing pollers, then that means the
         pollers have not reached to the server yet. Only set this if you expect those pollers to
         never arrive.
         
        bool ignore_missing_task_queues = 6;
        Returns:
        The ignoreMissingTaskQueues.