public static interface TcpRoute.RouteActionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDestinations(int index)
public abstract TcpRoute.RouteDestination getDestinations(int index)
Optional. The destination services to which traffic should be forwarded. At least one destination service is required. Only one of route destination or original destination can be set.
repeated .google.events.cloud.networkservices.v1.TcpRoute.RouteDestination destinations = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TcpRoute.RouteDestination |
getDestinationsCount()
public abstract int getDestinationsCount()
Optional. The destination services to which traffic should be forwarded. At least one destination service is required. Only one of route destination or original destination can be set.
repeated .google.events.cloud.networkservices.v1.TcpRoute.RouteDestination destinations = 1;
Returns | |
---|---|
Type | Description |
int |
getDestinationsList()
public abstract List<TcpRoute.RouteDestination> getDestinationsList()
Optional. The destination services to which traffic should be forwarded. At least one destination service is required. Only one of route destination or original destination can be set.
repeated .google.events.cloud.networkservices.v1.TcpRoute.RouteDestination destinations = 1;
Returns | |
---|---|
Type | Description |
List<RouteDestination> |
getDestinationsOrBuilder(int index)
public abstract TcpRoute.RouteDestinationOrBuilder getDestinationsOrBuilder(int index)
Optional. The destination services to which traffic should be forwarded. At least one destination service is required. Only one of route destination or original destination can be set.
repeated .google.events.cloud.networkservices.v1.TcpRoute.RouteDestination destinations = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TcpRoute.RouteDestinationOrBuilder |
getDestinationsOrBuilderList()
public abstract List<? extends TcpRoute.RouteDestinationOrBuilder> getDestinationsOrBuilderList()
Optional. The destination services to which traffic should be forwarded. At least one destination service is required. Only one of route destination or original destination can be set.
repeated .google.events.cloud.networkservices.v1.TcpRoute.RouteDestination destinations = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.events.cloud.networkservices.v1.TcpRoute.RouteDestinationOrBuilder> |
getOriginalDestination()
public abstract boolean getOriginalDestination()
Optional. If true, Router will use the destination IP and port of the original connection as the destination of the request. Default is false. Only one of route destinations or original destination can be set.
bool original_destination = 3;
Returns | |
---|---|
Type | Description |
boolean |
The originalDestination. |