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 Summary
Modifier and TypeMethodDescriptiongetDestinations(int index) Required.intRequired.Required.getDestinationsOrBuilder(int index) Required.List<? extends TlsRoute.RouteDestinationOrBuilder>Required.com.google.protobuf.DurationOptional.com.google.protobuf.DurationOrBuilderOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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];
-