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.cloud.metastore.v1beta.MaintenanceWindow
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MaintenanceWindow build()
Returns
buildPartial()
public MaintenanceWindow buildPartial()
Returns
clear()
public MaintenanceWindow.Builder clear()
Returns
Overrides
clearDayOfWeek()
public MaintenanceWindow.Builder clearDayOfWeek()
The day of week, when the window starts.
.google.type.DayOfWeek day_of_week = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public MaintenanceWindow.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHourOfDay()
public MaintenanceWindow.Builder clearHourOfDay()
The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public MaintenanceWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public MaintenanceWindow.Builder clone()
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getHourOfDay()
public Int32Value getHourOfDay()
The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
Returns
getHourOfDayBuilder()
public Int32Value.Builder getHourOfDayBuilder()
The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
Returns
getHourOfDayOrBuilder()
public Int32ValueOrBuilder getHourOfDayOrBuilder()
The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(MaintenanceWindow other)
public MaintenanceWindow.Builder mergeFrom(MaintenanceWindow other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MaintenanceWindow.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MaintenanceWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides