Class UpgradeInfoEvent

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.UpgradeInfoEvent
All Implemented Interfaces:
UpgradeInfoEventOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class UpgradeInfoEvent extends com.google.protobuf.GeneratedMessage implements UpgradeInfoEventOrBuilder
 UpgradeInfoEvent is a notification sent to customers about the upgrade
 information of a resource.
 
Protobuf type google.container.v1.UpgradeInfoEvent
See Also:
  • Field Details

    • RESOURCE_TYPE_FIELD_NUMBER

      public static final int RESOURCE_TYPE_FIELD_NUMBER
      See Also:
    • OPERATION_FIELD_NUMBER

      public static final int OPERATION_FIELD_NUMBER
      See Also:
    • START_TIME_FIELD_NUMBER

      public static final int START_TIME_FIELD_NUMBER
      See Also:
    • END_TIME_FIELD_NUMBER

      public static final int END_TIME_FIELD_NUMBER
      See Also:
    • CURRENT_VERSION_FIELD_NUMBER

      public static final int CURRENT_VERSION_FIELD_NUMBER
      See Also:
    • TARGET_VERSION_FIELD_NUMBER

      public static final int TARGET_VERSION_FIELD_NUMBER
      See Also:
    • RESOURCE_FIELD_NUMBER

      public static final int RESOURCE_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • STANDARD_SUPPORT_END_TIME_FIELD_NUMBER

      public static final int STANDARD_SUPPORT_END_TIME_FIELD_NUMBER
      See Also:
    • EXTENDED_SUPPORT_END_TIME_FIELD_NUMBER

      public static final int EXTENDED_SUPPORT_END_TIME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • EVENT_TYPE_FIELD_NUMBER

      public static final int EVENT_TYPE_FIELD_NUMBER
      See Also:
    • DISRUPTION_EVENT_FIELD_NUMBER

      public static final int DISRUPTION_EVENT_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
    • getResourceTypeValue

      public int getResourceTypeValue()
       The resource type associated with the upgrade.
       
      .google.container.v1.UpgradeResourceType resource_type = 1;
      Specified by:
      getResourceTypeValue in interface UpgradeInfoEventOrBuilder
      Returns:
      The enum numeric value on the wire for resourceType.
    • getResourceType

      public UpgradeResourceType getResourceType()
       The resource type associated with the upgrade.
       
      .google.container.v1.UpgradeResourceType resource_type = 1;
      Specified by:
      getResourceType in interface UpgradeInfoEventOrBuilder
      Returns:
      The resourceType.
    • getOperation

      public String getOperation()
       The operation associated with this upgrade.
       
      string operation = 2;
      Specified by:
      getOperation in interface UpgradeInfoEventOrBuilder
      Returns:
      The operation.
    • getOperationBytes

      public com.google.protobuf.ByteString getOperationBytes()
       The operation associated with this upgrade.
       
      string operation = 2;
      Specified by:
      getOperationBytes in interface UpgradeInfoEventOrBuilder
      Returns:
      The bytes for operation.
    • hasStartTime

      public boolean hasStartTime()
       The time when the operation was started.
       
      .google.protobuf.Timestamp start_time = 3;
      Specified by:
      hasStartTime in interface UpgradeInfoEventOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       The time when the operation was started.
       
      .google.protobuf.Timestamp start_time = 3;
      Specified by:
      getStartTime in interface UpgradeInfoEventOrBuilder
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       The time when the operation was started.
       
      .google.protobuf.Timestamp start_time = 3;
      Specified by:
      getStartTimeOrBuilder in interface UpgradeInfoEventOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       The time when the operation ended.
       
      .google.protobuf.Timestamp end_time = 4;
      Specified by:
      hasEndTime in interface UpgradeInfoEventOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       The time when the operation ended.
       
      .google.protobuf.Timestamp end_time = 4;
      Specified by:
      getEndTime in interface UpgradeInfoEventOrBuilder
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       The time when the operation ended.
       
      .google.protobuf.Timestamp end_time = 4;
      Specified by:
      getEndTimeOrBuilder in interface UpgradeInfoEventOrBuilder
    • getCurrentVersion

      public String getCurrentVersion()
       The current version before the upgrade.
       
      string current_version = 5;
      Specified by:
      getCurrentVersion in interface UpgradeInfoEventOrBuilder
      Returns:
      The currentVersion.
    • getCurrentVersionBytes

      public com.google.protobuf.ByteString getCurrentVersionBytes()
       The current version before the upgrade.
       
      string current_version = 5;
      Specified by:
      getCurrentVersionBytes in interface UpgradeInfoEventOrBuilder
      Returns:
      The bytes for currentVersion.
    • getTargetVersion

      public String getTargetVersion()
       The target version for the upgrade.
       
      string target_version = 6;
      Specified by:
      getTargetVersion in interface UpgradeInfoEventOrBuilder
      Returns:
      The targetVersion.
    • getTargetVersionBytes

      public com.google.protobuf.ByteString getTargetVersionBytes()
       The target version for the upgrade.
       
      string target_version = 6;
      Specified by:
      getTargetVersionBytes in interface UpgradeInfoEventOrBuilder
      Returns:
      The bytes for targetVersion.
    • getResource

      public String getResource()
       Optional relative path to the resource. For example in node pool upgrades,
       the relative path of the node pool.
       
      string resource = 7;
      Specified by:
      getResource in interface UpgradeInfoEventOrBuilder
      Returns:
      The resource.
    • getResourceBytes

      public com.google.protobuf.ByteString getResourceBytes()
       Optional relative path to the resource. For example in node pool upgrades,
       the relative path of the node pool.
       
      string resource = 7;
      Specified by:
      getResourceBytes in interface UpgradeInfoEventOrBuilder
      Returns:
      The bytes for resource.
    • getStateValue

      public int getStateValue()
       Output only. The state of the upgrade.
       
      .google.container.v1.UpgradeInfoEvent.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface UpgradeInfoEventOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public UpgradeInfoEvent.State getState()
       Output only. The state of the upgrade.
       
      .google.container.v1.UpgradeInfoEvent.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface UpgradeInfoEventOrBuilder
      Returns:
      The state.
    • hasStandardSupportEndTime

      public boolean hasStandardSupportEndTime()
       The end of standard support timestamp.
       
      optional .google.protobuf.Timestamp standard_support_end_time = 9;
      Specified by:
      hasStandardSupportEndTime in interface UpgradeInfoEventOrBuilder
      Returns:
      Whether the standardSupportEndTime field is set.
    • getStandardSupportEndTime

      public com.google.protobuf.Timestamp getStandardSupportEndTime()
       The end of standard support timestamp.
       
      optional .google.protobuf.Timestamp standard_support_end_time = 9;
      Specified by:
      getStandardSupportEndTime in interface UpgradeInfoEventOrBuilder
      Returns:
      The standardSupportEndTime.
    • getStandardSupportEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStandardSupportEndTimeOrBuilder()
       The end of standard support timestamp.
       
      optional .google.protobuf.Timestamp standard_support_end_time = 9;
      Specified by:
      getStandardSupportEndTimeOrBuilder in interface UpgradeInfoEventOrBuilder
    • hasExtendedSupportEndTime

      public boolean hasExtendedSupportEndTime()
       The end of extended support timestamp.
       
      optional .google.protobuf.Timestamp extended_support_end_time = 10;
      Specified by:
      hasExtendedSupportEndTime in interface UpgradeInfoEventOrBuilder
      Returns:
      Whether the extendedSupportEndTime field is set.
    • getExtendedSupportEndTime

      public com.google.protobuf.Timestamp getExtendedSupportEndTime()
       The end of extended support timestamp.
       
      optional .google.protobuf.Timestamp extended_support_end_time = 10;
      Specified by:
      getExtendedSupportEndTime in interface UpgradeInfoEventOrBuilder
      Returns:
      The extendedSupportEndTime.
    • getExtendedSupportEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExtendedSupportEndTimeOrBuilder()
       The end of extended support timestamp.
       
      optional .google.protobuf.Timestamp extended_support_end_time = 10;
      Specified by:
      getExtendedSupportEndTimeOrBuilder in interface UpgradeInfoEventOrBuilder
    • getDescription

      public String getDescription()
       A brief description of the event.
       
      string description = 11;
      Specified by:
      getDescription in interface UpgradeInfoEventOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       A brief description of the event.
       
      string description = 11;
      Specified by:
      getDescriptionBytes in interface UpgradeInfoEventOrBuilder
      Returns:
      The bytes for description.
    • getEventTypeValue

      public int getEventTypeValue()
       The type of the event.
       
      .google.container.v1.UpgradeInfoEvent.EventType event_type = 12;
      Specified by:
      getEventTypeValue in interface UpgradeInfoEventOrBuilder
      Returns:
      The enum numeric value on the wire for eventType.
    • getEventType

      public UpgradeInfoEvent.EventType getEventType()
       The type of the event.
       
      .google.container.v1.UpgradeInfoEvent.EventType event_type = 12;
      Specified by:
      getEventType in interface UpgradeInfoEventOrBuilder
      Returns:
      The eventType.
    • hasDisruptionEvent

      public boolean hasDisruptionEvent()
       The information about the disruption event. This field is only populated
       when event_type is DISRUPTION_EVENT.
       
      optional .google.container.v1.DisruptionEvent disruption_event = 14;
      Specified by:
      hasDisruptionEvent in interface UpgradeInfoEventOrBuilder
      Returns:
      Whether the disruptionEvent field is set.
    • getDisruptionEvent

      public DisruptionEvent getDisruptionEvent()
       The information about the disruption event. This field is only populated
       when event_type is DISRUPTION_EVENT.
       
      optional .google.container.v1.DisruptionEvent disruption_event = 14;
      Specified by:
      getDisruptionEvent in interface UpgradeInfoEventOrBuilder
      Returns:
      The disruptionEvent.
    • getDisruptionEventOrBuilder

      public DisruptionEventOrBuilder getDisruptionEventOrBuilder()
       The information about the disruption event. This field is only populated
       when event_type is DISRUPTION_EVENT.
       
      optional .google.container.v1.DisruptionEvent disruption_event = 14;
      Specified by:
      getDisruptionEventOrBuilder in interface UpgradeInfoEventOrBuilder
    • 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 UpgradeInfoEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static UpgradeInfoEvent.Builder newBuilder()
    • newBuilder

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

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

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

      public static UpgradeInfoEvent getDefaultInstance()
    • parser

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

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