Enum Api.State (2.80.0)

publicenumApi.StateextendsEnum<Api.State>implementsProtocolMessageEnum

All the possible API states.

Protobuf enum google.cloud.apigateway.v1.Api.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVE

API is active.

ACTIVE = 2;

ACTIVE_VALUE

API is active.

ACTIVE = 2;

CREATING

API is being created.

CREATING = 1;

CREATING_VALUE

API is being created.

CREATING = 1;

DELETING

API is being deleted.

DELETING = 4;

DELETING_VALUE

API is being deleted.

DELETING = 4;

FAILED

API creation failed.

FAILED = 3;

FAILED_VALUE

API creation failed.

FAILED = 3;

STATE_UNSPECIFIED

API does not have a state yet.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

API does not have a state yet.

STATE_UNSPECIFIED = 0;

UNRECOGNIZED
UPDATING

API is being updated.

UPDATING = 5;

UPDATING_VALUE

API is being updated.

UPDATING = 5;

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.