接口 VirtualServiceOuterClass.HTTPRouteOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
VirtualServiceOuterClass.HTTPRoute, VirtualServiceOuterClass.HTTPRoute.Builder
封闭类:
VirtualServiceOuterClass

public static interface VirtualServiceOuterClass.HTTPRouteOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法详细资料

    • getName

      String getName()
       The name assigned to the route for debugging purposes. The
       route's name will be concatenated with the match's name and will
       be logged in the access logs for requests matching this
       route/match.
       
      string name = 17;
      返回:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name assigned to the route for debugging purposes. The
       route's name will be concatenated with the match's name and will
       be logged in the access logs for requests matching this
       route/match.
       
      string name = 17;
      返回:
      The bytes for name.
    • getMatchList

       Match conditions to be satisfied for the rule to be
       activated. All conditions inside a single match block have AND
       semantics, while the list of match blocks have OR semantics. The rule
       is matched if any one of the match blocks succeed.
       
      repeated .istio.networking.v1alpha3.HTTPMatchRequest match = 1;
    • getMatch

       Match conditions to be satisfied for the rule to be
       activated. All conditions inside a single match block have AND
       semantics, while the list of match blocks have OR semantics. The rule
       is matched if any one of the match blocks succeed.
       
      repeated .istio.networking.v1alpha3.HTTPMatchRequest match = 1;
    • getMatchCount

      int getMatchCount()
       Match conditions to be satisfied for the rule to be
       activated. All conditions inside a single match block have AND
       semantics, while the list of match blocks have OR semantics. The rule
       is matched if any one of the match blocks succeed.
       
      repeated .istio.networking.v1alpha3.HTTPMatchRequest match = 1;
    • getMatchOrBuilderList

      List<? extends VirtualServiceOuterClass.HTTPMatchRequestOrBuilder> getMatchOrBuilderList()
       Match conditions to be satisfied for the rule to be
       activated. All conditions inside a single match block have AND
       semantics, while the list of match blocks have OR semantics. The rule
       is matched if any one of the match blocks succeed.
       
      repeated .istio.networking.v1alpha3.HTTPMatchRequest match = 1;
    • getMatchOrBuilder

       Match conditions to be satisfied for the rule to be
       activated. All conditions inside a single match block have AND
       semantics, while the list of match blocks have OR semantics. The rule
       is matched if any one of the match blocks succeed.
       
      repeated .istio.networking.v1alpha3.HTTPMatchRequest match = 1;
    • getRouteList

       A HTTP rule can either redirect or forward (default) traffic. The
       forwarding target can be one of several versions of a service (see
       glossary in beginning of document). Weights associated with the
       service version determine the proportion of traffic it receives.
       
      repeated .istio.networking.v1alpha3.HTTPRouteDestination route = 2;
    • getRoute

       A HTTP rule can either redirect or forward (default) traffic. The
       forwarding target can be one of several versions of a service (see
       glossary in beginning of document). Weights associated with the
       service version determine the proportion of traffic it receives.
       
      repeated .istio.networking.v1alpha3.HTTPRouteDestination route = 2;
    • getRouteCount

      int getRouteCount()
       A HTTP rule can either redirect or forward (default) traffic. The
       forwarding target can be one of several versions of a service (see
       glossary in beginning of document). Weights associated with the
       service version determine the proportion of traffic it receives.
       
      repeated .istio.networking.v1alpha3.HTTPRouteDestination route = 2;
    • getRouteOrBuilderList

       A HTTP rule can either redirect or forward (default) traffic. The
       forwarding target can be one of several versions of a service (see
       glossary in beginning of document). Weights associated with the
       service version determine the proportion of traffic it receives.
       
      repeated .istio.networking.v1alpha3.HTTPRouteDestination route = 2;
    • getRouteOrBuilder

       A HTTP rule can either redirect or forward (default) traffic. The
       forwarding target can be one of several versions of a service (see
       glossary in beginning of document). Weights associated with the
       service version determine the proportion of traffic it receives.
       
      repeated .istio.networking.v1alpha3.HTTPRouteDestination route = 2;
    • hasRedirect

      boolean hasRedirect()
       A HTTP rule can either redirect or forward (default) traffic. If
       traffic passthrough option is specified in the rule,
       route/redirect will be ignored. The redirect primitive can be used to
       send a HTTP 301 redirect to a different URI or Authority.
       
      .istio.networking.v1alpha3.HTTPRedirect redirect = 3;
      返回:
      Whether the redirect field is set.
    • getRedirect

       A HTTP rule can either redirect or forward (default) traffic. If
       traffic passthrough option is specified in the rule,
       route/redirect will be ignored. The redirect primitive can be used to
       send a HTTP 301 redirect to a different URI or Authority.
       
      .istio.networking.v1alpha3.HTTPRedirect redirect = 3;
      返回:
      The redirect.
    • getRedirectOrBuilder

       A HTTP rule can either redirect or forward (default) traffic. If
       traffic passthrough option is specified in the rule,
       route/redirect will be ignored. The redirect primitive can be used to
       send a HTTP 301 redirect to a different URI or Authority.
       
      .istio.networking.v1alpha3.HTTPRedirect redirect = 3;
    • hasDelegate

      boolean hasDelegate()
       Delegate is used to specify the particular VirtualService which
       can be used to define delegate HTTPRoute.
       It can be set only when `Route` and `Redirect` are empty, and the route rules of the
       delegate VirtualService will be merged with that in the current one.
       **NOTE**:
          1. Only one level delegation is supported.
          2. The delegate's HTTPMatchRequest must be a strict subset of the root's,
             otherwise there is a conflict and the HTTPRoute will not take effect.
       
      .istio.networking.v1alpha3.Delegate delegate = 20;
      返回:
      Whether the delegate field is set.
    • getDelegate

       Delegate is used to specify the particular VirtualService which
       can be used to define delegate HTTPRoute.
       It can be set only when `Route` and `Redirect` are empty, and the route rules of the
       delegate VirtualService will be merged with that in the current one.
       **NOTE**:
          1. Only one level delegation is supported.
          2. The delegate's HTTPMatchRequest must be a strict subset of the root's,
             otherwise there is a conflict and the HTTPRoute will not take effect.
       
      .istio.networking.v1alpha3.Delegate delegate = 20;
      返回:
      The delegate.
    • getDelegateOrBuilder

       Delegate is used to specify the particular VirtualService which
       can be used to define delegate HTTPRoute.
       It can be set only when `Route` and `Redirect` are empty, and the route rules of the
       delegate VirtualService will be merged with that in the current one.
       **NOTE**:
          1. Only one level delegation is supported.
          2. The delegate's HTTPMatchRequest must be a strict subset of the root's,
             otherwise there is a conflict and the HTTPRoute will not take effect.
       
      .istio.networking.v1alpha3.Delegate delegate = 20;
    • hasRewrite

      boolean hasRewrite()
       Rewrite HTTP URIs and Authority headers. Rewrite cannot be used with
       Redirect primitive. Rewrite will be performed before forwarding.
       
      .istio.networking.v1alpha3.HTTPRewrite rewrite = 4;
      返回:
      Whether the rewrite field is set.
    • getRewrite

       Rewrite HTTP URIs and Authority headers. Rewrite cannot be used with
       Redirect primitive. Rewrite will be performed before forwarding.
       
      .istio.networking.v1alpha3.HTTPRewrite rewrite = 4;
      返回:
      The rewrite.
    • getRewriteOrBuilder

       Rewrite HTTP URIs and Authority headers. Rewrite cannot be used with
       Redirect primitive. Rewrite will be performed before forwarding.
       
      .istio.networking.v1alpha3.HTTPRewrite rewrite = 4;
    • hasTimeout

      boolean hasTimeout()
       Timeout for HTTP requests, default is disabled.
       
      .google.protobuf.Duration timeout = 6;
      返回:
      Whether the timeout field is set.
    • getTimeout

      com.google.protobuf.Duration getTimeout()
       Timeout for HTTP requests, default is disabled.
       
      .google.protobuf.Duration timeout = 6;
      返回:
      The timeout.
    • getTimeoutOrBuilder

      com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
       Timeout for HTTP requests, default is disabled.
       
      .google.protobuf.Duration timeout = 6;
    • hasRetries

      boolean hasRetries()
       Retry policy for HTTP requests.
       
      .istio.networking.v1alpha3.HTTPRetry retries = 7;
      返回:
      Whether the retries field is set.
    • getRetries

       Retry policy for HTTP requests.
       
      .istio.networking.v1alpha3.HTTPRetry retries = 7;
      返回:
      The retries.
    • getRetriesOrBuilder

       Retry policy for HTTP requests.
       
      .istio.networking.v1alpha3.HTTPRetry retries = 7;
    • hasFault

      boolean hasFault()
       Fault injection policy to apply on HTTP traffic at the client side.
       Note that timeouts or retries will not be enabled when faults are
       enabled on the client side.
       
      .istio.networking.v1alpha3.HTTPFaultInjection fault = 8;
      返回:
      Whether the fault field is set.
    • getFault

       Fault injection policy to apply on HTTP traffic at the client side.
       Note that timeouts or retries will not be enabled when faults are
       enabled on the client side.
       
      .istio.networking.v1alpha3.HTTPFaultInjection fault = 8;
      返回:
      The fault.
    • getFaultOrBuilder

       Fault injection policy to apply on HTTP traffic at the client side.
       Note that timeouts or retries will not be enabled when faults are
       enabled on the client side.
       
      .istio.networking.v1alpha3.HTTPFaultInjection fault = 8;
    • hasMirror

      boolean hasMirror()
       Mirror HTTP traffic to a another destination in addition to forwarding
       the requests to the intended destination. Mirrored traffic is on a
       best effort basis where the sidecar/gateway will not wait for the
       mirrored cluster to respond before returning the response from the
       original destination.  Statistics will be generated for the mirrored
       destination.
       
      .istio.networking.v1alpha3.Destination mirror = 9;
      返回:
      Whether the mirror field is set.
    • getMirror

       Mirror HTTP traffic to a another destination in addition to forwarding
       the requests to the intended destination. Mirrored traffic is on a
       best effort basis where the sidecar/gateway will not wait for the
       mirrored cluster to respond before returning the response from the
       original destination.  Statistics will be generated for the mirrored
       destination.
       
      .istio.networking.v1alpha3.Destination mirror = 9;
      返回:
      The mirror.
    • getMirrorOrBuilder

       Mirror HTTP traffic to a another destination in addition to forwarding
       the requests to the intended destination. Mirrored traffic is on a
       best effort basis where the sidecar/gateway will not wait for the
       mirrored cluster to respond before returning the response from the
       original destination.  Statistics will be generated for the mirrored
       destination.
       
      .istio.networking.v1alpha3.Destination mirror = 9;
    • hasMirrorPercent

      @Deprecated boolean hasMirrorPercent()
      已过时。
      istio.networking.v1alpha3.HTTPRoute.mirror_percent is deprecated. See networking/v1alpha3/virtual_service.proto;l=627
       Percentage of the traffic to be mirrored by the `mirror` field.
       Use of integer `mirror_percent` value is deprecated. Use the
       double `mirror_percentage` field instead
       
      .google.protobuf.UInt32Value mirror_percent = 18 [deprecated = true];
      返回:
      Whether the mirrorPercent field is set.
    • getMirrorPercent

      @Deprecated com.google.protobuf.UInt32Value getMirrorPercent()
      已过时。
      istio.networking.v1alpha3.HTTPRoute.mirror_percent is deprecated. See networking/v1alpha3/virtual_service.proto;l=627
       Percentage of the traffic to be mirrored by the `mirror` field.
       Use of integer `mirror_percent` value is deprecated. Use the
       double `mirror_percentage` field instead
       
      .google.protobuf.UInt32Value mirror_percent = 18 [deprecated = true];
      返回:
      The mirrorPercent.
    • getMirrorPercentOrBuilder

      @Deprecated com.google.protobuf.UInt32ValueOrBuilder getMirrorPercentOrBuilder()
      已过时。
       Percentage of the traffic to be mirrored by the `mirror` field.
       Use of integer `mirror_percent` value is deprecated. Use the
       double `mirror_percentage` field instead
       
      .google.protobuf.UInt32Value mirror_percent = 18 [deprecated = true];
    • hasMirrorPercentage

      boolean hasMirrorPercentage()
       Percentage of the traffic to be mirrored by the `mirror` field.
       If this field is absent, all the traffic (100%) will be mirrored.
       Max value is 100.
       
      .istio.networking.v1alpha3.Percent mirror_percentage = 19;
      返回:
      Whether the mirrorPercentage field is set.
    • getMirrorPercentage

      VirtualServiceOuterClass.Percent getMirrorPercentage()
       Percentage of the traffic to be mirrored by the `mirror` field.
       If this field is absent, all the traffic (100%) will be mirrored.
       Max value is 100.
       
      .istio.networking.v1alpha3.Percent mirror_percentage = 19;
      返回:
      The mirrorPercentage.
    • getMirrorPercentageOrBuilder

      VirtualServiceOuterClass.PercentOrBuilder getMirrorPercentageOrBuilder()
       Percentage of the traffic to be mirrored by the `mirror` field.
       If this field is absent, all the traffic (100%) will be mirrored.
       Max value is 100.
       
      .istio.networking.v1alpha3.Percent mirror_percentage = 19;
    • hasCorsPolicy

      boolean hasCorsPolicy()
       Cross-Origin Resource Sharing policy (CORS). Refer to
       [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)
       for further details about cross origin resource sharing.
       
      .istio.networking.v1alpha3.CorsPolicy cors_policy = 10;
      返回:
      Whether the corsPolicy field is set.
    • getCorsPolicy

       Cross-Origin Resource Sharing policy (CORS). Refer to
       [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)
       for further details about cross origin resource sharing.
       
      .istio.networking.v1alpha3.CorsPolicy cors_policy = 10;
      返回:
      The corsPolicy.
    • getCorsPolicyOrBuilder

       Cross-Origin Resource Sharing policy (CORS). Refer to
       [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)
       for further details about cross origin resource sharing.
       
      .istio.networking.v1alpha3.CorsPolicy cors_policy = 10;
    • hasHeaders

      boolean hasHeaders()
       Header manipulation rules
       
      .istio.networking.v1alpha3.Headers headers = 16;
      返回:
      Whether the headers field is set.
    • getHeaders

       Header manipulation rules
       
      .istio.networking.v1alpha3.Headers headers = 16;
      返回:
      The headers.
    • getHeadersOrBuilder

       Header manipulation rules
       
      .istio.networking.v1alpha3.Headers headers = 16;