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.v1alpha.MaintenanceSchedule
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MaintenanceSchedule.BuilderImplements
MaintenanceScheduleOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public MaintenanceSchedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MaintenanceSchedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |
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 |
getDefaultInstanceForType()
public MaintenanceSchedule getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MaintenanceSchedule |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MaintenanceSchedule.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |
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 |
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 |
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 |
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 |