Package com.google.cloud.compute.v1
Interface UpcomingMaintenanceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpcomingMaintenance,UpcomingMaintenance.Builder
@Generated
public interface UpcomingMaintenanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if the maintenance can be customer triggered.The latest time for the planned maintenance window to start.com.google.protobuf.ByteStringThe latest time for the planned maintenance window to start.booleanIndicates whether the UpcomingMaintenance will be triggered on VM shutdown.getMaintenanceReasons(int index) The reasons for the maintenance.com.google.protobuf.ByteStringgetMaintenanceReasonsBytes(int index) The reasons for the maintenance.intThe reasons for the maintenance.The reasons for the maintenance.Check the MaintenanceStatus enum for the list of possible values.com.google.protobuf.ByteStringCheck the MaintenanceStatus enum for the list of possible values.getType()Defines the type of maintenance.com.google.protobuf.ByteStringDefines the type of maintenance.The time by which the maintenance disruption will be completed.com.google.protobuf.ByteStringThe time by which the maintenance disruption will be completed.The current start time of the maintenance window.com.google.protobuf.ByteStringThe current start time of the maintenance window.booleanIndicates if the maintenance can be customer triggered.booleanThe latest time for the planned maintenance window to start.booleanIndicates whether the UpcomingMaintenance will be triggered on VM shutdown.booleanCheck the MaintenanceStatus enum for the list of possible values.booleanhasType()Defines the type of maintenance.booleanThe time by which the maintenance disruption will be completed.booleanThe current start time of the maintenance window.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCanReschedule
boolean hasCanReschedule()Indicates if the maintenance can be customer triggered.
optional bool can_reschedule = 95981977;- Returns:
- Whether the canReschedule field is set.
-
getCanReschedule
boolean getCanReschedule()Indicates if the maintenance can be customer triggered.
optional bool can_reschedule = 95981977;- Returns:
- The canReschedule.
-
hasLatestWindowStartTime
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:
- Whether the latestWindowStartTime field is set.
-
getLatestWindowStartTime
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:
- The latestWindowStartTime.
-
getLatestWindowStartTimeBytes
com.google.protobuf.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:
- The bytes for latestWindowStartTime.
-
hasMaintenanceOnShutdown
boolean hasMaintenanceOnShutdown()Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
optional bool maintenance_on_shutdown = 231055754;- Returns:
- Whether the maintenanceOnShutdown field is set.
-
getMaintenanceOnShutdown
boolean getMaintenanceOnShutdown()Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
optional bool maintenance_on_shutdown = 231055754;- Returns:
- The maintenanceOnShutdown.
-
getMaintenanceReasonsList
The reasons for the maintenance. Only valid for vms. Check the MaintenanceReasons enum for the list of possible values.
repeated string maintenance_reasons = 140283267;- Returns:
- A list containing the maintenanceReasons.
-
getMaintenanceReasonsCount
int getMaintenanceReasonsCount()The reasons for the maintenance. Only valid for vms. Check the MaintenanceReasons enum for the list of possible values.
repeated string maintenance_reasons = 140283267;- Returns:
- The count of maintenanceReasons.
-
getMaintenanceReasons
The reasons for the maintenance. Only valid for vms. Check the MaintenanceReasons enum for the list of possible values.
repeated string maintenance_reasons = 140283267;- Parameters:
index- The index of the element to return.- Returns:
- The maintenanceReasons at the given index.
-
getMaintenanceReasonsBytes
com.google.protobuf.ByteString getMaintenanceReasonsBytes(int index) The reasons for the maintenance. Only valid for vms. Check the MaintenanceReasons enum for the list of possible values.
repeated string maintenance_reasons = 140283267;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the maintenanceReasons at the given index.
-
hasMaintenanceStatus
boolean hasMaintenanceStatus()Check the MaintenanceStatus enum for the list of possible values.
optional string maintenance_status = 81645214;- Returns:
- Whether the maintenanceStatus field is set.
-
getMaintenanceStatus
String getMaintenanceStatus()Check the MaintenanceStatus enum for the list of possible values.
optional string maintenance_status = 81645214;- Returns:
- The maintenanceStatus.
-
getMaintenanceStatusBytes
com.google.protobuf.ByteString getMaintenanceStatusBytes()Check the MaintenanceStatus enum for the list of possible values.
optional string maintenance_status = 81645214;- Returns:
- The bytes for maintenanceStatus.
-
hasType
boolean hasType()Defines the type of maintenance. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- Whether the type field is set.
-
getType
String getType()Defines the type of maintenance. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Defines the type of maintenance. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- The bytes for type.
-
hasWindowEndTime
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:
- Whether the windowEndTime field is set.
-
getWindowEndTime
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:
- The windowEndTime.
-
getWindowEndTimeBytes
com.google.protobuf.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:
- The bytes for windowEndTime.
-
hasWindowStartTime
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:
- Whether the windowStartTime field is set.
-
getWindowStartTime
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:
- The windowStartTime.
-
getWindowStartTimeBytes
com.google.protobuf.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:
- The bytes for windowStartTime.
-