Class UpcomingMaintenance.Builder (0.12.0)

public static final class UpcomingMaintenance.Builder extends GeneratedMessage.Builder<UpcomingMaintenance.Builder> implements UpcomingMaintenanceOrBuilder

Upcoming maintenance window for the database resource.

Protobuf type google.cloud.databasecenter.v1beta.UpcomingMaintenance

Static Methods

getDescriptor()

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

Methods

build()

public UpcomingMaintenance build()
Returns
Type Description
UpcomingMaintenance

buildPartial()

public UpcomingMaintenance buildPartial()
Returns
Type Description
UpcomingMaintenance

clear()

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

clearEndTime()

public UpcomingMaintenance.Builder clearEndTime()

Output only. End time of the upcoming maintenance. This is only populated for an engine, if end time is public for the engine.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UpcomingMaintenance.Builder

clearStartTime()

public UpcomingMaintenance.Builder clearStartTime()

Output only. Start time of the upcoming maintenance. Start time is always populated when an upcoming maintenance is scheduled.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UpcomingMaintenance.Builder

getDefaultInstanceForType()

public UpcomingMaintenance getDefaultInstanceForType()
Returns
Type Description
UpcomingMaintenance

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Output only. End time of the upcoming maintenance. This is only populated for an engine, if end time is public for the engine.

.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. End time of the upcoming maintenance. This is only populated for an engine, if end time is public for the engine.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. End time of the upcoming maintenance. This is only populated for an engine, if end time is public for the engine.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getStartTime()

public Timestamp getStartTime()

Output only. Start time of the upcoming maintenance. Start time is always populated when an upcoming maintenance is scheduled.

.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. Start time of the upcoming maintenance. Start time is always populated when an upcoming maintenance is scheduled.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. Start time of the upcoming maintenance. Start time is always populated when an upcoming maintenance is scheduled.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

Output only. End time of the upcoming maintenance. This is only populated for an engine, if end time is public for the engine.

.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. Start time of the upcoming maintenance. Start time is always populated when an upcoming maintenance is scheduled.

.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 UpcomingMaintenance.Builder mergeEndTime(Timestamp value)

Output only. End time of the upcoming maintenance. This is only populated for an engine, if end time is public for the engine.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
UpcomingMaintenance.Builder

mergeFrom(UpcomingMaintenance other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public UpcomingMaintenance.Builder mergeStartTime(Timestamp value)

Output only. Start time of the upcoming maintenance. Start time is always populated when an upcoming maintenance is scheduled.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
UpcomingMaintenance.Builder

setEndTime(Timestamp value)

public UpcomingMaintenance.Builder setEndTime(Timestamp value)

Output only. End time of the upcoming maintenance. This is only populated for an engine, if end time is public for the engine.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
UpcomingMaintenance.Builder

setEndTime(Timestamp.Builder builderForValue)

public UpcomingMaintenance.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. End time of the upcoming maintenance. This is only populated for an engine, if end time is public for the engine.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpcomingMaintenance.Builder

setStartTime(Timestamp value)

public UpcomingMaintenance.Builder setStartTime(Timestamp value)

Output only. Start time of the upcoming maintenance. Start time is always populated when an upcoming maintenance is scheduled.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
UpcomingMaintenance.Builder

setStartTime(Timestamp.Builder builderForValue)

public UpcomingMaintenance.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. Start time of the upcoming maintenance. Start time is always populated when an upcoming maintenance is scheduled.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpcomingMaintenance.Builder