Package io.envoyproxy.pgv.validate
Class Validate.DurationRules
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.pgv.validate.Validate.DurationRules
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Validate.DurationRulesOrBuilder,Serializable
- Enclosing class:
- Validate
public static final class Validate.DurationRules extends com.google.protobuf.GeneratedMessageV3 implements Validate.DurationRulesOrBuilder
DurationRules describe the constraints applied exclusively to the `google.protobuf.Duration` well-known typeProtobuf type
validate.DurationRules- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValidate.DurationRules.BuilderDurationRules describe the constraints applied exclusively to the `google.protobuf.Duration` well-known typeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable -
Field Summary
Fields Modifier and Type Field Description static intCONST_FIELD_NUMBERstatic intGT_FIELD_NUMBERstatic intGTE_FIELD_NUMBERstatic intIN_FIELD_NUMBERstatic intLT_FIELD_NUMBERstatic intLTE_FIELD_NUMBERstatic intNOT_IN_FIELD_NUMBERstatic com.google.protobuf.Parser<Validate.DurationRules>PARSERDeprecated.static intREQUIRED_FIELD_NUMBER -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.DurationgetConst()Const specifies that this field must be exactly the specified valuecom.google.protobuf.DurationOrBuildergetConstOrBuilder()Const specifies that this field must be exactly the specified valuestatic Validate.DurationRulesgetDefaultInstance()Validate.DurationRulesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.DurationgetGt()Gt specifies that this field must be greater than the specified value, exclusivecom.google.protobuf.DurationgetGte()Gte specifies that this field must be greater than the specified value, inclusivecom.google.protobuf.DurationOrBuildergetGteOrBuilder()Gte specifies that this field must be greater than the specified value, inclusivecom.google.protobuf.DurationOrBuildergetGtOrBuilder()Gt specifies that this field must be greater than the specified value, exclusivecom.google.protobuf.DurationgetIn(int index)In specifies that this field must be equal to one of the specified valuesintgetInCount()In specifies that this field must be equal to one of the specified valuesList<com.google.protobuf.Duration>getInList()In specifies that this field must be equal to one of the specified valuescom.google.protobuf.DurationOrBuildergetInOrBuilder(int index)In specifies that this field must be equal to one of the specified valuesList<? extends com.google.protobuf.DurationOrBuilder>getInOrBuilderList()In specifies that this field must be equal to one of the specified valuescom.google.protobuf.DurationgetLt()Lt specifies that this field must be less than the specified value, exclusivecom.google.protobuf.DurationgetLte()Lt specifies that this field must be less than the specified value, inclusivecom.google.protobuf.DurationOrBuildergetLteOrBuilder()Lt specifies that this field must be less than the specified value, inclusivecom.google.protobuf.DurationOrBuildergetLtOrBuilder()Lt specifies that this field must be less than the specified value, exclusivecom.google.protobuf.DurationgetNotIn(int index)NotIn specifies that this field cannot be equal to one of the specified valuesintgetNotInCount()NotIn specifies that this field cannot be equal to one of the specified valuesList<com.google.protobuf.Duration>getNotInList()NotIn specifies that this field cannot be equal to one of the specified valuescom.google.protobuf.DurationOrBuildergetNotInOrBuilder(int index)NotIn specifies that this field cannot be equal to one of the specified valuesList<? extends com.google.protobuf.DurationOrBuilder>getNotInOrBuilderList()NotIn specifies that this field cannot be equal to one of the specified valuescom.google.protobuf.Parser<Validate.DurationRules>getParserForType()booleangetRequired()Required specifies that this field must be setintgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasConst()Const specifies that this field must be exactly the specified valuebooleanhasGt()Gt specifies that this field must be greater than the specified value, exclusivebooleanhasGte()Gte specifies that this field must be greater than the specified value, inclusiveinthashCode()booleanhasLt()Lt specifies that this field must be less than the specified value, exclusivebooleanhasLte()Lt specifies that this field must be less than the specified value, inclusivebooleanhasRequired()Required specifies that this field must be setprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Validate.DurationRules.BuildernewBuilder()static Validate.DurationRules.BuildernewBuilder(Validate.DurationRules prototype)Validate.DurationRules.BuildernewBuilderForType()protected Validate.DurationRules.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Validate.DurationRulesparseDelimitedFrom(InputStream input)static Validate.DurationRulesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Validate.DurationRulesparseFrom(byte[] data)static Validate.DurationRulesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Validate.DurationRulesparseFrom(com.google.protobuf.ByteString data)static Validate.DurationRulesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Validate.DurationRulesparseFrom(com.google.protobuf.CodedInputStream input)static Validate.DurationRulesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Validate.DurationRulesparseFrom(InputStream input)static Validate.DurationRulesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Validate.DurationRules>parser()Validate.DurationRules.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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, wait
-
Field Details
-
REQUIRED_FIELD_NUMBER
public static final int REQUIRED_FIELD_NUMBER- See Also:
- Constant Field Values
-
CONST_FIELD_NUMBER
public static final int CONST_FIELD_NUMBER- See Also:
- Constant Field Values
-
LT_FIELD_NUMBER
public static final int LT_FIELD_NUMBER- See Also:
- Constant Field Values
-
LTE_FIELD_NUMBER
public static final int LTE_FIELD_NUMBER- See Also:
- Constant Field Values
-
GT_FIELD_NUMBER
public static final int GT_FIELD_NUMBER- See Also:
- Constant Field Values
-
GTE_FIELD_NUMBER
public static final int GTE_FIELD_NUMBER- See Also:
- Constant Field Values
-
IN_FIELD_NUMBER
public static final int IN_FIELD_NUMBER- See Also:
- Constant Field Values
-
NOT_IN_FIELD_NUMBER
public static final int NOT_IN_FIELD_NUMBER- See Also:
- Constant Field Values
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
hasRequired
public boolean hasRequired()Required specifies that this field must be set
optional bool required = 1;- Specified by:
hasRequiredin interfaceValidate.DurationRulesOrBuilder
-
getRequired
public boolean getRequired()Required specifies that this field must be set
optional bool required = 1;- Specified by:
getRequiredin interfaceValidate.DurationRulesOrBuilder
-
hasConst
public boolean hasConst()Const specifies that this field must be exactly the specified value
optional .google.protobuf.Duration const = 2;- Specified by:
hasConstin interfaceValidate.DurationRulesOrBuilder
-
getConst
public com.google.protobuf.Duration getConst()Const specifies that this field must be exactly the specified value
optional .google.protobuf.Duration const = 2;- Specified by:
getConstin interfaceValidate.DurationRulesOrBuilder
-
getConstOrBuilder
public com.google.protobuf.DurationOrBuilder getConstOrBuilder()Const specifies that this field must be exactly the specified value
optional .google.protobuf.Duration const = 2;- Specified by:
getConstOrBuilderin interfaceValidate.DurationRulesOrBuilder
-
hasLt
public boolean hasLt()Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Duration lt = 3;- Specified by:
hasLtin interfaceValidate.DurationRulesOrBuilder
-
getLt
public com.google.protobuf.Duration getLt()Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Duration lt = 3;- Specified by:
getLtin interfaceValidate.DurationRulesOrBuilder
-
getLtOrBuilder
public com.google.protobuf.DurationOrBuilder getLtOrBuilder()Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Duration lt = 3;- Specified by:
getLtOrBuilderin interfaceValidate.DurationRulesOrBuilder
-
hasLte
public boolean hasLte()Lt specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Duration lte = 4;- Specified by:
hasLtein interfaceValidate.DurationRulesOrBuilder
-
getLte
public com.google.protobuf.Duration getLte()Lt specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Duration lte = 4;- Specified by:
getLtein interfaceValidate.DurationRulesOrBuilder
-
getLteOrBuilder
public com.google.protobuf.DurationOrBuilder getLteOrBuilder()Lt specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Duration lte = 4;- Specified by:
getLteOrBuilderin interfaceValidate.DurationRulesOrBuilder
-
hasGt
public boolean hasGt()Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Duration gt = 5;- Specified by:
hasGtin interfaceValidate.DurationRulesOrBuilder
-
getGt
public com.google.protobuf.Duration getGt()Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Duration gt = 5;- Specified by:
getGtin interfaceValidate.DurationRulesOrBuilder
-
getGtOrBuilder
public com.google.protobuf.DurationOrBuilder getGtOrBuilder()Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Duration gt = 5;- Specified by:
getGtOrBuilderin interfaceValidate.DurationRulesOrBuilder
-
hasGte
public boolean hasGte()Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Duration gte = 6;- Specified by:
hasGtein interfaceValidate.DurationRulesOrBuilder
-
getGte
public com.google.protobuf.Duration getGte()Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Duration gte = 6;- Specified by:
getGtein interfaceValidate.DurationRulesOrBuilder
-
getGteOrBuilder
public com.google.protobuf.DurationOrBuilder getGteOrBuilder()Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Duration gte = 6;- Specified by:
getGteOrBuilderin interfaceValidate.DurationRulesOrBuilder
-
getInList
In specifies that this field must be equal to one of the specified values
repeated .google.protobuf.Duration in = 7;- Specified by:
getInListin interfaceValidate.DurationRulesOrBuilder
-
getInOrBuilderList
In specifies that this field must be equal to one of the specified values
repeated .google.protobuf.Duration in = 7;- Specified by:
getInOrBuilderListin interfaceValidate.DurationRulesOrBuilder
-
getInCount
public int getInCount()In specifies that this field must be equal to one of the specified values
repeated .google.protobuf.Duration in = 7;- Specified by:
getInCountin interfaceValidate.DurationRulesOrBuilder
-
getIn
public com.google.protobuf.Duration getIn(int index)In specifies that this field must be equal to one of the specified values
repeated .google.protobuf.Duration in = 7;- Specified by:
getInin interfaceValidate.DurationRulesOrBuilder
-
getInOrBuilder
public com.google.protobuf.DurationOrBuilder getInOrBuilder(int index)In specifies that this field must be equal to one of the specified values
repeated .google.protobuf.Duration in = 7;- Specified by:
getInOrBuilderin interfaceValidate.DurationRulesOrBuilder
-
getNotInList
NotIn specifies that this field cannot be equal to one of the specified values
repeated .google.protobuf.Duration not_in = 8;- Specified by:
getNotInListin interfaceValidate.DurationRulesOrBuilder
-
getNotInOrBuilderList
NotIn specifies that this field cannot be equal to one of the specified values
repeated .google.protobuf.Duration not_in = 8;- Specified by:
getNotInOrBuilderListin interfaceValidate.DurationRulesOrBuilder
-
getNotInCount
public int getNotInCount()NotIn specifies that this field cannot be equal to one of the specified values
repeated .google.protobuf.Duration not_in = 8;- Specified by:
getNotInCountin interfaceValidate.DurationRulesOrBuilder
-
getNotIn
public com.google.protobuf.Duration getNotIn(int index)NotIn specifies that this field cannot be equal to one of the specified values
repeated .google.protobuf.Duration not_in = 8;- Specified by:
getNotInin interfaceValidate.DurationRulesOrBuilder
-
getNotInOrBuilder
public com.google.protobuf.DurationOrBuilder getNotInOrBuilder(int index)NotIn specifies that this field cannot be equal to one of the specified values
repeated .google.protobuf.Duration not_in = 8;- Specified by:
getNotInOrBuilderin interfaceValidate.DurationRulesOrBuilder
-
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 Validate.DurationRules parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.DurationRules 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.DurationRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.DurationRules parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Validate.DurationRules parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Validate.DurationRules parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- Throws:
IOException
-
parseFrom
public static Validate.DurationRules parseFrom(com.google.protobuf.CodedInputStream input) throws IOException- Throws:
IOException
-
parseFrom
public static Validate.DurationRules 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 Validate.DurationRules.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
-