Interface DayPartOrBuilder (0.62.0)

public interface DayPartOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDayOfWeek()

public abstract DayOfWeek getDayOfWeek()

Required. The day of the week.

optional .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.DayOfWeek

The dayOfWeek.

getDayOfWeekValue()

public abstract int getDayOfWeekValue()

Required. The day of the week.

optional .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for dayOfWeek.

getEndTime()

public abstract TimeOfDay getEndTime()

Required. The end time of the day part.

optional .google.type.TimeOfDay end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeOfDay

The endTime.

getEndTimeOrBuilder()

public abstract TimeOfDayOrBuilder getEndTimeOrBuilder()

Required. The end time of the day part.

optional .google.type.TimeOfDay end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeOfDayOrBuilder

getStartTime()

public abstract TimeOfDay getStartTime()

Required. The start time of the day part.

optional .google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeOfDay

The startTime.

getStartTimeOrBuilder()

public abstract TimeOfDayOrBuilder getStartTimeOrBuilder()

Required. The start time of the day part.

optional .google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeOfDayOrBuilder

hasDayOfWeek()

public abstract boolean hasDayOfWeek()

Required. The day of the week.

optional .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dayOfWeek field is set.

hasEndTime()

public abstract boolean hasEndTime()

Required. The end time of the day part.

optional .google.type.TimeOfDay end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public abstract boolean hasStartTime()

Required. The start time of the day part.

optional .google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the startTime field is set.