Class Validate.DoubleRules.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>
io.envoyproxy.pgv.validate.Validate.DoubleRules.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Validate.DoubleRulesOrBuilder, Cloneable
Enclosing class:
Validate.DoubleRules

public static final class Validate.DoubleRules.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>
implements Validate.DoubleRulesOrBuilder
 DoubleRules describes the constraints applied to `double` values
 
Protobuf type validate.DoubleRules
  • 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<Validate.DoubleRules.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<Validate.DoubleRules.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<Validate.DoubleRules.Builder>
    • getDefaultInstanceForType

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

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

      public Validate.DoubleRules 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<Validate.DoubleRules.Builder>
    • setField

      public Validate.DoubleRules.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<Validate.DoubleRules.Builder>
    • clearField

      public Validate.DoubleRules.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<Validate.DoubleRules.Builder>
    • clearOneof

      public Validate.DoubleRules.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<Validate.DoubleRules.Builder>
    • setRepeatedField

      public Validate.DoubleRules.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<Validate.DoubleRules.Builder>
    • addRepeatedField

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

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

      public Validate.DoubleRules.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<Validate.DoubleRules.Builder>
      Throws:
      IOException
    • hasConst

      public boolean hasConst()
       Const specifies that this field must be exactly the specified value
       
      optional double const = 1;
      Specified by:
      hasConst in interface Validate.DoubleRulesOrBuilder
    • getConst

      public double getConst()
       Const specifies that this field must be exactly the specified value
       
      optional double const = 1;
      Specified by:
      getConst in interface Validate.DoubleRulesOrBuilder
    • setConst

      public Validate.DoubleRules.Builder setConst​(double value)
       Const specifies that this field must be exactly the specified value
       
      optional double const = 1;
    • clearConst

      public Validate.DoubleRules.Builder clearConst()
       Const specifies that this field must be exactly the specified value
       
      optional double const = 1;
    • hasLt

      public boolean hasLt()
       Lt specifies that this field must be less than the specified value,
       exclusive
       
      optional double lt = 2;
      Specified by:
      hasLt in interface Validate.DoubleRulesOrBuilder
    • getLt

      public double getLt()
       Lt specifies that this field must be less than the specified value,
       exclusive
       
      optional double lt = 2;
      Specified by:
      getLt in interface Validate.DoubleRulesOrBuilder
    • setLt

      public Validate.DoubleRules.Builder setLt​(double value)
       Lt specifies that this field must be less than the specified value,
       exclusive
       
      optional double lt = 2;
    • clearLt

      public Validate.DoubleRules.Builder clearLt()
       Lt specifies that this field must be less than the specified value,
       exclusive
       
      optional double lt = 2;
    • hasLte

      public boolean hasLte()
       Lte specifies that this field must be less than or equal to the
       specified value, inclusive
       
      optional double lte = 3;
      Specified by:
      hasLte in interface Validate.DoubleRulesOrBuilder
    • getLte

      public double getLte()
       Lte specifies that this field must be less than or equal to the
       specified value, inclusive
       
      optional double lte = 3;
      Specified by:
      getLte in interface Validate.DoubleRulesOrBuilder
    • setLte

      public Validate.DoubleRules.Builder setLte​(double value)
       Lte specifies that this field must be less than or equal to the
       specified value, inclusive
       
      optional double lte = 3;
    • clearLte

      public Validate.DoubleRules.Builder clearLte()
       Lte specifies that this field must be less than or equal to the
       specified value, inclusive
       
      optional double lte = 3;
    • hasGt

      public boolean hasGt()
       Gt specifies that this field must be greater than the specified value,
       exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       range is reversed.
       
      optional double gt = 4;
      Specified by:
      hasGt in interface Validate.DoubleRulesOrBuilder
    • getGt

      public double getGt()
       Gt specifies that this field must be greater than the specified value,
       exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       range is reversed.
       
      optional double gt = 4;
      Specified by:
      getGt in interface Validate.DoubleRulesOrBuilder
    • setGt

      public Validate.DoubleRules.Builder setGt​(double value)
       Gt specifies that this field must be greater than the specified value,
       exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       range is reversed.
       
      optional double gt = 4;
    • clearGt

      public Validate.DoubleRules.Builder clearGt()
       Gt specifies that this field must be greater than the specified value,
       exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       range is reversed.
       
      optional double gt = 4;
    • hasGte

      public boolean hasGte()
       Gte specifies that this field must be greater than or equal to the
       specified value, inclusive. If the value of Gte is larger than a
       specified Lt or Lte, the range is reversed.
       
      optional double gte = 5;
      Specified by:
      hasGte in interface Validate.DoubleRulesOrBuilder
    • getGte

      public double getGte()
       Gte specifies that this field must be greater than or equal to the
       specified value, inclusive. If the value of Gte is larger than a
       specified Lt or Lte, the range is reversed.
       
      optional double gte = 5;
      Specified by:
      getGte in interface Validate.DoubleRulesOrBuilder
    • setGte

      public Validate.DoubleRules.Builder setGte​(double value)
       Gte specifies that this field must be greater than or equal to the
       specified value, inclusive. If the value of Gte is larger than a
       specified Lt or Lte, the range is reversed.
       
      optional double gte = 5;
    • clearGte

      public Validate.DoubleRules.Builder clearGte()
       Gte specifies that this field must be greater than or equal to the
       specified value, inclusive. If the value of Gte is larger than a
       specified Lt or Lte, the range is reversed.
       
      optional double gte = 5;
    • getInList

      public List<Double> getInList()
       In specifies that this field must be equal to one of the specified
       values
       
      repeated double in = 6;
      Specified by:
      getInList in interface Validate.DoubleRulesOrBuilder
    • getInCount

      public int getInCount()
       In specifies that this field must be equal to one of the specified
       values
       
      repeated double in = 6;
      Specified by:
      getInCount in interface Validate.DoubleRulesOrBuilder
    • getIn

      public double getIn​(int index)
       In specifies that this field must be equal to one of the specified
       values
       
      repeated double in = 6;
      Specified by:
      getIn in interface Validate.DoubleRulesOrBuilder
    • setIn

      public Validate.DoubleRules.Builder setIn​(int index, double value)
       In specifies that this field must be equal to one of the specified
       values
       
      repeated double in = 6;
    • addIn

      public Validate.DoubleRules.Builder addIn​(double value)
       In specifies that this field must be equal to one of the specified
       values
       
      repeated double in = 6;
    • addAllIn

      public Validate.DoubleRules.Builder addAllIn​(Iterable<? extends Double> values)
       In specifies that this field must be equal to one of the specified
       values
       
      repeated double in = 6;
    • clearIn

      public Validate.DoubleRules.Builder clearIn()
       In specifies that this field must be equal to one of the specified
       values
       
      repeated double in = 6;
    • getNotInList

      public List<Double> getNotInList()
       NotIn specifies that this field cannot be equal to one of the specified
       values
       
      repeated double not_in = 7;
      Specified by:
      getNotInList in interface Validate.DoubleRulesOrBuilder
    • getNotInCount

      public int getNotInCount()
       NotIn specifies that this field cannot be equal to one of the specified
       values
       
      repeated double not_in = 7;
      Specified by:
      getNotInCount in interface Validate.DoubleRulesOrBuilder
    • getNotIn

      public double getNotIn​(int index)
       NotIn specifies that this field cannot be equal to one of the specified
       values
       
      repeated double not_in = 7;
      Specified by:
      getNotIn in interface Validate.DoubleRulesOrBuilder
    • setNotIn

      public Validate.DoubleRules.Builder setNotIn​(int index, double value)
       NotIn specifies that this field cannot be equal to one of the specified
       values
       
      repeated double not_in = 7;
    • addNotIn

      public Validate.DoubleRules.Builder addNotIn​(double value)
       NotIn specifies that this field cannot be equal to one of the specified
       values
       
      repeated double not_in = 7;
    • addAllNotIn

      public Validate.DoubleRules.Builder addAllNotIn​(Iterable<? extends Double> values)
       NotIn specifies that this field cannot be equal to one of the specified
       values
       
      repeated double not_in = 7;
    • clearNotIn

      public Validate.DoubleRules.Builder clearNotIn()
       NotIn specifies that this field cannot be equal to one of the specified
       values
       
      repeated double not_in = 7;
    • setUnknownFields

      public final Validate.DoubleRules.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<Validate.DoubleRules.Builder>
    • mergeUnknownFields

      public final Validate.DoubleRules.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<Validate.DoubleRules.Builder>