Package io.envoyproxy.pgv.validate
Class Validate.TimestampRules
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.pgv.validate.Validate.TimestampRules
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Validate.TimestampRulesOrBuilder,Serializable
- Enclosing class:
- Validate
public static final class Validate.TimestampRules extends com.google.protobuf.GeneratedMessageV3 implements Validate.TimestampRulesOrBuilder
TimestampRules describe the constraints applied exclusively to the `google.protobuf.Timestamp` well-known typeProtobuf type
validate.TimestampRules- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValidate.TimestampRules.BuilderTimestampRules describe the constraints applied exclusively to the `google.protobuf.Timestamp` 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 intGT_NOW_FIELD_NUMBERstatic intGTE_FIELD_NUMBERstatic intLT_FIELD_NUMBERstatic intLT_NOW_FIELD_NUMBERstatic intLTE_FIELD_NUMBERstatic com.google.protobuf.Parser<Validate.TimestampRules>PARSERDeprecated.static intREQUIRED_FIELD_NUMBERstatic intWITHIN_FIELD_NUMBER -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.TimestampgetConst()Const specifies that this field must be exactly the specified valuecom.google.protobuf.TimestampOrBuildergetConstOrBuilder()Const specifies that this field must be exactly the specified valuestatic Validate.TimestampRulesgetDefaultInstance()Validate.TimestampRulesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.TimestampgetGt()Gt specifies that this field must be greater than the specified value, exclusivecom.google.protobuf.TimestampgetGte()Gte specifies that this field must be greater than the specified value, inclusivecom.google.protobuf.TimestampOrBuildergetGteOrBuilder()Gte specifies that this field must be greater than the specified value, inclusivebooleangetGtNow()GtNow specifies that this must be greater than the current time.com.google.protobuf.TimestampOrBuildergetGtOrBuilder()Gt specifies that this field must be greater than the specified value, exclusivecom.google.protobuf.TimestampgetLt()Lt specifies that this field must be less than the specified value, exclusivecom.google.protobuf.TimestampgetLte()Lte specifies that this field must be less than the specified value, inclusivecom.google.protobuf.TimestampOrBuildergetLteOrBuilder()Lte specifies that this field must be less than the specified value, inclusivebooleangetLtNow()LtNow specifies that this must be less than the current time.com.google.protobuf.TimestampOrBuildergetLtOrBuilder()Lt specifies that this field must be less than the specified value, exclusivecom.google.protobuf.Parser<Validate.TimestampRules>getParserForType()booleangetRequired()Required specifies that this field must be setintgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()com.google.protobuf.DurationgetWithin()Within specifies that this field must be within this duration of the current time.com.google.protobuf.DurationOrBuildergetWithinOrBuilder()Within specifies that this field must be within this duration of the current time.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, inclusivebooleanhasGtNow()GtNow specifies that this must be greater than the current time.inthashCode()booleanhasLt()Lt specifies that this field must be less than the specified value, exclusivebooleanhasLte()Lte specifies that this field must be less than the specified value, inclusivebooleanhasLtNow()LtNow specifies that this must be less than the current time.booleanhasRequired()Required specifies that this field must be setbooleanhasWithin()Within specifies that this field must be within this duration of the current time.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Validate.TimestampRules.BuildernewBuilder()static Validate.TimestampRules.BuildernewBuilder(Validate.TimestampRules prototype)Validate.TimestampRules.BuildernewBuilderForType()protected Validate.TimestampRules.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Validate.TimestampRulesparseDelimitedFrom(InputStream input)static Validate.TimestampRulesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Validate.TimestampRulesparseFrom(byte[] data)static Validate.TimestampRulesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Validate.TimestampRulesparseFrom(com.google.protobuf.ByteString data)static Validate.TimestampRulesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Validate.TimestampRulesparseFrom(com.google.protobuf.CodedInputStream input)static Validate.TimestampRulesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Validate.TimestampRulesparseFrom(InputStream input)static Validate.TimestampRulesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Validate.TimestampRules>parser()Validate.TimestampRules.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
-
LT_NOW_FIELD_NUMBER
public static final int LT_NOW_FIELD_NUMBER- See Also:
- Constant Field Values
-
GT_NOW_FIELD_NUMBER
public static final int GT_NOW_FIELD_NUMBER- See Also:
- Constant Field Values
-
WITHIN_FIELD_NUMBER
public static final int WITHIN_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.TimestampRulesOrBuilder
-
getRequired
public boolean getRequired()Required specifies that this field must be set
optional bool required = 1;- Specified by:
getRequiredin interfaceValidate.TimestampRulesOrBuilder
-
hasConst
public boolean hasConst()Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;- Specified by:
hasConstin interfaceValidate.TimestampRulesOrBuilder
-
getConst
public com.google.protobuf.Timestamp getConst()Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;- Specified by:
getConstin interfaceValidate.TimestampRulesOrBuilder
-
getConstOrBuilder
public com.google.protobuf.TimestampOrBuilder getConstOrBuilder()Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;- Specified by:
getConstOrBuilderin interfaceValidate.TimestampRulesOrBuilder
-
hasLt
public boolean hasLt()Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;- Specified by:
hasLtin interfaceValidate.TimestampRulesOrBuilder
-
getLt
public com.google.protobuf.Timestamp getLt()Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;- Specified by:
getLtin interfaceValidate.TimestampRulesOrBuilder
-
getLtOrBuilder
public com.google.protobuf.TimestampOrBuilder getLtOrBuilder()Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;- Specified by:
getLtOrBuilderin interfaceValidate.TimestampRulesOrBuilder
-
hasLte
public boolean hasLte()Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;- Specified by:
hasLtein interfaceValidate.TimestampRulesOrBuilder
-
getLte
public com.google.protobuf.Timestamp getLte()Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;- Specified by:
getLtein interfaceValidate.TimestampRulesOrBuilder
-
getLteOrBuilder
public com.google.protobuf.TimestampOrBuilder getLteOrBuilder()Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;- Specified by:
getLteOrBuilderin interfaceValidate.TimestampRulesOrBuilder
-
hasGt
public boolean hasGt()Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;- Specified by:
hasGtin interfaceValidate.TimestampRulesOrBuilder
-
getGt
public com.google.protobuf.Timestamp getGt()Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;- Specified by:
getGtin interfaceValidate.TimestampRulesOrBuilder
-
getGtOrBuilder
public com.google.protobuf.TimestampOrBuilder getGtOrBuilder()Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;- Specified by:
getGtOrBuilderin interfaceValidate.TimestampRulesOrBuilder
-
hasGte
public boolean hasGte()Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;- Specified by:
hasGtein interfaceValidate.TimestampRulesOrBuilder
-
getGte
public com.google.protobuf.Timestamp getGte()Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;- Specified by:
getGtein interfaceValidate.TimestampRulesOrBuilder
-
getGteOrBuilder
public com.google.protobuf.TimestampOrBuilder getGteOrBuilder()Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;- Specified by:
getGteOrBuilderin interfaceValidate.TimestampRulesOrBuilder
-
hasLtNow
public boolean hasLtNow()LtNow specifies that this must be less than the current time. LtNow can only be used with the Within rule.
optional bool lt_now = 7;- Specified by:
hasLtNowin interfaceValidate.TimestampRulesOrBuilder
-
getLtNow
public boolean getLtNow()LtNow specifies that this must be less than the current time. LtNow can only be used with the Within rule.
optional bool lt_now = 7;- Specified by:
getLtNowin interfaceValidate.TimestampRulesOrBuilder
-
hasGtNow
public boolean hasGtNow()GtNow specifies that this must be greater than the current time. GtNow can only be used with the Within rule.
optional bool gt_now = 8;- Specified by:
hasGtNowin interfaceValidate.TimestampRulesOrBuilder
-
getGtNow
public boolean getGtNow()GtNow specifies that this must be greater than the current time. GtNow can only be used with the Within rule.
optional bool gt_now = 8;- Specified by:
getGtNowin interfaceValidate.TimestampRulesOrBuilder
-
hasWithin
public boolean hasWithin()Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.
optional .google.protobuf.Duration within = 9;- Specified by:
hasWithinin interfaceValidate.TimestampRulesOrBuilder
-
getWithin
public com.google.protobuf.Duration getWithin()Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.
optional .google.protobuf.Duration within = 9;- Specified by:
getWithinin interfaceValidate.TimestampRulesOrBuilder
-
getWithinOrBuilder
public com.google.protobuf.DurationOrBuilder getWithinOrBuilder()Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.
optional .google.protobuf.Duration within = 9;- Specified by:
getWithinOrBuilderin interfaceValidate.TimestampRulesOrBuilder
-
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.TimestampRules parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.TimestampRules 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.TimestampRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.TimestampRules 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.TimestampRules parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Validate.TimestampRules parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- Throws:
IOException
-
parseFrom
public static Validate.TimestampRules parseFrom(com.google.protobuf.CodedInputStream input) throws IOException- Throws:
IOException
-
parseFrom
public static Validate.TimestampRules 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.TimestampRules.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
-