Enum ConnectionState (3.51.0)

public enum ConnectionState extends Enum<ConnectionState> implements ProtocolMessageEnum

State of the connection. New values may be added over time.

Protobuf enum google.privacy.dlp.v2.ConnectionState

Implements

ProtocolMessageEnum

Static Fields

Name Description
AVAILABLE

A configured connection that has not encountered any errors.

AVAILABLE = 2;

AVAILABLE_VALUE

A configured connection that has not encountered any errors.

AVAILABLE = 2;

CONNECTION_STATE_UNSPECIFIED

Unused

CONNECTION_STATE_UNSPECIFIED = 0;

CONNECTION_STATE_UNSPECIFIED_VALUE

Unused

CONNECTION_STATE_UNSPECIFIED = 0;

ERROR

A configured connection that encountered errors during its last use. It will not be used again until it is set to AVAILABLE.

If the resolution requires external action, then the client must send a request to set the status to AVAILABLE when the connection is ready for use. If the resolution doesn't require external action, then any changes to the connection properties will automatically mark it as AVAILABLE.

ERROR = 3;

ERROR_VALUE

A configured connection that encountered errors during its last use. It will not be used again until it is set to AVAILABLE.

If the resolution requires external action, then the client must send a request to set the status to AVAILABLE when the connection is ready for use. If the resolution doesn't require external action, then any changes to the connection properties will automatically mark it as AVAILABLE.

ERROR = 3;

MISSING_CREDENTIALS

DLP automatically created this connection during an initial scan, and it is awaiting full configuration by a user.

MISSING_CREDENTIALS = 1;

MISSING_CREDENTIALS_VALUE

DLP automatically created this connection during an initial scan, and it is awaiting full configuration by a user.

MISSING_CREDENTIALS = 1;

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