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,java.io.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 type
Protobuf typevalidate.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 type-
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 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.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 valuesjava.util.List<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 valuesjava.util.List<? 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 valuesjava.util.List<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 valuesjava.util.List<? 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()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)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Validate.DurationRulesparseDelimitedFrom(java.io.InputStream input)static Validate.DurationRulesparseDelimitedFrom(java.io.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(java.io.InputStream input)static Validate.DurationRulesparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Validate.DurationRulesparseFrom(java.nio.ByteBuffer data)static Validate.DurationRulesparseFrom(java.nio.ByteBuffer data, 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, 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
-
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 public static final com.google.protobuf.Parser<Validate.DurationRules> 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
-
hasRequired
public boolean hasRequired()
Required specifies that this field must be set
optional bool required = 1;- Specified by:
hasRequiredin interfaceValidate.DurationRulesOrBuilder- Returns:
- Whether the required field is set.
-
getRequired
public boolean getRequired()
Required specifies that this field must be set
optional bool required = 1;- Specified by:
getRequiredin interfaceValidate.DurationRulesOrBuilder- Returns:
- The required.
-
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- Returns:
- Whether the const field is set.
-
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- Returns:
- The const.
-
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- Returns:
- Whether the lt field is set.
-
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- Returns:
- The lt.
-
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- Returns:
- Whether the lte field is set.
-
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- Returns:
- The lte.
-
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- Returns:
- Whether the gt field is set.
-
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- Returns:
- The gt.
-
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- Returns:
- Whether the gte field is set.
-
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- Returns:
- The gte.
-
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
public java.util.List<com.google.protobuf.Duration> 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
public java.util.List<? extends com.google.protobuf.DurationOrBuilder> 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
public java.util.List<com.google.protobuf.Duration> 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
public java.util.List<? extends com.google.protobuf.DurationOrBuilder> 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
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.DurationRules parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.DurationRules parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
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
public static Validate.DurationRules parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Validate.DurationRules parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Validate.DurationRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Validate.DurationRules parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Validate.DurationRules parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Validate.DurationRules parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Validate.DurationRules.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Validate.DurationRules.Builder newBuilder()
-
newBuilder
public static Validate.DurationRules.Builder newBuilder(Validate.DurationRules prototype)
-
toBuilder
public Validate.DurationRules.Builder 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
public static Validate.DurationRules getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Validate.DurationRules> parser()
-
getParserForType
public com.google.protobuf.Parser<Validate.DurationRules> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Validate.DurationRules getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-