Interface DateTimeOrBuilder (3.3.2)

public interface DateTimeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDate()

public abstract Date getDate()

One or more of the following must be set. Must be a valid date or time value.

.google.type.Date date = 1;

Returns
TypeDescription
com.google.type.Date

The date.

getDateOrBuilder()

public abstract DateOrBuilder getDateOrBuilder()

One or more of the following must be set. Must be a valid date or time value.

.google.type.Date date = 1;

Returns
TypeDescription
com.google.type.DateOrBuilder

getDayOfWeek()

public abstract DayOfWeek getDayOfWeek()

Day of week

.google.type.DayOfWeek day_of_week = 2;

Returns
TypeDescription
com.google.type.DayOfWeek

The dayOfWeek.

getDayOfWeekValue()

public abstract int getDayOfWeekValue()

Day of week

.google.type.DayOfWeek day_of_week = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for dayOfWeek.

getTime()

public abstract TimeOfDay getTime()

Time of day

.google.type.TimeOfDay time = 3;

Returns
TypeDescription
com.google.type.TimeOfDay

The time.

getTimeOrBuilder()

public abstract TimeOfDayOrBuilder getTimeOrBuilder()

Time of day

.google.type.TimeOfDay time = 3;

Returns
TypeDescription
com.google.type.TimeOfDayOrBuilder

getTimeZone()

public abstract DateTime.TimeZone getTimeZone()

Time zone

.google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;

Returns
TypeDescription
DateTime.TimeZone

The timeZone.

getTimeZoneOrBuilder()

public abstract DateTime.TimeZoneOrBuilder getTimeZoneOrBuilder()

Time zone

.google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;

Returns
TypeDescription
DateTime.TimeZoneOrBuilder

hasDate()

public abstract boolean hasDate()

One or more of the following must be set. Must be a valid date or time value.

.google.type.Date date = 1;

Returns
TypeDescription
boolean

Whether the date field is set.

hasTime()

public abstract boolean hasTime()

Time of day

.google.type.TimeOfDay time = 3;

Returns
TypeDescription
boolean

Whether the time field is set.

hasTimeZone()

public abstract boolean hasTimeZone()

Time zone

.google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;

Returns
TypeDescription
boolean

Whether the timeZone field is set.