Package io.envoyproxy.pgv.validate
Class Validate.FieldRules
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.pgv.validate.Validate.FieldRules
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Validate.FieldRulesOrBuilder,java.io.Serializable
- Enclosing class:
- Validate
public static final class Validate.FieldRules extends com.google.protobuf.GeneratedMessageV3 implements Validate.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 typevalidate.FieldRules- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValidate.FieldRules.BuilderFieldRules encapsulates the rules for each type of field.static classValidate.FieldRules.TypeCase-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intANY_FIELD_NUMBERstatic intBOOL_FIELD_NUMBERstatic intBYTES_FIELD_NUMBERstatic intDOUBLE_FIELD_NUMBERstatic intDURATION_FIELD_NUMBERstatic intENUM_FIELD_NUMBERstatic intFIXED32_FIELD_NUMBERstatic intFIXED64_FIELD_NUMBERstatic intFLOAT_FIELD_NUMBERstatic intINT32_FIELD_NUMBERstatic intINT64_FIELD_NUMBERstatic intMAP_FIELD_NUMBERstatic intMESSAGE_FIELD_NUMBERstatic com.google.protobuf.Parser<Validate.FieldRules>PARSERDeprecated.static intREPEATED_FIELD_NUMBERstatic intSFIXED32_FIELD_NUMBERstatic intSFIXED64_FIELD_NUMBERstatic intSINT32_FIELD_NUMBERstatic intSINT64_FIELD_NUMBERstatic intSTRING_FIELD_NUMBERstatic intTIMESTAMP_FIELD_NUMBERstatic intUINT32_FIELD_NUMBERstatic intUINT64_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Validate.AnyRulesgetAny()Well-Known Field TypesValidate.AnyRulesOrBuildergetAnyOrBuilder()Well-Known Field TypesValidate.BoolRulesgetBool().validate.BoolRules bool = 13;Validate.BoolRulesOrBuildergetBoolOrBuilder().validate.BoolRules bool = 13;Validate.BytesRulesgetBytes().validate.BytesRules bytes = 15;Validate.BytesRulesOrBuildergetBytesOrBuilder().validate.BytesRules bytes = 15;static Validate.FieldRulesgetDefaultInstance()Validate.FieldRulesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Validate.DoubleRulesgetDouble().validate.DoubleRules double = 2;Validate.DoubleRulesOrBuildergetDoubleOrBuilder().validate.DoubleRules double = 2;Validate.DurationRulesgetDuration().validate.DurationRules duration = 21;Validate.DurationRulesOrBuildergetDurationOrBuilder().validate.DurationRules duration = 21;Validate.EnumRulesgetEnum()Complex Field TypesValidate.EnumRulesOrBuildergetEnumOrBuilder()Complex Field TypesValidate.Fixed32RulesgetFixed32().validate.Fixed32Rules fixed32 = 9;Validate.Fixed32RulesOrBuildergetFixed32OrBuilder().validate.Fixed32Rules fixed32 = 9;Validate.Fixed64RulesgetFixed64().validate.Fixed64Rules fixed64 = 10;Validate.Fixed64RulesOrBuildergetFixed64OrBuilder().validate.Fixed64Rules fixed64 = 10;Validate.FloatRulesgetFloat()Scalar Field TypesValidate.FloatRulesOrBuildergetFloatOrBuilder()Scalar Field TypesValidate.Int32RulesgetInt32().validate.Int32Rules int32 = 3;Validate.Int32RulesOrBuildergetInt32OrBuilder().validate.Int32Rules int32 = 3;Validate.Int64RulesgetInt64().validate.Int64Rules int64 = 4;Validate.Int64RulesOrBuildergetInt64OrBuilder().validate.Int64Rules int64 = 4;Validate.MapRulesgetMap().validate.MapRules map = 19;Validate.MapRulesOrBuildergetMapOrBuilder().validate.MapRules map = 19;Validate.MessageRulesgetMessage()optional .validate.MessageRules message = 17;Validate.MessageRulesOrBuildergetMessageOrBuilder()optional .validate.MessageRules message = 17;com.google.protobuf.Parser<Validate.FieldRules>getParserForType()Validate.RepeatedRulesgetRepeated().validate.RepeatedRules repeated = 18;Validate.RepeatedRulesOrBuildergetRepeatedOrBuilder().validate.RepeatedRules repeated = 18;intgetSerializedSize()Validate.SFixed32RulesgetSfixed32().validate.SFixed32Rules sfixed32 = 11;Validate.SFixed32RulesOrBuildergetSfixed32OrBuilder().validate.SFixed32Rules sfixed32 = 11;Validate.SFixed64RulesgetSfixed64().validate.SFixed64Rules sfixed64 = 12;Validate.SFixed64RulesOrBuildergetSfixed64OrBuilder().validate.SFixed64Rules sfixed64 = 12;Validate.SInt32RulesgetSint32().validate.SInt32Rules sint32 = 7;Validate.SInt32RulesOrBuildergetSint32OrBuilder().validate.SInt32Rules sint32 = 7;Validate.SInt64RulesgetSint64().validate.SInt64Rules sint64 = 8;Validate.SInt64RulesOrBuildergetSint64OrBuilder().validate.SInt64Rules sint64 = 8;Validate.StringRulesgetString().validate.StringRules string = 14;Validate.StringRulesOrBuildergetStringOrBuilder().validate.StringRules string = 14;Validate.TimestampRulesgetTimestamp().validate.TimestampRules timestamp = 22;Validate.TimestampRulesOrBuildergetTimestampOrBuilder().validate.TimestampRules timestamp = 22;Validate.FieldRules.TypeCasegetTypeCase()Validate.UInt32RulesgetUint32().validate.UInt32Rules uint32 = 5;Validate.UInt32RulesOrBuildergetUint32OrBuilder().validate.UInt32Rules uint32 = 5;Validate.UInt64RulesgetUint64().validate.UInt64Rules uint64 = 6;Validate.UInt64RulesOrBuildergetUint64OrBuilder().validate.UInt64Rules uint64 = 6;booleanhasAny()Well-Known Field TypesbooleanhasBool().validate.BoolRules bool = 13;booleanhasBytes().validate.BytesRules bytes = 15;booleanhasDouble().validate.DoubleRules double = 2;booleanhasDuration().validate.DurationRules duration = 21;booleanhasEnum()Complex Field TypesbooleanhasFixed32().validate.Fixed32Rules fixed32 = 9;booleanhasFixed64().validate.Fixed64Rules fixed64 = 10;booleanhasFloat()Scalar Field TypesinthashCode()booleanhasInt32().validate.Int32Rules int32 = 3;booleanhasInt64().validate.Int64Rules int64 = 4;booleanhasMap().validate.MapRules map = 19;booleanhasMessage()optional .validate.MessageRules message = 17;booleanhasRepeated().validate.RepeatedRules repeated = 18;booleanhasSfixed32().validate.SFixed32Rules sfixed32 = 11;booleanhasSfixed64().validate.SFixed64Rules sfixed64 = 12;booleanhasSint32().validate.SInt32Rules sint32 = 7;booleanhasSint64().validate.SInt64Rules sint64 = 8;booleanhasString().validate.StringRules string = 14;booleanhasTimestamp().validate.TimestampRules timestamp = 22;booleanhasUint32().validate.UInt32Rules uint32 = 5;booleanhasUint64().validate.UInt64Rules uint64 = 6;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Validate.FieldRules.BuildernewBuilder()static Validate.FieldRules.BuildernewBuilder(Validate.FieldRules prototype)Validate.FieldRules.BuildernewBuilderForType()protected Validate.FieldRules.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Validate.FieldRulesparseDelimitedFrom(java.io.InputStream input)static Validate.FieldRulesparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Validate.FieldRulesparseFrom(byte[] data)static Validate.FieldRulesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Validate.FieldRulesparseFrom(com.google.protobuf.ByteString data)static Validate.FieldRulesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Validate.FieldRulesparseFrom(com.google.protobuf.CodedInputStream input)static Validate.FieldRulesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Validate.FieldRulesparseFrom(java.io.InputStream input)static Validate.FieldRulesparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Validate.FieldRulesparseFrom(java.nio.ByteBuffer data)static Validate.FieldRulesparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Validate.FieldRules>parser()Validate.FieldRules.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLOAT_FIELD_NUMBER
public static final int FLOAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOUBLE_FIELD_NUMBER
public static final int DOUBLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INT32_FIELD_NUMBER
public static final int INT32_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INT64_FIELD_NUMBER
public static final int INT64_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UINT32_FIELD_NUMBER
public static final int UINT32_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UINT64_FIELD_NUMBER
public static final int UINT64_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SINT32_FIELD_NUMBER
public static final int SINT32_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SINT64_FIELD_NUMBER
public static final int SINT64_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIXED32_FIELD_NUMBER
public static final int FIXED32_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIXED64_FIELD_NUMBER
public static final int FIXED64_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SFIXED32_FIELD_NUMBER
public static final int SFIXED32_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SFIXED64_FIELD_NUMBER
public static final int SFIXED64_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOL_FIELD_NUMBER
public static final int BOOL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRING_FIELD_NUMBER
public static final int STRING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BYTES_FIELD_NUMBER
public static final int BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENUM_FIELD_NUMBER
public static final int ENUM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPEATED_FIELD_NUMBER
public static final int REPEATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAP_FIELD_NUMBER
public static final int MAP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANY_FIELD_NUMBER
public static final int ANY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Validate.FieldRules> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
public Validate.FieldRules.TypeCase getTypeCase()
- Specified by:
getTypeCasein interfaceValidate.FieldRulesOrBuilder
-
hasMessage
public boolean hasMessage()
optional .validate.MessageRules message = 17;- Specified by:
hasMessagein interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the message field is set.
-
getMessage
public Validate.MessageRules getMessage()
optional .validate.MessageRules message = 17;- Specified by:
getMessagein interfaceValidate.FieldRulesOrBuilder- Returns:
- The message.
-
getMessageOrBuilder
public Validate.MessageRulesOrBuilder getMessageOrBuilder()
optional .validate.MessageRules message = 17;- Specified by:
getMessageOrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasFloat
public boolean hasFloat()
Scalar Field Types
.validate.FloatRules float = 1;- Specified by:
hasFloatin interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the float field is set.
-
getFloat
public Validate.FloatRules getFloat()
Scalar Field Types
.validate.FloatRules float = 1;- Specified by:
getFloatin interfaceValidate.FieldRulesOrBuilder- Returns:
- The float.
-
getFloatOrBuilder
public Validate.FloatRulesOrBuilder getFloatOrBuilder()
Scalar Field Types
.validate.FloatRules float = 1;- Specified by:
getFloatOrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasDouble
public boolean hasDouble()
.validate.DoubleRules double = 2;- Specified by:
hasDoublein interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the double field is set.
-
getDouble
public Validate.DoubleRules getDouble()
.validate.DoubleRules double = 2;- Specified by:
getDoublein interfaceValidate.FieldRulesOrBuilder- Returns:
- The double.
-
getDoubleOrBuilder
public Validate.DoubleRulesOrBuilder getDoubleOrBuilder()
.validate.DoubleRules double = 2;- Specified by:
getDoubleOrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasInt32
public boolean hasInt32()
.validate.Int32Rules int32 = 3;- Specified by:
hasInt32in interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the int32 field is set.
-
getInt32
public Validate.Int32Rules getInt32()
.validate.Int32Rules int32 = 3;- Specified by:
getInt32in interfaceValidate.FieldRulesOrBuilder- Returns:
- The int32.
-
getInt32OrBuilder
public Validate.Int32RulesOrBuilder getInt32OrBuilder()
.validate.Int32Rules int32 = 3;- Specified by:
getInt32OrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasInt64
public boolean hasInt64()
.validate.Int64Rules int64 = 4;- Specified by:
hasInt64in interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the int64 field is set.
-
getInt64
public Validate.Int64Rules getInt64()
.validate.Int64Rules int64 = 4;- Specified by:
getInt64in interfaceValidate.FieldRulesOrBuilder- Returns:
- The int64.
-
getInt64OrBuilder
public Validate.Int64RulesOrBuilder getInt64OrBuilder()
.validate.Int64Rules int64 = 4;- Specified by:
getInt64OrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasUint32
public boolean hasUint32()
.validate.UInt32Rules uint32 = 5;- Specified by:
hasUint32in interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the uint32 field is set.
-
getUint32
public Validate.UInt32Rules getUint32()
.validate.UInt32Rules uint32 = 5;- Specified by:
getUint32in interfaceValidate.FieldRulesOrBuilder- Returns:
- The uint32.
-
getUint32OrBuilder
public Validate.UInt32RulesOrBuilder getUint32OrBuilder()
.validate.UInt32Rules uint32 = 5;- Specified by:
getUint32OrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasUint64
public boolean hasUint64()
.validate.UInt64Rules uint64 = 6;- Specified by:
hasUint64in interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the uint64 field is set.
-
getUint64
public Validate.UInt64Rules getUint64()
.validate.UInt64Rules uint64 = 6;- Specified by:
getUint64in interfaceValidate.FieldRulesOrBuilder- Returns:
- The uint64.
-
getUint64OrBuilder
public Validate.UInt64RulesOrBuilder getUint64OrBuilder()
.validate.UInt64Rules uint64 = 6;- Specified by:
getUint64OrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasSint32
public boolean hasSint32()
.validate.SInt32Rules sint32 = 7;- Specified by:
hasSint32in interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the sint32 field is set.
-
getSint32
public Validate.SInt32Rules getSint32()
.validate.SInt32Rules sint32 = 7;- Specified by:
getSint32in interfaceValidate.FieldRulesOrBuilder- Returns:
- The sint32.
-
getSint32OrBuilder
public Validate.SInt32RulesOrBuilder getSint32OrBuilder()
.validate.SInt32Rules sint32 = 7;- Specified by:
getSint32OrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasSint64
public boolean hasSint64()
.validate.SInt64Rules sint64 = 8;- Specified by:
hasSint64in interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the sint64 field is set.
-
getSint64
public Validate.SInt64Rules getSint64()
.validate.SInt64Rules sint64 = 8;- Specified by:
getSint64in interfaceValidate.FieldRulesOrBuilder- Returns:
- The sint64.
-
getSint64OrBuilder
public Validate.SInt64RulesOrBuilder getSint64OrBuilder()
.validate.SInt64Rules sint64 = 8;- Specified by:
getSint64OrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasFixed32
public boolean hasFixed32()
.validate.Fixed32Rules fixed32 = 9;- Specified by:
hasFixed32in interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the fixed32 field is set.
-
getFixed32
public Validate.Fixed32Rules getFixed32()
.validate.Fixed32Rules fixed32 = 9;- Specified by:
getFixed32in interfaceValidate.FieldRulesOrBuilder- Returns:
- The fixed32.
-
getFixed32OrBuilder
public Validate.Fixed32RulesOrBuilder getFixed32OrBuilder()
.validate.Fixed32Rules fixed32 = 9;- Specified by:
getFixed32OrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasFixed64
public boolean hasFixed64()
.validate.Fixed64Rules fixed64 = 10;- Specified by:
hasFixed64in interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the fixed64 field is set.
-
getFixed64
public Validate.Fixed64Rules getFixed64()
.validate.Fixed64Rules fixed64 = 10;- Specified by:
getFixed64in interfaceValidate.FieldRulesOrBuilder- Returns:
- The fixed64.
-
getFixed64OrBuilder
public Validate.Fixed64RulesOrBuilder getFixed64OrBuilder()
.validate.Fixed64Rules fixed64 = 10;- Specified by:
getFixed64OrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasSfixed32
public boolean hasSfixed32()
.validate.SFixed32Rules sfixed32 = 11;- Specified by:
hasSfixed32in interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the sfixed32 field is set.
-
getSfixed32
public Validate.SFixed32Rules getSfixed32()
.validate.SFixed32Rules sfixed32 = 11;- Specified by:
getSfixed32in interfaceValidate.FieldRulesOrBuilder- Returns:
- The sfixed32.
-
getSfixed32OrBuilder
public Validate.SFixed32RulesOrBuilder getSfixed32OrBuilder()
.validate.SFixed32Rules sfixed32 = 11;- Specified by:
getSfixed32OrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasSfixed64
public boolean hasSfixed64()
.validate.SFixed64Rules sfixed64 = 12;- Specified by:
hasSfixed64in interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the sfixed64 field is set.
-
getSfixed64
public Validate.SFixed64Rules getSfixed64()
.validate.SFixed64Rules sfixed64 = 12;- Specified by:
getSfixed64in interfaceValidate.FieldRulesOrBuilder- Returns:
- The sfixed64.
-
getSfixed64OrBuilder
public Validate.SFixed64RulesOrBuilder getSfixed64OrBuilder()
.validate.SFixed64Rules sfixed64 = 12;- Specified by:
getSfixed64OrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasBool
public boolean hasBool()
.validate.BoolRules bool = 13;- Specified by:
hasBoolin interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the bool field is set.
-
getBool
public Validate.BoolRules getBool()
.validate.BoolRules bool = 13;- Specified by:
getBoolin interfaceValidate.FieldRulesOrBuilder- Returns:
- The bool.
-
getBoolOrBuilder
public Validate.BoolRulesOrBuilder getBoolOrBuilder()
.validate.BoolRules bool = 13;- Specified by:
getBoolOrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasString
public boolean hasString()
.validate.StringRules string = 14;- Specified by:
hasStringin interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the string field is set.
-
getString
public Validate.StringRules getString()
.validate.StringRules string = 14;- Specified by:
getStringin interfaceValidate.FieldRulesOrBuilder- Returns:
- The string.
-
getStringOrBuilder
public Validate.StringRulesOrBuilder getStringOrBuilder()
.validate.StringRules string = 14;- Specified by:
getStringOrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasBytes
public boolean hasBytes()
.validate.BytesRules bytes = 15;- Specified by:
hasBytesin interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the bytes field is set.
-
getBytes
public Validate.BytesRules getBytes()
.validate.BytesRules bytes = 15;- Specified by:
getBytesin interfaceValidate.FieldRulesOrBuilder- Returns:
- The bytes.
-
getBytesOrBuilder
public Validate.BytesRulesOrBuilder getBytesOrBuilder()
.validate.BytesRules bytes = 15;- Specified by:
getBytesOrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasEnum
public boolean hasEnum()
Complex Field Types
.validate.EnumRules enum = 16;- Specified by:
hasEnumin interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the enum field is set.
-
getEnum
public Validate.EnumRules getEnum()
Complex Field Types
.validate.EnumRules enum = 16;- Specified by:
getEnumin interfaceValidate.FieldRulesOrBuilder- Returns:
- The enum.
-
getEnumOrBuilder
public Validate.EnumRulesOrBuilder getEnumOrBuilder()
Complex Field Types
.validate.EnumRules enum = 16;- Specified by:
getEnumOrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasRepeated
public boolean hasRepeated()
.validate.RepeatedRules repeated = 18;- Specified by:
hasRepeatedin interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the repeated field is set.
-
getRepeated
public Validate.RepeatedRules getRepeated()
.validate.RepeatedRules repeated = 18;- Specified by:
getRepeatedin interfaceValidate.FieldRulesOrBuilder- Returns:
- The repeated.
-
getRepeatedOrBuilder
public Validate.RepeatedRulesOrBuilder getRepeatedOrBuilder()
.validate.RepeatedRules repeated = 18;- Specified by:
getRepeatedOrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasMap
public boolean hasMap()
.validate.MapRules map = 19;- Specified by:
hasMapin interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the map field is set.
-
getMap
public Validate.MapRules getMap()
.validate.MapRules map = 19;- Specified by:
getMapin interfaceValidate.FieldRulesOrBuilder- Returns:
- The map.
-
getMapOrBuilder
public Validate.MapRulesOrBuilder getMapOrBuilder()
.validate.MapRules map = 19;- Specified by:
getMapOrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasAny
public boolean hasAny()
Well-Known Field Types
.validate.AnyRules any = 20;- Specified by:
hasAnyin interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the any field is set.
-
getAny
public Validate.AnyRules getAny()
Well-Known Field Types
.validate.AnyRules any = 20;- Specified by:
getAnyin interfaceValidate.FieldRulesOrBuilder- Returns:
- The any.
-
getAnyOrBuilder
public Validate.AnyRulesOrBuilder getAnyOrBuilder()
Well-Known Field Types
.validate.AnyRules any = 20;- Specified by:
getAnyOrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasDuration
public boolean hasDuration()
.validate.DurationRules duration = 21;- Specified by:
hasDurationin interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public Validate.DurationRules getDuration()
.validate.DurationRules duration = 21;- Specified by:
getDurationin interfaceValidate.FieldRulesOrBuilder- Returns:
- The duration.
-
getDurationOrBuilder
public Validate.DurationRulesOrBuilder getDurationOrBuilder()
.validate.DurationRules duration = 21;- Specified by:
getDurationOrBuilderin interfaceValidate.FieldRulesOrBuilder
-
hasTimestamp
public boolean hasTimestamp()
.validate.TimestampRules timestamp = 22;- Specified by:
hasTimestampin interfaceValidate.FieldRulesOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public Validate.TimestampRules getTimestamp()
.validate.TimestampRules timestamp = 22;- Specified by:
getTimestampin interfaceValidate.FieldRulesOrBuilder- Returns:
- The timestamp.
-
getTimestampOrBuilder
public Validate.TimestampRulesOrBuilder getTimestampOrBuilder()
.validate.TimestampRules timestamp = 22;- Specified by:
getTimestampOrBuilderin interfaceValidate.FieldRulesOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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 Validate.FieldRules parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.FieldRules parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.FieldRules parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.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 Validate.FieldRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.FieldRules parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.FieldRules parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Validate.FieldRules parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Validate.FieldRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Validate.FieldRules parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Validate.FieldRules parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Validate.FieldRules parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Validate.FieldRules.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Validate.FieldRules.Builder newBuilder()
-
newBuilder
public static Validate.FieldRules.Builder newBuilder(Validate.FieldRules prototype)
-
toBuilder
public Validate.FieldRules.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Validate.FieldRules.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Validate.FieldRules getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Validate.FieldRules> parser()
-
getParserForType
public com.google.protobuf.Parser<Validate.FieldRules> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Validate.FieldRules getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-