Enum ServiceConnectionMap.ConsumerPscConnection.State (1.61.0)

public enum ServiceConnectionMap.ConsumerPscConnection.State extends Enum<ServiceConnectionMap.ConsumerPscConnection.State> implements ProtocolMessageEnum

The state of the PSC connection. We reserve the right to add more states without notice in the future. Users should not use exhaustive switch statements on this enum. See https://google.aip.dev/216.

Protobuf enum google.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVE

The connection has been created successfully. However, for the up-to-date connection status, please use the service attachment's "ConnectedEndpoint.status" as the source of truth.

ACTIVE = 1;

ACTIVE_VALUE

The connection has been created successfully. However, for the up-to-date connection status, please use the service attachment's "ConnectedEndpoint.status" as the source of truth.

ACTIVE = 1;

CREATE_REPAIRING

The connection is being repaired to complete creation.

CREATE_REPAIRING = 5;

CREATE_REPAIRING_VALUE

The connection is being repaired to complete creation.

CREATE_REPAIRING = 5;

CREATING

The connection is being created.

CREATING = 3;

CREATING_VALUE

The connection is being created.

CREATING = 3;

DELETE_REPAIRING

The connection is being repaired to complete deletion.

DELETE_REPAIRING = 6;

DELETE_REPAIRING_VALUE

The connection is being repaired to complete deletion.

DELETE_REPAIRING = 6;

DELETING

The connection is being deleted.

DELETING = 4;

DELETING_VALUE

The connection is being deleted.

DELETING = 4;

FAILED

The connection is not functional since some resources on the connection fail to be created.

FAILED = 2;

FAILED_VALUE

The connection is not functional since some resources on the connection fail to be created.

FAILED = 2;

STATE_UNSPECIFIED

An invalid state as the default case.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

An invalid state as the default case.

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