Enum NetworkConnection.State (0.22.0)

public enum NetworkConnection.State extends Enum<NetworkConnection.State> implements ProtocolMessageEnum

Network connection state.

Protobuf enum google.cloud.migrationcenter.v1.NetworkConnection.State

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CLOSED

The connection is closed.

CLOSED = 5;

CLOSED_VALUE

The connection is closed.

CLOSED = 5;

CLOSING

The connection is being closed.

CLOSING = 4;

CLOSING_VALUE

The connection is being closed.

CLOSING = 4;

LISTEN

Listening for incoming connections.

LISTEN = 3;

LISTEN_VALUE

Listening for incoming connections.

LISTEN = 3;

OPEN

The connection is open.

OPEN = 2;

OPENING

The connection is being opened.

OPENING = 1;

OPENING_VALUE

The connection is being opened.

OPENING = 1;

OPEN_VALUE

The connection is open.

OPEN = 2;

STATE_UNSPECIFIED

Connection state is unknown or unspecified.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Connection state is unknown or unspecified.

STATE_UNSPECIFIED = 0;

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