Class UpcomingMaintenance

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.UpcomingMaintenance
All Implemented Interfaces:
UpcomingMaintenanceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class UpcomingMaintenance extends com.google.protobuf.GeneratedMessage implements UpcomingMaintenanceOrBuilder
 Upcoming Maintenance notification information.
 
Protobuf type google.cloud.compute.v1.UpcomingMaintenance
See Also:
  • Field Details

    • CAN_RESCHEDULE_FIELD_NUMBER

      public static final int CAN_RESCHEDULE_FIELD_NUMBER
      See Also:
    • LATEST_WINDOW_START_TIME_FIELD_NUMBER

      public static final int LATEST_WINDOW_START_TIME_FIELD_NUMBER
      See Also:
    • MAINTENANCE_ON_SHUTDOWN_FIELD_NUMBER

      public static final int MAINTENANCE_ON_SHUTDOWN_FIELD_NUMBER
      See Also:
    • MAINTENANCE_REASONS_FIELD_NUMBER

      public static final int MAINTENANCE_REASONS_FIELD_NUMBER
      See Also:
    • MAINTENANCE_STATUS_FIELD_NUMBER

      public static final int MAINTENANCE_STATUS_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • WINDOW_END_TIME_FIELD_NUMBER

      public static final int WINDOW_END_TIME_FIELD_NUMBER
      See Also:
    • WINDOW_START_TIME_FIELD_NUMBER

      public static final int WINDOW_START_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasCanReschedule

      public boolean hasCanReschedule()
       Indicates if the maintenance can be customer triggered.
       
      optional bool can_reschedule = 95981977;
      Specified by:
      hasCanReschedule in interface UpcomingMaintenanceOrBuilder
      Returns:
      Whether the canReschedule field is set.
    • getCanReschedule

      public boolean getCanReschedule()
       Indicates if the maintenance can be customer triggered.
       
      optional bool can_reschedule = 95981977;
      Specified by:
      getCanReschedule in interface UpcomingMaintenanceOrBuilder
      Returns:
      The canReschedule.
    • 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;
      Specified by:
      hasLatestWindowStartTime in interface UpcomingMaintenanceOrBuilder
      Returns:
      Whether the latestWindowStartTime field is set.
    • 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;
      Specified by:
      getLatestWindowStartTime in interface UpcomingMaintenanceOrBuilder
      Returns:
      The latestWindowStartTime.
    • getLatestWindowStartTimeBytes

      public 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;
      Specified by:
      getLatestWindowStartTimeBytes in interface UpcomingMaintenanceOrBuilder
      Returns:
      The bytes for latestWindowStartTime.
    • hasMaintenanceOnShutdown

      public boolean hasMaintenanceOnShutdown()
       Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
       
      optional bool maintenance_on_shutdown = 231055754;
      Specified by:
      hasMaintenanceOnShutdown in interface UpcomingMaintenanceOrBuilder
      Returns:
      Whether the maintenanceOnShutdown field is set.
    • getMaintenanceOnShutdown

      public boolean getMaintenanceOnShutdown()
       Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
       
      optional bool maintenance_on_shutdown = 231055754;
      Specified by:
      getMaintenanceOnShutdown in interface UpcomingMaintenanceOrBuilder
      Returns:
      The maintenanceOnShutdown.
    • getMaintenanceReasonsList

      public com.google.protobuf.ProtocolStringList 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;
      Specified by:
      getMaintenanceReasonsList in interface UpcomingMaintenanceOrBuilder
      Returns:
      A list containing the maintenanceReasons.
    • getMaintenanceReasonsCount

      public 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;
      Specified by:
      getMaintenanceReasonsCount in interface UpcomingMaintenanceOrBuilder
      Returns:
      The count of maintenanceReasons.
    • getMaintenanceReasons

      public String getMaintenanceReasons(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;
      Specified by:
      getMaintenanceReasons in interface UpcomingMaintenanceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The maintenanceReasons at the given index.
    • getMaintenanceReasonsBytes

      public 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;
      Specified by:
      getMaintenanceReasonsBytes in interface UpcomingMaintenanceOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the maintenanceReasons at the given index.
    • hasMaintenanceStatus

      public boolean hasMaintenanceStatus()
      
       Check the MaintenanceStatus enum for the list of possible values.
       
      optional string maintenance_status = 81645214;
      Specified by:
      hasMaintenanceStatus in interface UpcomingMaintenanceOrBuilder
      Returns:
      Whether the maintenanceStatus field is set.
    • getMaintenanceStatus

      public String getMaintenanceStatus()
      
       Check the MaintenanceStatus enum for the list of possible values.
       
      optional string maintenance_status = 81645214;
      Specified by:
      getMaintenanceStatus in interface UpcomingMaintenanceOrBuilder
      Returns:
      The maintenanceStatus.
    • getMaintenanceStatusBytes

      public com.google.protobuf.ByteString getMaintenanceStatusBytes()
      
       Check the MaintenanceStatus enum for the list of possible values.
       
      optional string maintenance_status = 81645214;
      Specified by:
      getMaintenanceStatusBytes in interface UpcomingMaintenanceOrBuilder
      Returns:
      The bytes for maintenanceStatus.
    • hasType

      public boolean hasType()
       Defines the type of maintenance.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      hasType in interface UpcomingMaintenanceOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public String getType()
       Defines the type of maintenance.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      getType in interface UpcomingMaintenanceOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       Defines the type of maintenance.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      getTypeBytes in interface UpcomingMaintenanceOrBuilder
      Returns:
      The bytes for type.
    • 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;
      Specified by:
      hasWindowEndTime in interface UpcomingMaintenanceOrBuilder
      Returns:
      Whether the windowEndTime field is set.
    • 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;
      Specified by:
      getWindowEndTime in interface UpcomingMaintenanceOrBuilder
      Returns:
      The windowEndTime.
    • getWindowEndTimeBytes

      public 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;
      Specified by:
      getWindowEndTimeBytes in interface UpcomingMaintenanceOrBuilder
      Returns:
      The bytes for windowEndTime.
    • 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;
      Specified by:
      hasWindowStartTime in interface UpcomingMaintenanceOrBuilder
      Returns:
      Whether the windowStartTime field is set.
    • 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;
      Specified by:
      getWindowStartTime in interface UpcomingMaintenanceOrBuilder
      Returns:
      The windowStartTime.
    • getWindowStartTimeBytes

      public 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;
      Specified by:
      getWindowStartTimeBytes in interface UpcomingMaintenanceOrBuilder
      Returns:
      The bytes for windowStartTime.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UpcomingMaintenance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpcomingMaintenance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpcomingMaintenance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpcomingMaintenance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpcomingMaintenance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpcomingMaintenance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpcomingMaintenance parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpcomingMaintenance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpcomingMaintenance parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpcomingMaintenance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpcomingMaintenance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpcomingMaintenance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public UpcomingMaintenance.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UpcomingMaintenance.Builder newBuilder()
    • newBuilder

      public static UpcomingMaintenance.Builder newBuilder(UpcomingMaintenance prototype)
    • toBuilder

      public UpcomingMaintenance.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UpcomingMaintenance.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static UpcomingMaintenance getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UpcomingMaintenance> parser()
    • getParserForType

      public com.google.protobuf.Parser<UpcomingMaintenance> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public UpcomingMaintenance getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder