Class MaintenanceSchedule.Builder (0.44.0)

public static final class MaintenanceSchedule.Builder extends GeneratedMessageV3.Builder<MaintenanceSchedule.Builder> implements MaintenanceScheduleOrBuilder

MaintenanceSchedule stores the maintenance schedule generated from the MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The schedule is cleared once the update takes place. This field cannot be manually changed; modify the MaintenanceUpdatePolicy instead.

Protobuf type google.cloud.alloydb.v1beta.MaintenanceSchedule

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MaintenanceSchedule build()
Returns
Type Description
MaintenanceSchedule

buildPartial()

public MaintenanceSchedule buildPartial()
Returns
Type Description
MaintenanceSchedule

clear()

public MaintenanceSchedule.Builder clear()
Returns
Type Description
MaintenanceSchedule.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public MaintenanceSchedule.Builder clearStartTime()

Output only. The scheduled start time for the maintenance.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceSchedule.Builder

clone()

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

getDefaultInstanceForType()

public MaintenanceSchedule getDefaultInstanceForType()
Returns
Type Description
MaintenanceSchedule

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getStartTime()

public Timestamp getStartTime()

Output only. The scheduled start time for the maintenance.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. The scheduled start time for the maintenance.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. The scheduled start time for the maintenance.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasStartTime()

public boolean hasStartTime()

Output only. The scheduled start time for the maintenance.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MaintenanceSchedule other)

public MaintenanceSchedule.Builder mergeFrom(MaintenanceSchedule other)
Parameter
Name Description
other MaintenanceSchedule
Returns
Type Description
MaintenanceSchedule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MaintenanceSchedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MaintenanceSchedule.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public MaintenanceSchedule.Builder mergeStartTime(Timestamp value)

Output only. The scheduled start time for the maintenance.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MaintenanceSchedule.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStartTime(Timestamp value)

public MaintenanceSchedule.Builder setStartTime(Timestamp value)

Output only. The scheduled start time for the maintenance.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MaintenanceSchedule.Builder

setStartTime(Timestamp.Builder builderForValue)

public MaintenanceSchedule.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. The scheduled start time for the maintenance.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MaintenanceSchedule.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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