# Enum Warnings.Code (1.101.0)

1.103.0 (latest) 1.101.0 1.98.0 1.97.0 1.95.0 1.93.0 1.92.0 1.91.0 1.90.0 1.88.0 1.86.0 1.85.0 1.84.0 1.83.0 1.82.0 1.80.0 1.78.0 1.77.0 1.74.0 1.73.0 1.72.0 1.70.0 1.69.0 1.68.0 1.67.0 1.66.0 1.65.0 1.64.0 1.63.0 1.62.0 1.61.0 1.59.0 1.58.0 1.57.0 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.50.0 1.49.0 1.47.0 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.38.0 1.37.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 1.24.0 1.23.0 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.1 1.11.0 1.9.1 1.8.1 1.7.2 1.6.0-beta

    public enum Warnings.Code extends Enum<Warnings.Code> implements 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.Warnings.Code`

## Implements

[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html)

## Inherited Members

[Enum.\<T\>valueOf(Class\<T\>,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) [Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) [Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) [Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) [Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) [Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) [Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) [Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) [Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) [Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

| ## Static Fields ||
|---|---|
| **Name** | **Description** |
| `CLEANUP_FAILED` | Warning about failed cleanup of transient changes made by a failed operation. `CLEANUP_FAILED = 150308440;` |
| `CLEANUP_FAILED_VALUE` | Warning about failed cleanup of transient changes made by a failed operation. `CLEANUP_FAILED = 150308440;` |
| `DEPRECATED_RESOURCE_USED` | A link to a deprecated resource was created. `DEPRECATED_RESOURCE_USED = 391835586;` |
| `DEPRECATED_RESOURCE_USED_VALUE` | A link to a deprecated resource was created. `DEPRECATED_RESOURCE_USED = 391835586;` |
| `DEPRECATED_TYPE_USED` | When deploying and at least one of the resources has a type marked as deprecated `DEPRECATED_TYPE_USED = 346526230;` |
| `DEPRECATED_TYPE_USED_VALUE` | 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` | The user created a boot disk that is larger than image size. `DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967;` |
| `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;` |
| `EXPERIMENTAL_TYPE_USED` | When deploying and at least one of the resources has a type marked as experimental `EXPERIMENTAL_TYPE_USED = 451954443;` |
| `EXPERIMENTAL_TYPE_USED_VALUE` | When deploying and at least one of the resources has a type marked as experimental `EXPERIMENTAL_TYPE_USED = 451954443;` |
| `EXTERNAL_API_WARNING` | Warning that is present in an external api call `EXTERNAL_API_WARNING = 175546307;` |
| `EXTERNAL_API_WARNING_VALUE` | Warning that is present in an external api call `EXTERNAL_API_WARNING = 175546307;` |
| `FIELD_VALUE_OVERRIDEN` | Warning that value of a field has been overridden. Deprecated unused field. `FIELD_VALUE_OVERRIDEN = 329669423;` |
| `FIELD_VALUE_OVERRIDEN_VALUE` | Warning that value of a field has been overridden. Deprecated unused field. `FIELD_VALUE_OVERRIDEN = 329669423;` |
| `INJECTED_KERNELS_DEPRECATED` | The operation involved use of an injected kernel, which is deprecated. `INJECTED_KERNELS_DEPRECATED = 417377419;` |
| `INJECTED_KERNELS_DEPRECATED_VALUE` | The operation involved use of an injected kernel, which is deprecated. `INJECTED_KERNELS_DEPRECATED = 417377419;` |
| `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;` |
| `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;` |
| `LARGE_DEPLOYMENT_WARNING` | When deploying a deployment with a exceedingly large number of resources `LARGE_DEPLOYMENT_WARNING = 481440678;` |
| `LARGE_DEPLOYMENT_WARNING_VALUE` | When deploying a deployment with a exceedingly large number of resources `LARGE_DEPLOYMENT_WARNING = 481440678;` |
| `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;` |
| `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;` |
| `MISSING_TYPE_DEPENDENCY` | A resource depends on a missing type `MISSING_TYPE_DEPENDENCY = 344505463;` |
| `MISSING_TYPE_DEPENDENCY_VALUE` | A resource depends on a missing type `MISSING_TYPE_DEPENDENCY = 344505463;` |
| `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_ADDRESS_NOT_ASSIGNED_VALUE` | 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` | The route's next hop instance cannot ip forward. `NEXT_HOP_CANNOT_IP_FORWARD = 383382887;` |
| `NEXT_HOP_CANNOT_IP_FORWARD_VALUE` | The route's next hop instance cannot ip forward. `NEXT_HOP_CANNOT_IP_FORWARD = 383382887;` |
| `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_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;` |
| `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_FOUND_VALUE` | 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` | 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_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;` |
| `NEXT_HOP_NOT_RUNNING` | The route's next hop instance does not have a status of RUNNING. `NEXT_HOP_NOT_RUNNING = 417081265;` |
| `NEXT_HOP_NOT_RUNNING_VALUE` | The route's next hop instance does not have a status of RUNNING. `NEXT_HOP_NOT_RUNNING = 417081265;` |
| `NOT_CRITICAL_ERROR` | Error which is not critical. We decided to continue the process despite the mentioned error. `NOT_CRITICAL_ERROR = 105763924;` |
| `NOT_CRITICAL_ERROR_VALUE` | Error which is not critical. We decided to continue the process despite the mentioned error. `NOT_CRITICAL_ERROR = 105763924;` |
| `NO_RESULTS_ON_PAGE` | No results are present on a particular list page. `NO_RESULTS_ON_PAGE = 30036744;` |
| `NO_RESULTS_ON_PAGE_VALUE` | No results are present on a particular list page. `NO_RESULTS_ON_PAGE = 30036744;` |
| `PARTIAL_SUCCESS` | Success is reported, but some results may be missing due to errors `PARTIAL_SUCCESS = 39966469;` |
| `PARTIAL_SUCCESS_VALUE` | Success is reported, but some results may be missing due to errors `PARTIAL_SUCCESS = 39966469;` |
| `QUOTA_INFO_UNAVAILABLE` | Quota information is not available to client requests (e.g: regions.list). `QUOTA_INFO_UNAVAILABLE = 304294182;` |
| `QUOTA_INFO_UNAVAILABLE_VALUE` | Quota information is not available to client requests (e.g: regions.list). `QUOTA_INFO_UNAVAILABLE = 304294182;` |
| `REQUIRED_TOS_AGREEMENT` | The user attempted to use a resource that requires a TOS they have not accepted. `REQUIRED_TOS_AGREEMENT = 3745539;` |
| `REQUIRED_TOS_AGREEMENT_VALUE` | 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` | Warning that a resource is in use. `RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641;` |
| `RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING_VALUE` | Warning that a resource is in use. `RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641;` |
| `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;` |
| `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;` |
| `SCHEMA_VALIDATION_IGNORED` | When a resource schema validation is ignored. `SCHEMA_VALIDATION_IGNORED = 275245642;` |
| `SCHEMA_VALIDATION_IGNORED_VALUE` | When a resource schema validation is ignored. `SCHEMA_VALIDATION_IGNORED = 275245642;` |
| `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;` |
| `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;` |
| `UNDECLARED_PROPERTIES` | When undeclared properties in the schema are present `UNDECLARED_PROPERTIES = 390513439;` |
| `UNDECLARED_PROPERTIES_VALUE` | When undeclared properties in the schema are present `UNDECLARED_PROPERTIES = 390513439;` |
| `UNDEFINED_CODE` | A value indicating that the enum field is not set. `UNDEFINED_CODE = 0;` |
| `UNDEFINED_CODE_VALUE` | A value indicating that the enum field is not set. `UNDEFINED_CODE = 0;` |
| `UNREACHABLE` | A given scope cannot be reached. `UNREACHABLE = 13328052;` |
| `UNREACHABLE_VALUE` | A given scope cannot be reached. `UNREACHABLE = 13328052;` |
| `UNRECOGNIZED` |   |

| ## Static Methods ||
|---|---|
| **Name** | **Description** |
| `forNumber(int value)` |   |
| `getDescriptor()` |   |
| `internalGetValueMap()` |   |
| `valueOf(Descriptors.EnumValueDescriptor desc)` |   |
| `valueOf(int value)` | **Deprecated.** *Use [#forNumber(int)](https://docs.cloud.google.com/java/docs/reference/google-cloud-compute/latest/com.google.cloud.compute.v1.Warnings.Code#com_google_cloud_compute_v1_Warnings_Code_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

| ## Methods ||
|---|---|
| **Name** | **Description** |
| `getDescriptorForType()` |   |
| `getNumber()` |   |
| `getValueDescriptor()` |   |