Enum State (2.49.0)

public enum State extends Enum<State> implements ProtocolMessageEnum

Whether or not a service has been enabled for use by a consumer.

Protobuf enum google.api.serviceusage.v1.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
DISABLED

The service cannot be used by this consumer. It has either been explicitly disabled, or has never been enabled.

DISABLED = 1;

DISABLED_VALUE

The service cannot be used by this consumer. It has either been explicitly disabled, or has never been enabled.

DISABLED = 1;

ENABLED

The service has been explicitly enabled for use by this consumer.

ENABLED = 2;

ENABLED_VALUE

The service has been explicitly enabled for use by this consumer.

ENABLED = 2;

STATE_UNSPECIFIED

The default value, which indicates that the enabled state of the service is unspecified or not meaningful. Currently, all consumers other than projects (such as folders and organizations) are always in this state.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

The default value, which indicates that the enabled state of the service is unspecified or not meaningful. Currently, all consumers other than projects (such as folders and organizations) are always in this state.

STATE_UNSPECIFIED = 0;

UNRECOGNIZED

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()