Package com.google.genai.types
Class GoogleTypeDate.Builder
java.lang.Object
com.google.genai.types.GoogleTypeDate.Builder
- Enclosing class:
- GoogleTypeDate
Builder for GoogleTypeDate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GoogleTypeDate
build()
abstract GoogleTypeDate.Builder
Setter for day.abstract GoogleTypeDate.Builder
Setter for month.abstract GoogleTypeDate.Builder
Setter for year.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
day
Setter for day.day: Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
-
month
Setter for month.month: Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
-
year
Setter for year.year: Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
-
build
-