Class UpcomingMaintenance (1.59.0)

public final class UpcomingMaintenance extends GeneratedMessageV3 implements UpcomingMaintenanceOrBuilder

Upcoming Maintenance notification information.

Protobuf type google.cloud.compute.v1.UpcomingMaintenance

Static Fields

CAN_RESCHEDULE_FIELD_NUMBER

public static final int CAN_RESCHEDULE_FIELD_NUMBER
Field Value
Type Description
int

LATEST_WINDOW_START_TIME_FIELD_NUMBER

public static final int LATEST_WINDOW_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

MAINTENANCE_STATUS_FIELD_NUMBER

public static final int MAINTENANCE_STATUS_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

WINDOW_END_TIME_FIELD_NUMBER

public static final int WINDOW_END_TIME_FIELD_NUMBER
Field Value
Type Description
int

WINDOW_START_TIME_FIELD_NUMBER

public static final int WINDOW_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

getCanReschedule()

public boolean getCanReschedule()

Indicates if the maintenance can be customer triggered.

optional bool can_reschedule = 95981977;

Returns
Type Description
boolean

The canReschedule.

getDefaultInstanceForType()

public UpcomingMaintenance getDefaultInstanceForType()
Returns
Type Description
UpcomingMaintenance

getLatestWindowStartTime()

public String getLatestWindowStartTime()

The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.

optional string latest_window_start_time = 128032129;

Returns
Type Description
String

The latestWindowStartTime.

getLatestWindowStartTimeBytes()

public ByteString getLatestWindowStartTimeBytes()

The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.

optional string latest_window_start_time = 128032129;

Returns
Type Description
ByteString

The bytes for latestWindowStartTime.

getMaintenanceStatus()

public String getMaintenanceStatus()

Check the MaintenanceStatus enum for the list of possible values.

optional string maintenance_status = 81645214;

Returns
Type Description
String

The maintenanceStatus.

getMaintenanceStatusBytes()

public ByteString getMaintenanceStatusBytes()

Check the MaintenanceStatus enum for the list of possible values.

optional string maintenance_status = 81645214;

Returns
Type Description
ByteString

The bytes for maintenanceStatus.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public String getType()

Defines the type of maintenance. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Defines the type of maintenance. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
ByteString

The bytes for type.

getWindowEndTime()

public String getWindowEndTime()

The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.

optional string window_end_time = 271816480;

Returns
Type Description
String

The windowEndTime.

getWindowEndTimeBytes()

public ByteString getWindowEndTimeBytes()

The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.

optional string window_end_time = 271816480;

Returns
Type Description
ByteString

The bytes for windowEndTime.

getWindowStartTime()

public String getWindowStartTime()

The current start time of the maintenance window. This timestamp value is in RFC3339 text format.

optional string window_start_time = 473061433;

Returns
Type Description
String

The windowStartTime.

getWindowStartTimeBytes()

public ByteString getWindowStartTimeBytes()

The current start time of the maintenance window. This timestamp value is in RFC3339 text format.

optional string window_start_time = 473061433;

Returns
Type Description
ByteString

The bytes for windowStartTime.

hasCanReschedule()

public boolean hasCanReschedule()

Indicates if the maintenance can be customer triggered.

optional bool can_reschedule = 95981977;

Returns
Type Description
boolean

Whether the canReschedule field is set.

hasLatestWindowStartTime()

public boolean hasLatestWindowStartTime()

The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.

optional string latest_window_start_time = 128032129;

Returns
Type Description
boolean

Whether the latestWindowStartTime field is set.

hasMaintenanceStatus()

public boolean hasMaintenanceStatus()

Check the MaintenanceStatus enum for the list of possible values.

optional string maintenance_status = 81645214;

Returns
Type Description
boolean

Whether the maintenanceStatus field is set.

hasType()

public boolean hasType()

Defines the type of maintenance. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
boolean

Whether the type field is set.

hasWindowEndTime()

public boolean hasWindowEndTime()

The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.

optional string window_end_time = 271816480;

Returns
Type Description
boolean

Whether the windowEndTime field is set.

hasWindowStartTime()

public boolean hasWindowStartTime()

The current start time of the maintenance window. This timestamp value is in RFC3339 text format.

optional string window_start_time = 473061433;

Returns
Type Description
boolean

Whether the windowStartTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
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