Class GoogleTypeDate.Builder

java.lang.Object
com.google.genai.types.GoogleTypeDate.Builder
Enclosing class:
GoogleTypeDate

public abstract static class GoogleTypeDate.Builder extends Object
Builder for GoogleTypeDate.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • day

      public abstract GoogleTypeDate.Builder day(Integer 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

      public abstract GoogleTypeDate.Builder month(Integer 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

      public abstract GoogleTypeDate.Builder year(Integer 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

      public abstract GoogleTypeDate build()