Package com.google.cloud.compute.v1
Class HttpRouteRuleMatch
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.HttpRouteRuleMatch
-
- All Implemented Interfaces:
HttpRouteRuleMatchOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class HttpRouteRuleMatch extends com.google.protobuf.GeneratedMessageV3 implements HttpRouteRuleMatchOrBuilder
HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule. All specified criteria must be satisfied for a match to occur.
Protobuf typegoogle.cloud.compute.v1.HttpRouteRuleMatch- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpRouteRuleMatch.BuilderHttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intFULL_PATH_MATCH_FIELD_NUMBERstatic intHEADER_MATCHES_FIELD_NUMBERstatic intIGNORE_CASE_FIELD_NUMBERstatic intMETADATA_FILTERS_FIELD_NUMBERstatic intPATH_TEMPLATE_MATCH_FIELD_NUMBERstatic intPREFIX_MATCH_FIELD_NUMBERstatic intQUERY_PARAMETER_MATCHES_FIELD_NUMBERstatic intREGEX_MATCH_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static HttpRouteRuleMatchgetDefaultInstance()HttpRouteRuleMatchgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFullPathMatch()For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL.com.google.protobuf.ByteStringgetFullPathMatchBytes()For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL.HttpHeaderMatchgetHeaderMatches(int index)Specifies a list of header match criteria, all of which must match corresponding headers in the request.intgetHeaderMatchesCount()Specifies a list of header match criteria, all of which must match corresponding headers in the request.List<HttpHeaderMatch>getHeaderMatchesList()Specifies a list of header match criteria, all of which must match corresponding headers in the request.HttpHeaderMatchOrBuildergetHeaderMatchesOrBuilder(int index)Specifies a list of header match criteria, all of which must match corresponding headers in the request.List<? extends HttpHeaderMatchOrBuilder>getHeaderMatchesOrBuilderList()Specifies a list of header match criteria, all of which must match corresponding headers in the request.booleangetIgnoreCase()Specifies that prefixMatch and fullPathMatch matches are case sensitive.MetadataFiltergetMetadataFilters(int index)Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.intgetMetadataFiltersCount()Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.List<MetadataFilter>getMetadataFiltersList()Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.MetadataFilterOrBuildergetMetadataFiltersOrBuilder(int index)Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.List<? extends MetadataFilterOrBuilder>getMetadataFiltersOrBuilderList()Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.com.google.protobuf.Parser<HttpRouteRuleMatch>getParserForType()StringgetPathTemplateMatch()If specified, the route is a pattern match expression that must match the :path header once the query string is removed.com.google.protobuf.ByteStringgetPathTemplateMatchBytes()If specified, the route is a pattern match expression that must match the :path header once the query string is removed.StringgetPrefixMatch()For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.com.google.protobuf.ByteStringgetPrefixMatchBytes()For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.HttpQueryParameterMatchgetQueryParameterMatches(int index)Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.intgetQueryParameterMatchesCount()Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.List<HttpQueryParameterMatch>getQueryParameterMatchesList()Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.HttpQueryParameterMatchOrBuildergetQueryParameterMatchesOrBuilder(int index)Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.List<? extends HttpQueryParameterMatchOrBuilder>getQueryParameterMatchesOrBuilderList()Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.StringgetRegexMatch()For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL.com.google.protobuf.ByteStringgetRegexMatchBytes()For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL.intgetSerializedSize()booleanhasFullPathMatch()For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL.inthashCode()booleanhasIgnoreCase()Specifies that prefixMatch and fullPathMatch matches are case sensitive.booleanhasPathTemplateMatch()If specified, the route is a pattern match expression that must match the :path header once the query string is removed.booleanhasPrefixMatch()For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.booleanhasRegexMatch()For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static HttpRouteRuleMatch.BuildernewBuilder()static HttpRouteRuleMatch.BuildernewBuilder(HttpRouteRuleMatch prototype)HttpRouteRuleMatch.BuildernewBuilderForType()protected HttpRouteRuleMatch.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static HttpRouteRuleMatchparseDelimitedFrom(InputStream input)static HttpRouteRuleMatchparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HttpRouteRuleMatchparseFrom(byte[] data)static HttpRouteRuleMatchparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HttpRouteRuleMatchparseFrom(com.google.protobuf.ByteString data)static HttpRouteRuleMatchparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HttpRouteRuleMatchparseFrom(com.google.protobuf.CodedInputStream input)static HttpRouteRuleMatchparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HttpRouteRuleMatchparseFrom(InputStream input)static HttpRouteRuleMatchparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HttpRouteRuleMatchparseFrom(ByteBuffer data)static HttpRouteRuleMatchparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<HttpRouteRuleMatch>parser()HttpRouteRuleMatch.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
FULL_PATH_MATCH_FIELD_NUMBER
public static final int FULL_PATH_MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADER_MATCHES_FIELD_NUMBER
public static final int HEADER_MATCHES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IGNORE_CASE_FIELD_NUMBER
public static final int IGNORE_CASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FILTERS_FIELD_NUMBER
public static final int METADATA_FILTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATH_TEMPLATE_MATCH_FIELD_NUMBER
public static final int PATH_TEMPLATE_MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PREFIX_MATCH_FIELD_NUMBER
public static final int PREFIX_MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_PARAMETER_MATCHES_FIELD_NUMBER
public static final int QUERY_PARAMETER_MATCHES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGEX_MATCH_FIELD_NUMBER
public static final int REGEX_MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasFullPathMatch
public boolean hasFullPathMatch()
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string full_path_match = 214598875;- Specified by:
hasFullPathMatchin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- Whether the fullPathMatch field is set.
-
getFullPathMatch
public String getFullPathMatch()
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string full_path_match = 214598875;- Specified by:
getFullPathMatchin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The fullPathMatch.
-
getFullPathMatchBytes
public com.google.protobuf.ByteString getFullPathMatchBytes()
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string full_path_match = 214598875;- Specified by:
getFullPathMatchBytesin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The bytes for fullPathMatch.
-
getHeaderMatchesList
public List<HttpHeaderMatch> getHeaderMatchesList()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;- Specified by:
getHeaderMatchesListin interfaceHttpRouteRuleMatchOrBuilder
-
getHeaderMatchesOrBuilderList
public List<? extends HttpHeaderMatchOrBuilder> getHeaderMatchesOrBuilderList()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;- Specified by:
getHeaderMatchesOrBuilderListin interfaceHttpRouteRuleMatchOrBuilder
-
getHeaderMatchesCount
public int getHeaderMatchesCount()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;- Specified by:
getHeaderMatchesCountin interfaceHttpRouteRuleMatchOrBuilder
-
getHeaderMatches
public HttpHeaderMatch getHeaderMatches(int index)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;- Specified by:
getHeaderMatchesin interfaceHttpRouteRuleMatchOrBuilder
-
getHeaderMatchesOrBuilder
public HttpHeaderMatchOrBuilder getHeaderMatchesOrBuilder(int index)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;- Specified by:
getHeaderMatchesOrBuilderin interfaceHttpRouteRuleMatchOrBuilder
-
hasIgnoreCase
public boolean hasIgnoreCase()
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
optional bool ignore_case = 464324989;- Specified by:
hasIgnoreCasein interfaceHttpRouteRuleMatchOrBuilder- Returns:
- Whether the ignoreCase field is set.
-
getIgnoreCase
public boolean getIgnoreCase()
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
optional bool ignore_case = 464324989;- Specified by:
getIgnoreCasein interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The ignoreCase.
-
getMetadataFiltersList
public List<MetadataFilter> getMetadataFiltersList()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;- Specified by:
getMetadataFiltersListin interfaceHttpRouteRuleMatchOrBuilder
-
getMetadataFiltersOrBuilderList
public List<? extends MetadataFilterOrBuilder> getMetadataFiltersOrBuilderList()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;- Specified by:
getMetadataFiltersOrBuilderListin interfaceHttpRouteRuleMatchOrBuilder
-
getMetadataFiltersCount
public int getMetadataFiltersCount()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;- Specified by:
getMetadataFiltersCountin interfaceHttpRouteRuleMatchOrBuilder
-
getMetadataFilters
public MetadataFilter getMetadataFilters(int index)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;- Specified by:
getMetadataFiltersin interfaceHttpRouteRuleMatchOrBuilder
-
getMetadataFiltersOrBuilder
public MetadataFilterOrBuilder getMetadataFiltersOrBuilder(int index)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;- Specified by:
getMetadataFiltersOrBuilderin interfaceHttpRouteRuleMatchOrBuilder
-
hasPathTemplateMatch
public boolean hasPathTemplateMatch()
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.optional string path_template_match = 292348186;- Specified by:
hasPathTemplateMatchin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- Whether the pathTemplateMatch field is set.
-
getPathTemplateMatch
public String getPathTemplateMatch()
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.optional string path_template_match = 292348186;- Specified by:
getPathTemplateMatchin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The pathTemplateMatch.
-
getPathTemplateMatchBytes
public com.google.protobuf.ByteString getPathTemplateMatchBytes()
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.optional string path_template_match = 292348186;- Specified by:
getPathTemplateMatchBytesin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The bytes for pathTemplateMatch.
-
hasPrefixMatch
public boolean hasPrefixMatch()
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string prefix_match = 257898968;- Specified by:
hasPrefixMatchin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- Whether the prefixMatch field is set.
-
getPrefixMatch
public String getPrefixMatch()
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string prefix_match = 257898968;- Specified by:
getPrefixMatchin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The prefixMatch.
-
getPrefixMatchBytes
public com.google.protobuf.ByteString getPrefixMatchBytes()
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string prefix_match = 257898968;- Specified by:
getPrefixMatchBytesin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The bytes for prefixMatch.
-
getQueryParameterMatchesList
public List<HttpQueryParameterMatch> getQueryParameterMatchesList()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;- Specified by:
getQueryParameterMatchesListin interfaceHttpRouteRuleMatchOrBuilder
-
getQueryParameterMatchesOrBuilderList
public List<? extends HttpQueryParameterMatchOrBuilder> getQueryParameterMatchesOrBuilderList()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;- Specified by:
getQueryParameterMatchesOrBuilderListin interfaceHttpRouteRuleMatchOrBuilder
-
getQueryParameterMatchesCount
public int getQueryParameterMatchesCount()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;- Specified by:
getQueryParameterMatchesCountin interfaceHttpRouteRuleMatchOrBuilder
-
getQueryParameterMatches
public HttpQueryParameterMatch getQueryParameterMatches(int index)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;- Specified by:
getQueryParameterMatchesin interfaceHttpRouteRuleMatchOrBuilder
-
getQueryParameterMatchesOrBuilder
public HttpQueryParameterMatchOrBuilder getQueryParameterMatchesOrBuilder(int index)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;- Specified by:
getQueryParameterMatchesOrBuilderin interfaceHttpRouteRuleMatchOrBuilder
-
hasRegexMatch
public boolean hasRegexMatch()
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;- Specified by:
hasRegexMatchin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- Whether the regexMatch field is set.
-
getRegexMatch
public String getRegexMatch()
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;- Specified by:
getRegexMatchin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The regexMatch.
-
getRegexMatchBytes
public com.google.protobuf.ByteString getRegexMatchBytes()
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;- Specified by:
getRegexMatchBytesin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The bytes for regexMatch.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static HttpRouteRuleMatch parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRouteRuleMatch parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRouteRuleMatch parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRouteRuleMatch parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRouteRuleMatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRouteRuleMatch parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRouteRuleMatch parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HttpRouteRuleMatch parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HttpRouteRuleMatch parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HttpRouteRuleMatch parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static HttpRouteRuleMatch parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HttpRouteRuleMatch parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public HttpRouteRuleMatch.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static HttpRouteRuleMatch.Builder newBuilder()
-
newBuilder
public static HttpRouteRuleMatch.Builder newBuilder(HttpRouteRuleMatch prototype)
-
toBuilder
public HttpRouteRuleMatch.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HttpRouteRuleMatch.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static HttpRouteRuleMatch getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<HttpRouteRuleMatch> parser()
-
getParserForType
public com.google.protobuf.Parser<HttpRouteRuleMatch> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public HttpRouteRuleMatch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-