Interface TlsRoute.RouteRuleOrBuilder

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

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

    • getMatchesList

      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. Atleast one
       RouteMatch must be supplied.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMatches

      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. Atleast one
       RouteMatch must be supplied.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMatchesCount

      int getMatchesCount()
       Required. RouteMatch defines the predicate used to match requests to a
       given action. Multiple match types are "OR"ed for evaluation. Atleast one
       RouteMatch must be supplied.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMatchesOrBuilderList

      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. Atleast one
       RouteMatch must be supplied.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMatchesOrBuilder

      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. Atleast one
       RouteMatch must be supplied.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasAction

      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:
      Whether the action field is set.
    • 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:
      The action.
    • getActionOrBuilder

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