Enum ServiceAttachment.ConnectionPreference (1.58.0)

public enum ServiceAttachment.ConnectionPreference extends Enum<ServiceAttachment.ConnectionPreference> implements ProtocolMessageEnum

The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules.

Protobuf enum google.cloud.compute.v1.ServiceAttachment.ConnectionPreference

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACCEPT_AUTOMATIC

ACCEPT_AUTOMATIC = 75250580;

ACCEPT_AUTOMATIC_VALUE

ACCEPT_AUTOMATIC = 75250580;

ACCEPT_MANUAL

ACCEPT_MANUAL = 373061341;

ACCEPT_MANUAL_VALUE

ACCEPT_MANUAL = 373061341;

CONNECTION_PREFERENCE_UNSPECIFIED

CONNECTION_PREFERENCE_UNSPECIFIED = 34590772;

CONNECTION_PREFERENCE_UNSPECIFIED_VALUE

CONNECTION_PREFERENCE_UNSPECIFIED = 34590772;

UNDEFINED_CONNECTION_PREFERENCE

A value indicating that the enum field is not set.

UNDEFINED_CONNECTION_PREFERENCE = 0;

UNDEFINED_CONNECTION_PREFERENCE_VALUE

A value indicating that the enum field is not set.

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