Package com.google.genai.types
Class Interval.Builder
java.lang.Object
com.google.genai.types.Interval.Builder
- Enclosing class:
- Interval
Builder for Interval.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Intervalbuild()Clears the value of endTime field.Clears the value of startTime field.abstract Interval.BuilderSetter for endTime.abstract Interval.BuilderSetter for startTime.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endTime
Setter for endTime.endTime: Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
-
clearEndTime
Clears the value of endTime field. -
startTime
Setter for startTime.startTime: Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
-
clearStartTime
Clears the value of startTime field. -
build
-