Interface RoutingConfigOrBuilder

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

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

      • getCurrentVersion

        java.lang.String getCurrentVersion()
         Always present. Specifies which Deployment Version should should receive new workflow
         executions and tasks of existing unversioned or AutoUpgrade workflows.
         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`.)
         Note: Current Version is overridden by the Ramping Version for a portion of traffic when a ramp
         is set (see `ramping_version`.)
         
        string current_version = 1;
        Returns:
        The currentVersion.
      • getCurrentVersionBytes

        com.google.protobuf.ByteString getCurrentVersionBytes()
         Always present. Specifies which Deployment Version should should receive new workflow
         executions and tasks of existing unversioned or AutoUpgrade workflows.
         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`.)
         Note: Current Version is overridden by the Ramping Version for a portion of traffic when a ramp
         is set (see `ramping_version`.)
         
        string current_version = 1;
        Returns:
        The bytes for currentVersion.
      • getRampingVersion

        java.lang.String getRampingVersion()
         When present, it means the traffic is being shifted from the Current Version to the Ramping
         Version.
         Must always be different from Current Version. 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`.)
         Note that it is possible to ramp from one Version to another Version, or from unversioned
         workers to a particular Version, or from a particular Version to unversioned workers.
         
        string ramping_version = 2;
        Returns:
        The rampingVersion.
      • getRampingVersionBytes

        com.google.protobuf.ByteString getRampingVersionBytes()
         When present, it means the traffic is being shifted from the Current Version to the Ramping
         Version.
         Must always be different from Current Version. 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`.)
         Note that it is possible to ramp from one Version to another Version, or from unversioned
         workers to a particular Version, or from a particular Version to unversioned workers.
         
        string ramping_version = 2;
        Returns:
        The bytes for rampingVersion.
      • getRampingVersionPercentage

        float getRampingVersionPercentage()
         Percentage of tasks that are routed to the Ramping Version instead of the Current Version.
         Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but
         not yet "promoted" to be the Current Version, likely due to pending validations.
         
        float ramping_version_percentage = 3;
        Returns:
        The rampingVersionPercentage.
      • hasCurrentVersionChangedTime

        boolean hasCurrentVersionChangedTime()
         Last time current version was changed.
         
        .google.protobuf.Timestamp current_version_changed_time = 4;
        Returns:
        Whether the currentVersionChangedTime field is set.
      • getCurrentVersionChangedTime

        com.google.protobuf.Timestamp getCurrentVersionChangedTime()
         Last time current version was changed.
         
        .google.protobuf.Timestamp current_version_changed_time = 4;
        Returns:
        The currentVersionChangedTime.
      • getCurrentVersionChangedTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCurrentVersionChangedTimeOrBuilder()
         Last time current version was changed.
         
        .google.protobuf.Timestamp current_version_changed_time = 4;
      • hasRampingVersionChangedTime

        boolean hasRampingVersionChangedTime()
         Last time ramping version was changed. Not updated if only the ramp percentage changes.
         
        .google.protobuf.Timestamp ramping_version_changed_time = 5;
        Returns:
        Whether the rampingVersionChangedTime field is set.
      • getRampingVersionChangedTime

        com.google.protobuf.Timestamp getRampingVersionChangedTime()
         Last time ramping version was changed. Not updated if only the ramp percentage changes.
         
        .google.protobuf.Timestamp ramping_version_changed_time = 5;
        Returns:
        The rampingVersionChangedTime.
      • getRampingVersionChangedTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getRampingVersionChangedTimeOrBuilder()
         Last time ramping version was changed. Not updated if only the ramp percentage changes.
         
        .google.protobuf.Timestamp ramping_version_changed_time = 5;
      • hasRampingVersionPercentageChangedTime

        boolean hasRampingVersionPercentageChangedTime()
         Last time ramping version percentage was changed.
         If ramping version is changed, this is also updated, even if the percentage stays the same.
         
        .google.protobuf.Timestamp ramping_version_percentage_changed_time = 6;
        Returns:
        Whether the rampingVersionPercentageChangedTime field is set.
      • getRampingVersionPercentageChangedTime

        com.google.protobuf.Timestamp getRampingVersionPercentageChangedTime()
         Last time ramping version percentage was changed.
         If ramping version is changed, this is also updated, even if the percentage stays the same.
         
        .google.protobuf.Timestamp ramping_version_percentage_changed_time = 6;
        Returns:
        The rampingVersionPercentageChangedTime.
      • getRampingVersionPercentageChangedTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getRampingVersionPercentageChangedTimeOrBuilder()
         Last time ramping version percentage was changed.
         If ramping version is changed, this is also updated, even if the percentage stays the same.
         
        .google.protobuf.Timestamp ramping_version_percentage_changed_time = 6;