类 VirtualServiceOuterClass.HTTPMatchRequest.Builder

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

public static final class VirtualServiceOuterClass.HTTPMatchRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder> 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
  • 方法详细资料

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      覆盖:
      internalGetMapFieldReflection 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      覆盖:
      internalGetMutableMapFieldReflection 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      指定者:
      internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
    • clear

      指定者:
      clear 在接口中 com.google.protobuf.Message.Builder
      指定者:
      clear 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      clear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      指定者:
      getDescriptorForType 在接口中 com.google.protobuf.Message.Builder
      指定者:
      getDescriptorForType 在接口中 com.google.protobuf.MessageOrBuilder
      覆盖:
      getDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
    • getDefaultInstanceForType

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

      指定者:
      build 在接口中 com.google.protobuf.Message.Builder
      指定者:
      build 在接口中 com.google.protobuf.MessageLite.Builder
    • buildPartial

      指定者:
      buildPartial 在接口中 com.google.protobuf.Message.Builder
      指定者:
      buildPartial 在接口中 com.google.protobuf.MessageLite.Builder
    • clone

      指定者:
      clone 在接口中 com.google.protobuf.Message.Builder
      指定者:
      clone 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      clone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
    • setField

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      指定者:
      setField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
    • clearField

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      指定者:
      clearField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      clearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
    • clearOneof

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      指定者:
      clearOneof 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      clearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
    • setRepeatedField

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      指定者:
      setRepeatedField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
    • addRepeatedField

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      指定者:
      addRepeatedField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      addRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
    • mergeFrom

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder mergeFrom(com.google.protobuf.Message other)
      指定者:
      mergeFrom 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      指定者:
      isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
      覆盖:
      isInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
    • mergeFrom

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      指定者:
      mergeFrom 在接口中 com.google.protobuf.Message.Builder
      指定者:
      mergeFrom 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
      抛出:
      IOException
    • 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.
    • setName

       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;
      参数:
      value - The name to set.
      返回:
      This builder for chaining.
    • clearName

       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;
      返回:
      This builder for chaining.
    • setNameBytes

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       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;
      参数:
      value - The bytes for name to set.
      返回:
      This builder for chaining.
    • 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.
    • setUri

       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;
    • setUri

       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;
    • mergeUri

       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;
    • clearUri

       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;
    • getUriBuilder

       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

       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.
    • setScheme

       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;
    • setScheme

       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;
    • mergeScheme

       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;
    • clearScheme

       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;
    • getSchemeBuilder

       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

      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.
    • setMethod

       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;
    • setMethod

       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;
    • mergeMethod

       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;
    • clearMethod

       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;
    • getMethodBuilder

       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

      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.
    • setAuthority

       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;
    • setAuthority

       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;
    • mergeAuthority

       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;
    • clearAuthority

       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;
    • getAuthorityBuilder

      public VirtualServiceOuterClass.StringMatch.Builder getAuthorityBuilder()
       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

      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
    • clearHeaders

    • removeHeaders

       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;
    • getMutableHeaders

      已过时。
      Use alternate mutation accessors instead.
    • putHeaders

       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;
    • putAllHeaders

       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;
    • putHeadersBuilderIfAbsent

      public VirtualServiceOuterClass.StringMatch.Builder putHeadersBuilderIfAbsent(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;
    • 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.
    • setPort

       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;
      参数:
      value - The port to set.
      返回:
      This builder for chaining.
    • clearPort

       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;
      返回:
      This builder for chaining.
    • 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
    • clearSourceLabels

    • removeSourceLabels

       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;
    • getMutableSourceLabels

      @Deprecated public Map<String,String> getMutableSourceLabels()
      已过时。
      Use alternate mutation accessors instead.
    • putSourceLabels

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder putSourceLabels(String key, String value)
       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;
    • putAllSourceLabels

       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;
    • 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.
    • setGateways

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder setGateways(int index, String value)
       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;
      参数:
      index - The index to set the value at.
      value - The gateways to set.
      返回:
      This builder for chaining.
    • addGateways

       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;
      参数:
      value - The gateways to add.
      返回:
      This builder for chaining.
    • addAllGateways

       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;
      参数:
      values - The gateways to add.
      返回:
      This builder for chaining.
    • clearGateways

       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;
      返回:
      This builder for chaining.
    • addGatewaysBytes

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder addGatewaysBytes(com.google.protobuf.ByteString value)
       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;
      参数:
      value - The bytes of the gateways to add.
      返回:
      This builder for chaining.
    • 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
    • clearQueryParams

    • removeQueryParams

       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;
    • getMutableQueryParams

      已过时。
      Use alternate mutation accessors instead.
    • putQueryParams

       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;
    • putAllQueryParams

       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;
    • putQueryParamsBuilderIfAbsent

      public VirtualServiceOuterClass.StringMatch.Builder putQueryParamsBuilderIfAbsent(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;
    • 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.
    • setIgnoreUriCase

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder setIgnoreUriCase(boolean value)
       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;
      参数:
      value - The ignoreUriCase to set.
      返回:
      This builder for chaining.
    • clearIgnoreUriCase

       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;
      返回:
      This builder for chaining.
    • 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
    • clearWithoutHeaders

    • removeWithoutHeaders

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder removeWithoutHeaders(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;
    • getMutableWithoutHeaders

      @Deprecated public Map<String,VirtualServiceOuterClass.StringMatch> getMutableWithoutHeaders()
      已过时。
      Use alternate mutation accessors instead.
    • putWithoutHeaders

       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;
    • putAllWithoutHeaders

       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;
    • putWithoutHeadersBuilderIfAbsent

      public VirtualServiceOuterClass.StringMatch.Builder putWithoutHeadersBuilderIfAbsent(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;
    • 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.
    • setSourceNamespace

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder setSourceNamespace(String value)
       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;
      参数:
      value - The sourceNamespace to set.
      返回:
      This builder for chaining.
    • clearSourceNamespace

       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;
      返回:
      This builder for chaining.
    • setSourceNamespaceBytes

      public VirtualServiceOuterClass.HTTPMatchRequest.Builder setSourceNamespaceBytes(com.google.protobuf.ByteString value)
       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;
      参数:
      value - The bytes for sourceNamespace to set.
      返回:
      This builder for chaining.
    • setUnknownFields

      public final VirtualServiceOuterClass.HTTPMatchRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      指定者:
      setUnknownFields 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
    • mergeUnknownFields

      public final VirtualServiceOuterClass.HTTPMatchRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      指定者:
      mergeUnknownFields 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      mergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>