Enum Gateway.RoutingMode (0.23.0)

public enum Gateway.RoutingMode extends Enum<Gateway.RoutingMode> implements ProtocolMessageEnum

The routing mode of the Gateway, to determine how the Gateway routes traffic. Today, this field only applies to Gateways of type SECURE_WEB_GATEWAY. Possible values are:

  • EXPLICIT_ROUTING_MODE
  • NEXT_HOP_ROUTING_MODE

Protobuf enum google.cloud.networkservices.v1.Gateway.RoutingMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
EXPLICIT_ROUTING_MODE

The routing mode is explicit; clients are configured to send traffic through the gateway. This is the default routing mode.

EXPLICIT_ROUTING_MODE = 0;

EXPLICIT_ROUTING_MODE_VALUE

The routing mode is explicit; clients are configured to send traffic through the gateway. This is the default routing mode.

EXPLICIT_ROUTING_MODE = 0;

NEXT_HOP_ROUTING_MODE

The routing mode is next-hop. Clients are unaware of the gateway, and a route (advanced route or other route type) can be configured to direct traffic from client to gateway. The gateway then acts as a next-hop to the destination.

NEXT_HOP_ROUTING_MODE = 1;

NEXT_HOP_ROUTING_MODE_VALUE

The routing mode is next-hop. Clients are unaware of the gateway, and a route (advanced route or other route type) can be configured to direct traffic from client to gateway. The gateway then acts as a next-hop to the destination.

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