- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.5
- 2.5.0
- 2.4.1
- 2.3.0
- 2.2.0
- 2.1.1
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
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 |
clearCanReschedule() (deprecated)
public MaintenanceSchedule.Builder clearCanReschedule()
Deprecated. google.cloud.redis.v1.MaintenanceSchedule.can_reschedule is deprecated. See google/cloud/redis/v1/cloud_redis.proto;l=576
If the scheduled maintenance can be rescheduled, default is true.
bool can_reschedule = 3 [deprecated = true];
Returns | |
---|---|
Type | Description |
MaintenanceSchedule.Builder | This builder for chaining. |
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 | |
---|---|
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 |
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 | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |
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 | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |
clone()
public MaintenanceSchedule.Builder clone()
Returns | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |
getCanReschedule() (deprecated)
public boolean getCanReschedule()
Deprecated. google.cloud.redis.v1.MaintenanceSchedule.can_reschedule is deprecated. See google/cloud/redis/v1/cloud_redis.proto;l=576
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 | |
---|---|
Type | Description |
MaintenanceSchedule |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
Timestamp | The endTime. |
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 | |
---|---|
Type | Description |
Builder |
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 | |
---|---|
Type | Description |
TimestampOrBuilder |
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 | |
---|---|
Type | Description |
Builder |
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 | |
---|---|
Type | Description |
TimestampOrBuilder |
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 | |
---|---|
Type | Description |
Timestamp | The startTime. |
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 | |
---|---|
Type | Description |
Builder |
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 | |
---|---|
Type | Description |
TimestampOrBuilder |
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 | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |
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 |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |
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 | |
---|---|
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 |
setCanReschedule(boolean value) (deprecated)
public MaintenanceSchedule.Builder setCanReschedule(boolean value)
Deprecated. google.cloud.redis.v1.MaintenanceSchedule.can_reschedule is deprecated. See google/cloud/redis/v1/cloud_redis.proto;l=576
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 | |
---|---|
Type | Description |
MaintenanceSchedule.Builder | This builder for chaining. |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |
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 | |
---|---|
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 |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |
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 | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |
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 | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceSchedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |