Enum Warning.Code (1.8.1)

public enum Warning.Code extends Enum<Warning.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.Warning.Code

Implements

ProtocolMessageEnum

Static Fields

NameDescription
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;

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;

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_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;

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

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()