Interface Validate.Int32RulesOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    Const specifies that this field must be exactly the specified value
    int
    Gt specifies that this field must be greater than the specified value, exclusive.
    int
    Gte specifies that this field must be greater than or equal to the specified value, inclusive.
    boolean
    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
    int
    getIn(int index)
    In specifies that this field must be equal to one of the specified values
    int
    In specifies that this field must be equal to one of the specified values
    In specifies that this field must be equal to one of the specified values
    int
    Lt specifies that this field must be less than the specified value, exclusive
    int
    Lte specifies that this field must be less than or equal to the specified value, inclusive
    int
    getNotIn(int index)
    NotIn specifies that this field cannot be equal to one of the specified values
    int
    NotIn specifies that this field cannot be equal to one of the specified values
    NotIn specifies that this field cannot be equal to one of the specified values
    boolean
    Const specifies that this field must be exactly the specified value
    boolean
    Gt specifies that this field must be greater than the specified value, exclusive.
    boolean
    Gte specifies that this field must be greater than or equal to the specified value, inclusive.
    boolean
    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
    boolean
    Lt specifies that this field must be less than the specified value, exclusive
    boolean
    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 Details

    • hasConst

      boolean hasConst()
       Const specifies that this field must be exactly the specified value
       
      optional int32 const = 1;
      Returns:
      Whether the const field is set.
    • getConst

      int getConst()
       Const specifies that this field must be exactly the specified value
       
      optional int32 const = 1;
      Returns:
      The const.
    • hasLt

      boolean hasLt()
       Lt specifies that this field must be less than the specified value,
       exclusive
       
      optional int32 lt = 2;
      Returns:
      Whether the lt field is set.
    • getLt

      int getLt()
       Lt specifies that this field must be less than the specified value,
       exclusive
       
      optional int32 lt = 2;
      Returns:
      The lt.
    • hasLte

      boolean hasLte()
       Lte specifies that this field must be less than or equal to the
       specified value, inclusive
       
      optional int32 lte = 3;
      Returns:
      Whether the lte field is set.
    • getLte

      int getLte()
       Lte specifies that this field must be less than or equal to the
       specified value, inclusive
       
      optional int32 lte = 3;
      Returns:
      The lte.
    • 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 int32 gt = 4;
      Returns:
      Whether the gt field is set.
    • getGt

      int 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 int32 gt = 4;
      Returns:
      The gt.
    • 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 int32 gte = 5;
      Returns:
      Whether the gte field is set.
    • getGte

      int 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 int32 gte = 5;
      Returns:
      The gte.
    • getInList

      List<Integer> getInList()
       In specifies that this field must be equal to one of the specified
       values
       
      repeated int32 in = 6;
      Returns:
      A list containing the in.
    • getInCount

      int getInCount()
       In specifies that this field must be equal to one of the specified
       values
       
      repeated int32 in = 6;
      Returns:
      The count of in.
    • getIn

      int getIn(int index)
       In specifies that this field must be equal to one of the specified
       values
       
      repeated int32 in = 6;
      Parameters:
      index - The index of the element to return.
      Returns:
      The in at the given index.
    • getNotInList

      List<Integer> getNotInList()
       NotIn specifies that this field cannot be equal to one of the specified
       values
       
      repeated int32 not_in = 7;
      Returns:
      A list containing the notIn.
    • getNotInCount

      int getNotInCount()
       NotIn specifies that this field cannot be equal to one of the specified
       values
       
      repeated int32 not_in = 7;
      Returns:
      The count of notIn.
    • getNotIn

      int getNotIn(int index)
       NotIn specifies that this field cannot be equal to one of the specified
       values
       
      repeated int32 not_in = 7;
      Parameters:
      index - The index of the element to return.
      Returns:
      The notIn at the given index.
    • 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;
      Returns:
      Whether the ignoreEmpty field is set.
    • 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;
      Returns:
      The ignoreEmpty.