public static final class MaintenanceWindow.Builder extends GeneratedMessage.Builder<MaintenanceWindow.Builder> implements MaintenanceWindowOrBuilderMaintenance window. This specifies when Dataproc Metastore may perform system maintenance operation to the service.
Protobuf type google.cloud.metastore.v1alpha.MaintenanceWindow
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MaintenanceWindow.BuilderImplements
MaintenanceWindowOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MaintenanceWindow build()| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow |
|
buildPartial()
public MaintenanceWindow buildPartial()| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow |
|
clear()
public MaintenanceWindow.Builder clear()| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
clearDayOfWeek()
public MaintenanceWindow.Builder clearDayOfWeek()The day of week, when the window starts.
.google.type.DayOfWeek day_of_week = 2;
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
This builder for chaining. |
clearHourOfDay()
public MaintenanceWindow.Builder clearHourOfDay()The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
getDayOfWeek()
public DayOfWeek getDayOfWeek()The day of week, when the window starts.
.google.type.DayOfWeek day_of_week = 2;
| Returns | |
|---|---|
| Type | Description |
com.google.type.DayOfWeek |
The dayOfWeek. |
getDayOfWeekValue()
public int getDayOfWeekValue()The day of week, when the window starts.
.google.type.DayOfWeek day_of_week = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for dayOfWeek. |
getDefaultInstanceForType()
public MaintenanceWindow getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHourOfDay()
public Int32Value getHourOfDay()The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
| Returns | |
|---|---|
| Type | Description |
Int32Value |
The hourOfDay. |
getHourOfDayBuilder()
public Int32Value.Builder getHourOfDayBuilder()The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getHourOfDayOrBuilder()
public Int32ValueOrBuilder getHourOfDayOrBuilder()The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
| Returns | |
|---|---|
| Type | Description |
Int32ValueOrBuilder |
|
hasHourOfDay()
public boolean hasHourOfDay()The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hourOfDay field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MaintenanceWindow other)
public MaintenanceWindow.Builder mergeFrom(MaintenanceWindow other)| Parameter | |
|---|---|
| Name | Description |
other |
MaintenanceWindow |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MaintenanceWindow.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
mergeHourOfDay(Int32Value value)
public MaintenanceWindow.Builder mergeHourOfDay(Int32Value value)The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Int32Value |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
setDayOfWeek(DayOfWeek value)
public MaintenanceWindow.Builder setDayOfWeek(DayOfWeek value)The day of week, when the window starts.
.google.type.DayOfWeek day_of_week = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.DayOfWeekThe dayOfWeek to set. |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
This builder for chaining. |
setDayOfWeekValue(int value)
public MaintenanceWindow.Builder setDayOfWeekValue(int value)The day of week, when the window starts.
.google.type.DayOfWeek day_of_week = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for dayOfWeek to set. |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
This builder for chaining. |
setHourOfDay(Int32Value value)
public MaintenanceWindow.Builder setHourOfDay(Int32Value value)The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Int32Value |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
setHourOfDay(Int32Value.Builder builderForValue)
public MaintenanceWindow.Builder setHourOfDay(Int32Value.Builder builderForValue)The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|