Interface Validate.DoubleRulesOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Validate.DoubleRules, Validate.DoubleRules.Builder
    Enclosing class:
    Validate

    public static interface Validate.DoubleRulesOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getConst()
      Const specifies that this field must be exactly the specified value
      double getGt()
      Gt specifies that this field must be greater than the specified value, exclusive.
      double getGte()
      Gte specifies that this field must be greater than or equal to the specified value, inclusive.
      boolean getIgnoreEmpty()
      IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
      double getIn​(int index)
      In specifies that this field must be equal to one of the specified values
      int getInCount()
      In specifies that this field must be equal to one of the specified values
      List<Double> getInList()
      In specifies that this field must be equal to one of the specified values
      double getLt()
      Lt specifies that this field must be less than the specified value, exclusive
      double getLte()
      Lte specifies that this field must be less than or equal to the specified value, inclusive
      double getNotIn​(int index)
      NotIn specifies that this field cannot be equal to one of the specified values
      int getNotInCount()
      NotIn specifies that this field cannot be equal to one of the specified values
      List<Double> getNotInList()
      NotIn specifies that this field cannot be equal to one of the specified values
      boolean hasConst()
      Const specifies that this field must be exactly the specified value
      boolean hasGt()
      Gt specifies that this field must be greater than the specified value, exclusive.
      boolean hasGte()
      Gte specifies that this field must be greater than or equal to the specified value, inclusive.
      boolean hasIgnoreEmpty()
      IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
      boolean hasLt()
      Lt specifies that this field must be less than the specified value, exclusive
      boolean hasLte()
      Lte specifies that this field must be less than or equal to the specified value, inclusive
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasConst

        boolean hasConst()
         Const specifies that this field must be exactly the specified value
         
        optional double const = 1;
      • getConst

        double getConst()
         Const specifies that this field must be exactly the specified value
         
        optional double const = 1;
      • hasLt

        boolean hasLt()
         Lt specifies that this field must be less than the specified value,
         exclusive
         
        optional double lt = 2;
      • getLt

        double getLt()
         Lt specifies that this field must be less than the specified value,
         exclusive
         
        optional double lt = 2;
      • hasLte

        boolean hasLte()
         Lte specifies that this field must be less than or equal to the
         specified value, inclusive
         
        optional double lte = 3;
      • getLte

        double getLte()
         Lte specifies that this field must be less than or equal to the
         specified value, inclusive
         
        optional double lte = 3;
      • hasGt

        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;
      • getGt

        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;
      • hasGte

        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;
      • getGte

        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;
      • getInList

        List<Double> getInList()
         In specifies that this field must be equal to one of the specified
         values
         
        repeated double in = 6;
      • getInCount

        int getInCount()
         In specifies that this field must be equal to one of the specified
         values
         
        repeated double in = 6;
      • getIn

        double getIn​(int index)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated double in = 6;
      • getNotInList

        List<Double> getNotInList()
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated double not_in = 7;
      • getNotInCount

        int getNotInCount()
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated double not_in = 7;
      • getNotIn

        double getNotIn​(int index)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated double not_in = 7;
      • hasIgnoreEmpty

        boolean hasIgnoreEmpty()
         IgnoreEmpty specifies that the validation rules of this field should be
         evaluated only if the field is not empty
         
        optional bool ignore_empty = 8;
      • getIgnoreEmpty

        boolean getIgnoreEmpty()
         IgnoreEmpty specifies that the validation rules of this field should be
         evaluated only if the field is not empty
         
        optional bool ignore_empty = 8;