Class MethodMatch.ParameterMatchSpecifier.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MethodMatch.ParameterMatchSpecifier.Builder>
io.envoyproxy.envoy.extensions.filters.network.dubbo_proxy.v3.MethodMatch.ParameterMatchSpecifier.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MethodMatch.ParameterMatchSpecifierOrBuilder, Cloneable
Enclosing class:
MethodMatch.ParameterMatchSpecifier

public static final class MethodMatch.ParameterMatchSpecifier.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MethodMatch.ParameterMatchSpecifier.Builder> implements MethodMatch.ParameterMatchSpecifierOrBuilder
 The parameter matching type.
 
Protobuf type envoy.extensions.filters.network.dubbo_proxy.v3.MethodMatch.ParameterMatchSpecifier
  • Method Details

    • 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<MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MethodMatch.ParameterMatchSpecifier buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<MethodMatch.ParameterMatchSpecifier.Builder>
    • setField

      public MethodMatch.ParameterMatchSpecifier.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<MethodMatch.ParameterMatchSpecifier.Builder>
    • clearField

      public MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.Builder>
    • clearOneof

      public MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.Builder>
    • setRepeatedField

      public MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.Builder>
    • addRepeatedField

      public MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.Builder>
    • mergeFrom

      public MethodMatch.ParameterMatchSpecifier.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MethodMatch.ParameterMatchSpecifier.Builder>
    • mergeFrom

    • isInitialized

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

      public MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.Builder>
      Throws:
      IOException
    • getParameterMatchSpecifierCase

      public MethodMatch.ParameterMatchSpecifier.ParameterMatchSpecifierCase getParameterMatchSpecifierCase()
      Specified by:
      getParameterMatchSpecifierCase in interface MethodMatch.ParameterMatchSpecifierOrBuilder
    • clearParameterMatchSpecifier

      public MethodMatch.ParameterMatchSpecifier.Builder clearParameterMatchSpecifier()
    • hasExactMatch

      public boolean hasExactMatch()
       If specified, header match will be performed based on the value of the header.
       
      string exact_match = 3;
      Specified by:
      hasExactMatch in interface MethodMatch.ParameterMatchSpecifierOrBuilder
      Returns:
      Whether the exactMatch field is set.
    • getExactMatch

      public String getExactMatch()
       If specified, header match will be performed based on the value of the header.
       
      string exact_match = 3;
      Specified by:
      getExactMatch in interface MethodMatch.ParameterMatchSpecifierOrBuilder
      Returns:
      The exactMatch.
    • getExactMatchBytes

      public com.google.protobuf.ByteString getExactMatchBytes()
       If specified, header match will be performed based on the value of the header.
       
      string exact_match = 3;
      Specified by:
      getExactMatchBytes in interface MethodMatch.ParameterMatchSpecifierOrBuilder
      Returns:
      The bytes for exactMatch.
    • setExactMatch

       If specified, header match will be performed based on the value of the header.
       
      string exact_match = 3;
      Parameters:
      value - The exactMatch to set.
      Returns:
      This builder for chaining.
    • clearExactMatch

       If specified, header match will be performed based on the value of the header.
       
      string exact_match = 3;
      Returns:
      This builder for chaining.
    • setExactMatchBytes

      public MethodMatch.ParameterMatchSpecifier.Builder setExactMatchBytes(com.google.protobuf.ByteString value)
       If specified, header match will be performed based on the value of the header.
       
      string exact_match = 3;
      Parameters:
      value - The bytes for exactMatch to set.
      Returns:
      This builder for chaining.
    • hasRangeMatch

      public boolean hasRangeMatch()
       If specified, header match will be performed based on range.
       The rule will match if the request header value is within this range.
       The entire request header value must represent an integer in base 10 notation: consisting
       of an optional plus or minus sign followed by a sequence of digits. The rule will not match
       if the header value does not represent an integer. Match will fail for empty values,
       floating point numbers or if only a subsequence of the header value is an integer.
      
       Examples:
      
       * For range [-10,0), route will match for header value -1, but not for 0,
         "somestring", 10.9, "-1somestring"
       
      .envoy.type.v3.Int64Range range_match = 4;
      Specified by:
      hasRangeMatch in interface MethodMatch.ParameterMatchSpecifierOrBuilder
      Returns:
      Whether the rangeMatch field is set.
    • getRangeMatch

      public Int64Range getRangeMatch()
       If specified, header match will be performed based on range.
       The rule will match if the request header value is within this range.
       The entire request header value must represent an integer in base 10 notation: consisting
       of an optional plus or minus sign followed by a sequence of digits. The rule will not match
       if the header value does not represent an integer. Match will fail for empty values,
       floating point numbers or if only a subsequence of the header value is an integer.
      
       Examples:
      
       * For range [-10,0), route will match for header value -1, but not for 0,
         "somestring", 10.9, "-1somestring"
       
      .envoy.type.v3.Int64Range range_match = 4;
      Specified by:
      getRangeMatch in interface MethodMatch.ParameterMatchSpecifierOrBuilder
      Returns:
      The rangeMatch.
    • setRangeMatch

       If specified, header match will be performed based on range.
       The rule will match if the request header value is within this range.
       The entire request header value must represent an integer in base 10 notation: consisting
       of an optional plus or minus sign followed by a sequence of digits. The rule will not match
       if the header value does not represent an integer. Match will fail for empty values,
       floating point numbers or if only a subsequence of the header value is an integer.
      
       Examples:
      
       * For range [-10,0), route will match for header value -1, but not for 0,
         "somestring", 10.9, "-1somestring"
       
      .envoy.type.v3.Int64Range range_match = 4;
    • setRangeMatch

      public MethodMatch.ParameterMatchSpecifier.Builder setRangeMatch(Int64Range.Builder builderForValue)
       If specified, header match will be performed based on range.
       The rule will match if the request header value is within this range.
       The entire request header value must represent an integer in base 10 notation: consisting
       of an optional plus or minus sign followed by a sequence of digits. The rule will not match
       if the header value does not represent an integer. Match will fail for empty values,
       floating point numbers or if only a subsequence of the header value is an integer.
      
       Examples:
      
       * For range [-10,0), route will match for header value -1, but not for 0,
         "somestring", 10.9, "-1somestring"
       
      .envoy.type.v3.Int64Range range_match = 4;
    • mergeRangeMatch

       If specified, header match will be performed based on range.
       The rule will match if the request header value is within this range.
       The entire request header value must represent an integer in base 10 notation: consisting
       of an optional plus or minus sign followed by a sequence of digits. The rule will not match
       if the header value does not represent an integer. Match will fail for empty values,
       floating point numbers or if only a subsequence of the header value is an integer.
      
       Examples:
      
       * For range [-10,0), route will match for header value -1, but not for 0,
         "somestring", 10.9, "-1somestring"
       
      .envoy.type.v3.Int64Range range_match = 4;
    • clearRangeMatch

       If specified, header match will be performed based on range.
       The rule will match if the request header value is within this range.
       The entire request header value must represent an integer in base 10 notation: consisting
       of an optional plus or minus sign followed by a sequence of digits. The rule will not match
       if the header value does not represent an integer. Match will fail for empty values,
       floating point numbers or if only a subsequence of the header value is an integer.
      
       Examples:
      
       * For range [-10,0), route will match for header value -1, but not for 0,
         "somestring", 10.9, "-1somestring"
       
      .envoy.type.v3.Int64Range range_match = 4;
    • getRangeMatchBuilder

      public Int64Range.Builder getRangeMatchBuilder()
       If specified, header match will be performed based on range.
       The rule will match if the request header value is within this range.
       The entire request header value must represent an integer in base 10 notation: consisting
       of an optional plus or minus sign followed by a sequence of digits. The rule will not match
       if the header value does not represent an integer. Match will fail for empty values,
       floating point numbers or if only a subsequence of the header value is an integer.
      
       Examples:
      
       * For range [-10,0), route will match for header value -1, but not for 0,
         "somestring", 10.9, "-1somestring"
       
      .envoy.type.v3.Int64Range range_match = 4;
    • getRangeMatchOrBuilder

      public Int64RangeOrBuilder getRangeMatchOrBuilder()
       If specified, header match will be performed based on range.
       The rule will match if the request header value is within this range.
       The entire request header value must represent an integer in base 10 notation: consisting
       of an optional plus or minus sign followed by a sequence of digits. The rule will not match
       if the header value does not represent an integer. Match will fail for empty values,
       floating point numbers or if only a subsequence of the header value is an integer.
      
       Examples:
      
       * For range [-10,0), route will match for header value -1, but not for 0,
         "somestring", 10.9, "-1somestring"
       
      .envoy.type.v3.Int64Range range_match = 4;
      Specified by:
      getRangeMatchOrBuilder in interface MethodMatch.ParameterMatchSpecifierOrBuilder
    • setUnknownFields

      public final MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.Builder>
    • mergeUnknownFields

      public final MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.Builder>