Class HttpRouteRuleMatch

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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

@Generated public final class HttpRouteRuleMatch extends com.google.protobuf.GeneratedMessage 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 type google.cloud.compute.v1.HttpRouteRuleMatch
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    For satisfying the matchRule condition, the path of the request must exactly match the value specified infullPathMatch after removing any query parameters and anchor that may be part of the original URL.
    com.google.protobuf.ByteString
    For satisfying the matchRule condition, the path of the request must exactly match the value specified infullPathMatch after removing any query parameters and anchor that may be part of the original URL.
    getHeaderMatches(int index)
    Specifies a list of header match criteria, all of which must match corresponding headers in the request.
    int
    Specifies a list of header match criteria, all of which must match corresponding headers in the request.
    Specifies a list of header match criteria, all of which must match corresponding headers in the request.
    Specifies a list of header match criteria, all of which must match corresponding headers in the request.
    Specifies a list of header match criteria, all of which must match corresponding headers in the request.
    boolean
    Specifies that prefixMatch and fullPathMatch matches are case sensitive.
    getMetadataFilters(int index)
    Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.
    int
    Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.
    Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.
    Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.
    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>
     
    If specified, this field defines a path template pattern that must match the :path header after the query string is removed.
    com.google.protobuf.ByteString
    If specified, this field defines a path template pattern that must match the :path header after the query string is removed.
    For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.prefixMatch must begin with a /.
    com.google.protobuf.ByteString
    For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.prefixMatch must begin with a /.
    Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.
    int
    Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.
    Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.
    Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.
    Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.
    For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified inregexMatch after removing any query parameters and anchor supplied with the original URL.
    com.google.protobuf.ByteString
    For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified inregexMatch after removing any query parameters and anchor supplied with the original URL.
    int
     
    boolean
    For satisfying the matchRule condition, the path of the request must exactly match the value specified infullPathMatch after removing any query parameters and anchor that may be part of the original URL.
    int
     
    boolean
    Specifies that prefixMatch and fullPathMatch matches are case sensitive.
    boolean
    If specified, this field defines a path template pattern that must match the :path header after the query string is removed.
    boolean
    For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.prefixMatch must begin with a /.
    boolean
    For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified inregexMatch after removing any query parameters and anchor supplied with the original URL.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<HttpRouteRuleMatch>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • FULL_PATH_MATCH_FIELD_NUMBER

      public static final int FULL_PATH_MATCH_FIELD_NUMBER
      See Also:
    • HEADER_MATCHES_FIELD_NUMBER

      public static final int HEADER_MATCHES_FIELD_NUMBER
      See Also:
    • IGNORE_CASE_FIELD_NUMBER

      public static final int IGNORE_CASE_FIELD_NUMBER
      See Also:
    • METADATA_FILTERS_FIELD_NUMBER

      public static final int METADATA_FILTERS_FIELD_NUMBER
      See Also:
    • PATH_TEMPLATE_MATCH_FIELD_NUMBER

      public static final int PATH_TEMPLATE_MATCH_FIELD_NUMBER
      See Also:
    • PREFIX_MATCH_FIELD_NUMBER

      public static final int PREFIX_MATCH_FIELD_NUMBER
      See Also:
    • QUERY_PARAMETER_MATCHES_FIELD_NUMBER

      public static final int QUERY_PARAMETER_MATCHES_FIELD_NUMBER
      See Also:
    • REGEX_MATCH_FIELD_NUMBER

      public static final int REGEX_MATCH_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasFullPathMatch

      public boolean hasFullPathMatch()
       For satisfying the matchRule condition, the path of the
       request must exactly match the value specified infullPathMatch 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,regexMatch or path_template_match must be
       specified.
       
      optional string full_path_match = 214598875;
      Specified by:
      hasFullPathMatch in interface HttpRouteRuleMatchOrBuilder
      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 infullPathMatch 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,regexMatch or path_template_match must be
       specified.
       
      optional string full_path_match = 214598875;
      Specified by:
      getFullPathMatch in interface HttpRouteRuleMatchOrBuilder
      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 infullPathMatch 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,regexMatch or path_template_match must be
       specified.
       
      optional string full_path_match = 214598875;
      Specified by:
      getFullPathMatchBytes in interface HttpRouteRuleMatchOrBuilder
      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:
      getHeaderMatchesList in interface HttpRouteRuleMatchOrBuilder
    • 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:
      getHeaderMatchesOrBuilderList in interface HttpRouteRuleMatchOrBuilder
    • 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:
      getHeaderMatchesCount in interface HttpRouteRuleMatchOrBuilder
    • 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:
      getHeaderMatches in interface HttpRouteRuleMatchOrBuilder
    • 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:
      getHeaderMatchesOrBuilder in interface HttpRouteRuleMatchOrBuilder
    • 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:
      hasIgnoreCase in interface HttpRouteRuleMatchOrBuilder
      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:
      getIgnoreCase in interface HttpRouteRuleMatchOrBuilder
      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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to.
      
       metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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:
      getMetadataFiltersList in interface HttpRouteRuleMatchOrBuilder
    • 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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to.
      
       metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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:
      getMetadataFiltersOrBuilderList in interface HttpRouteRuleMatchOrBuilder
    • 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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to.
      
       metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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:
      getMetadataFiltersCount in interface HttpRouteRuleMatchOrBuilder
    • 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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to.
      
       metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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:
      getMetadataFilters in interface HttpRouteRuleMatchOrBuilder
    • 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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to.
      
       metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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:
      getMetadataFiltersOrBuilder in interface HttpRouteRuleMatchOrBuilder
    • hasPathTemplateMatch

      public boolean hasPathTemplateMatch()
       If specified, this field defines a path template pattern that must match
       the :path header after the query string is removed.
      
       A path template pattern can include variables and wildcards.
       Variables are enclosed in curly braces, for example{variable_name}. Wildcards include * that
       matches a single path segment, and ** that matches zero or
       more path segments. The pattern must follow these rules:
      
      
       - The value must be between 1 and 1024 characters.
       - The pattern must start with a leading slash ("/").
       - No more than 5 operators (variables or wildcards) may appear in
       the pattern.
      
       Precisely one ofprefixMatch, fullPathMatch,regexMatch, or pathTemplateMatch must be
       set.
       
      optional string path_template_match = 292348186;
      Specified by:
      hasPathTemplateMatch in interface HttpRouteRuleMatchOrBuilder
      Returns:
      Whether the pathTemplateMatch field is set.
    • getPathTemplateMatch

      public String getPathTemplateMatch()
       If specified, this field defines a path template pattern that must match
       the :path header after the query string is removed.
      
       A path template pattern can include variables and wildcards.
       Variables are enclosed in curly braces, for example{variable_name}. Wildcards include * that
       matches a single path segment, and ** that matches zero or
       more path segments. The pattern must follow these rules:
      
      
       - The value must be between 1 and 1024 characters.
       - The pattern must start with a leading slash ("/").
       - No more than 5 operators (variables or wildcards) may appear in
       the pattern.
      
       Precisely one ofprefixMatch, fullPathMatch,regexMatch, or pathTemplateMatch must be
       set.
       
      optional string path_template_match = 292348186;
      Specified by:
      getPathTemplateMatch in interface HttpRouteRuleMatchOrBuilder
      Returns:
      The pathTemplateMatch.
    • getPathTemplateMatchBytes

      public com.google.protobuf.ByteString getPathTemplateMatchBytes()
       If specified, this field defines a path template pattern that must match
       the :path header after the query string is removed.
      
       A path template pattern can include variables and wildcards.
       Variables are enclosed in curly braces, for example{variable_name}. Wildcards include * that
       matches a single path segment, and ** that matches zero or
       more path segments. The pattern must follow these rules:
      
      
       - The value must be between 1 and 1024 characters.
       - The pattern must start with a leading slash ("/").
       - No more than 5 operators (variables or wildcards) may appear in
       the pattern.
      
       Precisely one ofprefixMatch, fullPathMatch,regexMatch, or pathTemplateMatch must be
       set.
       
      optional string path_template_match = 292348186;
      Specified by:
      getPathTemplateMatchBytes in interface HttpRouteRuleMatchOrBuilder
      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.
      
       The * character inside a prefix match is
       treated as a literal character, not as a wildcard.
      
       Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match can be
       used within a matchRule.
       
      optional string prefix_match = 257898968;
      Specified by:
      hasPrefixMatch in interface HttpRouteRuleMatchOrBuilder
      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.
      
       The * character inside a prefix match is
       treated as a literal character, not as a wildcard.
      
       Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match can be
       used within a matchRule.
       
      optional string prefix_match = 257898968;
      Specified by:
      getPrefixMatch in interface HttpRouteRuleMatchOrBuilder
      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.
      
       The * character inside a prefix match is
       treated as a literal character, not as a wildcard.
      
       Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match can be
       used within a matchRule.
       
      optional string prefix_match = 257898968;
      Specified by:
      getPrefixMatchBytes in interface HttpRouteRuleMatchOrBuilder
      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:
      getQueryParameterMatchesList in interface HttpRouteRuleMatchOrBuilder
    • 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:
      getQueryParameterMatchesOrBuilderList in interface HttpRouteRuleMatchOrBuilder
    • 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:
      getQueryParameterMatchesCount in interface HttpRouteRuleMatchOrBuilder
    • 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:
      getQueryParameterMatches in interface HttpRouteRuleMatchOrBuilder
    • 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:
      getQueryParameterMatchesOrBuilder in interface HttpRouteRuleMatchOrBuilder
    • hasRegexMatch

      public boolean hasRegexMatch()
       For satisfying the matchRule condition, the path of the
       request must satisfy the regular expression specified inregexMatch 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,regexMatch or path_template_match must be
       specified.
      
       Regular expressions can only be used when the loadBalancingScheme is
       set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED
       (regional scope) or INTERNAL_MANAGED.
       
      optional string regex_match = 107387853;
      Specified by:
      hasRegexMatch in interface HttpRouteRuleMatchOrBuilder
      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 inregexMatch 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,regexMatch or path_template_match must be
       specified.
      
       Regular expressions can only be used when the loadBalancingScheme is
       set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED
       (regional scope) or INTERNAL_MANAGED.
       
      optional string regex_match = 107387853;
      Specified by:
      getRegexMatch in interface HttpRouteRuleMatchOrBuilder
      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 inregexMatch 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,regexMatch or path_template_match must be
       specified.
      
       Regular expressions can only be used when the loadBalancingScheme is
       set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED
       (regional scope) or INTERNAL_MANAGED.
       
      optional string regex_match = 107387853;
      Specified by:
      getRegexMatchBytes in interface HttpRouteRuleMatchOrBuilder
      Returns:
      The bytes for regexMatch.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static HttpRouteRuleMatch.Builder newBuilder()
    • newBuilder

      public static HttpRouteRuleMatch.Builder newBuilder(HttpRouteRuleMatch prototype)
    • toBuilder

      public HttpRouteRuleMatch.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected HttpRouteRuleMatch.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static HttpRouteRuleMatch getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<HttpRouteRuleMatch> parser()
    • getParserForType

      public com.google.protobuf.Parser<HttpRouteRuleMatch> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public HttpRouteRuleMatch getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder