Interface TlsRoute.RouteRuleOrBuilder (0.5.0)

public static interface TlsRoute.RouteRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAction()

public abstract TlsRoute.RouteAction getAction()

Required. The detailed rule defining how to route matched traffic.

.google.cloud.networkservices.v1.TlsRoute.RouteAction action = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TlsRoute.RouteAction

The action.

getActionOrBuilder()

public abstract TlsRoute.RouteActionOrBuilder getActionOrBuilder()

Required. The detailed rule defining how to route matched traffic.

.google.cloud.networkservices.v1.TlsRoute.RouteAction action = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TlsRoute.RouteActionOrBuilder

getMatches(int index)

public abstract TlsRoute.RouteMatch getMatches(int index)

Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.

repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
TlsRoute.RouteMatch

getMatchesCount()

public abstract int getMatchesCount()

Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.

repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getMatchesList()

public abstract List<TlsRoute.RouteMatch> getMatchesList()

Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.

repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<RouteMatch>

getMatchesOrBuilder(int index)

public abstract TlsRoute.RouteMatchOrBuilder getMatchesOrBuilder(int index)

Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.

repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
TlsRoute.RouteMatchOrBuilder

getMatchesOrBuilderList()

public abstract List<? extends TlsRoute.RouteMatchOrBuilder> getMatchesOrBuilderList()

Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.

repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];

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

hasAction()

public abstract boolean hasAction()

Required. The detailed rule defining how to route matched traffic.

.google.cloud.networkservices.v1.TlsRoute.RouteAction action = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the action field is set.