Package io.envoyproxy.pgv.validate
Class Validate.DurationRules
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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.GeneratedMessage
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.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate com.google.protobuf.Durationstatic final intprivate static final Validate.DurationRulesprivate com.google.protobuf.Durationstatic final intprivate com.google.protobuf.Durationstatic final intprivate List<com.google.protobuf.Duration> static final intprivate com.google.protobuf.Durationstatic final intprivate com.google.protobuf.Durationstatic final intprivate bytestatic final intprivate List<com.google.protobuf.Duration> private static final com.google.protobuf.Parser<Validate.DurationRules> private booleanstatic final intprivate static final longFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateprivateDurationRules(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
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.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.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Validate.DurationRules prototype) protected Validate.DurationRules.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.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 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.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
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, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
REQUIRED_FIELD_NUMBER
public static final int REQUIRED_FIELD_NUMBER- See Also:
-
required_
private boolean required_ -
CONST_FIELD_NUMBER
public static final int CONST_FIELD_NUMBER- See Also:
-
const_
private com.google.protobuf.Duration const_ -
LT_FIELD_NUMBER
public static final int LT_FIELD_NUMBER- See Also:
-
lt_
private com.google.protobuf.Duration lt_ -
LTE_FIELD_NUMBER
public static final int LTE_FIELD_NUMBER- See Also:
-
lte_
private com.google.protobuf.Duration lte_ -
GT_FIELD_NUMBER
public static final int GT_FIELD_NUMBER- See Also:
-
gt_
private com.google.protobuf.Duration gt_ -
GTE_FIELD_NUMBER
public static final int GTE_FIELD_NUMBER- See Also:
-
gte_
private com.google.protobuf.Duration gte_ -
IN_FIELD_NUMBER
public static final int IN_FIELD_NUMBER- See Also:
-
in_
-
NOT_IN_FIELD_NUMBER
public static final int NOT_IN_FIELD_NUMBER- See Also:
-
notIn_
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
DurationRules
private DurationRules(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
DurationRules
private DurationRules()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
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.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-