public static final class MaintenanceSchedule.Builder extends GeneratedMessageV3.Builder<MaintenanceSchedule.Builder> implements MaintenanceScheduleOrBuilder
Upcoming maintenance schedule. If no maintenance is scheduled, fields are not
populated.
Protobuf type google.cloud.redis.v1.MaintenanceSchedule
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceSchedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MaintenanceSchedule build()
Returns
buildPartial()
public MaintenanceSchedule buildPartial()
Returns
clear()
public MaintenanceSchedule.Builder clear()
Returns
Overrides
clearCanReschedule()
public MaintenanceSchedule.Builder clearCanReschedule()
If the scheduled maintenance can be rescheduled, default is true.
bool can_reschedule = 3 [deprecated = true];
Returns
clearEndTime()
public MaintenanceSchedule.Builder clearEndTime()
Output only. The end time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearField(Descriptors.FieldDescriptor field)
public MaintenanceSchedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MaintenanceSchedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearScheduleDeadlineTime()
public MaintenanceSchedule.Builder clearScheduleDeadlineTime()
Output only. The deadline that the maintenance schedule start time can not go beyond,
including reschedule.
.google.protobuf.Timestamp schedule_deadline_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearStartTime()
public MaintenanceSchedule.Builder clearStartTime()
Output only. The start time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clone()
public MaintenanceSchedule.Builder clone()
Returns
Overrides
getCanReschedule()
public boolean getCanReschedule()
If the scheduled maintenance can be rescheduled, default is true.
bool can_reschedule = 3 [deprecated = true];
Returns
Type | Description |
boolean | The canReschedule.
|
getDefaultInstanceForType()
public MaintenanceSchedule getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEndTime()
public Timestamp getEndTime()
Output only. The end time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
Output only. The end time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The end time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getScheduleDeadlineTime()
public Timestamp getScheduleDeadlineTime()
Output only. The deadline that the maintenance schedule start time can not go beyond,
including reschedule.
.google.protobuf.Timestamp schedule_deadline_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
Timestamp | The scheduleDeadlineTime.
|
getScheduleDeadlineTimeBuilder()
public Timestamp.Builder getScheduleDeadlineTimeBuilder()
Output only. The deadline that the maintenance schedule start time can not go beyond,
including reschedule.
.google.protobuf.Timestamp schedule_deadline_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getScheduleDeadlineTimeOrBuilder()
public TimestampOrBuilder getScheduleDeadlineTimeOrBuilder()
Output only. The deadline that the maintenance schedule start time can not go beyond,
including reschedule.
.google.protobuf.Timestamp schedule_deadline_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getStartTime()
public Timestamp getStartTime()
Output only. The start time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Output only. The start time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The start time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
hasEndTime()
public boolean hasEndTime()
Output only. The end time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the endTime field is set.
|
hasScheduleDeadlineTime()
public boolean hasScheduleDeadlineTime()
Output only. The deadline that the maintenance schedule start time can not go beyond,
including reschedule.
.google.protobuf.Timestamp schedule_deadline_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the scheduleDeadlineTime field is set.
|
hasStartTime()
public boolean hasStartTime()
Output only. The start time of any upcoming scheduled maintenance for this instance.
.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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeEndTime(Timestamp value)
public MaintenanceSchedule.Builder mergeEndTime(Timestamp value)
Output only. The end time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
mergeFrom(MaintenanceSchedule other)
public MaintenanceSchedule.Builder mergeFrom(MaintenanceSchedule other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceSchedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MaintenanceSchedule.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeScheduleDeadlineTime(Timestamp value)
public MaintenanceSchedule.Builder mergeScheduleDeadlineTime(Timestamp value)
Output only. The deadline that the maintenance schedule start time can not go beyond,
including reschedule.
.google.protobuf.Timestamp schedule_deadline_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
mergeStartTime(Timestamp value)
public MaintenanceSchedule.Builder mergeStartTime(Timestamp value)
Output only. The start time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceSchedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCanReschedule(boolean value)
public MaintenanceSchedule.Builder setCanReschedule(boolean value)
If the scheduled maintenance can be rescheduled, default is true.
bool can_reschedule = 3 [deprecated = true];
Parameter
Name | Description |
value | boolean
The canReschedule to set.
|
Returns
setEndTime(Timestamp value)
public MaintenanceSchedule.Builder setEndTime(Timestamp value)
Output only. The end time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setEndTime(Timestamp.Builder builderForValue)
public MaintenanceSchedule.Builder setEndTime(Timestamp.Builder builderForValue)
Output only. The end time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceSchedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MaintenanceSchedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setScheduleDeadlineTime(Timestamp value)
public MaintenanceSchedule.Builder setScheduleDeadlineTime(Timestamp value)
Output only. The deadline that the maintenance schedule start time can not go beyond,
including reschedule.
.google.protobuf.Timestamp schedule_deadline_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setScheduleDeadlineTime(Timestamp.Builder builderForValue)
public MaintenanceSchedule.Builder setScheduleDeadlineTime(Timestamp.Builder builderForValue)
Output only. The deadline that the maintenance schedule start time can not go beyond,
including reschedule.
.google.protobuf.Timestamp schedule_deadline_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setStartTime(Timestamp value)
public MaintenanceSchedule.Builder setStartTime(Timestamp value)
Output only. The start time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setStartTime(Timestamp.Builder builderForValue)
public MaintenanceSchedule.Builder setStartTime(Timestamp.Builder builderForValue)
Output only. The start time of any upcoming scheduled maintenance for this instance.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceSchedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides