类 VirtualServiceOuterClass.HTTPMatchRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
istio.networking.v1alpha3.VirtualServiceOuterClass.HTTPMatchRequest
所有已实现的接口:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, VirtualServiceOuterClass.HTTPMatchRequestOrBuilder, Serializable
封闭类:
VirtualServiceOuterClass

public static final class VirtualServiceOuterClass.HTTPMatchRequest extends com.google.protobuf.GeneratedMessageV3 implements VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
 HttpMatchRequest specifies a set of criterion to be met in order for the
 rule to be applied to the HTTP request. For example, the following
 restricts the rule to match only requests where the URL path
 starts with /ratings/v2/ and the request contains a custom `end-user` header
 with value `jason`.

 {{<tabset category-name="example">}}
 {{<tab name="v1alpha3" category-value="v1alpha3">}}
 ```yaml
 apiVersion: networking.istio.io/v1alpha3
 kind: VirtualService
 metadata:
   name: ratings-route
 spec:
   hosts:
   - ratings.prod.svc.cluster.local
   http:
   - match:
     - headers:
         end-user:
           exact: jason
       uri:
         prefix: "/ratings/v2/"
       ignoreUriCase: true
     route:
     - destination:
         host: ratings.prod.svc.cluster.local
 ```
 {{</tab>}}

 {{<tab name="v1beta1" category-value="v1beta1">}}
 ```yaml
 apiVersion: networking.istio.io/v1beta1
 kind: VirtualService
 metadata:
   name: ratings-route
 spec:
   hosts:
   - ratings.prod.svc.cluster.local
   http:
   - match:
     - headers:
         end-user:
           exact: jason
       uri:
         prefix: "/ratings/v2/"
       ignoreUriCase: true
     route:
     - destination:
         host: ratings.prod.svc.cluster.local
 ```
 {{</tab>}}
 {{</tabset>}}

 HTTPMatchRequest CANNOT be empty.
 **Note:** No regex string match can be set when delegate VirtualService is specified.
 
Protobuf type istio.networking.v1alpha3.HTTPMatchRequest
另请参阅:
  • 字段详细资料

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      另请参阅:
    • URI_FIELD_NUMBER

      public static final int URI_FIELD_NUMBER
      另请参阅:
    • SCHEME_FIELD_NUMBER

      public static final int SCHEME_FIELD_NUMBER
      另请参阅:
    • METHOD_FIELD_NUMBER

      public static final int METHOD_FIELD_NUMBER
      另请参阅:
    • AUTHORITY_FIELD_NUMBER

      public static final int AUTHORITY_FIELD_NUMBER
      另请参阅:
    • HEADERS_FIELD_NUMBER

      public static final int HEADERS_FIELD_NUMBER
      另请参阅:
    • PORT_FIELD_NUMBER

      public static final int PORT_FIELD_NUMBER
      另请参阅:
    • SOURCE_LABELS_FIELD_NUMBER

      public static final int SOURCE_LABELS_FIELD_NUMBER
      另请参阅:
    • GATEWAYS_FIELD_NUMBER

      public static final int GATEWAYS_FIELD_NUMBER
      另请参阅:
    • QUERY_PARAMS_FIELD_NUMBER

      public static final int QUERY_PARAMS_FIELD_NUMBER
      另请参阅:
    • IGNORE_URI_CASE_FIELD_NUMBER

      public static final int IGNORE_URI_CASE_FIELD_NUMBER
      另请参阅:
    • WITHOUT_HEADERS_FIELD_NUMBER

      public static final int WITHOUT_HEADERS_FIELD_NUMBER
      另请参阅:
    • SOURCE_NAMESPACE_FIELD_NUMBER

      public static final int SOURCE_NAMESPACE_FIELD_NUMBER
      另请参阅:
  • 方法详细资料

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      覆盖:
      newInstance 在类中 com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      覆盖:
      internalGetMapFieldReflection 在类中 com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      指定者:
      internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3
    • getName

      public String getName()
       The name assigned to a match. The match's name will be
       concatenated with the parent route's name and will be logged in
       the access logs for requests matching this route.
       
      string name = 11;
      指定者:
      getName 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name assigned to a match. The match's name will be
       concatenated with the parent route's name and will be logged in
       the access logs for requests matching this route.
       
      string name = 11;
      指定者:
      getNameBytes 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      The bytes for name.
    • hasUri

      public boolean hasUri()
       URI to match
       values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       **Note:** Case-insensitive matching could be enabled via the
       `ignore_uri_case` flag.
       
      .istio.networking.v1alpha3.StringMatch uri = 1;
      指定者:
      hasUri 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      Whether the uri field is set.
    • getUri

       URI to match
       values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       **Note:** Case-insensitive matching could be enabled via the
       `ignore_uri_case` flag.
       
      .istio.networking.v1alpha3.StringMatch uri = 1;
      指定者:
      getUri 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      The uri.
    • getUriOrBuilder

       URI to match
       values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       **Note:** Case-insensitive matching could be enabled via the
       `ignore_uri_case` flag.
       
      .istio.networking.v1alpha3.StringMatch uri = 1;
      指定者:
      getUriOrBuilder 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • hasScheme

      public boolean hasScheme()
       URI Scheme
       values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       
      .istio.networking.v1alpha3.StringMatch scheme = 2;
      指定者:
      hasScheme 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      Whether the scheme field is set.
    • getScheme

       URI Scheme
       values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       
      .istio.networking.v1alpha3.StringMatch scheme = 2;
      指定者:
      getScheme 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      The scheme.
    • getSchemeOrBuilder

      public VirtualServiceOuterClass.StringMatchOrBuilder getSchemeOrBuilder()
       URI Scheme
       values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       
      .istio.networking.v1alpha3.StringMatch scheme = 2;
      指定者:
      getSchemeOrBuilder 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • hasMethod

      public boolean hasMethod()
       HTTP Method
       values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       
      .istio.networking.v1alpha3.StringMatch method = 3;
      指定者:
      hasMethod 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      Whether the method field is set.
    • getMethod

       HTTP Method
       values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       
      .istio.networking.v1alpha3.StringMatch method = 3;
      指定者:
      getMethod 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      The method.
    • getMethodOrBuilder

      public VirtualServiceOuterClass.StringMatchOrBuilder getMethodOrBuilder()
       HTTP Method
       values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       
      .istio.networking.v1alpha3.StringMatch method = 3;
      指定者:
      getMethodOrBuilder 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • hasAuthority

      public boolean hasAuthority()
       HTTP Authority
       values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       
      .istio.networking.v1alpha3.StringMatch authority = 4;
      指定者:
      hasAuthority 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      Whether the authority field is set.
    • getAuthority

      public VirtualServiceOuterClass.StringMatch getAuthority()
       HTTP Authority
       values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       
      .istio.networking.v1alpha3.StringMatch authority = 4;
      指定者:
      getAuthority 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      The authority.
    • getAuthorityOrBuilder

      public VirtualServiceOuterClass.StringMatchOrBuilder getAuthorityOrBuilder()
       HTTP Authority
       values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       
      .istio.networking.v1alpha3.StringMatch authority = 4;
      指定者:
      getAuthorityOrBuilder 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getHeadersCount

      public int getHeadersCount()
       The header keys must be lowercase and use hyphen as the separator,
       e.g. _x-request-id_.
      
       Header values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       If the value is empty and only the name of header is specfied, presence of the header is checked.
       **Note:** The keys `uri`, `scheme`, `method`, and `authority` will be ignored.
       
      map<string, .istio.networking.v1alpha3.StringMatch> headers = 5;
      指定者:
      getHeadersCount 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • containsHeaders

      public boolean containsHeaders(String key)
       The header keys must be lowercase and use hyphen as the separator,
       e.g. _x-request-id_.
      
       Header values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       If the value is empty and only the name of header is specfied, presence of the header is checked.
       **Note:** The keys `uri`, `scheme`, `method`, and `authority` will be ignored.
       
      map<string, .istio.networking.v1alpha3.StringMatch> headers = 5;
      指定者:
      containsHeaders 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getHeaders

      已过时。
      Use getHeadersMap() instead.
      指定者:
      getHeaders 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getHeadersMap

       The header keys must be lowercase and use hyphen as the separator,
       e.g. _x-request-id_.
      
       Header values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       If the value is empty and only the name of header is specfied, presence of the header is checked.
       **Note:** The keys `uri`, `scheme`, `method`, and `authority` will be ignored.
       
      map<string, .istio.networking.v1alpha3.StringMatch> headers = 5;
      指定者:
      getHeadersMap 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getHeadersOrDefault

      public VirtualServiceOuterClass.StringMatch getHeadersOrDefault(String key, VirtualServiceOuterClass.StringMatch defaultValue)
       The header keys must be lowercase and use hyphen as the separator,
       e.g. _x-request-id_.
      
       Header values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       If the value is empty and only the name of header is specfied, presence of the header is checked.
       **Note:** The keys `uri`, `scheme`, `method`, and `authority` will be ignored.
       
      map<string, .istio.networking.v1alpha3.StringMatch> headers = 5;
      指定者:
      getHeadersOrDefault 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getHeadersOrThrow

      public VirtualServiceOuterClass.StringMatch getHeadersOrThrow(String key)
       The header keys must be lowercase and use hyphen as the separator,
       e.g. _x-request-id_.
      
       Header values are case-sensitive and formatted as follows:
      
       - `exact: "value"` for exact string match
      
       - `prefix: "value"` for prefix-based match
      
       - `regex: "value"` for ECMAscript style regex-based match
      
       If the value is empty and only the name of header is specfied, presence of the header is checked.
       **Note:** The keys `uri`, `scheme`, `method`, and `authority` will be ignored.
       
      map<string, .istio.networking.v1alpha3.StringMatch> headers = 5;
      指定者:
      getHeadersOrThrow 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getPort

      public int getPort()
       Specifies the ports on the host that is being addressed. Many services
       only expose a single port or label ports with the protocols they support,
       in these cases it is not required to explicitly select the port.
       
      uint32 port = 6;
      指定者:
      getPort 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      The port.
    • getSourceLabelsCount

      public int getSourceLabelsCount()
       One or more labels that constrain the applicability of a rule to
       workloads with the given labels. If the VirtualService has a list of
       gateways specified in the top-level `gateways` field, it must include the reserved gateway
       `mesh` for this field to be applicable.
       
      map<string, string> source_labels = 7;
      指定者:
      getSourceLabelsCount 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • containsSourceLabels

      public boolean containsSourceLabels(String key)
       One or more labels that constrain the applicability of a rule to
       workloads with the given labels. If the VirtualService has a list of
       gateways specified in the top-level `gateways` field, it must include the reserved gateway
       `mesh` for this field to be applicable.
       
      map<string, string> source_labels = 7;
      指定者:
      containsSourceLabels 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getSourceLabels

      @Deprecated public Map<String,String> getSourceLabels()
      已过时。
      指定者:
      getSourceLabels 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getSourceLabelsMap

      public Map<String,String> getSourceLabelsMap()
       One or more labels that constrain the applicability of a rule to
       workloads with the given labels. If the VirtualService has a list of
       gateways specified in the top-level `gateways` field, it must include the reserved gateway
       `mesh` for this field to be applicable.
       
      map<string, string> source_labels = 7;
      指定者:
      getSourceLabelsMap 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getSourceLabelsOrDefault

      public String getSourceLabelsOrDefault(String key, String defaultValue)
       One or more labels that constrain the applicability of a rule to
       workloads with the given labels. If the VirtualService has a list of
       gateways specified in the top-level `gateways` field, it must include the reserved gateway
       `mesh` for this field to be applicable.
       
      map<string, string> source_labels = 7;
      指定者:
      getSourceLabelsOrDefault 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getSourceLabelsOrThrow

      public String getSourceLabelsOrThrow(String key)
       One or more labels that constrain the applicability of a rule to
       workloads with the given labels. If the VirtualService has a list of
       gateways specified in the top-level `gateways` field, it must include the reserved gateway
       `mesh` for this field to be applicable.
       
      map<string, string> source_labels = 7;
      指定者:
      getSourceLabelsOrThrow 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getGatewaysList

      public com.google.protobuf.ProtocolStringList getGatewaysList()
       Names of gateways where the rule should be applied. Gateway names
       in the top-level `gateways` field of the VirtualService (if any) are overridden. The gateway
       match is independent of sourceLabels.
       
      repeated string gateways = 8;
      指定者:
      getGatewaysList 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      A list containing the gateways.
    • getGatewaysCount

      public int getGatewaysCount()
       Names of gateways where the rule should be applied. Gateway names
       in the top-level `gateways` field of the VirtualService (if any) are overridden. The gateway
       match is independent of sourceLabels.
       
      repeated string gateways = 8;
      指定者:
      getGatewaysCount 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      The count of gateways.
    • getGateways

      public String getGateways(int index)
       Names of gateways where the rule should be applied. Gateway names
       in the top-level `gateways` field of the VirtualService (if any) are overridden. The gateway
       match is independent of sourceLabels.
       
      repeated string gateways = 8;
      指定者:
      getGateways 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      参数:
      index - The index of the element to return.
      返回:
      The gateways at the given index.
    • getGatewaysBytes

      public com.google.protobuf.ByteString getGatewaysBytes(int index)
       Names of gateways where the rule should be applied. Gateway names
       in the top-level `gateways` field of the VirtualService (if any) are overridden. The gateway
       match is independent of sourceLabels.
       
      repeated string gateways = 8;
      指定者:
      getGatewaysBytes 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      参数:
      index - The index of the value to return.
      返回:
      The bytes of the gateways at the given index.
    • getQueryParamsCount

      public int getQueryParamsCount()
       Query parameters for matching.
      
       Ex:
       - For a query parameter like "?key=true", the map key would be "key" and
         the string match could be defined as `exact: "true"`.
       - For a query parameter like "?key", the map key would be "key" and the
         string match could be defined as `exact: ""`.
       - For a query parameter like "?key=123", the map key would be "key" and the
         string match could be defined as `regex: "\d+$"`. Note that this
         configuration will only match values like "123" but not "a123" or "123a".
      
       **Note:** `prefix` matching is currently not supported.
       
      map<string, .istio.networking.v1alpha3.StringMatch> query_params = 9;
      指定者:
      getQueryParamsCount 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • containsQueryParams

      public boolean containsQueryParams(String key)
       Query parameters for matching.
      
       Ex:
       - For a query parameter like "?key=true", the map key would be "key" and
         the string match could be defined as `exact: "true"`.
       - For a query parameter like "?key", the map key would be "key" and the
         string match could be defined as `exact: ""`.
       - For a query parameter like "?key=123", the map key would be "key" and the
         string match could be defined as `regex: "\d+$"`. Note that this
         configuration will only match values like "123" but not "a123" or "123a".
      
       **Note:** `prefix` matching is currently not supported.
       
      map<string, .istio.networking.v1alpha3.StringMatch> query_params = 9;
      指定者:
      containsQueryParams 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getQueryParams

      已过时。
      Use getQueryParamsMap() instead.
      指定者:
      getQueryParams 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getQueryParamsMap

      public Map<String,VirtualServiceOuterClass.StringMatch> getQueryParamsMap()
       Query parameters for matching.
      
       Ex:
       - For a query parameter like "?key=true", the map key would be "key" and
         the string match could be defined as `exact: "true"`.
       - For a query parameter like "?key", the map key would be "key" and the
         string match could be defined as `exact: ""`.
       - For a query parameter like "?key=123", the map key would be "key" and the
         string match could be defined as `regex: "\d+$"`. Note that this
         configuration will only match values like "123" but not "a123" or "123a".
      
       **Note:** `prefix` matching is currently not supported.
       
      map<string, .istio.networking.v1alpha3.StringMatch> query_params = 9;
      指定者:
      getQueryParamsMap 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getQueryParamsOrDefault

      public VirtualServiceOuterClass.StringMatch getQueryParamsOrDefault(String key, VirtualServiceOuterClass.StringMatch defaultValue)
       Query parameters for matching.
      
       Ex:
       - For a query parameter like "?key=true", the map key would be "key" and
         the string match could be defined as `exact: "true"`.
       - For a query parameter like "?key", the map key would be "key" and the
         string match could be defined as `exact: ""`.
       - For a query parameter like "?key=123", the map key would be "key" and the
         string match could be defined as `regex: "\d+$"`. Note that this
         configuration will only match values like "123" but not "a123" or "123a".
      
       **Note:** `prefix` matching is currently not supported.
       
      map<string, .istio.networking.v1alpha3.StringMatch> query_params = 9;
      指定者:
      getQueryParamsOrDefault 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getQueryParamsOrThrow

      public VirtualServiceOuterClass.StringMatch getQueryParamsOrThrow(String key)
       Query parameters for matching.
      
       Ex:
       - For a query parameter like "?key=true", the map key would be "key" and
         the string match could be defined as `exact: "true"`.
       - For a query parameter like "?key", the map key would be "key" and the
         string match could be defined as `exact: ""`.
       - For a query parameter like "?key=123", the map key would be "key" and the
         string match could be defined as `regex: "\d+$"`. Note that this
         configuration will only match values like "123" but not "a123" or "123a".
      
       **Note:** `prefix` matching is currently not supported.
       
      map<string, .istio.networking.v1alpha3.StringMatch> query_params = 9;
      指定者:
      getQueryParamsOrThrow 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getIgnoreUriCase

      public boolean getIgnoreUriCase()
       Flag to specify whether the URI matching should be case-insensitive.
      
       **Note:** The case will be ignored only in the case of `exact` and `prefix`
       URI matches.
       
      bool ignore_uri_case = 10;
      指定者:
      getIgnoreUriCase 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      The ignoreUriCase.
    • getWithoutHeadersCount

      public int getWithoutHeadersCount()
       withoutHeader has the same syntax with the header, but has opposite meaning.
       If a header is matched with a matching rule among withoutHeader, the traffic becomes not matched one.
       
      map<string, .istio.networking.v1alpha3.StringMatch> without_headers = 12;
      指定者:
      getWithoutHeadersCount 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • containsWithoutHeaders

      public boolean containsWithoutHeaders(String key)
       withoutHeader has the same syntax with the header, but has opposite meaning.
       If a header is matched with a matching rule among withoutHeader, the traffic becomes not matched one.
       
      map<string, .istio.networking.v1alpha3.StringMatch> without_headers = 12;
      指定者:
      containsWithoutHeaders 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getWithoutHeaders

      已过时。
      指定者:
      getWithoutHeaders 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getWithoutHeadersMap

      public Map<String,VirtualServiceOuterClass.StringMatch> getWithoutHeadersMap()
       withoutHeader has the same syntax with the header, but has opposite meaning.
       If a header is matched with a matching rule among withoutHeader, the traffic becomes not matched one.
       
      map<string, .istio.networking.v1alpha3.StringMatch> without_headers = 12;
      指定者:
      getWithoutHeadersMap 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getWithoutHeadersOrDefault

      public VirtualServiceOuterClass.StringMatch getWithoutHeadersOrDefault(String key, VirtualServiceOuterClass.StringMatch defaultValue)
       withoutHeader has the same syntax with the header, but has opposite meaning.
       If a header is matched with a matching rule among withoutHeader, the traffic becomes not matched one.
       
      map<string, .istio.networking.v1alpha3.StringMatch> without_headers = 12;
      指定者:
      getWithoutHeadersOrDefault 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getWithoutHeadersOrThrow

      public VirtualServiceOuterClass.StringMatch getWithoutHeadersOrThrow(String key)
       withoutHeader has the same syntax with the header, but has opposite meaning.
       If a header is matched with a matching rule among withoutHeader, the traffic becomes not matched one.
       
      map<string, .istio.networking.v1alpha3.StringMatch> without_headers = 12;
      指定者:
      getWithoutHeadersOrThrow 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
    • getSourceNamespace

      public String getSourceNamespace()
       Source namespace constraining the applicability of a rule to workloads in that namespace.
       If the VirtualService has a list of gateways specified in the top-level `gateways` field,
       it must include the reserved gateway `mesh` for this field to be applicable.
       
      string source_namespace = 13;
      指定者:
      getSourceNamespace 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      The sourceNamespace.
    • getSourceNamespaceBytes

      public com.google.protobuf.ByteString getSourceNamespaceBytes()
       Source namespace constraining the applicability of a rule to workloads in that namespace.
       If the VirtualService has a list of gateways specified in the top-level `gateways` field,
       it must include the reserved gateway `mesh` for this field to be applicable.
       
      string source_namespace = 13;
      指定者:
      getSourceNamespaceBytes 在接口中 VirtualServiceOuterClass.HTTPMatchRequestOrBuilder
      返回:
      The bytes for sourceNamespace.
    • isInitialized

      public final boolean isInitialized()
      指定者:
      isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
      覆盖:
      isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      指定者:
      writeTo 在接口中 com.google.protobuf.MessageLite
      覆盖:
      writeTo 在类中 com.google.protobuf.GeneratedMessageV3
      抛出:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      指定者:
      getSerializedSize 在接口中 com.google.protobuf.MessageLite
      覆盖:
      getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      指定者:
      equals 在接口中 com.google.protobuf.Message
      覆盖:
      equals 在类中 com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      指定者:
      hashCode 在接口中 com.google.protobuf.Message
      覆盖:
      hashCode 在类中 com.google.protobuf.AbstractMessage
    • parseFrom

      public static VirtualServiceOuterClass.HTTPMatchRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VirtualServiceOuterClass.HTTPMatchRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VirtualServiceOuterClass.HTTPMatchRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VirtualServiceOuterClass.HTTPMatchRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VirtualServiceOuterClass.HTTPMatchRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VirtualServiceOuterClass.HTTPMatchRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VirtualServiceOuterClass.HTTPMatchRequest parseFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

      public static VirtualServiceOuterClass.HTTPMatchRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • parseDelimitedFrom

      public static VirtualServiceOuterClass.HTTPMatchRequest parseDelimitedFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseDelimitedFrom

      public static VirtualServiceOuterClass.HTTPMatchRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • parseFrom

      public static VirtualServiceOuterClass.HTTPMatchRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

      public static VirtualServiceOuterClass.HTTPMatchRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • newBuilderForType

      指定者:
      newBuilderForType 在接口中 com.google.protobuf.Message
      指定者:
      newBuilderForType 在接口中 com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      指定者:
      toBuilder 在接口中 com.google.protobuf.Message
      指定者:
      toBuilder 在接口中 com.google.protobuf.MessageLite
    • newBuilderForType

      protected VirtualServiceOuterClass.HTTPMatchRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      指定者:
      newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static VirtualServiceOuterClass.HTTPMatchRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<VirtualServiceOuterClass.HTTPMatchRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<VirtualServiceOuterClass.HTTPMatchRequest> getParserForType()
      指定者:
      getParserForType 在接口中 com.google.protobuf.Message
      指定者:
      getParserForType 在接口中 com.google.protobuf.MessageLite
      覆盖:
      getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public VirtualServiceOuterClass.HTTPMatchRequest getDefaultInstanceForType()
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder