1.2.4 (latest) 1.2.3 1.1.1 1.0.4 0.11.5 0.10.2 0.9.0 0.8.1 0.7.0 0.6.1 0.5.1 0.4.1

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1alpha Client class MaintenanceWindow.

Maintenance window. This specifies when Dataproc Metastore
may perform system maintenance operation to the service.

Generated from protobuf message `google.cloud.metastore.v1alpha.MaintenanceWindow`

## Namespace

Google \\ Cloud \\ Metastore \\ V1alpha

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ hour_of_day` | `Google\Protobuf\Int32Value` The hour of day (0-23) when the window starts. |
| `↳ day_of_week` | `int` The day of week, when the window starts. |

### getHourOfDay

The hour of day (0-23) when the window starts.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Int32Value|null` |   |

### hasHourOfDay

### clearHourOfDay

### getHourOfDayUnwrapped

Returns the unboxed value from `getHourOfDay()`

The hour of day (0-23) when the window starts.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|null` |   |

### setHourOfDay

The hour of day (0-23) when the window starts.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Int32Value` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### setHourOfDayUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\Int32Value object.

The hour of day (0-23) when the window starts.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|null` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDayOfWeek

The day of week, when the window starts.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DayOfWeek](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.DayOfWeek.html). |

### setDayOfWeek

The day of week, when the window starts.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DayOfWeek](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.DayOfWeek.html). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |