Interface TlsRoute.RouteActionOrBuilder (0.23.0)

public static interface TlsRoute.RouteActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestinations(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
TlsRoute.RouteDestination

getDestinationsCount()

public abstract 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];

Returns
Type Description
int

getDestinationsList()

public abstract 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];

Returns
Type Description
List<RouteDestination>

getDestinationsOrBuilder(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
TlsRoute.RouteDestinationOrBuilder

getDestinationsOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.networkservices.v1.TlsRoute.RouteDestinationOrBuilder>

getIdleTimeout()

public abstract 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
Type Description
Duration

The idleTimeout.

getIdleTimeoutOrBuilder()

public abstract 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];

Returns
Type Description
DurationOrBuilder

hasIdleTimeout()

public abstract 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
Type Description
boolean

Whether the idleTimeout field is set.