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
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ACCEPT_AUTOMATIC |
|
ACCEPT_AUTOMATIC_VALUE |
|
ACCEPT_MANUAL |
|
ACCEPT_MANUAL_VALUE |
|
CONNECTION_PREFERENCE_UNSPECIFIED |
|
CONNECTION_PREFERENCE_UNSPECIFIED_VALUE |
|
UNDEFINED_CONNECTION_PREFERENCE |
A value indicating that the enum field is not set. |
UNDEFINED_CONNECTION_PREFERENCE_VALUE |
A value indicating that the enum field is not set. |
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() |