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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MaintenanceWindow build()
buildPartial()
public MaintenanceWindow buildPartial()
clear()
public MaintenanceWindow.Builder clear()
Overrides
clearDayOfWeek()
public MaintenanceWindow.Builder clearDayOfWeek()
The day of week, when the window starts.
.google.type.DayOfWeek day_of_week = 2;
clearField(Descriptors.FieldDescriptor field)
public MaintenanceWindow.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHourOfDay()
public MaintenanceWindow.Builder clearHourOfDay()
The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public MaintenanceWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MaintenanceWindow.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getHourOfDayOrBuilder()
public Int32ValueOrBuilder getHourOfDayOrBuilder()
The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MaintenanceWindow other)
public MaintenanceWindow.Builder mergeFrom(MaintenanceWindow other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MaintenanceWindow.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MaintenanceWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides