public static final class MaintenanceUpdatePolicy.MaintenanceWindow.Builder extends GeneratedMessageV3.Builder<MaintenanceUpdatePolicy.MaintenanceWindow.Builder> implements MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder
MaintenanceWindow specifies a preferred day and time for maintenance.
Protobuf type google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.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 MaintenanceUpdatePolicy.MaintenanceWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MaintenanceUpdatePolicy.MaintenanceWindow build()
buildPartial()
public MaintenanceUpdatePolicy.MaintenanceWindow buildPartial()
clear()
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder clear()
Overrides
clearDay()
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder clearDay()
Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
.google.type.DayOfWeek day = 1;
clearField(Descriptors.FieldDescriptor field)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStartTime()
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder clearStartTime()
Preferred time to start the maintenance operation on the specified day.
Maintenance will start within 1 hour of this time.
.google.type.TimeOfDay start_time = 2;
clone()
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder clone()
Overrides
getDay()
public DayOfWeek getDay()
Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
.google.type.DayOfWeek day = 1;
Returns |
Type |
Description |
com.google.type.DayOfWeek |
The day.
|
getDayValue()
Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
.google.type.DayOfWeek day = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for day.
|
getDefaultInstanceForType()
public MaintenanceUpdatePolicy.MaintenanceWindow getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getStartTime()
public TimeOfDay getStartTime()
Preferred time to start the maintenance operation on the specified day.
Maintenance will start within 1 hour of this time.
.google.type.TimeOfDay start_time = 2;
Returns |
Type |
Description |
com.google.type.TimeOfDay |
The startTime.
|
getStartTimeBuilder()
public TimeOfDay.Builder getStartTimeBuilder()
Preferred time to start the maintenance operation on the specified day.
Maintenance will start within 1 hour of this time.
.google.type.TimeOfDay start_time = 2;
Returns |
Type |
Description |
com.google.type.TimeOfDay.Builder |
|
getStartTimeOrBuilder()
public TimeOfDayOrBuilder getStartTimeOrBuilder()
Preferred time to start the maintenance operation on the specified day.
Maintenance will start within 1 hour of this time.
.google.type.TimeOfDay start_time = 2;
Returns |
Type |
Description |
com.google.type.TimeOfDayOrBuilder |
|
hasStartTime()
public boolean hasStartTime()
Preferred time to start the maintenance operation on the specified day.
Maintenance will start within 1 hour of this time.
.google.type.TimeOfDay start_time = 2;
Returns |
Type |
Description |
boolean |
Whether the startTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MaintenanceUpdatePolicy.MaintenanceWindow other)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder mergeFrom(MaintenanceUpdatePolicy.MaintenanceWindow other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeStartTime(TimeOfDay value)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder mergeStartTime(TimeOfDay value)
Preferred time to start the maintenance operation on the specified day.
Maintenance will start within 1 hour of this time.
.google.type.TimeOfDay start_time = 2;
Parameter |
Name |
Description |
value |
com.google.type.TimeOfDay
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceUpdatePolicy.MaintenanceWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDay(DayOfWeek value)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder setDay(DayOfWeek value)
Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
.google.type.DayOfWeek day = 1;
Parameter |
Name |
Description |
value |
com.google.type.DayOfWeek
The day to set.
|
setDayValue(int value)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder setDayValue(int value)
Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
.google.type.DayOfWeek day = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for day to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStartTime(TimeOfDay value)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder setStartTime(TimeOfDay value)
Preferred time to start the maintenance operation on the specified day.
Maintenance will start within 1 hour of this time.
.google.type.TimeOfDay start_time = 2;
Parameter |
Name |
Description |
value |
com.google.type.TimeOfDay
|
setStartTime(TimeOfDay.Builder builderForValue)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder setStartTime(TimeOfDay.Builder builderForValue)
Preferred time to start the maintenance operation on the specified day.
Maintenance will start within 1 hour of this time.
.google.type.TimeOfDay start_time = 2;
Parameter |
Name |
Description |
builderForValue |
com.google.type.TimeOfDay.Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceUpdatePolicy.MaintenanceWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides