Interface TlsRoute.RouteActionOrBuilder

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

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

    • getDestinationsList

      List<TlsRoute.RouteDestination> getDestinationsList()
       Required. The destination services to which traffic should be forwarded.
       At least one destination service is required.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDestinations

      TlsRoute.RouteDestination getDestinations(int index)
       Required. The destination services to which traffic should be forwarded.
       At least one destination service is required.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDestinationsCount

      int getDestinationsCount()
       Required. The destination services to which traffic should be forwarded.
       At least one destination service is required.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDestinationsOrBuilderList

      List<? extends TlsRoute.RouteDestinationOrBuilder> getDestinationsOrBuilderList()
       Required. The destination services to which traffic should be forwarded.
       At least one destination service is required.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDestinationsOrBuilder

      TlsRoute.RouteDestinationOrBuilder getDestinationsOrBuilder(int index)
       Required. The destination services to which traffic should be forwarded.
       At least one destination service is required.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
    • 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 1 hour. If set to 0s, the timeout will be
       disabled.
       
      .google.protobuf.Duration idle_timeout = 4 [(.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 1 hour. If set to 0s, the timeout will be
       disabled.
       
      .google.protobuf.Duration idle_timeout = 4 [(.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 1 hour. If set to 0s, the timeout will be
       disabled.
       
      .google.protobuf.Duration idle_timeout = 4 [(.google.api.field_behavior) = OPTIONAL];