Enum Condition.CommonReason

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

    public static enum Condition.CommonReason
    extends Enum<Condition.CommonReason>
    implements com.google.protobuf.ProtocolMessageEnum
     Reasons common to all types of conditions.
     
    Protobuf enum google.cloud.run.v2.Condition.CommonReason
    • Enum Constant Detail

      • COMMON_REASON_UNDEFINED

        public static final Condition.CommonReason COMMON_REASON_UNDEFINED
         Default value.
         
        COMMON_REASON_UNDEFINED = 0;
      • UNKNOWN

        public static final Condition.CommonReason UNKNOWN
         Reason unknown. Further details will be in message.
         
        UNKNOWN = 1;
      • REVISION_FAILED

        public static final Condition.CommonReason REVISION_FAILED
         Revision creation process failed.
         
        REVISION_FAILED = 3;
      • PROGRESS_DEADLINE_EXCEEDED

        public static final Condition.CommonReason PROGRESS_DEADLINE_EXCEEDED
         Timed out waiting for completion.
         
        PROGRESS_DEADLINE_EXCEEDED = 4;
      • CONTAINER_MISSING

        public static final Condition.CommonReason CONTAINER_MISSING
         The container image path is incorrect.
         
        CONTAINER_MISSING = 6;
      • CONTAINER_PERMISSION_DENIED

        public static final Condition.CommonReason CONTAINER_PERMISSION_DENIED
         Insufficient permissions on the container image.
         
        CONTAINER_PERMISSION_DENIED = 7;
      • CONTAINER_IMAGE_UNAUTHORIZED

        public static final Condition.CommonReason CONTAINER_IMAGE_UNAUTHORIZED
         Container image is not authorized by policy.
         
        CONTAINER_IMAGE_UNAUTHORIZED = 8;
      • CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED

        public static final Condition.CommonReason CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED
         Container image policy authorization check failed.
         
        CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED = 9;
      • ENCRYPTION_KEY_PERMISSION_DENIED

        public static final Condition.CommonReason ENCRYPTION_KEY_PERMISSION_DENIED
         Insufficient permissions on encryption key.
         
        ENCRYPTION_KEY_PERMISSION_DENIED = 10;
      • ENCRYPTION_KEY_CHECK_FAILED

        public static final Condition.CommonReason ENCRYPTION_KEY_CHECK_FAILED
         Permission check on encryption key failed.
         
        ENCRYPTION_KEY_CHECK_FAILED = 11;
      • SECRETS_ACCESS_CHECK_FAILED

        public static final Condition.CommonReason SECRETS_ACCESS_CHECK_FAILED
         At least one Access check on secrets failed.
         
        SECRETS_ACCESS_CHECK_FAILED = 12;
      • WAITING_FOR_OPERATION

        public static final Condition.CommonReason WAITING_FOR_OPERATION
         Waiting for operation to complete.
         
        WAITING_FOR_OPERATION = 13;
      • IMMEDIATE_RETRY

        public static final Condition.CommonReason IMMEDIATE_RETRY
         System will retry immediately.
         
        IMMEDIATE_RETRY = 14;
      • POSTPONED_RETRY

        public static final Condition.CommonReason POSTPONED_RETRY
         System will retry later; current attempt failed.
         
        POSTPONED_RETRY = 15;
      • INTERNAL

        public static final Condition.CommonReason INTERNAL
         An internal error occurred. Further information may be in the message.
         
        INTERNAL = 16;
    • Field Detail

      • COMMON_REASON_UNDEFINED_VALUE

        public static final int COMMON_REASON_UNDEFINED_VALUE
         Default value.
         
        COMMON_REASON_UNDEFINED = 0;
        See Also:
        Constant Field Values
      • UNKNOWN_VALUE

        public static final int UNKNOWN_VALUE
         Reason unknown. Further details will be in message.
         
        UNKNOWN = 1;
        See Also:
        Constant Field Values
      • REVISION_FAILED_VALUE

        public static final int REVISION_FAILED_VALUE
         Revision creation process failed.
         
        REVISION_FAILED = 3;
        See Also:
        Constant Field Values
      • PROGRESS_DEADLINE_EXCEEDED_VALUE

        public static final int PROGRESS_DEADLINE_EXCEEDED_VALUE
         Timed out waiting for completion.
         
        PROGRESS_DEADLINE_EXCEEDED = 4;
        See Also:
        Constant Field Values
      • CONTAINER_MISSING_VALUE

        public static final int CONTAINER_MISSING_VALUE
         The container image path is incorrect.
         
        CONTAINER_MISSING = 6;
        See Also:
        Constant Field Values
      • CONTAINER_PERMISSION_DENIED_VALUE

        public static final int CONTAINER_PERMISSION_DENIED_VALUE
         Insufficient permissions on the container image.
         
        CONTAINER_PERMISSION_DENIED = 7;
        See Also:
        Constant Field Values
      • CONTAINER_IMAGE_UNAUTHORIZED_VALUE

        public static final int CONTAINER_IMAGE_UNAUTHORIZED_VALUE
         Container image is not authorized by policy.
         
        CONTAINER_IMAGE_UNAUTHORIZED = 8;
        See Also:
        Constant Field Values
      • CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED_VALUE

        public static final int CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED_VALUE
         Container image policy authorization check failed.
         
        CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED = 9;
        See Also:
        Constant Field Values
      • ENCRYPTION_KEY_PERMISSION_DENIED_VALUE

        public static final int ENCRYPTION_KEY_PERMISSION_DENIED_VALUE
         Insufficient permissions on encryption key.
         
        ENCRYPTION_KEY_PERMISSION_DENIED = 10;
        See Also:
        Constant Field Values
      • ENCRYPTION_KEY_CHECK_FAILED_VALUE

        public static final int ENCRYPTION_KEY_CHECK_FAILED_VALUE
         Permission check on encryption key failed.
         
        ENCRYPTION_KEY_CHECK_FAILED = 11;
        See Also:
        Constant Field Values
      • SECRETS_ACCESS_CHECK_FAILED_VALUE

        public static final int SECRETS_ACCESS_CHECK_FAILED_VALUE
         At least one Access check on secrets failed.
         
        SECRETS_ACCESS_CHECK_FAILED = 12;
        See Also:
        Constant Field Values
      • WAITING_FOR_OPERATION_VALUE

        public static final int WAITING_FOR_OPERATION_VALUE
         Waiting for operation to complete.
         
        WAITING_FOR_OPERATION = 13;
        See Also:
        Constant Field Values
      • IMMEDIATE_RETRY_VALUE

        public static final int IMMEDIATE_RETRY_VALUE
         System will retry immediately.
         
        IMMEDIATE_RETRY = 14;
        See Also:
        Constant Field Values
      • POSTPONED_RETRY_VALUE

        public static final int POSTPONED_RETRY_VALUE
         System will retry later; current attempt failed.
         
        POSTPONED_RETRY = 15;
        See Also:
        Constant Field Values
      • INTERNAL_VALUE

        public static final int INTERNAL_VALUE
         An internal error occurred. Further information may be in the message.
         
        INTERNAL = 16;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Condition.CommonReason[] 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.CommonReason c : Condition.CommonReason.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.CommonReason 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.CommonReason 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.CommonReason 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.CommonReason> 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.CommonReason 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