类 VirtualServiceOuterClass.HTTPMatchRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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,java.lang.Cloneable
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 typeistio.networking.v1alpha3.HTTPMatchRequest
-
-
字段概要
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 VirtualServiceOuterClass.HTTPMatchRequest.BuilderaddAllGateways(java.lang.Iterable<java.lang.String> values)Names of gateways where the rule should be applied.VirtualServiceOuterClass.HTTPMatchRequest.BuilderaddGateways(java.lang.String value)Names of gateways where the rule should be applied.VirtualServiceOuterClass.HTTPMatchRequest.BuilderaddGatewaysBytes(com.google.protobuf.ByteString value)Names of gateways where the rule should be applied.VirtualServiceOuterClass.HTTPMatchRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)VirtualServiceOuterClass.HTTPMatchRequestbuild()VirtualServiceOuterClass.HTTPMatchRequestbuildPartial()VirtualServiceOuterClass.HTTPMatchRequest.Builderclear()VirtualServiceOuterClass.HTTPMatchRequest.BuilderclearAuthority()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 matchVirtualServiceOuterClass.HTTPMatchRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)VirtualServiceOuterClass.HTTPMatchRequest.BuilderclearGateways()Names of gateways where the rule should be applied.VirtualServiceOuterClass.HTTPMatchRequest.BuilderclearHeaders()VirtualServiceOuterClass.HTTPMatchRequest.BuilderclearIgnoreUriCase()Flag to specify whether the URI matching should be case-insensitive.VirtualServiceOuterClass.HTTPMatchRequest.BuilderclearMethod()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 matchVirtualServiceOuterClass.HTTPMatchRequest.BuilderclearName()The name assigned to a match.VirtualServiceOuterClass.HTTPMatchRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)VirtualServiceOuterClass.HTTPMatchRequest.BuilderclearPort()Specifies the ports on the host that is being addressed.VirtualServiceOuterClass.HTTPMatchRequest.BuilderclearQueryParams()VirtualServiceOuterClass.HTTPMatchRequest.BuilderclearScheme()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 matchVirtualServiceOuterClass.HTTPMatchRequest.BuilderclearSourceLabels()VirtualServiceOuterClass.HTTPMatchRequest.BuilderclearSourceNamespace()Source namespace constraining the applicability of a rule to workloads in that namespace.VirtualServiceOuterClass.HTTPMatchRequest.BuilderclearUri()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.VirtualServiceOuterClass.HTTPMatchRequest.BuilderclearWithoutHeaders()VirtualServiceOuterClass.HTTPMatchRequest.Builderclone()booleancontainsHeaders(java.lang.String key)The header keys must be lowercase and use hyphen as the separator, e.g.booleancontainsQueryParams(java.lang.String key)Query parameters for matching.booleancontainsSourceLabels(java.lang.String key)One or more labels that constrain the applicability of a rule to workloads with the given labels.booleancontainsWithoutHeaders(java.lang.String key)withoutHeader has the same syntax with the header, but has opposite meaning.private voidensureGatewaysIsMutable()VirtualServiceOuterClass.StringMatchgetAuthority()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 matchVirtualServiceOuterClass.StringMatch.BuildergetAuthorityBuilder()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 matchprivate com.google.protobuf.SingleFieldBuilderV3<VirtualServiceOuterClass.StringMatch,VirtualServiceOuterClass.StringMatch.Builder,VirtualServiceOuterClass.StringMatchOrBuilder>getAuthorityFieldBuilder()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 matchVirtualServiceOuterClass.StringMatchOrBuildergetAuthorityOrBuilder()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 matchVirtualServiceOuterClass.HTTPMatchRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetGateways(int index)Names of gateways where the rule should be applied.com.google.protobuf.ByteStringgetGatewaysBytes(int index)Names of gateways where the rule should be applied.intgetGatewaysCount()Names of gateways where the rule should be applied.com.google.protobuf.ProtocolStringListgetGatewaysList()Names of gateways where the rule should be applied.java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch>getHeaders()已过时。intgetHeadersCount()The header keys must be lowercase and use hyphen as the separator, e.g.java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch>getHeadersMap()The header keys must be lowercase and use hyphen as the separator, e.g.VirtualServiceOuterClass.StringMatchgetHeadersOrDefault(java.lang.String key, VirtualServiceOuterClass.StringMatch defaultValue)The header keys must be lowercase and use hyphen as the separator, e.g.VirtualServiceOuterClass.StringMatchgetHeadersOrThrow(java.lang.String key)The header keys must be lowercase and use hyphen as the separator, e.g.booleangetIgnoreUriCase()Flag to specify whether the URI matching should be case-insensitive.VirtualServiceOuterClass.StringMatchgetMethod()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 matchVirtualServiceOuterClass.StringMatch.BuildergetMethodBuilder()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 matchprivate com.google.protobuf.SingleFieldBuilderV3<VirtualServiceOuterClass.StringMatch,VirtualServiceOuterClass.StringMatch.Builder,VirtualServiceOuterClass.StringMatchOrBuilder>getMethodFieldBuilder()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 matchVirtualServiceOuterClass.StringMatchOrBuildergetMethodOrBuilder()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 matchjava.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch>getMutableHeaders()已过时。java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch>getMutableQueryParams()已过时。java.util.Map<java.lang.String,java.lang.String>getMutableSourceLabels()已过时。java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch>getMutableWithoutHeaders()已过时。java.lang.StringgetName()The name assigned to a match.com.google.protobuf.ByteStringgetNameBytes()The name assigned to a match.intgetPort()Specifies the ports on the host that is being addressed.java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch>getQueryParams()已过时。intgetQueryParamsCount()Query parameters for matching.java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch>getQueryParamsMap()Query parameters for matching.VirtualServiceOuterClass.StringMatchgetQueryParamsOrDefault(java.lang.String key, VirtualServiceOuterClass.StringMatch defaultValue)Query parameters for matching.VirtualServiceOuterClass.StringMatchgetQueryParamsOrThrow(java.lang.String key)Query parameters for matching.VirtualServiceOuterClass.StringMatchgetScheme()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 matchVirtualServiceOuterClass.StringMatch.BuildergetSchemeBuilder()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 matchprivate com.google.protobuf.SingleFieldBuilderV3<VirtualServiceOuterClass.StringMatch,VirtualServiceOuterClass.StringMatch.Builder,VirtualServiceOuterClass.StringMatchOrBuilder>getSchemeFieldBuilder()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 matchVirtualServiceOuterClass.StringMatchOrBuildergetSchemeOrBuilder()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 matchjava.util.Map<java.lang.String,java.lang.String>getSourceLabels()已过时。intgetSourceLabelsCount()One or more labels that constrain the applicability of a rule to workloads with the given labels.java.util.Map<java.lang.String,java.lang.String>getSourceLabelsMap()One or more labels that constrain the applicability of a rule to workloads with the given labels.java.lang.StringgetSourceLabelsOrDefault(java.lang.String key, java.lang.String defaultValue)One or more labels that constrain the applicability of a rule to workloads with the given labels.java.lang.StringgetSourceLabelsOrThrow(java.lang.String key)One or more labels that constrain the applicability of a rule to workloads with the given labels.java.lang.StringgetSourceNamespace()Source namespace constraining the applicability of a rule to workloads in that namespace.com.google.protobuf.ByteStringgetSourceNamespaceBytes()Source namespace constraining the applicability of a rule to workloads in that namespace.VirtualServiceOuterClass.StringMatchgetUri()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.VirtualServiceOuterClass.StringMatch.BuildergetUriBuilder()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.private com.google.protobuf.SingleFieldBuilderV3<VirtualServiceOuterClass.StringMatch,VirtualServiceOuterClass.StringMatch.Builder,VirtualServiceOuterClass.StringMatchOrBuilder>getUriFieldBuilder()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.VirtualServiceOuterClass.StringMatchOrBuildergetUriOrBuilder()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.java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch>getWithoutHeaders()已过时。intgetWithoutHeadersCount()withoutHeader has the same syntax with the header, but has opposite meaning.java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch>getWithoutHeadersMap()withoutHeader has the same syntax with the header, but has opposite meaning.VirtualServiceOuterClass.StringMatchgetWithoutHeadersOrDefault(java.lang.String key, VirtualServiceOuterClass.StringMatch defaultValue)withoutHeader has the same syntax with the header, but has opposite meaning.VirtualServiceOuterClass.StringMatchgetWithoutHeadersOrThrow(java.lang.String key)withoutHeader has the same syntax with the header, but has opposite meaning.booleanhasAuthority()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 matchbooleanhasMethod()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 matchbooleanhasScheme()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 matchbooleanhasUri()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch>internalGetHeaders()protected com.google.protobuf.MapFieldinternalGetMapField(int number)private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch>internalGetMutableHeaders()protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch>internalGetMutableQueryParams()private com.google.protobuf.MapField<java.lang.String,java.lang.String>internalGetMutableSourceLabels()private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch>internalGetMutableWithoutHeaders()private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch>internalGetQueryParams()private com.google.protobuf.MapField<java.lang.String,java.lang.String>internalGetSourceLabels()private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch>internalGetWithoutHeaders()booleanisInitialized()VirtualServiceOuterClass.HTTPMatchRequest.BuildermergeAuthority(VirtualServiceOuterClass.StringMatch value)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 matchVirtualServiceOuterClass.HTTPMatchRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)VirtualServiceOuterClass.HTTPMatchRequest.BuildermergeFrom(com.google.protobuf.Message other)VirtualServiceOuterClass.HTTPMatchRequest.BuildermergeFrom(VirtualServiceOuterClass.HTTPMatchRequest other)VirtualServiceOuterClass.HTTPMatchRequest.BuildermergeMethod(VirtualServiceOuterClass.StringMatch value)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 matchVirtualServiceOuterClass.HTTPMatchRequest.BuildermergeScheme(VirtualServiceOuterClass.StringMatch value)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 matchVirtualServiceOuterClass.HTTPMatchRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VirtualServiceOuterClass.HTTPMatchRequest.BuildermergeUri(VirtualServiceOuterClass.StringMatch value)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.VirtualServiceOuterClass.HTTPMatchRequest.BuilderputAllHeaders(java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch> values)The header keys must be lowercase and use hyphen as the separator, e.g.VirtualServiceOuterClass.HTTPMatchRequest.BuilderputAllQueryParams(java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch> values)Query parameters for matching.VirtualServiceOuterClass.HTTPMatchRequest.BuilderputAllSourceLabels(java.util.Map<java.lang.String,java.lang.String> values)One or more labels that constrain the applicability of a rule to workloads with the given labels.VirtualServiceOuterClass.HTTPMatchRequest.BuilderputAllWithoutHeaders(java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch> values)withoutHeader has the same syntax with the header, but has opposite meaning.VirtualServiceOuterClass.HTTPMatchRequest.BuilderputHeaders(java.lang.String key, VirtualServiceOuterClass.StringMatch value)The header keys must be lowercase and use hyphen as the separator, e.g.VirtualServiceOuterClass.HTTPMatchRequest.BuilderputQueryParams(java.lang.String key, VirtualServiceOuterClass.StringMatch value)Query parameters for matching.VirtualServiceOuterClass.HTTPMatchRequest.BuilderputSourceLabels(java.lang.String key, java.lang.String value)One or more labels that constrain the applicability of a rule to workloads with the given labels.VirtualServiceOuterClass.HTTPMatchRequest.BuilderputWithoutHeaders(java.lang.String key, VirtualServiceOuterClass.StringMatch value)withoutHeader has the same syntax with the header, but has opposite meaning.VirtualServiceOuterClass.HTTPMatchRequest.BuilderremoveHeaders(java.lang.String key)The header keys must be lowercase and use hyphen as the separator, e.g.VirtualServiceOuterClass.HTTPMatchRequest.BuilderremoveQueryParams(java.lang.String key)Query parameters for matching.VirtualServiceOuterClass.HTTPMatchRequest.BuilderremoveSourceLabels(java.lang.String key)One or more labels that constrain the applicability of a rule to workloads with the given labels.VirtualServiceOuterClass.HTTPMatchRequest.BuilderremoveWithoutHeaders(java.lang.String key)withoutHeader has the same syntax with the header, but has opposite meaning.VirtualServiceOuterClass.HTTPMatchRequest.BuildersetAuthority(VirtualServiceOuterClass.StringMatch value)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 matchVirtualServiceOuterClass.HTTPMatchRequest.BuildersetAuthority(VirtualServiceOuterClass.StringMatch.Builder builderForValue)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 matchVirtualServiceOuterClass.HTTPMatchRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)VirtualServiceOuterClass.HTTPMatchRequest.BuildersetGateways(int index, java.lang.String value)Names of gateways where the rule should be applied.VirtualServiceOuterClass.HTTPMatchRequest.BuildersetIgnoreUriCase(boolean value)Flag to specify whether the URI matching should be case-insensitive.VirtualServiceOuterClass.HTTPMatchRequest.BuildersetMethod(VirtualServiceOuterClass.StringMatch value)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 matchVirtualServiceOuterClass.HTTPMatchRequest.BuildersetMethod(VirtualServiceOuterClass.StringMatch.Builder builderForValue)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 matchVirtualServiceOuterClass.HTTPMatchRequest.BuildersetName(java.lang.String value)The name assigned to a match.VirtualServiceOuterClass.HTTPMatchRequest.BuildersetNameBytes(com.google.protobuf.ByteString value)The name assigned to a match.VirtualServiceOuterClass.HTTPMatchRequest.BuildersetPort(int value)Specifies the ports on the host that is being addressed.VirtualServiceOuterClass.HTTPMatchRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)VirtualServiceOuterClass.HTTPMatchRequest.BuildersetScheme(VirtualServiceOuterClass.StringMatch value)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 matchVirtualServiceOuterClass.HTTPMatchRequest.BuildersetScheme(VirtualServiceOuterClass.StringMatch.Builder builderForValue)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 matchVirtualServiceOuterClass.HTTPMatchRequest.BuildersetSourceNamespace(java.lang.String value)Source namespace constraining the applicability of a rule to workloads in that namespace.VirtualServiceOuterClass.HTTPMatchRequest.BuildersetSourceNamespaceBytes(com.google.protobuf.ByteString value)Source namespace constraining the applicability of a rule to workloads in that namespace.VirtualServiceOuterClass.HTTPMatchRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VirtualServiceOuterClass.HTTPMatchRequest.BuildersetUri(VirtualServiceOuterClass.StringMatch value)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.VirtualServiceOuterClass.HTTPMatchRequest.BuildersetUri(VirtualServiceOuterClass.StringMatch.Builder builderForValue)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.-
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
-
-
-
字段详细资料
-
bitField0_
private int bitField0_
-
name_
private java.lang.Object name_
-
uri_
private VirtualServiceOuterClass.StringMatch uri_
-
uriBuilder_
private com.google.protobuf.SingleFieldBuilderV3<VirtualServiceOuterClass.StringMatch,VirtualServiceOuterClass.StringMatch.Builder,VirtualServiceOuterClass.StringMatchOrBuilder> uriBuilder_
-
scheme_
private VirtualServiceOuterClass.StringMatch scheme_
-
schemeBuilder_
private com.google.protobuf.SingleFieldBuilderV3<VirtualServiceOuterClass.StringMatch,VirtualServiceOuterClass.StringMatch.Builder,VirtualServiceOuterClass.StringMatchOrBuilder> schemeBuilder_
-
method_
private VirtualServiceOuterClass.StringMatch method_
-
methodBuilder_
private com.google.protobuf.SingleFieldBuilderV3<VirtualServiceOuterClass.StringMatch,VirtualServiceOuterClass.StringMatch.Builder,VirtualServiceOuterClass.StringMatchOrBuilder> methodBuilder_
-
authority_
private VirtualServiceOuterClass.StringMatch authority_
-
authorityBuilder_
private com.google.protobuf.SingleFieldBuilderV3<VirtualServiceOuterClass.StringMatch,VirtualServiceOuterClass.StringMatch.Builder,VirtualServiceOuterClass.StringMatchOrBuilder> authorityBuilder_
-
headers_
private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch> headers_
-
port_
private int port_
-
sourceLabels_
private com.google.protobuf.MapField<java.lang.String,java.lang.String> sourceLabels_
-
gateways_
private com.google.protobuf.LazyStringList gateways_
-
queryParams_
private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch> queryParams_
-
ignoreUriCase_
private boolean ignoreUriCase_
-
withoutHeaders_
private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch> withoutHeaders_
-
sourceNamespace_
private java.lang.Object sourceNamespace_
-
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- 覆盖:
internalGetMapField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- 覆盖:
internalGetMutableMapField在类中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
public 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
public VirtualServiceOuterClass.HTTPMatchRequest build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public VirtualServiceOuterClass.HTTPMatchRequest buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public VirtualServiceOuterClass.HTTPMatchRequest.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, java.lang.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, java.lang.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, java.lang.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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder mergeFrom(VirtualServiceOuterClass.HTTPMatchRequest other)
-
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 java.io.IOException
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.HTTPMatchRequest.Builder>- 抛出:
java.io.IOException
-
getName
public java.lang.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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder setName(java.lang.String 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 name to set.- 返回:
- This builder for chaining.
-
clearName
public VirtualServiceOuterClass.HTTPMatchRequest.Builder 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
public VirtualServiceOuterClass.StringMatch 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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder setUri(VirtualServiceOuterClass.StringMatch value)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder setUri(VirtualServiceOuterClass.StringMatch.Builder builderForValue)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder mergeUri(VirtualServiceOuterClass.StringMatch value)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder 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
public VirtualServiceOuterClass.StringMatch.Builder 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
public VirtualServiceOuterClass.StringMatchOrBuilder 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;
-
getUriFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<VirtualServiceOuterClass.StringMatch,VirtualServiceOuterClass.StringMatch.Builder,VirtualServiceOuterClass.StringMatchOrBuilder> getUriFieldBuilder()
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;
-
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
public VirtualServiceOuterClass.StringMatch 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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder setScheme(VirtualServiceOuterClass.StringMatch value)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder setScheme(VirtualServiceOuterClass.StringMatch.Builder builderForValue)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder mergeScheme(VirtualServiceOuterClass.StringMatch value)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder 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
public VirtualServiceOuterClass.StringMatch.Builder 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;
-
getSchemeFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<VirtualServiceOuterClass.StringMatch,VirtualServiceOuterClass.StringMatch.Builder,VirtualServiceOuterClass.StringMatchOrBuilder> getSchemeFieldBuilder()
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;
-
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
public VirtualServiceOuterClass.StringMatch 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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder setMethod(VirtualServiceOuterClass.StringMatch value)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder setMethod(VirtualServiceOuterClass.StringMatch.Builder builderForValue)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder mergeMethod(VirtualServiceOuterClass.StringMatch value)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder 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
public VirtualServiceOuterClass.StringMatch.Builder 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;
-
getMethodFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<VirtualServiceOuterClass.StringMatch,VirtualServiceOuterClass.StringMatch.Builder,VirtualServiceOuterClass.StringMatchOrBuilder> getMethodFieldBuilder()
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;
-
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder setAuthority(VirtualServiceOuterClass.StringMatch value)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder setAuthority(VirtualServiceOuterClass.StringMatch.Builder builderForValue)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder mergeAuthority(VirtualServiceOuterClass.StringMatch value)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder 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;
-
getAuthorityFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<VirtualServiceOuterClass.StringMatch,VirtualServiceOuterClass.StringMatch.Builder,VirtualServiceOuterClass.StringMatchOrBuilder> getAuthorityFieldBuilder()
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;
-
internalGetHeaders
private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch> internalGetHeaders()
-
internalGetMutableHeaders
private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch> internalGetMutableHeaders()
-
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;
-
containsHeaders
public boolean containsHeaders(java.lang.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;
-
getHeaders
@Deprecated public java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch> getHeaders()
已过时。UsegetHeadersMap()instead.
-
getHeadersMap
public java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch> 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;
-
getHeadersOrDefault
public VirtualServiceOuterClass.StringMatch getHeadersOrDefault(java.lang.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;
-
getHeadersOrThrow
public VirtualServiceOuterClass.StringMatch getHeadersOrThrow(java.lang.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;
-
clearHeaders
public VirtualServiceOuterClass.HTTPMatchRequest.Builder clearHeaders()
-
removeHeaders
public VirtualServiceOuterClass.HTTPMatchRequest.Builder removeHeaders(java.lang.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;
-
getMutableHeaders
@Deprecated public java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch> getMutableHeaders()
已过时。Use alternate mutation accessors instead.
-
putHeaders
public VirtualServiceOuterClass.HTTPMatchRequest.Builder putHeaders(java.lang.String key, VirtualServiceOuterClass.StringMatch value)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder putAllHeaders(java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch> values)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder setPort(int value)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder 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.
-
internalGetSourceLabels
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetSourceLabels()
-
internalGetMutableSourceLabels
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetMutableSourceLabels()
-
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;
-
containsSourceLabels
public boolean containsSourceLabels(java.lang.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;
-
getSourceLabels
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getSourceLabels()
已过时。UsegetSourceLabelsMap()instead.
-
getSourceLabelsMap
public java.util.Map<java.lang.String,java.lang.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;
-
getSourceLabelsOrDefault
public java.lang.String getSourceLabelsOrDefault(java.lang.String key, java.lang.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;
-
getSourceLabelsOrThrow
public java.lang.String getSourceLabelsOrThrow(java.lang.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;
-
clearSourceLabels
public VirtualServiceOuterClass.HTTPMatchRequest.Builder clearSourceLabels()
-
removeSourceLabels
public VirtualServiceOuterClass.HTTPMatchRequest.Builder removeSourceLabels(java.lang.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;
-
getMutableSourceLabels
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableSourceLabels()
已过时。Use alternate mutation accessors instead.
-
putSourceLabels
public VirtualServiceOuterClass.HTTPMatchRequest.Builder putSourceLabels(java.lang.String key, java.lang.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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder putAllSourceLabels(java.util.Map<java.lang.String,java.lang.String> values)
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;
-
ensureGatewaysIsMutable
private void ensureGatewaysIsMutable()
-
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 java.lang.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, java.lang.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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder addGateways(java.lang.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;- 参数:
value- The gateways to add.- 返回:
- This builder for chaining.
-
addAllGateways
public VirtualServiceOuterClass.HTTPMatchRequest.Builder addAllGateways(java.lang.Iterable<java.lang.String> values)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder 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.
-
internalGetQueryParams
private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch> internalGetQueryParams()
-
internalGetMutableQueryParams
private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch> internalGetMutableQueryParams()
-
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;
-
containsQueryParams
public boolean containsQueryParams(java.lang.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;
-
getQueryParams
@Deprecated public java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch> getQueryParams()
已过时。UsegetQueryParamsMap()instead.
-
getQueryParamsMap
public java.util.Map<java.lang.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;
-
getQueryParamsOrDefault
public VirtualServiceOuterClass.StringMatch getQueryParamsOrDefault(java.lang.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;
-
getQueryParamsOrThrow
public VirtualServiceOuterClass.StringMatch getQueryParamsOrThrow(java.lang.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;
-
clearQueryParams
public VirtualServiceOuterClass.HTTPMatchRequest.Builder clearQueryParams()
-
removeQueryParams
public VirtualServiceOuterClass.HTTPMatchRequest.Builder removeQueryParams(java.lang.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;
-
getMutableQueryParams
@Deprecated public java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch> getMutableQueryParams()
已过时。Use alternate mutation accessors instead.
-
putQueryParams
public VirtualServiceOuterClass.HTTPMatchRequest.Builder putQueryParams(java.lang.String key, VirtualServiceOuterClass.StringMatch value)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder putAllQueryParams(java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch> values)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder 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.
-
internalGetWithoutHeaders
private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch> internalGetWithoutHeaders()
-
internalGetMutableWithoutHeaders
private com.google.protobuf.MapField<java.lang.String,VirtualServiceOuterClass.StringMatch> internalGetMutableWithoutHeaders()
-
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;
-
containsWithoutHeaders
public boolean containsWithoutHeaders(java.lang.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;
-
getWithoutHeaders
@Deprecated public java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch> getWithoutHeaders()
已过时。UsegetWithoutHeadersMap()instead.
-
getWithoutHeadersMap
public java.util.Map<java.lang.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;
-
getWithoutHeadersOrDefault
public VirtualServiceOuterClass.StringMatch getWithoutHeadersOrDefault(java.lang.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;
-
getWithoutHeadersOrThrow
public VirtualServiceOuterClass.StringMatch getWithoutHeadersOrThrow(java.lang.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;
-
clearWithoutHeaders
public VirtualServiceOuterClass.HTTPMatchRequest.Builder clearWithoutHeaders()
-
removeWithoutHeaders
public VirtualServiceOuterClass.HTTPMatchRequest.Builder removeWithoutHeaders(java.lang.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 java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch> getMutableWithoutHeaders()
已过时。Use alternate mutation accessors instead.
-
putWithoutHeaders
public VirtualServiceOuterClass.HTTPMatchRequest.Builder putWithoutHeaders(java.lang.String key, VirtualServiceOuterClass.StringMatch value)
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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder putAllWithoutHeaders(java.util.Map<java.lang.String,VirtualServiceOuterClass.StringMatch> values)
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 java.lang.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(java.lang.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
public VirtualServiceOuterClass.HTTPMatchRequest.Builder 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>
-
-