Interface HttpRoute.RouteRuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpRoute.RouteRule,HttpRoute.RouteRule.Builder
- Enclosing class:
- HttpRoute
public static interface HttpRoute.RouteRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe detailed rule defining how to route matched traffic.The detailed rule defining how to route matched traffic.getMatches(int index) A list of matches define conditions used for matching the rule against incoming HTTP requests.intA list of matches define conditions used for matching the rule against incoming HTTP requests.A list of matches define conditions used for matching the rule against incoming HTTP requests.getMatchesOrBuilder(int index) A list of matches define conditions used for matching the rule against incoming HTTP requests.List<? extends HttpRoute.RouteMatchOrBuilder>A list of matches define conditions used for matching the rule against incoming HTTP requests.booleanThe detailed rule defining how to route matched traffic.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
-
getMatchesList
List<HttpRoute.RouteMatch> getMatchesList()A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
repeated .google.cloud.networkservices.v1.HttpRoute.RouteMatch matches = 1; -
getMatches
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
repeated .google.cloud.networkservices.v1.HttpRoute.RouteMatch matches = 1; -
getMatchesCount
int getMatchesCount()A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
repeated .google.cloud.networkservices.v1.HttpRoute.RouteMatch matches = 1; -
getMatchesOrBuilderList
List<? extends HttpRoute.RouteMatchOrBuilder> getMatchesOrBuilderList()A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
repeated .google.cloud.networkservices.v1.HttpRoute.RouteMatch matches = 1; -
getMatchesOrBuilder
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
repeated .google.cloud.networkservices.v1.HttpRoute.RouteMatch matches = 1; -
hasAction
boolean hasAction()The detailed rule defining how to route matched traffic.
.google.cloud.networkservices.v1.HttpRoute.RouteAction action = 2;- Returns:
- Whether the action field is set.
-
getAction
HttpRoute.RouteAction getAction()The detailed rule defining how to route matched traffic.
.google.cloud.networkservices.v1.HttpRoute.RouteAction action = 2;- Returns:
- The action.
-
getActionOrBuilder
HttpRoute.RouteActionOrBuilder getActionOrBuilder()The detailed rule defining how to route matched traffic.
.google.cloud.networkservices.v1.HttpRoute.RouteAction action = 2;
-