Enum Warning.Code

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

    public static enum Warning.Code
    extends Enum<Warning.Code>
    implements com.google.protobuf.ProtocolMessageEnum
     [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
     
    Protobuf enum google.cloud.compute.v1.Warning.Code
    • Enum Constant Detail

      • UNDEFINED_CODE

        public static final Warning.Code UNDEFINED_CODE
         A value indicating that the enum field is not set.
         
        UNDEFINED_CODE = 0;
      • CLEANUP_FAILED

        public static final Warning.Code CLEANUP_FAILED
         Warning about failed cleanup of transient changes made by a failed operation.
         
        CLEANUP_FAILED = 150308440;
      • DEPRECATED_RESOURCE_USED

        public static final Warning.Code DEPRECATED_RESOURCE_USED
         A link to a deprecated resource was created.
         
        DEPRECATED_RESOURCE_USED = 391835586;
      • DEPRECATED_TYPE_USED

        public static final Warning.Code DEPRECATED_TYPE_USED
         When deploying and at least one of the resources has a type marked as deprecated
         
        DEPRECATED_TYPE_USED = 346526230;
      • DISK_SIZE_LARGER_THAN_IMAGE_SIZE

        public static final Warning.Code DISK_SIZE_LARGER_THAN_IMAGE_SIZE
         The user created a boot disk that is larger than image size.
         
        DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967;
      • EXPERIMENTAL_TYPE_USED

        public static final Warning.Code EXPERIMENTAL_TYPE_USED
         When deploying and at least one of the resources has a type marked as experimental
         
        EXPERIMENTAL_TYPE_USED = 451954443;
      • EXTERNAL_API_WARNING

        public static final Warning.Code EXTERNAL_API_WARNING
         Warning that is present in an external api call
         
        EXTERNAL_API_WARNING = 175546307;
      • FIELD_VALUE_OVERRIDEN

        public static final Warning.Code FIELD_VALUE_OVERRIDEN
         Warning that value of a field has been overridden. Deprecated unused field.
         
        FIELD_VALUE_OVERRIDEN = 329669423;
      • INJECTED_KERNELS_DEPRECATED

        public static final Warning.Code INJECTED_KERNELS_DEPRECATED
         The operation involved use of an injected kernel, which is deprecated.
         
        INJECTED_KERNELS_DEPRECATED = 417377419;
      • INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB

        public static final Warning.Code INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB
         A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.
         
        INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB = 401542606;
      • LARGE_DEPLOYMENT_WARNING

        public static final Warning.Code LARGE_DEPLOYMENT_WARNING
         When deploying a deployment with a exceedingly large number of resources
         
        LARGE_DEPLOYMENT_WARNING = 481440678;
      • LIST_OVERHEAD_QUOTA_EXCEED

        public static final Warning.Code LIST_OVERHEAD_QUOTA_EXCEED
         Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.
         
        LIST_OVERHEAD_QUOTA_EXCEED = 47618117;
      • MISSING_TYPE_DEPENDENCY

        public static final Warning.Code MISSING_TYPE_DEPENDENCY
         A resource depends on a missing type
         
        MISSING_TYPE_DEPENDENCY = 344505463;
      • NEXT_HOP_ADDRESS_NOT_ASSIGNED

        public static final Warning.Code NEXT_HOP_ADDRESS_NOT_ASSIGNED
         The route's nextHopIp address is not assigned to an instance on the network.
         
        NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999;
      • NEXT_HOP_CANNOT_IP_FORWARD

        public static final Warning.Code NEXT_HOP_CANNOT_IP_FORWARD
         The route's next hop instance cannot ip forward.
         
        NEXT_HOP_CANNOT_IP_FORWARD = 383382887;
      • NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE

        public static final Warning.Code NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE
         The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.
         
        NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE = 146748434;
      • NEXT_HOP_INSTANCE_NOT_FOUND

        public static final Warning.Code NEXT_HOP_INSTANCE_NOT_FOUND
         The route's nextHopInstance URL refers to an instance that does not exist.
         
        NEXT_HOP_INSTANCE_NOT_FOUND = 464250446;
      • NEXT_HOP_INSTANCE_NOT_ON_NETWORK

        public static final Warning.Code NEXT_HOP_INSTANCE_NOT_ON_NETWORK
         The route's nextHopInstance URL refers to an instance that is not on the same network as the route.
         
        NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146;
      • NEXT_HOP_NOT_RUNNING

        public static final Warning.Code NEXT_HOP_NOT_RUNNING
         The route's next hop instance does not have a status of RUNNING.
         
        NEXT_HOP_NOT_RUNNING = 417081265;
      • NOT_CRITICAL_ERROR

        public static final Warning.Code NOT_CRITICAL_ERROR
         Error which is not critical. We decided to continue the process despite the mentioned error.
         
        NOT_CRITICAL_ERROR = 105763924;
      • NO_RESULTS_ON_PAGE

        public static final Warning.Code NO_RESULTS_ON_PAGE
         No results are present on a particular list page.
         
        NO_RESULTS_ON_PAGE = 30036744;
      • PARTIAL_SUCCESS

        public static final Warning.Code PARTIAL_SUCCESS
         Success is reported, but some results may be missing due to errors
         
        PARTIAL_SUCCESS = 39966469;
      • REQUIRED_TOS_AGREEMENT

        public static final Warning.Code REQUIRED_TOS_AGREEMENT
         The user attempted to use a resource that requires a TOS they have not accepted.
         
        REQUIRED_TOS_AGREEMENT = 3745539;
      • RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING

        public static final Warning.Code RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING
         Warning that a resource is in use.
         
        RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641;
      • RESOURCE_NOT_DELETED

        public static final Warning.Code RESOURCE_NOT_DELETED
         One or more of the resources set to auto-delete could not be deleted because they were in use.
         
        RESOURCE_NOT_DELETED = 168598460;
      • SCHEMA_VALIDATION_IGNORED

        public static final Warning.Code SCHEMA_VALIDATION_IGNORED
         When a resource schema validation is ignored.
         
        SCHEMA_VALIDATION_IGNORED = 275245642;
      • SINGLE_INSTANCE_PROPERTY_TEMPLATE

        public static final Warning.Code SINGLE_INSTANCE_PROPERTY_TEMPLATE
         Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.
         
        SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617;
      • UNDECLARED_PROPERTIES

        public static final Warning.Code UNDECLARED_PROPERTIES
         When undeclared properties in the schema are present
         
        UNDECLARED_PROPERTIES = 390513439;
      • UNREACHABLE

        public static final Warning.Code UNREACHABLE
         A given scope cannot be reached.
         
        UNREACHABLE = 13328052;
      • UNRECOGNIZED

        public static final Warning.Code UNRECOGNIZED
    • Field Detail

      • UNDEFINED_CODE_VALUE

        public static final int UNDEFINED_CODE_VALUE
         A value indicating that the enum field is not set.
         
        UNDEFINED_CODE = 0;
        See Also:
        Constant Field Values
      • CLEANUP_FAILED_VALUE

        public static final int CLEANUP_FAILED_VALUE
         Warning about failed cleanup of transient changes made by a failed operation.
         
        CLEANUP_FAILED = 150308440;
        See Also:
        Constant Field Values
      • DEPRECATED_RESOURCE_USED_VALUE

        public static final int DEPRECATED_RESOURCE_USED_VALUE
         A link to a deprecated resource was created.
         
        DEPRECATED_RESOURCE_USED = 391835586;
        See Also:
        Constant Field Values
      • DEPRECATED_TYPE_USED_VALUE

        public static final int DEPRECATED_TYPE_USED_VALUE
         When deploying and at least one of the resources has a type marked as deprecated
         
        DEPRECATED_TYPE_USED = 346526230;
        See Also:
        Constant Field Values
      • DISK_SIZE_LARGER_THAN_IMAGE_SIZE_VALUE

        public static final int DISK_SIZE_LARGER_THAN_IMAGE_SIZE_VALUE
         The user created a boot disk that is larger than image size.
         
        DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967;
        See Also:
        Constant Field Values
      • EXPERIMENTAL_TYPE_USED_VALUE

        public static final int EXPERIMENTAL_TYPE_USED_VALUE
         When deploying and at least one of the resources has a type marked as experimental
         
        EXPERIMENTAL_TYPE_USED = 451954443;
        See Also:
        Constant Field Values
      • EXTERNAL_API_WARNING_VALUE

        public static final int EXTERNAL_API_WARNING_VALUE
         Warning that is present in an external api call
         
        EXTERNAL_API_WARNING = 175546307;
        See Also:
        Constant Field Values
      • FIELD_VALUE_OVERRIDEN_VALUE

        public static final int FIELD_VALUE_OVERRIDEN_VALUE
         Warning that value of a field has been overridden. Deprecated unused field.
         
        FIELD_VALUE_OVERRIDEN = 329669423;
        See Also:
        Constant Field Values
      • INJECTED_KERNELS_DEPRECATED_VALUE

        public static final int INJECTED_KERNELS_DEPRECATED_VALUE
         The operation involved use of an injected kernel, which is deprecated.
         
        INJECTED_KERNELS_DEPRECATED = 417377419;
        See Also:
        Constant Field Values
      • INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB_VALUE

        public static final int INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB_VALUE
         A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.
         
        INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB = 401542606;
        See Also:
        Constant Field Values
      • LARGE_DEPLOYMENT_WARNING_VALUE

        public static final int LARGE_DEPLOYMENT_WARNING_VALUE
         When deploying a deployment with a exceedingly large number of resources
         
        LARGE_DEPLOYMENT_WARNING = 481440678;
        See Also:
        Constant Field Values
      • LIST_OVERHEAD_QUOTA_EXCEED_VALUE

        public static final int LIST_OVERHEAD_QUOTA_EXCEED_VALUE
         Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.
         
        LIST_OVERHEAD_QUOTA_EXCEED = 47618117;
        See Also:
        Constant Field Values
      • MISSING_TYPE_DEPENDENCY_VALUE

        public static final int MISSING_TYPE_DEPENDENCY_VALUE
         A resource depends on a missing type
         
        MISSING_TYPE_DEPENDENCY = 344505463;
        See Also:
        Constant Field Values
      • NEXT_HOP_ADDRESS_NOT_ASSIGNED_VALUE

        public static final int NEXT_HOP_ADDRESS_NOT_ASSIGNED_VALUE
         The route's nextHopIp address is not assigned to an instance on the network.
         
        NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999;
        See Also:
        Constant Field Values
      • NEXT_HOP_CANNOT_IP_FORWARD_VALUE

        public static final int NEXT_HOP_CANNOT_IP_FORWARD_VALUE
         The route's next hop instance cannot ip forward.
         
        NEXT_HOP_CANNOT_IP_FORWARD = 383382887;
        See Also:
        Constant Field Values
      • NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE_VALUE

        public static final int NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE_VALUE
         The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.
         
        NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE = 146748434;
        See Also:
        Constant Field Values
      • NEXT_HOP_INSTANCE_NOT_FOUND_VALUE

        public static final int NEXT_HOP_INSTANCE_NOT_FOUND_VALUE
         The route's nextHopInstance URL refers to an instance that does not exist.
         
        NEXT_HOP_INSTANCE_NOT_FOUND = 464250446;
        See Also:
        Constant Field Values
      • NEXT_HOP_INSTANCE_NOT_ON_NETWORK_VALUE

        public static final int NEXT_HOP_INSTANCE_NOT_ON_NETWORK_VALUE
         The route's nextHopInstance URL refers to an instance that is not on the same network as the route.
         
        NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146;
        See Also:
        Constant Field Values
      • NEXT_HOP_NOT_RUNNING_VALUE

        public static final int NEXT_HOP_NOT_RUNNING_VALUE
         The route's next hop instance does not have a status of RUNNING.
         
        NEXT_HOP_NOT_RUNNING = 417081265;
        See Also:
        Constant Field Values
      • NOT_CRITICAL_ERROR_VALUE

        public static final int NOT_CRITICAL_ERROR_VALUE
         Error which is not critical. We decided to continue the process despite the mentioned error.
         
        NOT_CRITICAL_ERROR = 105763924;
        See Also:
        Constant Field Values
      • NO_RESULTS_ON_PAGE_VALUE

        public static final int NO_RESULTS_ON_PAGE_VALUE
         No results are present on a particular list page.
         
        NO_RESULTS_ON_PAGE = 30036744;
        See Also:
        Constant Field Values
      • PARTIAL_SUCCESS_VALUE

        public static final int PARTIAL_SUCCESS_VALUE
         Success is reported, but some results may be missing due to errors
         
        PARTIAL_SUCCESS = 39966469;
        See Also:
        Constant Field Values
      • REQUIRED_TOS_AGREEMENT_VALUE

        public static final int REQUIRED_TOS_AGREEMENT_VALUE
         The user attempted to use a resource that requires a TOS they have not accepted.
         
        REQUIRED_TOS_AGREEMENT = 3745539;
        See Also:
        Constant Field Values
      • RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING_VALUE

        public static final int RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING_VALUE
         Warning that a resource is in use.
         
        RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641;
        See Also:
        Constant Field Values
      • RESOURCE_NOT_DELETED_VALUE

        public static final int RESOURCE_NOT_DELETED_VALUE
         One or more of the resources set to auto-delete could not be deleted because they were in use.
         
        RESOURCE_NOT_DELETED = 168598460;
        See Also:
        Constant Field Values
      • SCHEMA_VALIDATION_IGNORED_VALUE

        public static final int SCHEMA_VALIDATION_IGNORED_VALUE
         When a resource schema validation is ignored.
         
        SCHEMA_VALIDATION_IGNORED = 275245642;
        See Also:
        Constant Field Values
      • SINGLE_INSTANCE_PROPERTY_TEMPLATE_VALUE

        public static final int SINGLE_INSTANCE_PROPERTY_TEMPLATE_VALUE
         Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.
         
        SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617;
        See Also:
        Constant Field Values
      • UNDECLARED_PROPERTIES_VALUE

        public static final int UNDECLARED_PROPERTIES_VALUE
         When undeclared properties in the schema are present
         
        UNDECLARED_PROPERTIES = 390513439;
        See Also:
        Constant Field Values
      • UNREACHABLE_VALUE

        public static final int UNREACHABLE_VALUE
         A given scope cannot be reached.
         
        UNREACHABLE = 13328052;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Warning.Code[] 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 (Warning.Code c : Warning.Code.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Warning.Code 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 Warning.Code 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 Warning.Code 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<Warning.Code> 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 Warning.Code 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