public static final class HttpHeaderMatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderMatch.Builder> implements HttpHeaderMatchOrBuilder
matchRule criteria for request header matches.Protobuf type
google.cloud.compute.v1.HttpHeaderMatch| Modifier and Type | Method and Description |
|---|---|
HttpHeaderMatch.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HttpHeaderMatch |
build() |
HttpHeaderMatch |
buildPartial() |
HttpHeaderMatch.Builder |
clear() |
HttpHeaderMatch.Builder |
clearExactMatch()
The value should exactly match contents of exactMatch.
|
HttpHeaderMatch.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HttpHeaderMatch.Builder |
clearHeaderName()
The name of the HTTP header to match.
|
HttpHeaderMatch.Builder |
clearInvertMatch()
If set to false, the headerMatch is considered a match if the preceding match criteria are met.
|
HttpHeaderMatch.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HttpHeaderMatch.Builder |
clearPrefixMatch()
The value of the header must start with the contents of prefixMatch.
|
HttpHeaderMatch.Builder |
clearPresentMatch()
A header with the contents of headerName must exist.
|
HttpHeaderMatch.Builder |
clearRangeMatch()
The header value must be an integer and its value must be in the range specified in rangeMatch.
|
HttpHeaderMatch.Builder |
clearRegexMatch()
The value of the header must match the regular expression specified in regexMatch.
|
HttpHeaderMatch.Builder |
clearSuffixMatch()
The value of the header must end with the contents of suffixMatch.
|
HttpHeaderMatch.Builder |
clone() |
HttpHeaderMatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExactMatch()
The value should exactly match contents of exactMatch.
|
com.google.protobuf.ByteString |
getExactMatchBytes()
The value should exactly match contents of exactMatch.
|
String |
getHeaderName()
The name of the HTTP header to match.
|
com.google.protobuf.ByteString |
getHeaderNameBytes()
The name of the HTTP header to match.
|
boolean |
getInvertMatch()
If set to false, the headerMatch is considered a match if the preceding match criteria are met.
|
String |
getPrefixMatch()
The value of the header must start with the contents of prefixMatch.
|
com.google.protobuf.ByteString |
getPrefixMatchBytes()
The value of the header must start with the contents of prefixMatch.
|
boolean |
getPresentMatch()
A header with the contents of headerName must exist.
|
Int64RangeMatch |
getRangeMatch()
The header value must be an integer and its value must be in the range specified in rangeMatch.
|
Int64RangeMatch.Builder |
getRangeMatchBuilder()
The header value must be an integer and its value must be in the range specified in rangeMatch.
|
Int64RangeMatchOrBuilder |
getRangeMatchOrBuilder()
The header value must be an integer and its value must be in the range specified in rangeMatch.
|
String |
getRegexMatch()
The value of the header must match the regular expression specified in regexMatch.
|
com.google.protobuf.ByteString |
getRegexMatchBytes()
The value of the header must match the regular expression specified in regexMatch.
|
String |
getSuffixMatch()
The value of the header must end with the contents of suffixMatch.
|
com.google.protobuf.ByteString |
getSuffixMatchBytes()
The value of the header must end with the contents of suffixMatch.
|
boolean |
hasExactMatch()
The value should exactly match contents of exactMatch.
|
boolean |
hasHeaderName()
The name of the HTTP header to match.
|
boolean |
hasInvertMatch()
If set to false, the headerMatch is considered a match if the preceding match criteria are met.
|
boolean |
hasPrefixMatch()
The value of the header must start with the contents of prefixMatch.
|
boolean |
hasPresentMatch()
A header with the contents of headerName must exist.
|
boolean |
hasRangeMatch()
The header value must be an integer and its value must be in the range specified in rangeMatch.
|
boolean |
hasRegexMatch()
The value of the header must match the regular expression specified in regexMatch.
|
boolean |
hasSuffixMatch()
The value of the header must end with the contents of suffixMatch.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HttpHeaderMatch.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HttpHeaderMatch.Builder |
mergeFrom(HttpHeaderMatch other) |
HttpHeaderMatch.Builder |
mergeFrom(com.google.protobuf.Message other) |
HttpHeaderMatch.Builder |
mergeRangeMatch(Int64RangeMatch value)
The header value must be an integer and its value must be in the range specified in rangeMatch.
|
HttpHeaderMatch.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HttpHeaderMatch.Builder |
setExactMatch(String value)
The value should exactly match contents of exactMatch.
|
HttpHeaderMatch.Builder |
setExactMatchBytes(com.google.protobuf.ByteString value)
The value should exactly match contents of exactMatch.
|
HttpHeaderMatch.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HttpHeaderMatch.Builder |
setHeaderName(String value)
The name of the HTTP header to match.
|
HttpHeaderMatch.Builder |
setHeaderNameBytes(com.google.protobuf.ByteString value)
The name of the HTTP header to match.
|
HttpHeaderMatch.Builder |
setInvertMatch(boolean value)
If set to false, the headerMatch is considered a match if the preceding match criteria are met.
|
HttpHeaderMatch.Builder |
setPrefixMatch(String value)
The value of the header must start with the contents of prefixMatch.
|
HttpHeaderMatch.Builder |
setPrefixMatchBytes(com.google.protobuf.ByteString value)
The value of the header must start with the contents of prefixMatch.
|
HttpHeaderMatch.Builder |
setPresentMatch(boolean value)
A header with the contents of headerName must exist.
|
HttpHeaderMatch.Builder |
setRangeMatch(Int64RangeMatch.Builder builderForValue)
The header value must be an integer and its value must be in the range specified in rangeMatch.
|
HttpHeaderMatch.Builder |
setRangeMatch(Int64RangeMatch value)
The header value must be an integer and its value must be in the range specified in rangeMatch.
|
HttpHeaderMatch.Builder |
setRegexMatch(String value)
The value of the header must match the regular expression specified in regexMatch.
|
HttpHeaderMatch.Builder |
setRegexMatchBytes(com.google.protobuf.ByteString value)
The value of the header must match the regular expression specified in regexMatch.
|
HttpHeaderMatch.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HttpHeaderMatch.Builder |
setSuffixMatch(String value)
The value of the header must end with the contents of suffixMatch.
|
HttpHeaderMatch.Builder |
setSuffixMatchBytes(com.google.protobuf.ByteString value)
The value of the header must end with the contents of suffixMatch.
|
HttpHeaderMatch.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderMatch.Builder>public HttpHeaderMatch.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderMatch.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderMatch.Builder>public HttpHeaderMatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HttpHeaderMatch build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HttpHeaderMatch buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HttpHeaderMatch.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderMatch.Builder>public HttpHeaderMatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderMatch.Builder>public HttpHeaderMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderMatch.Builder>public HttpHeaderMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderMatch.Builder>public HttpHeaderMatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderMatch.Builder>public HttpHeaderMatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderMatch.Builder>public HttpHeaderMatch.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpHeaderMatch.Builder>public HttpHeaderMatch.Builder mergeFrom(HttpHeaderMatch other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderMatch.Builder>public HttpHeaderMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpHeaderMatch.Builder>IOExceptionpublic boolean hasExactMatch()
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string exact_match = 457641093;hasExactMatch in interface HttpHeaderMatchOrBuilderpublic String getExactMatch()
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string exact_match = 457641093;getExactMatch in interface HttpHeaderMatchOrBuilderpublic com.google.protobuf.ByteString getExactMatchBytes()
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string exact_match = 457641093;getExactMatchBytes in interface HttpHeaderMatchOrBuilderpublic HttpHeaderMatch.Builder setExactMatch(String value)
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string exact_match = 457641093;value - The exactMatch to set.public HttpHeaderMatch.Builder clearExactMatch()
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string exact_match = 457641093;public HttpHeaderMatch.Builder setExactMatchBytes(com.google.protobuf.ByteString value)
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string exact_match = 457641093;value - The bytes for exactMatch to set.public boolean hasHeaderName()
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the `content-type` header are supported. The following transport-level headers cannot be used in header matching rules: `:authority`, `:method`, `:path`, `:scheme`, `user-agent`, `accept-encoding`, `content-encoding`, `grpc-accept-encoding`, `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`, `grpc-timeout` and `grpc-trace-bin`.
optional string header_name = 110223613;hasHeaderName in interface HttpHeaderMatchOrBuilderpublic String getHeaderName()
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the `content-type` header are supported. The following transport-level headers cannot be used in header matching rules: `:authority`, `:method`, `:path`, `:scheme`, `user-agent`, `accept-encoding`, `content-encoding`, `grpc-accept-encoding`, `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`, `grpc-timeout` and `grpc-trace-bin`.
optional string header_name = 110223613;getHeaderName in interface HttpHeaderMatchOrBuilderpublic com.google.protobuf.ByteString getHeaderNameBytes()
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the `content-type` header are supported. The following transport-level headers cannot be used in header matching rules: `:authority`, `:method`, `:path`, `:scheme`, `user-agent`, `accept-encoding`, `content-encoding`, `grpc-accept-encoding`, `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`, `grpc-timeout` and `grpc-trace-bin`.
optional string header_name = 110223613;getHeaderNameBytes in interface HttpHeaderMatchOrBuilderpublic HttpHeaderMatch.Builder setHeaderName(String value)
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the `content-type` header are supported. The following transport-level headers cannot be used in header matching rules: `:authority`, `:method`, `:path`, `:scheme`, `user-agent`, `accept-encoding`, `content-encoding`, `grpc-accept-encoding`, `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`, `grpc-timeout` and `grpc-trace-bin`.
optional string header_name = 110223613;value - The headerName to set.public HttpHeaderMatch.Builder clearHeaderName()
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the `content-type` header are supported. The following transport-level headers cannot be used in header matching rules: `:authority`, `:method`, `:path`, `:scheme`, `user-agent`, `accept-encoding`, `content-encoding`, `grpc-accept-encoding`, `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`, `grpc-timeout` and `grpc-trace-bin`.
optional string header_name = 110223613;public HttpHeaderMatch.Builder setHeaderNameBytes(com.google.protobuf.ByteString value)
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the `content-type` header are supported. The following transport-level headers cannot be used in header matching rules: `:authority`, `:method`, `:path`, `:scheme`, `user-agent`, `accept-encoding`, `content-encoding`, `grpc-accept-encoding`, `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`, `grpc-timeout` and `grpc-trace-bin`.
optional string header_name = 110223613;value - The bytes for headerName to set.public boolean hasInvertMatch()
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
optional bool invert_match = 501130268;hasInvertMatch in interface HttpHeaderMatchOrBuilderpublic boolean getInvertMatch()
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
optional bool invert_match = 501130268;getInvertMatch in interface HttpHeaderMatchOrBuilderpublic HttpHeaderMatch.Builder setInvertMatch(boolean value)
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
optional bool invert_match = 501130268;value - The invertMatch to set.public HttpHeaderMatch.Builder clearInvertMatch()
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
optional bool invert_match = 501130268;public boolean hasPrefixMatch()
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string prefix_match = 257898968;hasPrefixMatch in interface HttpHeaderMatchOrBuilderpublic String getPrefixMatch()
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string prefix_match = 257898968;getPrefixMatch in interface HttpHeaderMatchOrBuilderpublic com.google.protobuf.ByteString getPrefixMatchBytes()
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string prefix_match = 257898968;getPrefixMatchBytes in interface HttpHeaderMatchOrBuilderpublic HttpHeaderMatch.Builder setPrefixMatch(String value)
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string prefix_match = 257898968;value - The prefixMatch to set.public HttpHeaderMatch.Builder clearPrefixMatch()
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string prefix_match = 257898968;public HttpHeaderMatch.Builder setPrefixMatchBytes(com.google.protobuf.ByteString value)
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string prefix_match = 257898968;value - The bytes for prefixMatch to set.public boolean hasPresentMatch()
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional bool present_match = 67435841;hasPresentMatch in interface HttpHeaderMatchOrBuilderpublic boolean getPresentMatch()
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional bool present_match = 67435841;getPresentMatch in interface HttpHeaderMatchOrBuilderpublic HttpHeaderMatch.Builder setPresentMatch(boolean value)
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional bool present_match = 67435841;value - The presentMatch to set.public HttpHeaderMatch.Builder clearPresentMatch()
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional bool present_match = 67435841;public boolean hasRangeMatch()
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
optional .google.cloud.compute.v1.Int64RangeMatch range_match = 97244227;hasRangeMatch in interface HttpHeaderMatchOrBuilderpublic Int64RangeMatch getRangeMatch()
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
optional .google.cloud.compute.v1.Int64RangeMatch range_match = 97244227;getRangeMatch in interface HttpHeaderMatchOrBuilderpublic HttpHeaderMatch.Builder setRangeMatch(Int64RangeMatch value)
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
optional .google.cloud.compute.v1.Int64RangeMatch range_match = 97244227;public HttpHeaderMatch.Builder setRangeMatch(Int64RangeMatch.Builder builderForValue)
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
optional .google.cloud.compute.v1.Int64RangeMatch range_match = 97244227;public HttpHeaderMatch.Builder mergeRangeMatch(Int64RangeMatch value)
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
optional .google.cloud.compute.v1.Int64RangeMatch range_match = 97244227;public HttpHeaderMatch.Builder clearRangeMatch()
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
optional .google.cloud.compute.v1.Int64RangeMatch range_match = 97244227;public Int64RangeMatch.Builder getRangeMatchBuilder()
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
optional .google.cloud.compute.v1.Int64RangeMatch range_match = 97244227;public Int64RangeMatchOrBuilder getRangeMatchOrBuilder()
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
optional .google.cloud.compute.v1.Int64RangeMatch range_match = 97244227;getRangeMatchOrBuilder in interface HttpHeaderMatchOrBuilderpublic boolean hasRegexMatch()
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;hasRegexMatch in interface HttpHeaderMatchOrBuilderpublic String getRegexMatch()
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;getRegexMatch in interface HttpHeaderMatchOrBuilderpublic com.google.protobuf.ByteString getRegexMatchBytes()
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;getRegexMatchBytes in interface HttpHeaderMatchOrBuilderpublic HttpHeaderMatch.Builder setRegexMatch(String value)
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;value - The regexMatch to set.public HttpHeaderMatch.Builder clearRegexMatch()
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;public HttpHeaderMatch.Builder setRegexMatchBytes(com.google.protobuf.ByteString value)
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;value - The bytes for regexMatch to set.public boolean hasSuffixMatch()
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string suffix_match = 426488663;hasSuffixMatch in interface HttpHeaderMatchOrBuilderpublic String getSuffixMatch()
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string suffix_match = 426488663;getSuffixMatch in interface HttpHeaderMatchOrBuilderpublic com.google.protobuf.ByteString getSuffixMatchBytes()
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string suffix_match = 426488663;getSuffixMatchBytes in interface HttpHeaderMatchOrBuilderpublic HttpHeaderMatch.Builder setSuffixMatch(String value)
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string suffix_match = 426488663;value - The suffixMatch to set.public HttpHeaderMatch.Builder clearSuffixMatch()
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string suffix_match = 426488663;public HttpHeaderMatch.Builder setSuffixMatchBytes(com.google.protobuf.ByteString value)
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
optional string suffix_match = 426488663;value - The bytes for suffixMatch to set.public final HttpHeaderMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderMatch.Builder>public final HttpHeaderMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderMatch.Builder>Copyright © 2023 Google LLC. All rights reserved.