Interface TcpRoute.RouteActionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TcpRoute.RouteAction, TcpRoute.RouteAction.Builder
Enclosing class:
TcpRoute

public static interface TcpRoute.RouteActionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDestinationsList

      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.cloud.networkservices.v1.TcpRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getDestinations

      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.cloud.networkservices.v1.TcpRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getDestinationsCount

      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.cloud.networkservices.v1.TcpRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getDestinationsOrBuilderList

      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.cloud.networkservices.v1.TcpRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getDestinationsOrBuilder

      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.cloud.networkservices.v1.TcpRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getOriginalDestination

      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 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The originalDestination.
    • hasIdleTimeout

      boolean hasIdleTimeout()
       Optional. Specifies the idle timeout for the selected route. The idle
       timeout is defined as the period in which there are no bytes sent or
       received on either the upstream or downstream connection. If not set, the
       default idle timeout is 30 seconds. If set to 0s, the timeout will be
       disabled.
       
      .google.protobuf.Duration idle_timeout = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the idleTimeout field is set.
    • getIdleTimeout

      com.google.protobuf.Duration getIdleTimeout()
       Optional. Specifies the idle timeout for the selected route. The idle
       timeout is defined as the period in which there are no bytes sent or
       received on either the upstream or downstream connection. If not set, the
       default idle timeout is 30 seconds. If set to 0s, the timeout will be
       disabled.
       
      .google.protobuf.Duration idle_timeout = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The idleTimeout.
    • getIdleTimeoutOrBuilder

      com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
       Optional. Specifies the idle timeout for the selected route. The idle
       timeout is defined as the period in which there are no bytes sent or
       received on either the upstream or downstream connection. If not set, the
       default idle timeout is 30 seconds. If set to 0s, the timeout will be
       disabled.
       
      .google.protobuf.Duration idle_timeout = 5 [(.google.api.field_behavior) = OPTIONAL];