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 and Description |
|---|
CLEANUP_FAILED
Warning about failed cleanup of transient changes made by a failed operation.
|
DEPRECATED_RESOURCE_USED
A link to a deprecated resource was created.
|
DEPRECATED_TYPE_USED
When deploying and at least one of the resources has a type marked as deprecated
|
DISK_SIZE_LARGER_THAN_IMAGE_SIZE
The user created a boot disk that is larger than image size.
|
EXPERIMENTAL_TYPE_USED
When deploying and at least one of the resources has a type marked as experimental
|
EXTERNAL_API_WARNING
Warning that is present in an external api call
|
FIELD_VALUE_OVERRIDEN
Warning that value of a field has been overridden.
|
INJECTED_KERNELS_DEPRECATED
The operation involved use of an injected kernel, which is deprecated.
|
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.
|
LARGE_DEPLOYMENT_WARNING
When deploying a deployment with a exceedingly large number of resources
|
MISSING_TYPE_DEPENDENCY
A resource depends on a missing type
|
NEXT_HOP_ADDRESS_NOT_ASSIGNED
The route's nextHopIp address is not assigned to an instance on the network.
|
NEXT_HOP_CANNOT_IP_FORWARD
The route's next hop instance cannot ip forward.
|
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_NOT_FOUND
The route's nextHopInstance URL refers to an instance that does not exist.
|
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_NOT_RUNNING
The route's next hop instance does not have a status of RUNNING.
|
NO_RESULTS_ON_PAGE
No results are present on a particular list page.
|
NOT_CRITICAL_ERROR
Error which is not critical.
|
PARTIAL_SUCCESS
Success is reported, but some results may be missing due to errors
|
REQUIRED_TOS_AGREEMENT
The user attempted to use a resource that requires a TOS they have not accepted.
|
RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING
Warning that a resource is in use.
|
RESOURCE_NOT_DELETED
One or more of the resources set to auto-delete could not be deleted because they were in use.
|
SCHEMA_VALIDATION_IGNORED
When a resource schema validation is ignored.
|
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.
|
UNDECLARED_PROPERTIES
When undeclared properties in the schema are present
|
UNDEFINED_CODE
A value indicating that the enum field is not set.
|
UNREACHABLE
A given scope cannot be reached.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLEANUP_FAILED_VALUE
Warning about failed cleanup of transient changes made by a failed operation.
|
static int |
DEPRECATED_RESOURCE_USED_VALUE
A link to a deprecated resource was created.
|
static int |
DEPRECATED_TYPE_USED_VALUE
When deploying and at least one of the resources has a type marked as deprecated
|
static int |
DISK_SIZE_LARGER_THAN_IMAGE_SIZE_VALUE
The user created a boot disk that is larger than image size.
|
static int |
EXPERIMENTAL_TYPE_USED_VALUE
When deploying and at least one of the resources has a type marked as experimental
|
static int |
EXTERNAL_API_WARNING_VALUE
Warning that is present in an external api call
|
static int |
FIELD_VALUE_OVERRIDEN_VALUE
Warning that value of a field has been overridden.
|
static int |
INJECTED_KERNELS_DEPRECATED_VALUE
The operation involved use of an injected kernel, which is deprecated.
|
static 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.
|
static int |
LARGE_DEPLOYMENT_WARNING_VALUE
When deploying a deployment with a exceedingly large number of resources
|
static int |
MISSING_TYPE_DEPENDENCY_VALUE
A resource depends on a missing type
|
static int |
NEXT_HOP_ADDRESS_NOT_ASSIGNED_VALUE
The route's nextHopIp address is not assigned to an instance on the network.
|
static int |
NEXT_HOP_CANNOT_IP_FORWARD_VALUE
The route's next hop instance cannot ip forward.
|
static 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.
|
static int |
NEXT_HOP_INSTANCE_NOT_FOUND_VALUE
The route's nextHopInstance URL refers to an instance that does not exist.
|
static 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.
|
static int |
NEXT_HOP_NOT_RUNNING_VALUE
The route's next hop instance does not have a status of RUNNING.
|
static int |
NO_RESULTS_ON_PAGE_VALUE
No results are present on a particular list page.
|
static int |
NOT_CRITICAL_ERROR_VALUE
Error which is not critical.
|
static int |
PARTIAL_SUCCESS_VALUE
Success is reported, but some results may be missing due to errors
|
static int |
REQUIRED_TOS_AGREEMENT_VALUE
The user attempted to use a resource that requires a TOS they have not accepted.
|
static int |
RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING_VALUE
Warning that a resource is in use.
|
static int |
RESOURCE_NOT_DELETED_VALUE
One or more of the resources set to auto-delete could not be deleted because they were in use.
|
static int |
SCHEMA_VALIDATION_IGNORED_VALUE
When a resource schema validation is ignored.
|
static 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.
|
static int |
UNDECLARED_PROPERTIES_VALUE
When undeclared properties in the schema are present
|
static int |
UNDEFINED_CODE_VALUE
A value indicating that the enum field is not set.
|
static int |
UNREACHABLE_VALUE
A given scope cannot be reached.
|
| Modifier and Type | Method and Description |
|---|---|
static Warning.Code |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Warning.Code> |
internalGetValueMap() |
static Warning.Code |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Warning.Code |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Warning.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Warning.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Warning.Code UNDEFINED_CODE
A value indicating that the enum field is not set.
UNDEFINED_CODE = 0;public static final Warning.Code CLEANUP_FAILED
Warning about failed cleanup of transient changes made by a failed operation.
CLEANUP_FAILED = 150308440;public static final Warning.Code DEPRECATED_RESOURCE_USED
A link to a deprecated resource was created.
DEPRECATED_RESOURCE_USED = 391835586;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;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;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;public static final Warning.Code EXTERNAL_API_WARNING
Warning that is present in an external api call
EXTERNAL_API_WARNING = 175546307;public static final Warning.Code FIELD_VALUE_OVERRIDEN
Warning that value of a field has been overridden. Deprecated unused field.
FIELD_VALUE_OVERRIDEN = 329669423;public static final Warning.Code INJECTED_KERNELS_DEPRECATED
The operation involved use of an injected kernel, which is deprecated.
INJECTED_KERNELS_DEPRECATED = 417377419;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;public static final Warning.Code LARGE_DEPLOYMENT_WARNING
When deploying a deployment with a exceedingly large number of resources
LARGE_DEPLOYMENT_WARNING = 481440678;public static final Warning.Code MISSING_TYPE_DEPENDENCY
A resource depends on a missing type
MISSING_TYPE_DEPENDENCY = 344505463;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;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;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;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;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;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;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;public static final Warning.Code NO_RESULTS_ON_PAGE
No results are present on a particular list page.
NO_RESULTS_ON_PAGE = 30036744;public static final Warning.Code PARTIAL_SUCCESS
Success is reported, but some results may be missing due to errors
PARTIAL_SUCCESS = 39966469;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;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;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;public static final Warning.Code SCHEMA_VALIDATION_IGNORED
When a resource schema validation is ignored.
SCHEMA_VALIDATION_IGNORED = 275245642;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;public static final Warning.Code UNDECLARED_PROPERTIES
When undeclared properties in the schema are present
UNDECLARED_PROPERTIES = 390513439;public static final Warning.Code UNREACHABLE
A given scope cannot be reached.
UNREACHABLE = 13328052;public static final Warning.Code UNRECOGNIZED
public static final int UNDEFINED_CODE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_CODE = 0;public static final int CLEANUP_FAILED_VALUE
Warning about failed cleanup of transient changes made by a failed operation.
CLEANUP_FAILED = 150308440;public static final int DEPRECATED_RESOURCE_USED_VALUE
A link to a deprecated resource was created.
DEPRECATED_RESOURCE_USED = 391835586;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;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;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;public static final int EXTERNAL_API_WARNING_VALUE
Warning that is present in an external api call
EXTERNAL_API_WARNING = 175546307;public static final int FIELD_VALUE_OVERRIDEN_VALUE
Warning that value of a field has been overridden. Deprecated unused field.
FIELD_VALUE_OVERRIDEN = 329669423;public static final int INJECTED_KERNELS_DEPRECATED_VALUE
The operation involved use of an injected kernel, which is deprecated.
INJECTED_KERNELS_DEPRECATED = 417377419;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;public static final int LARGE_DEPLOYMENT_WARNING_VALUE
When deploying a deployment with a exceedingly large number of resources
LARGE_DEPLOYMENT_WARNING = 481440678;public static final int MISSING_TYPE_DEPENDENCY_VALUE
A resource depends on a missing type
MISSING_TYPE_DEPENDENCY = 344505463;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;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;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;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;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;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;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;public static final int NO_RESULTS_ON_PAGE_VALUE
No results are present on a particular list page.
NO_RESULTS_ON_PAGE = 30036744;public static final int PARTIAL_SUCCESS_VALUE
Success is reported, but some results may be missing due to errors
PARTIAL_SUCCESS = 39966469;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;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;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;public static final int SCHEMA_VALIDATION_IGNORED_VALUE
When a resource schema validation is ignored.
SCHEMA_VALIDATION_IGNORED = 275245642;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;public static final int UNDECLARED_PROPERTIES_VALUE
When undeclared properties in the schema are present
UNDECLARED_PROPERTIES = 390513439;public static final int UNREACHABLE_VALUE
A given scope cannot be reached.
UNREACHABLE = 13328052;public static Warning.Code[] values()
for (Warning.Code c : Warning.Code.values()) System.out.println(c);
public static Warning.Code valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Warning.Code valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Warning.Code forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Warning.Code> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Warning.Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.