Class ClusterMaintenanceSchedule.Builder (0.29.0)

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

Upcoming maitenance schedule.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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