Class Cluster.MaintenanceEvent

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent
All Implemented Interfaces:
Cluster.MaintenanceEventOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Cluster

public static final class Cluster.MaintenanceEvent extends com.google.protobuf.GeneratedMessage implements Cluster.MaintenanceEventOrBuilder
 A Maintenance Event is an operation that could cause temporary disruptions
 to the cluster workloads, including Google-driven or user-initiated cluster
 upgrades, user-initiated cluster configuration changes that require
 restarting nodes, etc.
 
Protobuf type google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent
See Also:
  • Field Details

  • 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
    • getUuid

      public String getUuid()
       Output only. UUID of the maintenance event.
       
      string uuid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUuid in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The uuid.
    • getUuidBytes

      public com.google.protobuf.ByteString getUuidBytes()
       Output only. UUID of the maintenance event.
       
      string uuid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUuidBytes in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The bytes for uuid.
    • getTargetVersion

      public String getTargetVersion()
       Output only. The target version of the cluster.
       
      string target_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetVersion in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The targetVersion.
    • getTargetVersionBytes

      public com.google.protobuf.ByteString getTargetVersionBytes()
       Output only. The target version of the cluster.
       
      string target_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetVersionBytes in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The bytes for targetVersion.
    • getOperation

      public String getOperation()
       Output only. The operation for running the maintenance event. Specified
       in the format projects/*/locations/*/operations/*. If the maintenance
       event is split into multiple operations (e.g. due to maintenance
       windows), the latest one is recorded.
       
      string operation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOperation in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The operation.
    • getOperationBytes

      public com.google.protobuf.ByteString getOperationBytes()
       Output only. The operation for running the maintenance event. Specified
       in the format projects/*/locations/*/operations/*. If the maintenance
       event is split into multiple operations (e.g. due to maintenance
       windows), the latest one is recorded.
       
      string operation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOperationBytes in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The bytes for operation.
    • getTypeValue

      public int getTypeValue()
       Output only. The type of the maintenance event.
       
      .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTypeValue in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Output only. The type of the maintenance event.
       
      .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getType in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The type.
    • getScheduleValue

      public int getScheduleValue()
       Output only. The schedule of the maintenance event.
       
      .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule schedule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getScheduleValue in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The enum numeric value on the wire for schedule.
    • getSchedule

      public Cluster.MaintenanceEvent.Schedule getSchedule()
       Output only. The schedule of the maintenance event.
       
      .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule schedule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSchedule in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The schedule.
    • getStateValue

      public int getStateValue()
       Output only. The state of the maintenance event.
       
      .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public Cluster.MaintenanceEvent.State getState()
       Output only. The state of the maintenance event.
       
      .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The state.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time when the maintenance event request was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time when the maintenance event request was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time when the maintenance event request was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface Cluster.MaintenanceEventOrBuilder
    • hasStartTime

      public boolean hasStartTime()
       Output only. The time when the maintenance event started.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartTime in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Output only. The time when the maintenance event started.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. The time when the maintenance event started.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTimeOrBuilder in interface Cluster.MaintenanceEventOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. The time when the maintenance event ended, either
       successfully or not. If the maintenance event is split into multiple
       maintenance windows, end_time is only updated when the whole flow ends.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Output only. The time when the maintenance event ended, either
       successfully or not. If the maintenance event is split into multiple
       maintenance windows, end_time is only updated when the whole flow ends.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Output only. The time when the maintenance event ended, either
       successfully or not. If the maintenance event is split into multiple
       maintenance windows, end_time is only updated when the whole flow ends.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTimeOrBuilder in interface Cluster.MaintenanceEventOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time when the maintenance event message was updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time when the maintenance event message was updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface Cluster.MaintenanceEventOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time when the maintenance event message was updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface Cluster.MaintenanceEventOrBuilder
    • 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 Cluster.MaintenanceEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Cluster.MaintenanceEvent parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Cluster.MaintenanceEvent parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Cluster.MaintenanceEvent.Builder newBuilder()
    • newBuilder

      public static Cluster.MaintenanceEvent.Builder newBuilder(Cluster.MaintenanceEvent prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static Cluster.MaintenanceEvent getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Cluster.MaintenanceEvent> 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 Cluster.MaintenanceEvent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder