Class ClusterMaintenanceSchedule.Builder (0.57.0)

public static final class ClusterMaintenanceSchedule.Builder extends GeneratedMessage.Builder<ClusterMaintenanceSchedule.Builder> implements ClusterMaintenanceScheduleOrBuilder

Upcoming maitenance schedule.

Protobuf type google.cloud.redis.cluster.v1.ClusterMaintenanceSchedule

Static Methods

getDescriptor()

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

Methods

build()

public ClusterMaintenanceSchedule build()
Returns
Type Description
ClusterMaintenanceSchedule

buildPartial()

public ClusterMaintenanceSchedule buildPartial()
Returns
Type Description
ClusterMaintenanceSchedule

clear()

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

clearEndTime()

public ClusterMaintenanceSchedule.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
ClusterMaintenanceSchedule.Builder

clearStartTime()

public ClusterMaintenanceSchedule.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
ClusterMaintenanceSchedule.Builder

getDefaultInstanceForType()

public ClusterMaintenanceSchedule getDefaultInstanceForType()
Returns
Type Description
ClusterMaintenanceSchedule

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
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

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.

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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public ClusterMaintenanceSchedule.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
ClusterMaintenanceSchedule.Builder

mergeFrom(ClusterMaintenanceSchedule other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public ClusterMaintenanceSchedule.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
ClusterMaintenanceSchedule.Builder

setEndTime(Timestamp value)

public ClusterMaintenanceSchedule.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
ClusterMaintenanceSchedule.Builder

setEndTime(Timestamp.Builder builderForValue)

public ClusterMaintenanceSchedule.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
ClusterMaintenanceSchedule.Builder

setStartTime(Timestamp value)

public ClusterMaintenanceSchedule.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
ClusterMaintenanceSchedule.Builder

setStartTime(Timestamp.Builder builderForValue)

public ClusterMaintenanceSchedule.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
ClusterMaintenanceSchedule.Builder