public interface DateTimeOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
com.google.type.DateOrBuilder |
|
getDayOfWeek()
public abstract DayOfWeek getDayOfWeek()Day of week
.google.type.DayOfWeek day_of_week = 2;
| Returns | |
|---|---|
| Type | Description |
com.google.type.DayOfWeek |
The dayOfWeek. |
getDayOfWeekValue()
public abstract int getDayOfWeekValue()Day of week
.google.type.DayOfWeek day_of_week = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for dayOfWeek. |
getTime()
public abstract TimeOfDay getTime()Time of day
.google.type.TimeOfDay time = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDay |
The time. |
getTimeOrBuilder()
public abstract TimeOfDayOrBuilder getTimeOrBuilder()Time of day
.google.type.TimeOfDay time = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDayOrBuilder |
|
getTimeZone()
public abstract DateTime.TimeZone getTimeZone()Time zone
.google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
| Returns | |
|---|---|
| Type | Description |
DateTime.TimeZone |
The timeZone. |
getTimeZoneOrBuilder()
public abstract DateTime.TimeZoneOrBuilder getTimeZoneOrBuilder()Time zone
.google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the date field is set. |
hasTime()
public abstract boolean hasTime()Time of day
.google.type.TimeOfDay time = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the time field is set. |
hasTimeZone()
public abstract boolean hasTimeZone()Time zone
.google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the timeZone field is set. |