Enum Condition.RevisionReason

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Condition.RevisionReason>
    Enclosing class:
    Condition

    public static enum Condition.RevisionReason
    extends Enum<Condition.RevisionReason>
    implements com.google.protobuf.ProtocolMessageEnum
     Reasons specific to Revision resource.
     
    Protobuf enum google.cloud.run.v2.Condition.RevisionReason
    • Enum Constant Detail

      • REVISION_REASON_UNDEFINED

        public static final Condition.RevisionReason REVISION_REASON_UNDEFINED
         Default value.
         
        REVISION_REASON_UNDEFINED = 0;
      • HEALTH_CHECK_CONTAINER_ERROR

        public static final Condition.RevisionReason HEALTH_CHECK_CONTAINER_ERROR
         There was a health check error.
         
        HEALTH_CHECK_CONTAINER_ERROR = 6;
      • CUSTOMIZED_PATH_RESPONSE_PENDING

        public static final Condition.RevisionReason CUSTOMIZED_PATH_RESPONSE_PENDING
         Health check failed due to user error from customized path of the
         container. System will retry.
         
        CUSTOMIZED_PATH_RESPONSE_PENDING = 7;
      • MIN_INSTANCES_NOT_PROVISIONED

        public static final Condition.RevisionReason MIN_INSTANCES_NOT_PROVISIONED
         A revision with min_instance_count > 0 was created and is reserved, but
         it was not configured to serve traffic, so it's not live. This can also
         happen momentarily during traffic migration.
         
        MIN_INSTANCES_NOT_PROVISIONED = 8;
      • ACTIVE_REVISION_LIMIT_REACHED

        public static final Condition.RevisionReason ACTIVE_REVISION_LIMIT_REACHED
         The maximum allowed number of active revisions has been reached.
         
        ACTIVE_REVISION_LIMIT_REACHED = 9;
      • NO_DEPLOYMENT

        public static final Condition.RevisionReason NO_DEPLOYMENT
         There was no deployment defined.
         This value is no longer used, but Services created in older versions of
         the API might contain this value.
         
        NO_DEPLOYMENT = 10;
      • HEALTH_CHECK_SKIPPED

        public static final Condition.RevisionReason HEALTH_CHECK_SKIPPED
         A revision's container has no port specified since the revision is of a
         manually scaled service with 0 instance count
         
        HEALTH_CHECK_SKIPPED = 11;
      • MIN_INSTANCES_WARMING

        public static final Condition.RevisionReason MIN_INSTANCES_WARMING
         A revision with min_instance_count > 0 was created and is waiting for
         enough instances to begin a traffic migration.
         
        MIN_INSTANCES_WARMING = 12;
    • Field Detail

      • REVISION_REASON_UNDEFINED_VALUE

        public static final int REVISION_REASON_UNDEFINED_VALUE
         Default value.
         
        REVISION_REASON_UNDEFINED = 0;
        See Also:
        Constant Field Values
      • PENDING_VALUE

        public static final int PENDING_VALUE
         Revision in Pending state.
         
        PENDING = 1;
        See Also:
        Constant Field Values
      • RESERVE_VALUE

        public static final int RESERVE_VALUE
         Revision is in Reserve state.
         
        RESERVE = 2;
        See Also:
        Constant Field Values
      • RETIRED_VALUE

        public static final int RETIRED_VALUE
         Revision is Retired.
         
        RETIRED = 3;
        See Also:
        Constant Field Values
      • RETIRING_VALUE

        public static final int RETIRING_VALUE
         Revision is being retired.
         
        RETIRING = 4;
        See Also:
        Constant Field Values
      • RECREATING_VALUE

        public static final int RECREATING_VALUE
         Revision is being recreated.
         
        RECREATING = 5;
        See Also:
        Constant Field Values
      • HEALTH_CHECK_CONTAINER_ERROR_VALUE

        public static final int HEALTH_CHECK_CONTAINER_ERROR_VALUE
         There was a health check error.
         
        HEALTH_CHECK_CONTAINER_ERROR = 6;
        See Also:
        Constant Field Values
      • CUSTOMIZED_PATH_RESPONSE_PENDING_VALUE

        public static final int CUSTOMIZED_PATH_RESPONSE_PENDING_VALUE
         Health check failed due to user error from customized path of the
         container. System will retry.
         
        CUSTOMIZED_PATH_RESPONSE_PENDING = 7;
        See Also:
        Constant Field Values
      • MIN_INSTANCES_NOT_PROVISIONED_VALUE

        public static final int MIN_INSTANCES_NOT_PROVISIONED_VALUE
         A revision with min_instance_count > 0 was created and is reserved, but
         it was not configured to serve traffic, so it's not live. This can also
         happen momentarily during traffic migration.
         
        MIN_INSTANCES_NOT_PROVISIONED = 8;
        See Also:
        Constant Field Values
      • ACTIVE_REVISION_LIMIT_REACHED_VALUE

        public static final int ACTIVE_REVISION_LIMIT_REACHED_VALUE
         The maximum allowed number of active revisions has been reached.
         
        ACTIVE_REVISION_LIMIT_REACHED = 9;
        See Also:
        Constant Field Values
      • NO_DEPLOYMENT_VALUE

        public static final int NO_DEPLOYMENT_VALUE
         There was no deployment defined.
         This value is no longer used, but Services created in older versions of
         the API might contain this value.
         
        NO_DEPLOYMENT = 10;
        See Also:
        Constant Field Values
      • HEALTH_CHECK_SKIPPED_VALUE

        public static final int HEALTH_CHECK_SKIPPED_VALUE
         A revision's container has no port specified since the revision is of a
         manually scaled service with 0 instance count
         
        HEALTH_CHECK_SKIPPED = 11;
        See Also:
        Constant Field Values
      • MIN_INSTANCES_WARMING_VALUE

        public static final int MIN_INSTANCES_WARMING_VALUE
         A revision with min_instance_count > 0 was created and is waiting for
         enough instances to begin a traffic migration.
         
        MIN_INSTANCES_WARMING = 12;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Condition.RevisionReason[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Condition.RevisionReason c : Condition.RevisionReason.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Condition.RevisionReason valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static Condition.RevisionReason valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static Condition.RevisionReason forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<Condition.RevisionReason> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static Condition.RevisionReason valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null