Enum PolicyMode (1.54.0)

public enum PolicyMode extends Enum<PolicyMode> implements ProtocolMessageEnum

This enum controls the policy mode used in a hub.

Protobuf enum google.cloud.networkconnectivity.v1.PolicyMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
POLICY_MODE_UNSPECIFIED

Policy mode is unspecified. It defaults to PRESET with preset_topology = MESH.

POLICY_MODE_UNSPECIFIED = 0;

POLICY_MODE_UNSPECIFIED_VALUE

Policy mode is unspecified. It defaults to PRESET with preset_topology = MESH.

POLICY_MODE_UNSPECIFIED = 0;

PRESET

Hub uses one of the preset topologies.

PRESET = 1;

PRESET_VALUE

Hub uses one of the preset topologies.

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