All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.compute.v1.HttpHeaderMatchOrBuilder Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;

public interface HttpHeaderMatchOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.HttpHeaderMatch)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * 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; * * @return Whether the exactMatch field is set. */ 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; * * @return The exactMatch. */ java.lang.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; * * @return The bytes for exactMatch. */ com.google.protobuf.ByteString getExactMatchBytes(); /** * * *
   * 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; * * @return Whether the headerName field is set. */ 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; * * @return The headerName. */ java.lang.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; * * @return The bytes for headerName. */ com.google.protobuf.ByteString getHeaderNameBytes(); /** * * *
   * 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; * * @return Whether the invertMatch field is set. */ 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; * * @return The invertMatch. */ boolean getInvertMatch(); /** * * *
   * 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; * * @return Whether the prefixMatch field is set. */ 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; * * @return The prefixMatch. */ java.lang.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; * * @return The bytes for prefixMatch. */ com.google.protobuf.ByteString getPrefixMatchBytes(); /** * * *
   * 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; * * @return Whether the presentMatch field is set. */ 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; * * @return The presentMatch. */ boolean getPresentMatch(); /** * * *
   * 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; * * @return Whether the rangeMatch field is set. */ 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; * * @return The rangeMatch. */ com.google.cloud.compute.v1.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; */ com.google.cloud.compute.v1.Int64RangeMatchOrBuilder getRangeMatchOrBuilder(); /** * * *
   * 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; * * @return Whether the regexMatch field is set. */ 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; * * @return The regexMatch. */ java.lang.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; * * @return The bytes for regexMatch. */ com.google.protobuf.ByteString getRegexMatchBytes(); /** * * *
   * 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; * * @return Whether the suffixMatch field is set. */ 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; * * @return The suffixMatch. */ java.lang.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; * * @return The bytes for suffixMatch. */ com.google.protobuf.ByteString getSuffixMatchBytes(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy