Package com.validate
Class FieldRules
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.validate.FieldRules
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FieldRulesOrBuilder,Serializable
public final class FieldRules
extends com.google.protobuf.GeneratedMessageV3
implements FieldRulesOrBuilder
FieldRules encapsulates the rules for each type of field. Depending on the field, the correct set should be used to ensure proper validations.Protobuf type
validate.FieldRules- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFieldRules encapsulates the rules for each type of field.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<FieldRules>Deprecated.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAny()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"];static FieldRulesstatic final com.google.protobuf.Descriptors.Descriptor.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"];com.google.protobuf.Parser<FieldRules>.validate.RepeatedRules repeated = 18 [json_name = "repeated"];.validate.RepeatedRules repeated = 18 [json_name = "repeated"];int.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 TypesinthashCode()booleanhasInt32().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"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic FieldRules.Builderstatic FieldRules.BuildernewBuilder(FieldRules prototype) protected FieldRules.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static FieldRulesparseDelimitedFrom(InputStream input) static FieldRulesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FieldRulesparseFrom(byte[] data) static FieldRulesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FieldRulesparseFrom(com.google.protobuf.ByteString data) static FieldRulesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FieldRulesparseFrom(com.google.protobuf.CodedInputStream input) static FieldRulesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FieldRulesparseFrom(InputStream input) static FieldRulesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FieldRulesparseFrom(ByteBuffer data) static FieldRulesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FieldRules>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER- See Also:
-
FLOAT_FIELD_NUMBER
public static final int FLOAT_FIELD_NUMBER- See Also:
-
DOUBLE_FIELD_NUMBER
public static final int DOUBLE_FIELD_NUMBER- See Also:
-
INT32_FIELD_NUMBER
public static final int INT32_FIELD_NUMBER- See Also:
-
INT64_FIELD_NUMBER
public static final int INT64_FIELD_NUMBER- See Also:
-
UINT32_FIELD_NUMBER
public static final int UINT32_FIELD_NUMBER- See Also:
-
UINT64_FIELD_NUMBER
public static final int UINT64_FIELD_NUMBER- See Also:
-
SINT32_FIELD_NUMBER
public static final int SINT32_FIELD_NUMBER- See Also:
-
SINT64_FIELD_NUMBER
public static final int SINT64_FIELD_NUMBER- See Also:
-
FIXED32_FIELD_NUMBER
public static final int FIXED32_FIELD_NUMBER- See Also:
-
FIXED64_FIELD_NUMBER
public static final int FIXED64_FIELD_NUMBER- See Also:
-
SFIXED32_FIELD_NUMBER
public static final int SFIXED32_FIELD_NUMBER- See Also:
-
SFIXED64_FIELD_NUMBER
public static final int SFIXED64_FIELD_NUMBER- See Also:
-
BOOL_FIELD_NUMBER
public static final int BOOL_FIELD_NUMBER- See Also:
-
STRING_FIELD_NUMBER
public static final int STRING_FIELD_NUMBER- See Also:
-
BYTES_FIELD_NUMBER
public static final int BYTES_FIELD_NUMBER- See Also:
-
ENUM_FIELD_NUMBER
public static final int ENUM_FIELD_NUMBER- See Also:
-
REPEATED_FIELD_NUMBER
public static final int REPEATED_FIELD_NUMBER- See Also:
-
MAP_FIELD_NUMBER
public static final int MAP_FIELD_NUMBER- See Also:
-
ANY_FIELD_NUMBER
public static final int ANY_FIELD_NUMBER- See Also:
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTypeCase
- Specified by:
getTypeCasein interfaceFieldRulesOrBuilder
-
hasMessage
public boolean hasMessage()optional .validate.MessageRules message = 17 [json_name = "message"];- Specified by:
hasMessagein interfaceFieldRulesOrBuilder- Returns:
- Whether the message field is set.
-
getMessage
optional .validate.MessageRules message = 17 [json_name = "message"];- Specified by:
getMessagein interfaceFieldRulesOrBuilder- Returns:
- The message.
-
getMessageOrBuilder
optional .validate.MessageRules message = 17 [json_name = "message"];- Specified by:
getMessageOrBuilderin interfaceFieldRulesOrBuilder
-
hasFloat
public boolean hasFloat()Scalar Field Types
.validate.FloatRules float = 1 [json_name = "float"];- Specified by:
hasFloatin interfaceFieldRulesOrBuilder- Returns:
- Whether the float field is set.
-
getFloat
Scalar Field Types
.validate.FloatRules float = 1 [json_name = "float"];- Specified by:
getFloatin interfaceFieldRulesOrBuilder- Returns:
- The float.
-
getFloatOrBuilder
Scalar Field Types
.validate.FloatRules float = 1 [json_name = "float"];- Specified by:
getFloatOrBuilderin interfaceFieldRulesOrBuilder
-
hasDouble
public boolean hasDouble().validate.DoubleRules double = 2 [json_name = "double"];- Specified by:
hasDoublein interfaceFieldRulesOrBuilder- Returns:
- Whether the double field is set.
-
getDouble
.validate.DoubleRules double = 2 [json_name = "double"];- Specified by:
getDoublein interfaceFieldRulesOrBuilder- Returns:
- The double.
-
getDoubleOrBuilder
.validate.DoubleRules double = 2 [json_name = "double"];- Specified by:
getDoubleOrBuilderin interfaceFieldRulesOrBuilder
-
hasInt32
public boolean hasInt32().validate.Int32Rules int32 = 3 [json_name = "int32"];- Specified by:
hasInt32in interfaceFieldRulesOrBuilder- Returns:
- Whether the int32 field is set.
-
getInt32
.validate.Int32Rules int32 = 3 [json_name = "int32"];- Specified by:
getInt32in interfaceFieldRulesOrBuilder- Returns:
- The int32.
-
getInt32OrBuilder
.validate.Int32Rules int32 = 3 [json_name = "int32"];- Specified by:
getInt32OrBuilderin interfaceFieldRulesOrBuilder
-
hasInt64
public boolean hasInt64().validate.Int64Rules int64 = 4 [json_name = "int64"];- Specified by:
hasInt64in interfaceFieldRulesOrBuilder- Returns:
- Whether the int64 field is set.
-
getInt64
.validate.Int64Rules int64 = 4 [json_name = "int64"];- Specified by:
getInt64in interfaceFieldRulesOrBuilder- Returns:
- The int64.
-
getInt64OrBuilder
.validate.Int64Rules int64 = 4 [json_name = "int64"];- Specified by:
getInt64OrBuilderin interfaceFieldRulesOrBuilder
-
hasUint32
public boolean hasUint32().validate.UInt32Rules uint32 = 5 [json_name = "uint32"];- Specified by:
hasUint32in interfaceFieldRulesOrBuilder- Returns:
- Whether the uint32 field is set.
-
getUint32
.validate.UInt32Rules uint32 = 5 [json_name = "uint32"];- Specified by:
getUint32in interfaceFieldRulesOrBuilder- Returns:
- The uint32.
-
getUint32OrBuilder
.validate.UInt32Rules uint32 = 5 [json_name = "uint32"];- Specified by:
getUint32OrBuilderin interfaceFieldRulesOrBuilder
-
hasUint64
public boolean hasUint64().validate.UInt64Rules uint64 = 6 [json_name = "uint64"];- Specified by:
hasUint64in interfaceFieldRulesOrBuilder- Returns:
- Whether the uint64 field is set.
-
getUint64
.validate.UInt64Rules uint64 = 6 [json_name = "uint64"];- Specified by:
getUint64in interfaceFieldRulesOrBuilder- Returns:
- The uint64.
-
getUint64OrBuilder
.validate.UInt64Rules uint64 = 6 [json_name = "uint64"];- Specified by:
getUint64OrBuilderin interfaceFieldRulesOrBuilder
-
hasSint32
public boolean hasSint32().validate.SInt32Rules sint32 = 7 [json_name = "sint32"];- Specified by:
hasSint32in interfaceFieldRulesOrBuilder- Returns:
- Whether the sint32 field is set.
-
getSint32
.validate.SInt32Rules sint32 = 7 [json_name = "sint32"];- Specified by:
getSint32in interfaceFieldRulesOrBuilder- Returns:
- The sint32.
-
getSint32OrBuilder
.validate.SInt32Rules sint32 = 7 [json_name = "sint32"];- Specified by:
getSint32OrBuilderin interfaceFieldRulesOrBuilder
-
hasSint64
public boolean hasSint64().validate.SInt64Rules sint64 = 8 [json_name = "sint64"];- Specified by:
hasSint64in interfaceFieldRulesOrBuilder- Returns:
- Whether the sint64 field is set.
-
getSint64
.validate.SInt64Rules sint64 = 8 [json_name = "sint64"];- Specified by:
getSint64in interfaceFieldRulesOrBuilder- Returns:
- The sint64.
-
getSint64OrBuilder
.validate.SInt64Rules sint64 = 8 [json_name = "sint64"];- Specified by:
getSint64OrBuilderin interfaceFieldRulesOrBuilder
-
hasFixed32
public boolean hasFixed32().validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];- Specified by:
hasFixed32in interfaceFieldRulesOrBuilder- Returns:
- Whether the fixed32 field is set.
-
getFixed32
.validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];- Specified by:
getFixed32in interfaceFieldRulesOrBuilder- Returns:
- The fixed32.
-
getFixed32OrBuilder
.validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];- Specified by:
getFixed32OrBuilderin interfaceFieldRulesOrBuilder
-
hasFixed64
public boolean hasFixed64().validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];- Specified by:
hasFixed64in interfaceFieldRulesOrBuilder- Returns:
- Whether the fixed64 field is set.
-
getFixed64
.validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];- Specified by:
getFixed64in interfaceFieldRulesOrBuilder- Returns:
- The fixed64.
-
getFixed64OrBuilder
.validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];- Specified by:
getFixed64OrBuilderin interfaceFieldRulesOrBuilder
-
hasSfixed32
public boolean hasSfixed32().validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];- Specified by:
hasSfixed32in interfaceFieldRulesOrBuilder- Returns:
- Whether the sfixed32 field is set.
-
getSfixed32
.validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];- Specified by:
getSfixed32in interfaceFieldRulesOrBuilder- Returns:
- The sfixed32.
-
getSfixed32OrBuilder
.validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];- Specified by:
getSfixed32OrBuilderin interfaceFieldRulesOrBuilder
-
hasSfixed64
public boolean hasSfixed64().validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];- Specified by:
hasSfixed64in interfaceFieldRulesOrBuilder- Returns:
- Whether the sfixed64 field is set.
-
getSfixed64
.validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];- Specified by:
getSfixed64in interfaceFieldRulesOrBuilder- Returns:
- The sfixed64.
-
getSfixed64OrBuilder
.validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];- Specified by:
getSfixed64OrBuilderin interfaceFieldRulesOrBuilder
-
hasBool
public boolean hasBool().validate.BoolRules bool = 13 [json_name = "bool"];- Specified by:
hasBoolin interfaceFieldRulesOrBuilder- Returns:
- Whether the bool field is set.
-
getBool
.validate.BoolRules bool = 13 [json_name = "bool"];- Specified by:
getBoolin interfaceFieldRulesOrBuilder- Returns:
- The bool.
-
getBoolOrBuilder
.validate.BoolRules bool = 13 [json_name = "bool"];- Specified by:
getBoolOrBuilderin interfaceFieldRulesOrBuilder
-
hasString
public boolean hasString().validate.StringRules string = 14 [json_name = "string"];- Specified by:
hasStringin interfaceFieldRulesOrBuilder- Returns:
- Whether the string field is set.
-
getString
.validate.StringRules string = 14 [json_name = "string"];- Specified by:
getStringin interfaceFieldRulesOrBuilder- Returns:
- The string.
-
getStringOrBuilder
.validate.StringRules string = 14 [json_name = "string"];- Specified by:
getStringOrBuilderin interfaceFieldRulesOrBuilder
-
hasBytes
public boolean hasBytes().validate.BytesRules bytes = 15 [json_name = "bytes"];- Specified by:
hasBytesin interfaceFieldRulesOrBuilder- Returns:
- Whether the bytes field is set.
-
getBytes
.validate.BytesRules bytes = 15 [json_name = "bytes"];- Specified by:
getBytesin interfaceFieldRulesOrBuilder- Returns:
- The bytes.
-
getBytesOrBuilder
.validate.BytesRules bytes = 15 [json_name = "bytes"];- Specified by:
getBytesOrBuilderin interfaceFieldRulesOrBuilder
-
hasEnum
public boolean hasEnum()Complex Field Types
.validate.EnumRules enum = 16 [json_name = "enum"];- Specified by:
hasEnumin interfaceFieldRulesOrBuilder- Returns:
- Whether the enum field is set.
-
getEnum
Complex Field Types
.validate.EnumRules enum = 16 [json_name = "enum"];- Specified by:
getEnumin interfaceFieldRulesOrBuilder- Returns:
- The enum.
-
getEnumOrBuilder
Complex Field Types
.validate.EnumRules enum = 16 [json_name = "enum"];- Specified by:
getEnumOrBuilderin interfaceFieldRulesOrBuilder
-
hasRepeated
public boolean hasRepeated().validate.RepeatedRules repeated = 18 [json_name = "repeated"];- Specified by:
hasRepeatedin interfaceFieldRulesOrBuilder- Returns:
- Whether the repeated field is set.
-
getRepeated
.validate.RepeatedRules repeated = 18 [json_name = "repeated"];- Specified by:
getRepeatedin interfaceFieldRulesOrBuilder- Returns:
- The repeated.
-
getRepeatedOrBuilder
.validate.RepeatedRules repeated = 18 [json_name = "repeated"];- Specified by:
getRepeatedOrBuilderin interfaceFieldRulesOrBuilder
-
hasMap
public boolean hasMap().validate.MapRules map = 19 [json_name = "map"];- Specified by:
hasMapin interfaceFieldRulesOrBuilder- Returns:
- Whether the map field is set.
-
getMap
.validate.MapRules map = 19 [json_name = "map"];- Specified by:
getMapin interfaceFieldRulesOrBuilder- Returns:
- The map.
-
getMapOrBuilder
.validate.MapRules map = 19 [json_name = "map"];- Specified by:
getMapOrBuilderin interfaceFieldRulesOrBuilder
-
hasAny
public boolean hasAny()Well-Known Field Types
.validate.AnyRules any = 20 [json_name = "any"];- Specified by:
hasAnyin interfaceFieldRulesOrBuilder- Returns:
- Whether the any field is set.
-
getAny
Well-Known Field Types
.validate.AnyRules any = 20 [json_name = "any"];- Specified by:
getAnyin interfaceFieldRulesOrBuilder- Returns:
- The any.
-
getAnyOrBuilder
Well-Known Field Types
.validate.AnyRules any = 20 [json_name = "any"];- Specified by:
getAnyOrBuilderin interfaceFieldRulesOrBuilder
-
hasDuration
public boolean hasDuration().validate.DurationRules duration = 21 [json_name = "duration"];- Specified by:
hasDurationin interfaceFieldRulesOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
.validate.DurationRules duration = 21 [json_name = "duration"];- Specified by:
getDurationin interfaceFieldRulesOrBuilder- Returns:
- The duration.
-
getDurationOrBuilder
.validate.DurationRules duration = 21 [json_name = "duration"];- Specified by:
getDurationOrBuilderin interfaceFieldRulesOrBuilder
-
hasTimestamp
public boolean hasTimestamp().validate.TimestampRules timestamp = 22 [json_name = "timestamp"];- Specified by:
hasTimestampin interfaceFieldRulesOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
.validate.TimestampRules timestamp = 22 [json_name = "timestamp"];- Specified by:
getTimestampin interfaceFieldRulesOrBuilder- Returns:
- The timestamp.
-
getTimestampOrBuilder
.validate.TimestampRules timestamp = 22 [json_name = "timestamp"];- Specified by:
getTimestampOrBuilderin interfaceFieldRulesOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FieldRules parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FieldRules parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FieldRules parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FieldRules parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FieldRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FieldRules parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FieldRules parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FieldRules parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FieldRules parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FieldRules.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-