Class HttpQueryParameterMatch.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>
      • clear

        public HttpQueryParameterMatch.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>
      • getDefaultInstanceForType

        public HttpQueryParameterMatch getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public HttpQueryParameterMatch build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public HttpQueryParameterMatch buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public HttpQueryParameterMatch.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>
      • clearField

        public HttpQueryParameterMatch.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>
      • clearOneof

        public HttpQueryParameterMatch.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>
      • setRepeatedField

        public HttpQueryParameterMatch.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>
      • addRepeatedField

        public HttpQueryParameterMatch.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>
      • mergeFrom

        public HttpQueryParameterMatch.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpQueryParameterMatch.Builder>
        Throws:
        IOException
      • hasExactMatch

        public boolean hasExactMatch()
         The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
         
        optional string exact_match = 457641093;
        Specified by:
        hasExactMatch in interface HttpQueryParameterMatchOrBuilder
        Returns:
        Whether the exactMatch field is set.
      • getExactMatch

        public String getExactMatch()
         The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
         
        optional string exact_match = 457641093;
        Specified by:
        getExactMatch in interface HttpQueryParameterMatchOrBuilder
        Returns:
        The exactMatch.
      • getExactMatchBytes

        public com.google.protobuf.ByteString getExactMatchBytes()
         The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
         
        optional string exact_match = 457641093;
        Specified by:
        getExactMatchBytes in interface HttpQueryParameterMatchOrBuilder
        Returns:
        The bytes for exactMatch.
      • setExactMatch

        public HttpQueryParameterMatch.Builder setExactMatch​(String value)
         The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
         
        optional string exact_match = 457641093;
        Parameters:
        value - The exactMatch to set.
        Returns:
        This builder for chaining.
      • clearExactMatch

        public HttpQueryParameterMatch.Builder clearExactMatch()
         The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
         
        optional string exact_match = 457641093;
        Returns:
        This builder for chaining.
      • setExactMatchBytes

        public HttpQueryParameterMatch.Builder setExactMatchBytes​(com.google.protobuf.ByteString value)
         The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
         
        optional string exact_match = 457641093;
        Parameters:
        value - The bytes for exactMatch to set.
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
         The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
         
        optional string name = 3373707;
        Specified by:
        hasName in interface HttpQueryParameterMatchOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public String getName()
         The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
         
        optional string name = 3373707;
        Specified by:
        getName in interface HttpQueryParameterMatchOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
         
        optional string name = 3373707;
        Specified by:
        getNameBytes in interface HttpQueryParameterMatchOrBuilder
        Returns:
        The bytes for name.
      • setName

        public HttpQueryParameterMatch.Builder setName​(String value)
         The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
         
        optional string name = 3373707;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public HttpQueryParameterMatch.Builder clearName()
         The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
         
        optional string name = 3373707;
        Returns:
        This builder for chaining.
      • setNameBytes

        public HttpQueryParameterMatch.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
         
        optional string name = 3373707;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasPresentMatch

        public boolean hasPresentMatch()
         Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
         
        optional bool present_match = 67435841;
        Specified by:
        hasPresentMatch in interface HttpQueryParameterMatchOrBuilder
        Returns:
        Whether the presentMatch field is set.
      • getPresentMatch

        public boolean getPresentMatch()
         Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
         
        optional bool present_match = 67435841;
        Specified by:
        getPresentMatch in interface HttpQueryParameterMatchOrBuilder
        Returns:
        The presentMatch.
      • setPresentMatch

        public HttpQueryParameterMatch.Builder setPresentMatch​(boolean value)
         Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
         
        optional bool present_match = 67435841;
        Parameters:
        value - The presentMatch to set.
        Returns:
        This builder for chaining.
      • clearPresentMatch

        public HttpQueryParameterMatch.Builder clearPresentMatch()
         Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
         
        optional bool present_match = 67435841;
        Returns:
        This builder for chaining.
      • hasRegexMatch

        public boolean hasRegexMatch()
         The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
         
        optional string regex_match = 107387853;
        Specified by:
        hasRegexMatch in interface HttpQueryParameterMatchOrBuilder
        Returns:
        Whether the regexMatch field is set.
      • getRegexMatch

        public String getRegexMatch()
         The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
         
        optional string regex_match = 107387853;
        Specified by:
        getRegexMatch in interface HttpQueryParameterMatchOrBuilder
        Returns:
        The regexMatch.
      • getRegexMatchBytes

        public com.google.protobuf.ByteString getRegexMatchBytes()
         The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
         
        optional string regex_match = 107387853;
        Specified by:
        getRegexMatchBytes in interface HttpQueryParameterMatchOrBuilder
        Returns:
        The bytes for regexMatch.
      • setRegexMatch

        public HttpQueryParameterMatch.Builder setRegexMatch​(String value)
         The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
         
        optional string regex_match = 107387853;
        Parameters:
        value - The regexMatch to set.
        Returns:
        This builder for chaining.
      • clearRegexMatch

        public HttpQueryParameterMatch.Builder clearRegexMatch()
         The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
         
        optional string regex_match = 107387853;
        Returns:
        This builder for chaining.
      • setRegexMatchBytes

        public HttpQueryParameterMatch.Builder setRegexMatchBytes​(com.google.protobuf.ByteString value)
         The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
         
        optional string regex_match = 107387853;
        Parameters:
        value - The bytes for regexMatch to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final HttpQueryParameterMatch.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>
      • mergeUnknownFields

        public final HttpQueryParameterMatch.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>