Interface MaintenancePolicy.MaintenanceExclusionWindowOrBuilder (0.39.0)

public static interface MaintenancePolicy.MaintenanceExclusionWindowOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndDate()

public abstract Date getEndDate()

Required. End date of the exclusion period in UTC time zone. This date is inclusive.

.google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.Date

The endDate.

getEndDateOrBuilder()

public abstract DateOrBuilder getEndDateOrBuilder()

Required. End date of the exclusion period in UTC time zone. This date is inclusive.

.google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.DateOrBuilder

getStartDate()

public abstract Date getStartDate()

Required. Start date of the exclusion period in UTC time zone. This date is inclusive.

.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.Date

The startDate.

getStartDateOrBuilder()

public abstract DateOrBuilder getStartDateOrBuilder()

Required. Start date of the exclusion period in UTC time zone. This date is inclusive.

.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.DateOrBuilder

getTime()

public abstract TimeOfDay getTime()

Required. Time in UTC when the exclusion window starts on start_date and ends on end_date. This can be:

  • Full time OR
  • All zeros for 00:00:00 UTC

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

Returns
Type Description
com.google.type.TimeOfDay

The time.

getTimeOrBuilder()

public abstract TimeOfDayOrBuilder getTimeOrBuilder()

Required. Time in UTC when the exclusion window starts on start_date and ends on end_date. This can be:

  • Full time OR
  • All zeros for 00:00:00 UTC

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

Returns
Type Description
com.google.type.TimeOfDayOrBuilder

hasEndDate()

public abstract boolean hasEndDate()

Required. End date of the exclusion period in UTC time zone. This date is inclusive.

.google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the endDate field is set.

hasStartDate()

public abstract boolean hasStartDate()

Required. Start date of the exclusion period in UTC time zone. This date is inclusive.

.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the startDate field is set.

hasTime()

public abstract boolean hasTime()

Required. Time in UTC when the exclusion window starts on start_date and ends on end_date. This can be:

  • Full time OR
  • All zeros for 00:00:00 UTC

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

Returns
Type Description
boolean

Whether the time field is set.