# Interface ResourceMaintenanceDenyScheduleOrBuilder (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface ResourceMaintenanceDenyScheduleOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getEndDate()

    public abstract Date getEndDate()

Optional. Deny period end date.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.type.Date` | The endDate. |

### getEndDateOrBuilder()

    public abstract DateOrBuilder getEndDateOrBuilder()

Optional. Deny period end date.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.type.DateOrBuilder` |   |

### getStartDate()

    public abstract Date getStartDate()

Optional. The start date of the deny maintenance period.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.type.Date` | The startDate. |

### getStartDateOrBuilder()

    public abstract DateOrBuilder getStartDateOrBuilder()

Optional. The start date of the deny maintenance period.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.type.DateOrBuilder` |   |

### getTime()

    public abstract TimeOfDay getTime()

Optional. Time in UTC when the deny period starts on start_date and ends on
end_date.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.type.TimeOfDay` | The time. |

### getTimeOrBuilder()

    public abstract TimeOfDayOrBuilder getTimeOrBuilder()

Optional. Time in UTC when the deny period starts on start_date and ends on
end_date.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.type.TimeOfDayOrBuilder` |   |

### hasEndDate()

    public abstract boolean hasEndDate()

Optional. Deny period end date.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the endDate field is set. |

### hasStartDate()

    public abstract boolean hasStartDate()

Optional. The start date of the deny maintenance period.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the startDate field is set. |

### hasTime()

    public abstract boolean hasTime()

Optional. Time in UTC when the deny period starts on start_date and ends on
end_date.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the time field is set. |