Reference documentation and code samples for the Google Cloud Dataproc Metastore V1 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.v1.MaintenanceWindow
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.
Generated from protobuf field .google.protobuf.Int32Value hour_of_day = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Int32Value|null |
hasHourOfDay
clearHourOfDay
getHourOfDayValue
Returns the unboxed value from getHourOfDay()
The hour of day (0-23) when the window starts.
Generated from protobuf field .google.protobuf.Int32Value hour_of_day = 1;
Returns | |
---|---|
Type | Description |
int|null |
setHourOfDay
The hour of day (0-23) when the window starts.
Generated from protobuf field .google.protobuf.Int32Value hour_of_day = 1;
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Int32Value
|
Returns | |
---|---|
Type | Description |
$this |
setHourOfDayValue
Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
The hour of day (0-23) when the window starts.
Generated from protobuf field .google.protobuf.Int32Value hour_of_day = 1;
Parameter | |
---|---|
Name | Description |
var |
int|null
|
Returns | |
---|---|
Type | Description |
$this |
getDayOfWeek
The day of week, when the window starts.
Generated from protobuf field .google.type.DayOfWeek day_of_week = 2;
Returns | |
---|---|
Type | Description |
int |
setDayOfWeek
The day of week, when the window starts.
Generated from protobuf field .google.type.DayOfWeek day_of_week = 2;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |