Package com.validate
Interface FieldRulesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FieldRules,FieldRules.Builder
public interface FieldRulesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAny()Well-Known Field TypesWell-Known Field TypesgetBool().validate.BoolRules bool = 13 [json_name = "bool"];.validate.BoolRules bool = 13 [json_name = "bool"];getBytes().validate.BytesRules bytes = 15 [json_name = "bytes"];.validate.BytesRules bytes = 15 [json_name = "bytes"];.validate.DoubleRules double = 2 [json_name = "double"];.validate.DoubleRules double = 2 [json_name = "double"];.validate.DurationRules duration = 21 [json_name = "duration"];.validate.DurationRules duration = 21 [json_name = "duration"];getEnum()Complex Field TypesComplex Field Types.validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];.validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];.validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];.validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];getFloat()Scalar Field TypesScalar Field TypesgetInt32().validate.Int32Rules int32 = 3 [json_name = "int32"];.validate.Int32Rules int32 = 3 [json_name = "int32"];getInt64().validate.Int64Rules int64 = 4 [json_name = "int64"];.validate.Int64Rules int64 = 4 [json_name = "int64"];getMap().validate.MapRules map = 19 [json_name = "map"];.validate.MapRules map = 19 [json_name = "map"];optional .validate.MessageRules message = 17 [json_name = "message"];optional .validate.MessageRules message = 17 [json_name = "message"];.validate.RepeatedRules repeated = 18 [json_name = "repeated"];.validate.RepeatedRules repeated = 18 [json_name = "repeated"];.validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];.validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];.validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];.validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];.validate.SInt32Rules sint32 = 7 [json_name = "sint32"];.validate.SInt32Rules sint32 = 7 [json_name = "sint32"];.validate.SInt64Rules sint64 = 8 [json_name = "sint64"];.validate.SInt64Rules sint64 = 8 [json_name = "sint64"];.validate.StringRules string = 14 [json_name = "string"];.validate.StringRules string = 14 [json_name = "string"];.validate.TimestampRules timestamp = 22 [json_name = "timestamp"];.validate.TimestampRules timestamp = 22 [json_name = "timestamp"];.validate.UInt32Rules uint32 = 5 [json_name = "uint32"];.validate.UInt32Rules uint32 = 5 [json_name = "uint32"];.validate.UInt64Rules uint64 = 6 [json_name = "uint64"];.validate.UInt64Rules uint64 = 6 [json_name = "uint64"];booleanhasAny()Well-Known Field TypesbooleanhasBool().validate.BoolRules bool = 13 [json_name = "bool"];booleanhasBytes().validate.BytesRules bytes = 15 [json_name = "bytes"];boolean.validate.DoubleRules double = 2 [json_name = "double"];boolean.validate.DurationRules duration = 21 [json_name = "duration"];booleanhasEnum()Complex Field Typesboolean.validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];boolean.validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];booleanhasFloat()Scalar Field TypesbooleanhasInt32().validate.Int32Rules int32 = 3 [json_name = "int32"];booleanhasInt64().validate.Int64Rules int64 = 4 [json_name = "int64"];booleanhasMap().validate.MapRules map = 19 [json_name = "map"];booleanoptional .validate.MessageRules message = 17 [json_name = "message"];boolean.validate.RepeatedRules repeated = 18 [json_name = "repeated"];boolean.validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];boolean.validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];boolean.validate.SInt32Rules sint32 = 7 [json_name = "sint32"];boolean.validate.SInt64Rules sint64 = 8 [json_name = "sint64"];boolean.validate.StringRules string = 14 [json_name = "string"];boolean.validate.TimestampRules timestamp = 22 [json_name = "timestamp"];boolean.validate.UInt32Rules uint32 = 5 [json_name = "uint32"];boolean.validate.UInt64Rules uint64 = 6 [json_name = "uint64"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasMessage
boolean hasMessage()optional .validate.MessageRules message = 17 [json_name = "message"];- Returns:
- Whether the message field is set.
-
getMessage
MessageRules getMessage()optional .validate.MessageRules message = 17 [json_name = "message"];- Returns:
- The message.
-
getMessageOrBuilder
MessageRulesOrBuilder getMessageOrBuilder()optional .validate.MessageRules message = 17 [json_name = "message"]; -
hasFloat
boolean hasFloat()Scalar Field Types
.validate.FloatRules float = 1 [json_name = "float"];- Returns:
- Whether the float field is set.
-
getFloat
FloatRules getFloat()Scalar Field Types
.validate.FloatRules float = 1 [json_name = "float"];- Returns:
- The float.
-
getFloatOrBuilder
FloatRulesOrBuilder getFloatOrBuilder()Scalar Field Types
.validate.FloatRules float = 1 [json_name = "float"]; -
hasDouble
boolean hasDouble().validate.DoubleRules double = 2 [json_name = "double"];- Returns:
- Whether the double field is set.
-
getDouble
DoubleRules getDouble().validate.DoubleRules double = 2 [json_name = "double"];- Returns:
- The double.
-
getDoubleOrBuilder
DoubleRulesOrBuilder getDoubleOrBuilder().validate.DoubleRules double = 2 [json_name = "double"]; -
hasInt32
boolean hasInt32().validate.Int32Rules int32 = 3 [json_name = "int32"];- Returns:
- Whether the int32 field is set.
-
getInt32
Int32Rules getInt32().validate.Int32Rules int32 = 3 [json_name = "int32"];- Returns:
- The int32.
-
getInt32OrBuilder
Int32RulesOrBuilder getInt32OrBuilder().validate.Int32Rules int32 = 3 [json_name = "int32"]; -
hasInt64
boolean hasInt64().validate.Int64Rules int64 = 4 [json_name = "int64"];- Returns:
- Whether the int64 field is set.
-
getInt64
Int64Rules getInt64().validate.Int64Rules int64 = 4 [json_name = "int64"];- Returns:
- The int64.
-
getInt64OrBuilder
Int64RulesOrBuilder getInt64OrBuilder().validate.Int64Rules int64 = 4 [json_name = "int64"]; -
hasUint32
boolean hasUint32().validate.UInt32Rules uint32 = 5 [json_name = "uint32"];- Returns:
- Whether the uint32 field is set.
-
getUint32
UInt32Rules getUint32().validate.UInt32Rules uint32 = 5 [json_name = "uint32"];- Returns:
- The uint32.
-
getUint32OrBuilder
UInt32RulesOrBuilder getUint32OrBuilder().validate.UInt32Rules uint32 = 5 [json_name = "uint32"]; -
hasUint64
boolean hasUint64().validate.UInt64Rules uint64 = 6 [json_name = "uint64"];- Returns:
- Whether the uint64 field is set.
-
getUint64
UInt64Rules getUint64().validate.UInt64Rules uint64 = 6 [json_name = "uint64"];- Returns:
- The uint64.
-
getUint64OrBuilder
UInt64RulesOrBuilder getUint64OrBuilder().validate.UInt64Rules uint64 = 6 [json_name = "uint64"]; -
hasSint32
boolean hasSint32().validate.SInt32Rules sint32 = 7 [json_name = "sint32"];- Returns:
- Whether the sint32 field is set.
-
getSint32
SInt32Rules getSint32().validate.SInt32Rules sint32 = 7 [json_name = "sint32"];- Returns:
- The sint32.
-
getSint32OrBuilder
SInt32RulesOrBuilder getSint32OrBuilder().validate.SInt32Rules sint32 = 7 [json_name = "sint32"]; -
hasSint64
boolean hasSint64().validate.SInt64Rules sint64 = 8 [json_name = "sint64"];- Returns:
- Whether the sint64 field is set.
-
getSint64
SInt64Rules getSint64().validate.SInt64Rules sint64 = 8 [json_name = "sint64"];- Returns:
- The sint64.
-
getSint64OrBuilder
SInt64RulesOrBuilder getSint64OrBuilder().validate.SInt64Rules sint64 = 8 [json_name = "sint64"]; -
hasFixed32
boolean hasFixed32().validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];- Returns:
- Whether the fixed32 field is set.
-
getFixed32
Fixed32Rules getFixed32().validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];- Returns:
- The fixed32.
-
getFixed32OrBuilder
Fixed32RulesOrBuilder getFixed32OrBuilder().validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"]; -
hasFixed64
boolean hasFixed64().validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];- Returns:
- Whether the fixed64 field is set.
-
getFixed64
Fixed64Rules getFixed64().validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];- Returns:
- The fixed64.
-
getFixed64OrBuilder
Fixed64RulesOrBuilder getFixed64OrBuilder().validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"]; -
hasSfixed32
boolean hasSfixed32().validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];- Returns:
- Whether the sfixed32 field is set.
-
getSfixed32
SFixed32Rules getSfixed32().validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];- Returns:
- The sfixed32.
-
getSfixed32OrBuilder
SFixed32RulesOrBuilder getSfixed32OrBuilder().validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"]; -
hasSfixed64
boolean hasSfixed64().validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];- Returns:
- Whether the sfixed64 field is set.
-
getSfixed64
SFixed64Rules getSfixed64().validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];- Returns:
- The sfixed64.
-
getSfixed64OrBuilder
SFixed64RulesOrBuilder getSfixed64OrBuilder().validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"]; -
hasBool
boolean hasBool().validate.BoolRules bool = 13 [json_name = "bool"];- Returns:
- Whether the bool field is set.
-
getBool
BoolRules getBool().validate.BoolRules bool = 13 [json_name = "bool"];- Returns:
- The bool.
-
getBoolOrBuilder
BoolRulesOrBuilder getBoolOrBuilder().validate.BoolRules bool = 13 [json_name = "bool"]; -
hasString
boolean hasString().validate.StringRules string = 14 [json_name = "string"];- Returns:
- Whether the string field is set.
-
getString
StringRules getString().validate.StringRules string = 14 [json_name = "string"];- Returns:
- The string.
-
getStringOrBuilder
StringRulesOrBuilder getStringOrBuilder().validate.StringRules string = 14 [json_name = "string"]; -
hasBytes
boolean hasBytes().validate.BytesRules bytes = 15 [json_name = "bytes"];- Returns:
- Whether the bytes field is set.
-
getBytes
BytesRules getBytes().validate.BytesRules bytes = 15 [json_name = "bytes"];- Returns:
- The bytes.
-
getBytesOrBuilder
BytesRulesOrBuilder getBytesOrBuilder().validate.BytesRules bytes = 15 [json_name = "bytes"]; -
hasEnum
boolean hasEnum()Complex Field Types
.validate.EnumRules enum = 16 [json_name = "enum"];- Returns:
- Whether the enum field is set.
-
getEnum
EnumRules getEnum()Complex Field Types
.validate.EnumRules enum = 16 [json_name = "enum"];- Returns:
- The enum.
-
getEnumOrBuilder
EnumRulesOrBuilder getEnumOrBuilder()Complex Field Types
.validate.EnumRules enum = 16 [json_name = "enum"]; -
hasRepeated
boolean hasRepeated().validate.RepeatedRules repeated = 18 [json_name = "repeated"];- Returns:
- Whether the repeated field is set.
-
getRepeated
RepeatedRules getRepeated().validate.RepeatedRules repeated = 18 [json_name = "repeated"];- Returns:
- The repeated.
-
getRepeatedOrBuilder
RepeatedRulesOrBuilder getRepeatedOrBuilder().validate.RepeatedRules repeated = 18 [json_name = "repeated"]; -
hasMap
boolean hasMap().validate.MapRules map = 19 [json_name = "map"];- Returns:
- Whether the map field is set.
-
getMap
MapRules getMap().validate.MapRules map = 19 [json_name = "map"];- Returns:
- The map.
-
getMapOrBuilder
MapRulesOrBuilder getMapOrBuilder().validate.MapRules map = 19 [json_name = "map"]; -
hasAny
boolean hasAny()Well-Known Field Types
.validate.AnyRules any = 20 [json_name = "any"];- Returns:
- Whether the any field is set.
-
getAny
AnyRules getAny()Well-Known Field Types
.validate.AnyRules any = 20 [json_name = "any"];- Returns:
- The any.
-
getAnyOrBuilder
AnyRulesOrBuilder getAnyOrBuilder()Well-Known Field Types
.validate.AnyRules any = 20 [json_name = "any"]; -
hasDuration
boolean hasDuration().validate.DurationRules duration = 21 [json_name = "duration"];- Returns:
- Whether the duration field is set.
-
getDuration
DurationRules getDuration().validate.DurationRules duration = 21 [json_name = "duration"];- Returns:
- The duration.
-
getDurationOrBuilder
DurationRulesOrBuilder getDurationOrBuilder().validate.DurationRules duration = 21 [json_name = "duration"]; -
hasTimestamp
boolean hasTimestamp().validate.TimestampRules timestamp = 22 [json_name = "timestamp"];- Returns:
- Whether the timestamp field is set.
-
getTimestamp
TimestampRules getTimestamp().validate.TimestampRules timestamp = 22 [json_name = "timestamp"];- Returns:
- The timestamp.
-
getTimestampOrBuilder
TimestampRulesOrBuilder getTimestampOrBuilder().validate.TimestampRules timestamp = 22 [json_name = "timestamp"]; -
getTypeCase
FieldRules.TypeCase getTypeCase()
-