Spaces:
Paused
Paused
File size: 2,356 Bytes
4c921aa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | // Original file: proto/protoc-gen-validate/validate/validate.proto
/**
* SInt32Rules describes the constraints applied to `sint32` values
*/
export interface SInt32Rules {
/**
* Const specifies that this field must be exactly the specified value
*/
'const'?: (number);
/**
* Lt specifies that this field must be less than the specified value,
* exclusive
*/
'lt'?: (number);
/**
* Lte specifies that this field must be less than or equal to the
* specified value, inclusive
*/
'lte'?: (number);
/**
* 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.
*/
'gt'?: (number);
/**
* 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.
*/
'gte'?: (number);
/**
* In specifies that this field must be equal to one of the specified
* values
*/
'in'?: (number)[];
/**
* NotIn specifies that this field cannot be equal to one of the specified
* values
*/
'not_in'?: (number)[];
}
/**
* SInt32Rules describes the constraints applied to `sint32` values
*/
export interface SInt32Rules__Output {
/**
* Const specifies that this field must be exactly the specified value
*/
'const': (number);
/**
* Lt specifies that this field must be less than the specified value,
* exclusive
*/
'lt': (number);
/**
* Lte specifies that this field must be less than or equal to the
* specified value, inclusive
*/
'lte': (number);
/**
* 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.
*/
'gt': (number);
/**
* 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.
*/
'gte': (number);
/**
* In specifies that this field must be equal to one of the specified
* values
*/
'in': (number)[];
/**
* NotIn specifies that this field cannot be equal to one of the specified
* values
*/
'not_in': (number)[];
}
|