Class DoubleMatcher.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DoubleMatcher.Builder>
com.google.protobuf.GeneratedMessage.Builder<DoubleMatcher.Builder>
io.envoyproxy.envoy.type.matcher.v3.DoubleMatcher.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DoubleMatcherOrBuilder, Cloneable
Enclosing class:
DoubleMatcher

public static final class DoubleMatcher.Builder extends com.google.protobuf.GeneratedMessage.Builder<DoubleMatcher.Builder> implements DoubleMatcherOrBuilder
 Specifies the way to match a double value.
 
Protobuf type envoy.type.matcher.v3.DoubleMatcher
  • Field Details

  • Constructor Details

    • Builder

      private Builder()
    • Builder

      private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
  • 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.Builder<DoubleMatcher.Builder>
    • clear

      public DoubleMatcher.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.GeneratedMessage.Builder<DoubleMatcher.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.GeneratedMessage.Builder<DoubleMatcher.Builder>
    • getDefaultInstanceForType

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

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

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

      private void buildPartial0(DoubleMatcher result)
    • buildPartialOneofs

      private void buildPartialOneofs(DoubleMatcher result)
    • mergeFrom

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

      public DoubleMatcher.Builder mergeFrom(DoubleMatcher other)
    • isInitialized

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

      public DoubleMatcher.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<DoubleMatcher.Builder>
      Throws:
      IOException
    • getMatchPatternCase

      public DoubleMatcher.MatchPatternCase getMatchPatternCase()
      Specified by:
      getMatchPatternCase in interface DoubleMatcherOrBuilder
    • clearMatchPattern

      public DoubleMatcher.Builder clearMatchPattern()
    • hasRange

      public boolean hasRange()
       If specified, the input double value must be in the range specified here.
       Note: The range is using half-open interval semantics [start, end).
       
      .envoy.type.v3.DoubleRange range = 1;
      Specified by:
      hasRange in interface DoubleMatcherOrBuilder
      Returns:
      Whether the range field is set.
    • getRange

      public DoubleRange getRange()
       If specified, the input double value must be in the range specified here.
       Note: The range is using half-open interval semantics [start, end).
       
      .envoy.type.v3.DoubleRange range = 1;
      Specified by:
      getRange in interface DoubleMatcherOrBuilder
      Returns:
      The range.
    • setRange

      public DoubleMatcher.Builder setRange(DoubleRange value)
       If specified, the input double value must be in the range specified here.
       Note: The range is using half-open interval semantics [start, end).
       
      .envoy.type.v3.DoubleRange range = 1;
    • setRange

      public DoubleMatcher.Builder setRange(DoubleRange.Builder builderForValue)
       If specified, the input double value must be in the range specified here.
       Note: The range is using half-open interval semantics [start, end).
       
      .envoy.type.v3.DoubleRange range = 1;
    • mergeRange

      public DoubleMatcher.Builder mergeRange(DoubleRange value)
       If specified, the input double value must be in the range specified here.
       Note: The range is using half-open interval semantics [start, end).
       
      .envoy.type.v3.DoubleRange range = 1;
    • clearRange

      public DoubleMatcher.Builder clearRange()
       If specified, the input double value must be in the range specified here.
       Note: The range is using half-open interval semantics [start, end).
       
      .envoy.type.v3.DoubleRange range = 1;
    • getRangeBuilder

      public DoubleRange.Builder getRangeBuilder()
       If specified, the input double value must be in the range specified here.
       Note: The range is using half-open interval semantics [start, end).
       
      .envoy.type.v3.DoubleRange range = 1;
    • getRangeOrBuilder

      public DoubleRangeOrBuilder getRangeOrBuilder()
       If specified, the input double value must be in the range specified here.
       Note: The range is using half-open interval semantics [start, end).
       
      .envoy.type.v3.DoubleRange range = 1;
      Specified by:
      getRangeOrBuilder in interface DoubleMatcherOrBuilder
    • getRangeFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<DoubleRange,DoubleRange.Builder,DoubleRangeOrBuilder> getRangeFieldBuilder()
       If specified, the input double value must be in the range specified here.
       Note: The range is using half-open interval semantics [start, end).
       
      .envoy.type.v3.DoubleRange range = 1;
    • hasExact

      public boolean hasExact()
       If specified, the input double value must be equal to the value specified here.
       
      double exact = 2;
      Specified by:
      hasExact in interface DoubleMatcherOrBuilder
      Returns:
      Whether the exact field is set.
    • getExact

      public double getExact()
       If specified, the input double value must be equal to the value specified here.
       
      double exact = 2;
      Specified by:
      getExact in interface DoubleMatcherOrBuilder
      Returns:
      The exact.
    • setExact

      public DoubleMatcher.Builder setExact(double value)
       If specified, the input double value must be equal to the value specified here.
       
      double exact = 2;
      Parameters:
      value - The exact to set.
      Returns:
      This builder for chaining.
    • clearExact

      public DoubleMatcher.Builder clearExact()
       If specified, the input double value must be equal to the value specified here.
       
      double exact = 2;
      Returns:
      This builder for chaining.