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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDurationRules 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<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 com.google.protobuf.Parser<Validate.DurationRules>Deprecated.static 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 TypeMethodDescriptionbooleancom.google.protobuf.DurationgetConst()Const specifies that this field must be exactly the specified valuecom.google.protobuf.DurationOrBuilderConst specifies that this field must be exactly the specified valuestatic Validate.DurationRulesstatic final com.google.protobuf.Descriptors.Descriptorcom.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.DurationOrBuilderGte specifies that this field must be greater than the specified value, inclusivecom.google.protobuf.DurationOrBuilderGt 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 valuesintIn specifies that this field must be equal to one of the specified valuesList<com.google.protobuf.Duration>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>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.DurationOrBuilderLt specifies that this field must be less than the specified value, inclusivecom.google.protobuf.DurationOrBuilderLt 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 valuesintNotIn specifies that this field cannot be equal to one of the specified valuesList<com.google.protobuf.Duration>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>NotIn specifies that this field cannot be equal to one of the specified valuescom.google.protobuf.Parser<Validate.DurationRules>booleanRequired specifies that this field must be setintbooleanhasConst()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, inclusivebooleanRequired specifies that this field must be setprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Validate.DurationRules prototype) protected Validate.DurationRules.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) 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 Validate.DurationRulesparseFrom(ByteBuffer data) static Validate.DurationRulesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Validate.DurationRules>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, internalGetMapFieldReflection, 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
-
REQUIRED_FIELD_NUMBER
public static final int REQUIRED_FIELD_NUMBER- See Also:
-
CONST_FIELD_NUMBER
public static final int CONST_FIELD_NUMBER- See Also:
-
LT_FIELD_NUMBER
public static final int LT_FIELD_NUMBER- See Also:
-
LTE_FIELD_NUMBER
public static final int LTE_FIELD_NUMBER- See Also:
-
GT_FIELD_NUMBER
public static final int GT_FIELD_NUMBER- See Also:
-
GTE_FIELD_NUMBER
public static final int GTE_FIELD_NUMBER- See Also:
-
IN_FIELD_NUMBER
public static final int IN_FIELD_NUMBER- See Also:
-
NOT_IN_FIELD_NUMBER
public static final int NOT_IN_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
-
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
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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.DurationRules parseFrom(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
- 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
-