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
Modifier and TypeClassDescriptionstatic final class
DurationRules 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 extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
com.google.protobuf.Duration
getConst()
Const specifies that this field must be exactly the specified valuecom.google.protobuf.DurationOrBuilder
Const specifies that this field must be exactly the specified valuestatic Validate.DurationRules
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Duration
getGt()
Gt specifies that this field must be greater than the specified value, exclusivecom.google.protobuf.Duration
getGte()
Gte specifies that this field must be greater than the specified value, inclusivecom.google.protobuf.DurationOrBuilder
Gte specifies that this field must be greater than the specified value, inclusivecom.google.protobuf.DurationOrBuilder
Gt specifies that this field must be greater than the specified value, exclusivecom.google.protobuf.Duration
getIn
(int index) In specifies that this field must be equal to one of the specified valuesint
In 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.DurationOrBuilder
getInOrBuilder
(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.Duration
getLt()
Lt specifies that this field must be less than the specified value, exclusivecom.google.protobuf.Duration
getLte()
Lt specifies that this field must be less than the specified value, inclusivecom.google.protobuf.DurationOrBuilder
Lt specifies that this field must be less than the specified value, inclusivecom.google.protobuf.DurationOrBuilder
Lt specifies that this field must be less than the specified value, exclusivecom.google.protobuf.Duration
getNotIn
(int index) NotIn specifies that this field cannot be equal to one of the specified valuesint
NotIn 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.DurationOrBuilder
getNotInOrBuilder
(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>
boolean
Required specifies that this field must be setint
boolean
hasConst()
Const specifies that this field must be exactly the specified valueboolean
hasGt()
Gt specifies that this field must be greater than the specified value, exclusiveboolean
hasGte()
Gte specifies that this field must be greater than the specified value, inclusiveint
hashCode()
boolean
hasLt()
Lt specifies that this field must be less than the specified value, exclusiveboolean
hasLte()
Lt specifies that this field must be less than the specified value, inclusiveboolean
Required specifies that this field must be setprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
newBuilder
(Validate.DurationRules prototype) protected Validate.DurationRules.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static Validate.DurationRules
parseDelimitedFrom
(InputStream input) static Validate.DurationRules
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Validate.DurationRules
parseFrom
(byte[] data) static Validate.DurationRules
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Validate.DurationRules
parseFrom
(com.google.protobuf.ByteString data) static Validate.DurationRules
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Validate.DurationRules
parseFrom
(com.google.protobuf.CodedInputStream input) static Validate.DurationRules
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Validate.DurationRules
parseFrom
(InputStream input) static Validate.DurationRules
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Validate.DurationRules
parseFrom
(ByteBuffer data) static Validate.DurationRules
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Validate.DurationRules>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
hasRequired
public boolean hasRequired()Required specifies that this field must be set
optional bool required = 1;
- Specified by:
hasRequired
in 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:
getRequired
in 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:
hasConst
in 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:
getConst
in 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:
getConstOrBuilder
in 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:
hasLt
in 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:
getLt
in 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:
getLtOrBuilder
in 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:
hasLte
in 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:
getLte
in 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:
getLteOrBuilder
in 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:
hasGt
in 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:
getGt
in 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:
getGtOrBuilder
in 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:
hasGte
in 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:
getGte
in 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:
getGteOrBuilder
in 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:
getInList
in 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:
getInOrBuilderList
in 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:
getInCount
in 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:
getIn
in 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:
getInOrBuilder
in 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:
getNotInList
in 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:
getNotInOrBuilderList
in 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:
getNotInCount
in 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:
getNotIn
in 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:
getNotInOrBuilder
in interfaceValidate.DurationRulesOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Validate.DurationRules.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-