Class MaintenanceWindow.Builder (0.15.0)

public static final class MaintenanceWindow.Builder extends GeneratedMessageV3.Builder<MaintenanceWindow.Builder> implements MaintenanceWindowOrBuilder

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

Protobuf type google.events.cloud.metastore.v1.MaintenanceWindow

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MaintenanceWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MaintenanceWindow.Builder
Overrides

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public MaintenanceWindow.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MaintenanceWindow.Builder
Overrides

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

clearOneof(Descriptors.OneofDescriptor oneof)

public MaintenanceWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MaintenanceWindow.Builder
Overrides

clone()

public MaintenanceWindow.Builder clone()
Returns
Type Description
MaintenanceWindow.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MaintenanceWindow.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MaintenanceWindow.Builder
Overrides

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MaintenanceWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MaintenanceWindow.Builder
Overrides

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.DayOfWeek

The 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 int

The enum numeric value on the wire for dayOfWeek to set.

Returns
Type Description
MaintenanceWindow.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MaintenanceWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MaintenanceWindow.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MaintenanceWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MaintenanceWindow.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MaintenanceWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MaintenanceWindow.Builder
Overrides