public static final class MaintenanceUpdatePolicy.MaintenanceWindow.Builder extends GeneratedMessage.Builder<MaintenanceUpdatePolicy.MaintenanceWindow.Builder> implements MaintenanceUpdatePolicy.MaintenanceWindowOrBuilderMaintenanceWindow specifies a preferred day and time for maintenance.
Protobuf type google.cloud.alloydb.v1alpha.MaintenanceUpdatePolicy.MaintenanceWindow
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MaintenanceUpdatePolicy.MaintenanceWindow.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MaintenanceUpdatePolicy.MaintenanceWindow build()| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow |
|
buildPartial()
public MaintenanceUpdatePolicy.MaintenanceWindow buildPartial()| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow |
|
clear()
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder clear()| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow.Builder |
|
clearDay()
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder clearDay()Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
.google.type.DayOfWeek day = 1;
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow.Builder |
|
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()
public int 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()| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MaintenanceUpdatePolicy.MaintenanceWindow other)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder mergeFrom(MaintenanceUpdatePolicy.MaintenanceWindow other)| Parameter | |
|---|---|
| Name | Description |
other |
MaintenanceUpdatePolicy.MaintenanceWindow |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow.Builder |
|
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.DayOfWeekThe day to set. |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow.Builder |
This builder for chaining. |
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 |
intThe enum numeric value on the wire for day to set. |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow.Builder |
This builder for chaining. |
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 |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow.Builder |
|