Class TimestampRules.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TimestampRules.Builder>
build.buf.validate.TimestampRules.Builder
All Implemented Interfaces:
TimestampRulesOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TimestampRules

public static final class TimestampRules.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TimestampRules.Builder> implements TimestampRulesOrBuilder
 TimestampRules describe the constraints applied exclusively to the `google.protobuf.Timestamp` well-known type.
 
Protobuf type buf.validate.TimestampRules
  • Method Summary

    Modifier and Type
    Method
    Description
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
     
     
     
    `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value.
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
     
    `gt` requires the timestamp field value to be greater than the specified value (exclusive).
    `gte` requires the timestamp field value to be greater than or equal to the specified value (exclusive).
    `gt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be greater than the current time.
     
    requires the duration field value to be less than the specified value (field < value).
    requires the timestamp field value to be less than or equal to the specified value (field <= value).
    `lt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be less than the current time.
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time.
     
    com.google.protobuf.Timestamp
    `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value.
    com.google.protobuf.Timestamp.Builder
    `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value.
    com.google.protobuf.TimestampOrBuilder
    `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
     
    com.google.protobuf.Timestamp
    `gt` requires the timestamp field value to be greater than the specified value (exclusive).
    com.google.protobuf.Timestamp.Builder
    `gt` requires the timestamp field value to be greater than the specified value (exclusive).
    com.google.protobuf.Timestamp
    `gte` requires the timestamp field value to be greater than or equal to the specified value (exclusive).
    com.google.protobuf.Timestamp.Builder
    `gte` requires the timestamp field value to be greater than or equal to the specified value (exclusive).
    com.google.protobuf.TimestampOrBuilder
    `gte` requires the timestamp field value to be greater than or equal to the specified value (exclusive).
    boolean
    `gt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be greater than the current time.
    com.google.protobuf.TimestampOrBuilder
    `gt` requires the timestamp field value to be greater than the specified value (exclusive).
     
    com.google.protobuf.Timestamp
    requires the duration field value to be less than the specified value (field < value).
    com.google.protobuf.Timestamp.Builder
    requires the duration field value to be less than the specified value (field < value).
    com.google.protobuf.Timestamp
    requires the timestamp field value to be less than or equal to the specified value (field <= value).
    com.google.protobuf.Timestamp.Builder
    requires the timestamp field value to be less than or equal to the specified value (field <= value).
    com.google.protobuf.TimestampOrBuilder
    requires the timestamp field value to be less than or equal to the specified value (field <= value).
    boolean
    `lt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be less than the current time.
    com.google.protobuf.TimestampOrBuilder
    requires the duration field value to be less than the specified value (field < value).
    com.google.protobuf.Duration
    `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time.
    com.google.protobuf.Duration.Builder
    `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time.
    com.google.protobuf.DurationOrBuilder
    `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time.
    boolean
    `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value.
    boolean
    `gt` requires the timestamp field value to be greater than the specified value (exclusive).
    boolean
    `gte` requires the timestamp field value to be greater than or equal to the specified value (exclusive).
    boolean
    `gt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be greater than the current time.
    boolean
    requires the duration field value to be less than the specified value (field < value).
    boolean
    requires the timestamp field value to be less than or equal to the specified value (field <= value).
    boolean
    `lt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be less than the current time.
    boolean
    `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
    mergeConst(com.google.protobuf.Timestamp value)
    `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value.
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    mergeGt(com.google.protobuf.Timestamp value)
    `gt` requires the timestamp field value to be greater than the specified value (exclusive).
    mergeGte(com.google.protobuf.Timestamp value)
    `gte` requires the timestamp field value to be greater than or equal to the specified value (exclusive).
    mergeLt(com.google.protobuf.Timestamp value)
    requires the duration field value to be less than the specified value (field < value).
    mergeLte(com.google.protobuf.Timestamp value)
    requires the timestamp field value to be less than or equal to the specified value (field <= value).
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    mergeWithin(com.google.protobuf.Duration value)
    `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time.
    setConst(com.google.protobuf.Timestamp value)
    `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value.
    setConst(com.google.protobuf.Timestamp.Builder builderForValue)
    `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value.
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    setGt(com.google.protobuf.Timestamp value)
    `gt` requires the timestamp field value to be greater than the specified value (exclusive).
    setGt(com.google.protobuf.Timestamp.Builder builderForValue)
    `gt` requires the timestamp field value to be greater than the specified value (exclusive).
    setGte(com.google.protobuf.Timestamp value)
    `gte` requires the timestamp field value to be greater than or equal to the specified value (exclusive).
    setGte(com.google.protobuf.Timestamp.Builder builderForValue)
    `gte` requires the timestamp field value to be greater than or equal to the specified value (exclusive).
    setGtNow(boolean value)
    `gt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be greater than the current time.
    setLt(com.google.protobuf.Timestamp value)
    requires the duration field value to be less than the specified value (field < value).
    setLt(com.google.protobuf.Timestamp.Builder builderForValue)
    requires the duration field value to be less than the specified value (field < value).
    setLte(com.google.protobuf.Timestamp value)
    requires the timestamp field value to be less than or equal to the specified value (field <= value).
    setLte(com.google.protobuf.Timestamp.Builder builderForValue)
    requires the timestamp field value to be less than or equal to the specified value (field <= value).
    setLtNow(boolean value)
    `lt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be less than the current time.
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    setWithin(com.google.protobuf.Duration value)
    `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time.
    setWithin(com.google.protobuf.Duration.Builder builderForValue)
    `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time.

    Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

    getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TimestampRules.Builder>
    • clear

      public TimestampRules.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<TimestampRules.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TimestampRules.Builder>
    • getDefaultInstanceForType

      public TimestampRules getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public TimestampRules build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TimestampRules buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public TimestampRules.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<TimestampRules.Builder>
    • setField

      public TimestampRules.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<TimestampRules.Builder>
    • clearField

      public TimestampRules.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TimestampRules.Builder>
    • clearOneof

      public TimestampRules.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TimestampRules.Builder>
    • setRepeatedField

      public TimestampRules.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TimestampRules.Builder>
    • addRepeatedField

      public TimestampRules.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TimestampRules.Builder>
    • mergeFrom

      public TimestampRules.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimestampRules.Builder>
    • mergeFrom

      public TimestampRules.Builder mergeFrom(TimestampRules other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TimestampRules.Builder>
    • mergeFrom

      public TimestampRules.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimestampRules.Builder>
      Throws:
      IOException
    • getLessThanCase

      public TimestampRules.LessThanCase getLessThanCase()
      Specified by:
      getLessThanCase in interface TimestampRulesOrBuilder
    • clearLessThan

      public TimestampRules.Builder clearLessThan()
    • getGreaterThanCase

      public TimestampRules.GreaterThanCase getGreaterThanCase()
      Specified by:
      getGreaterThanCase in interface TimestampRulesOrBuilder
    • clearGreaterThan

      public TimestampRules.Builder clearGreaterThan()
    • hasConst

      public boolean hasConst()
       `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value. If the field value doesn't correspond to the specified timestamp, an error message will be generated.
      
       ```proto
       message MyTimestamp {
         // value must equal 2023-05-03T10:00:00Z
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.const = {seconds: 1727998800}];
       }
       ```
       
      optional .google.protobuf.Timestamp const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }
      Specified by:
      hasConst in interface TimestampRulesOrBuilder
      Returns:
      Whether the const field is set.
    • getConst

      public com.google.protobuf.Timestamp getConst()
       `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value. If the field value doesn't correspond to the specified timestamp, an error message will be generated.
      
       ```proto
       message MyTimestamp {
         // value must equal 2023-05-03T10:00:00Z
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.const = {seconds: 1727998800}];
       }
       ```
       
      optional .google.protobuf.Timestamp const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }
      Specified by:
      getConst in interface TimestampRulesOrBuilder
      Returns:
      The const.
    • setConst

      public TimestampRules.Builder setConst(com.google.protobuf.Timestamp value)
       `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value. If the field value doesn't correspond to the specified timestamp, an error message will be generated.
      
       ```proto
       message MyTimestamp {
         // value must equal 2023-05-03T10:00:00Z
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.const = {seconds: 1727998800}];
       }
       ```
       
      optional .google.protobuf.Timestamp const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }
    • setConst

      public TimestampRules.Builder setConst(com.google.protobuf.Timestamp.Builder builderForValue)
       `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value. If the field value doesn't correspond to the specified timestamp, an error message will be generated.
      
       ```proto
       message MyTimestamp {
         // value must equal 2023-05-03T10:00:00Z
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.const = {seconds: 1727998800}];
       }
       ```
       
      optional .google.protobuf.Timestamp const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }
    • mergeConst

      public TimestampRules.Builder mergeConst(com.google.protobuf.Timestamp value)
       `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value. If the field value doesn't correspond to the specified timestamp, an error message will be generated.
      
       ```proto
       message MyTimestamp {
         // value must equal 2023-05-03T10:00:00Z
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.const = {seconds: 1727998800}];
       }
       ```
       
      optional .google.protobuf.Timestamp const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }
    • clearConst

      public TimestampRules.Builder clearConst()
       `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value. If the field value doesn't correspond to the specified timestamp, an error message will be generated.
      
       ```proto
       message MyTimestamp {
         // value must equal 2023-05-03T10:00:00Z
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.const = {seconds: 1727998800}];
       }
       ```
       
      optional .google.protobuf.Timestamp const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }
    • getConstBuilder

      public com.google.protobuf.Timestamp.Builder getConstBuilder()
       `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value. If the field value doesn't correspond to the specified timestamp, an error message will be generated.
      
       ```proto
       message MyTimestamp {
         // value must equal 2023-05-03T10:00:00Z
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.const = {seconds: 1727998800}];
       }
       ```
       
      optional .google.protobuf.Timestamp const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }
    • getConstOrBuilder

      public com.google.protobuf.TimestampOrBuilder getConstOrBuilder()
       `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value. If the field value doesn't correspond to the specified timestamp, an error message will be generated.
      
       ```proto
       message MyTimestamp {
         // value must equal 2023-05-03T10:00:00Z
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.const = {seconds: 1727998800}];
       }
       ```
       
      optional .google.protobuf.Timestamp const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }
      Specified by:
      getConstOrBuilder in interface TimestampRulesOrBuilder
    • hasLt

      public boolean hasLt()
       requires the duration field value to be less than the specified value (field < value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyDuration {
         // duration must be less than 'P3D' [duration.lt]
         google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = { seconds: 259200 }];
       }
       ```
       
      .google.protobuf.Timestamp lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }
      Specified by:
      hasLt in interface TimestampRulesOrBuilder
      Returns:
      Whether the lt field is set.
    • getLt

      public com.google.protobuf.Timestamp getLt()
       requires the duration field value to be less than the specified value (field < value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyDuration {
         // duration must be less than 'P3D' [duration.lt]
         google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = { seconds: 259200 }];
       }
       ```
       
      .google.protobuf.Timestamp lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }
      Specified by:
      getLt in interface TimestampRulesOrBuilder
      Returns:
      The lt.
    • setLt

      public TimestampRules.Builder setLt(com.google.protobuf.Timestamp value)
       requires the duration field value to be less than the specified value (field < value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyDuration {
         // duration must be less than 'P3D' [duration.lt]
         google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = { seconds: 259200 }];
       }
       ```
       
      .google.protobuf.Timestamp lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }
    • setLt

      public TimestampRules.Builder setLt(com.google.protobuf.Timestamp.Builder builderForValue)
       requires the duration field value to be less than the specified value (field < value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyDuration {
         // duration must be less than 'P3D' [duration.lt]
         google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = { seconds: 259200 }];
       }
       ```
       
      .google.protobuf.Timestamp lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }
    • mergeLt

      public TimestampRules.Builder mergeLt(com.google.protobuf.Timestamp value)
       requires the duration field value to be less than the specified value (field < value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyDuration {
         // duration must be less than 'P3D' [duration.lt]
         google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = { seconds: 259200 }];
       }
       ```
       
      .google.protobuf.Timestamp lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }
    • clearLt

      public TimestampRules.Builder clearLt()
       requires the duration field value to be less than the specified value (field < value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyDuration {
         // duration must be less than 'P3D' [duration.lt]
         google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = { seconds: 259200 }];
       }
       ```
       
      .google.protobuf.Timestamp lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }
    • getLtBuilder

      public com.google.protobuf.Timestamp.Builder getLtBuilder()
       requires the duration field value to be less than the specified value (field < value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyDuration {
         // duration must be less than 'P3D' [duration.lt]
         google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = { seconds: 259200 }];
       }
       ```
       
      .google.protobuf.Timestamp lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }
    • getLtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLtOrBuilder()
       requires the duration field value to be less than the specified value (field < value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyDuration {
         // duration must be less than 'P3D' [duration.lt]
         google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = { seconds: 259200 }];
       }
       ```
       
      .google.protobuf.Timestamp lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }
      Specified by:
      getLtOrBuilder in interface TimestampRulesOrBuilder
    • hasLte

      public boolean hasLte()
       requires the timestamp field value to be less than or equal to the specified value (field <= value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be less than or equal to '2023-05-14T00:00:00Z' [timestamp.lte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.lte = { seconds: 1678867200 }];
       }
       ```
       
      .google.protobuf.Timestamp lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }
      Specified by:
      hasLte in interface TimestampRulesOrBuilder
      Returns:
      Whether the lte field is set.
    • getLte

      public com.google.protobuf.Timestamp getLte()
       requires the timestamp field value to be less than or equal to the specified value (field <= value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be less than or equal to '2023-05-14T00:00:00Z' [timestamp.lte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.lte = { seconds: 1678867200 }];
       }
       ```
       
      .google.protobuf.Timestamp lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }
      Specified by:
      getLte in interface TimestampRulesOrBuilder
      Returns:
      The lte.
    • setLte

      public TimestampRules.Builder setLte(com.google.protobuf.Timestamp value)
       requires the timestamp field value to be less than or equal to the specified value (field <= value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be less than or equal to '2023-05-14T00:00:00Z' [timestamp.lte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.lte = { seconds: 1678867200 }];
       }
       ```
       
      .google.protobuf.Timestamp lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }
    • setLte

      public TimestampRules.Builder setLte(com.google.protobuf.Timestamp.Builder builderForValue)
       requires the timestamp field value to be less than or equal to the specified value (field <= value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be less than or equal to '2023-05-14T00:00:00Z' [timestamp.lte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.lte = { seconds: 1678867200 }];
       }
       ```
       
      .google.protobuf.Timestamp lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }
    • mergeLte

      public TimestampRules.Builder mergeLte(com.google.protobuf.Timestamp value)
       requires the timestamp field value to be less than or equal to the specified value (field <= value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be less than or equal to '2023-05-14T00:00:00Z' [timestamp.lte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.lte = { seconds: 1678867200 }];
       }
       ```
       
      .google.protobuf.Timestamp lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }
    • clearLte

      public TimestampRules.Builder clearLte()
       requires the timestamp field value to be less than or equal to the specified value (field <= value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be less than or equal to '2023-05-14T00:00:00Z' [timestamp.lte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.lte = { seconds: 1678867200 }];
       }
       ```
       
      .google.protobuf.Timestamp lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }
    • getLteBuilder

      public com.google.protobuf.Timestamp.Builder getLteBuilder()
       requires the timestamp field value to be less than or equal to the specified value (field <= value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be less than or equal to '2023-05-14T00:00:00Z' [timestamp.lte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.lte = { seconds: 1678867200 }];
       }
       ```
       
      .google.protobuf.Timestamp lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }
    • getLteOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLteOrBuilder()
       requires the timestamp field value to be less than or equal to the specified value (field <= value). If the field value doesn't meet the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be less than or equal to '2023-05-14T00:00:00Z' [timestamp.lte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.lte = { seconds: 1678867200 }];
       }
       ```
       
      .google.protobuf.Timestamp lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }
      Specified by:
      getLteOrBuilder in interface TimestampRulesOrBuilder
    • hasLtNow

      public boolean hasLtNow()
       `lt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be less than the current time. `lt_now` can only be used with the `within` rule.
      
       ```proto
       message MyTimestamp {
        // value must be less than now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.lt_now = true];
       }
       ```
       
      bool lt_now = 7 [json_name = "ltNow", (.buf.validate.priv.field) = { ... }
      Specified by:
      hasLtNow in interface TimestampRulesOrBuilder
      Returns:
      Whether the ltNow field is set.
    • getLtNow

      public boolean getLtNow()
       `lt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be less than the current time. `lt_now` can only be used with the `within` rule.
      
       ```proto
       message MyTimestamp {
        // value must be less than now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.lt_now = true];
       }
       ```
       
      bool lt_now = 7 [json_name = "ltNow", (.buf.validate.priv.field) = { ... }
      Specified by:
      getLtNow in interface TimestampRulesOrBuilder
      Returns:
      The ltNow.
    • setLtNow

      public TimestampRules.Builder setLtNow(boolean value)
       `lt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be less than the current time. `lt_now` can only be used with the `within` rule.
      
       ```proto
       message MyTimestamp {
        // value must be less than now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.lt_now = true];
       }
       ```
       
      bool lt_now = 7 [json_name = "ltNow", (.buf.validate.priv.field) = { ... }
      Parameters:
      value - The ltNow to set.
      Returns:
      This builder for chaining.
    • clearLtNow

      public TimestampRules.Builder clearLtNow()
       `lt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be less than the current time. `lt_now` can only be used with the `within` rule.
      
       ```proto
       message MyTimestamp {
        // value must be less than now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.lt_now = true];
       }
       ```
       
      bool lt_now = 7 [json_name = "ltNow", (.buf.validate.priv.field) = { ... }
      Returns:
      This builder for chaining.
    • hasGt

      public boolean hasGt()
       `gt` requires the timestamp field value to be greater than the specified
       value (exclusive). If the value of `gt` is larger than a specified `lt`
       or `lte`, the range is reversed, and the field value must be outside the
       specified range. If the field value doesn't meet the required conditions,
       an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than '2023-01-01T00:00:00Z' [timestamp.gt]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gt = { seconds: 1672444800 }];
      
         // timestamp must be greater than '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gt_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gt: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gt_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gt: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }
      Specified by:
      hasGt in interface TimestampRulesOrBuilder
      Returns:
      Whether the gt field is set.
    • getGt

      public com.google.protobuf.Timestamp getGt()
       `gt` requires the timestamp field value to be greater than the specified
       value (exclusive). If the value of `gt` is larger than a specified `lt`
       or `lte`, the range is reversed, and the field value must be outside the
       specified range. If the field value doesn't meet the required conditions,
       an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than '2023-01-01T00:00:00Z' [timestamp.gt]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gt = { seconds: 1672444800 }];
      
         // timestamp must be greater than '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gt_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gt: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gt_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gt: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }
      Specified by:
      getGt in interface TimestampRulesOrBuilder
      Returns:
      The gt.
    • setGt

      public TimestampRules.Builder setGt(com.google.protobuf.Timestamp value)
       `gt` requires the timestamp field value to be greater than the specified
       value (exclusive). If the value of `gt` is larger than a specified `lt`
       or `lte`, the range is reversed, and the field value must be outside the
       specified range. If the field value doesn't meet the required conditions,
       an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than '2023-01-01T00:00:00Z' [timestamp.gt]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gt = { seconds: 1672444800 }];
      
         // timestamp must be greater than '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gt_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gt: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gt_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gt: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }
    • setGt

      public TimestampRules.Builder setGt(com.google.protobuf.Timestamp.Builder builderForValue)
       `gt` requires the timestamp field value to be greater than the specified
       value (exclusive). If the value of `gt` is larger than a specified `lt`
       or `lte`, the range is reversed, and the field value must be outside the
       specified range. If the field value doesn't meet the required conditions,
       an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than '2023-01-01T00:00:00Z' [timestamp.gt]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gt = { seconds: 1672444800 }];
      
         // timestamp must be greater than '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gt_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gt: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gt_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gt: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }
    • mergeGt

      public TimestampRules.Builder mergeGt(com.google.protobuf.Timestamp value)
       `gt` requires the timestamp field value to be greater than the specified
       value (exclusive). If the value of `gt` is larger than a specified `lt`
       or `lte`, the range is reversed, and the field value must be outside the
       specified range. If the field value doesn't meet the required conditions,
       an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than '2023-01-01T00:00:00Z' [timestamp.gt]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gt = { seconds: 1672444800 }];
      
         // timestamp must be greater than '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gt_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gt: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gt_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gt: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }
    • clearGt

      public TimestampRules.Builder clearGt()
       `gt` requires the timestamp field value to be greater than the specified
       value (exclusive). If the value of `gt` is larger than a specified `lt`
       or `lte`, the range is reversed, and the field value must be outside the
       specified range. If the field value doesn't meet the required conditions,
       an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than '2023-01-01T00:00:00Z' [timestamp.gt]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gt = { seconds: 1672444800 }];
      
         // timestamp must be greater than '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gt_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gt: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gt_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gt: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }
    • getGtBuilder

      public com.google.protobuf.Timestamp.Builder getGtBuilder()
       `gt` requires the timestamp field value to be greater than the specified
       value (exclusive). If the value of `gt` is larger than a specified `lt`
       or `lte`, the range is reversed, and the field value must be outside the
       specified range. If the field value doesn't meet the required conditions,
       an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than '2023-01-01T00:00:00Z' [timestamp.gt]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gt = { seconds: 1672444800 }];
      
         // timestamp must be greater than '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gt_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gt: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gt_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gt: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }
    • getGtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getGtOrBuilder()
       `gt` requires the timestamp field value to be greater than the specified
       value (exclusive). If the value of `gt` is larger than a specified `lt`
       or `lte`, the range is reversed, and the field value must be outside the
       specified range. If the field value doesn't meet the required conditions,
       an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than '2023-01-01T00:00:00Z' [timestamp.gt]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gt = { seconds: 1672444800 }];
      
         // timestamp must be greater than '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gt_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gt: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gt_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gt: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }
      Specified by:
      getGtOrBuilder in interface TimestampRulesOrBuilder
    • hasGte

      public boolean hasGte()
       `gte` requires the timestamp field value to be greater than or equal to the
       specified value (exclusive). If the value of `gte` is larger than a
       specified `lt` or `lte`, the range is reversed, and the field value
       must be outside the specified range. If the field value doesn't meet
       the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' [timestamp.gte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gte = { seconds: 1672444800 }];
      
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gte_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gte: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than or equal to '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gte_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gte: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }
      Specified by:
      hasGte in interface TimestampRulesOrBuilder
      Returns:
      Whether the gte field is set.
    • getGte

      public com.google.protobuf.Timestamp getGte()
       `gte` requires the timestamp field value to be greater than or equal to the
       specified value (exclusive). If the value of `gte` is larger than a
       specified `lt` or `lte`, the range is reversed, and the field value
       must be outside the specified range. If the field value doesn't meet
       the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' [timestamp.gte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gte = { seconds: 1672444800 }];
      
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gte_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gte: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than or equal to '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gte_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gte: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }
      Specified by:
      getGte in interface TimestampRulesOrBuilder
      Returns:
      The gte.
    • setGte

      public TimestampRules.Builder setGte(com.google.protobuf.Timestamp value)
       `gte` requires the timestamp field value to be greater than or equal to the
       specified value (exclusive). If the value of `gte` is larger than a
       specified `lt` or `lte`, the range is reversed, and the field value
       must be outside the specified range. If the field value doesn't meet
       the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' [timestamp.gte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gte = { seconds: 1672444800 }];
      
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gte_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gte: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than or equal to '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gte_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gte: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }
    • setGte

      public TimestampRules.Builder setGte(com.google.protobuf.Timestamp.Builder builderForValue)
       `gte` requires the timestamp field value to be greater than or equal to the
       specified value (exclusive). If the value of `gte` is larger than a
       specified `lt` or `lte`, the range is reversed, and the field value
       must be outside the specified range. If the field value doesn't meet
       the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' [timestamp.gte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gte = { seconds: 1672444800 }];
      
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gte_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gte: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than or equal to '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gte_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gte: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }
    • mergeGte

      public TimestampRules.Builder mergeGte(com.google.protobuf.Timestamp value)
       `gte` requires the timestamp field value to be greater than or equal to the
       specified value (exclusive). If the value of `gte` is larger than a
       specified `lt` or `lte`, the range is reversed, and the field value
       must be outside the specified range. If the field value doesn't meet
       the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' [timestamp.gte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gte = { seconds: 1672444800 }];
      
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gte_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gte: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than or equal to '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gte_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gte: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }
    • clearGte

      public TimestampRules.Builder clearGte()
       `gte` requires the timestamp field value to be greater than or equal to the
       specified value (exclusive). If the value of `gte` is larger than a
       specified `lt` or `lte`, the range is reversed, and the field value
       must be outside the specified range. If the field value doesn't meet
       the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' [timestamp.gte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gte = { seconds: 1672444800 }];
      
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gte_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gte: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than or equal to '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gte_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gte: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }
    • getGteBuilder

      public com.google.protobuf.Timestamp.Builder getGteBuilder()
       `gte` requires the timestamp field value to be greater than or equal to the
       specified value (exclusive). If the value of `gte` is larger than a
       specified `lt` or `lte`, the range is reversed, and the field value
       must be outside the specified range. If the field value doesn't meet
       the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' [timestamp.gte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gte = { seconds: 1672444800 }];
      
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gte_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gte: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than or equal to '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gte_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gte: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }
    • getGteOrBuilder

      public com.google.protobuf.TimestampOrBuilder getGteOrBuilder()
       `gte` requires the timestamp field value to be greater than or equal to the
       specified value (exclusive). If the value of `gte` is larger than a
       specified `lt` or `lte`, the range is reversed, and the field value
       must be outside the specified range. If the field value doesn't meet
       the required conditions, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' [timestamp.gte]
         google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gte = { seconds: 1672444800 }];
      
         // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gte_lt]
         google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gte: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }];
      
         // timestamp must be greater than or equal to '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gte_lt_exclusive]
         google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gte: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }];
       }
       ```
       
      .google.protobuf.Timestamp gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }
      Specified by:
      getGteOrBuilder in interface TimestampRulesOrBuilder
    • hasGtNow

      public boolean hasGtNow()
       `gt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be greater than the current time. `gt_now` can only be used with the `within` rule.
      
       ```proto
       message MyTimestamp {
         // value must be greater than now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.gt_now = true];
       }
       ```
       
      bool gt_now = 8 [json_name = "gtNow", (.buf.validate.priv.field) = { ... }
      Specified by:
      hasGtNow in interface TimestampRulesOrBuilder
      Returns:
      Whether the gtNow field is set.
    • getGtNow

      public boolean getGtNow()
       `gt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be greater than the current time. `gt_now` can only be used with the `within` rule.
      
       ```proto
       message MyTimestamp {
         // value must be greater than now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.gt_now = true];
       }
       ```
       
      bool gt_now = 8 [json_name = "gtNow", (.buf.validate.priv.field) = { ... }
      Specified by:
      getGtNow in interface TimestampRulesOrBuilder
      Returns:
      The gtNow.
    • setGtNow

      public TimestampRules.Builder setGtNow(boolean value)
       `gt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be greater than the current time. `gt_now` can only be used with the `within` rule.
      
       ```proto
       message MyTimestamp {
         // value must be greater than now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.gt_now = true];
       }
       ```
       
      bool gt_now = 8 [json_name = "gtNow", (.buf.validate.priv.field) = { ... }
      Parameters:
      value - The gtNow to set.
      Returns:
      This builder for chaining.
    • clearGtNow

      public TimestampRules.Builder clearGtNow()
       `gt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be greater than the current time. `gt_now` can only be used with the `within` rule.
      
       ```proto
       message MyTimestamp {
         // value must be greater than now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.gt_now = true];
       }
       ```
       
      bool gt_now = 8 [json_name = "gtNow", (.buf.validate.priv.field) = { ... }
      Returns:
      This builder for chaining.
    • hasWithin

      public boolean hasWithin()
       `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time. If the field value isn't within the duration, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // value must be within 1 hour of now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.within = {seconds: 3600}];
       }
       ```
       
      optional .google.protobuf.Duration within = 9 [json_name = "within", (.buf.validate.priv.field) = { ... }
      Specified by:
      hasWithin in interface TimestampRulesOrBuilder
      Returns:
      Whether the within field is set.
    • getWithin

      public com.google.protobuf.Duration getWithin()
       `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time. If the field value isn't within the duration, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // value must be within 1 hour of now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.within = {seconds: 3600}];
       }
       ```
       
      optional .google.protobuf.Duration within = 9 [json_name = "within", (.buf.validate.priv.field) = { ... }
      Specified by:
      getWithin in interface TimestampRulesOrBuilder
      Returns:
      The within.
    • setWithin

      public TimestampRules.Builder setWithin(com.google.protobuf.Duration value)
       `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time. If the field value isn't within the duration, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // value must be within 1 hour of now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.within = {seconds: 3600}];
       }
       ```
       
      optional .google.protobuf.Duration within = 9 [json_name = "within", (.buf.validate.priv.field) = { ... }
    • setWithin

      public TimestampRules.Builder setWithin(com.google.protobuf.Duration.Builder builderForValue)
       `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time. If the field value isn't within the duration, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // value must be within 1 hour of now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.within = {seconds: 3600}];
       }
       ```
       
      optional .google.protobuf.Duration within = 9 [json_name = "within", (.buf.validate.priv.field) = { ... }
    • mergeWithin

      public TimestampRules.Builder mergeWithin(com.google.protobuf.Duration value)
       `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time. If the field value isn't within the duration, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // value must be within 1 hour of now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.within = {seconds: 3600}];
       }
       ```
       
      optional .google.protobuf.Duration within = 9 [json_name = "within", (.buf.validate.priv.field) = { ... }
    • clearWithin

      public TimestampRules.Builder clearWithin()
       `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time. If the field value isn't within the duration, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // value must be within 1 hour of now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.within = {seconds: 3600}];
       }
       ```
       
      optional .google.protobuf.Duration within = 9 [json_name = "within", (.buf.validate.priv.field) = { ... }
    • getWithinBuilder

      public com.google.protobuf.Duration.Builder getWithinBuilder()
       `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time. If the field value isn't within the duration, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // value must be within 1 hour of now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.within = {seconds: 3600}];
       }
       ```
       
      optional .google.protobuf.Duration within = 9 [json_name = "within", (.buf.validate.priv.field) = { ... }
    • getWithinOrBuilder

      public com.google.protobuf.DurationOrBuilder getWithinOrBuilder()
       `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time. If the field value isn't within the duration, an error message is generated.
      
       ```proto
       message MyTimestamp {
         // value must be within 1 hour of now
         google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.within = {seconds: 3600}];
       }
       ```
       
      optional .google.protobuf.Duration within = 9 [json_name = "within", (.buf.validate.priv.field) = { ... }
      Specified by:
      getWithinOrBuilder in interface TimestampRulesOrBuilder
    • setUnknownFields

      public final TimestampRules.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimestampRules.Builder>
    • mergeUnknownFields

      public final TimestampRules.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimestampRules.Builder>