Class UpcomingMaintenance (0.12.0)

public final class UpcomingMaintenance extends GeneratedMessage implements UpcomingMaintenanceOrBuilder

Upcoming maintenance window for the database resource.

Protobuf type google.cloud.databasecenter.v1beta.UpcomingMaintenance

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpcomingMaintenance getDefaultInstance()
Returns
Type Description
UpcomingMaintenance

getDescriptor()

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

newBuilder()

public static UpcomingMaintenance.Builder newBuilder()
Returns
Type Description
UpcomingMaintenance.Builder

newBuilder(UpcomingMaintenance prototype)

public static UpcomingMaintenance.Builder newBuilder(UpcomingMaintenance prototype)
Parameter
Name Description
prototype UpcomingMaintenance
Returns
Type Description
UpcomingMaintenance.Builder

parseDelimitedFrom(InputStream input)

public static UpcomingMaintenance parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpcomingMaintenance
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpcomingMaintenance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpcomingMaintenance
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpcomingMaintenance parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpcomingMaintenance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpcomingMaintenance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpcomingMaintenance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpcomingMaintenance parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpcomingMaintenance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpcomingMaintenance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpcomingMaintenance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpcomingMaintenance parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpcomingMaintenance
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpcomingMaintenance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpcomingMaintenance
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpcomingMaintenance parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpcomingMaintenance
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpcomingMaintenance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpcomingMaintenance
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpcomingMaintenance parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpcomingMaintenance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpcomingMaintenance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpcomingMaintenance
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpcomingMaintenance> parser()
Returns
Type Description
Parser<UpcomingMaintenance>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpcomingMaintenance getDefaultInstanceForType()
Returns
Type Description
UpcomingMaintenance

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.

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

getParserForType()

public Parser<UpcomingMaintenance> getParserForType()
Returns
Type Description
Parser<UpcomingMaintenance>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpcomingMaintenance.Builder newBuilderForType()
Returns
Type Description
UpcomingMaintenance.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected UpcomingMaintenance.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpcomingMaintenance.Builder
Overrides

toBuilder()

public UpcomingMaintenance.Builder toBuilder()
Returns
Type Description
UpcomingMaintenance.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException