Class ClusterUpgradeInfo

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

@Generated public final class ClusterUpgradeInfo extends com.google.protobuf.GeneratedMessage implements ClusterUpgradeInfoOrBuilder
 ClusterUpgradeInfo contains the upgrade information of a cluster.
 
Protobuf type google.container.v1.ClusterUpgradeInfo
See Also:
  • Field Details

    • MINOR_TARGET_VERSION_FIELD_NUMBER

      public static final int MINOR_TARGET_VERSION_FIELD_NUMBER
      See Also:
    • PATCH_TARGET_VERSION_FIELD_NUMBER

      public static final int PATCH_TARGET_VERSION_FIELD_NUMBER
      See Also:
    • AUTO_UPGRADE_STATUS_FIELD_NUMBER

      public static final int AUTO_UPGRADE_STATUS_FIELD_NUMBER
      See Also:
    • PAUSED_REASON_FIELD_NUMBER

      public static final int PAUSED_REASON_FIELD_NUMBER
      See Also:
    • UPGRADE_DETAILS_FIELD_NUMBER

      public static final int UPGRADE_DETAILS_FIELD_NUMBER
      See Also:
    • END_OF_STANDARD_SUPPORT_TIMESTAMP_FIELD_NUMBER

      public static final int END_OF_STANDARD_SUPPORT_TIMESTAMP_FIELD_NUMBER
      See Also:
    • END_OF_EXTENDED_SUPPORT_TIMESTAMP_FIELD_NUMBER

      public static final int END_OF_EXTENDED_SUPPORT_TIMESTAMP_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
    • hasMinorTargetVersion

      public boolean hasMinorTargetVersion()
       minor_target_version indicates the target version for minor upgrade.
       
      optional string minor_target_version = 7;
      Specified by:
      hasMinorTargetVersion in interface ClusterUpgradeInfoOrBuilder
      Returns:
      Whether the minorTargetVersion field is set.
    • getMinorTargetVersion

      public String getMinorTargetVersion()
       minor_target_version indicates the target version for minor upgrade.
       
      optional string minor_target_version = 7;
      Specified by:
      getMinorTargetVersion in interface ClusterUpgradeInfoOrBuilder
      Returns:
      The minorTargetVersion.
    • getMinorTargetVersionBytes

      public com.google.protobuf.ByteString getMinorTargetVersionBytes()
       minor_target_version indicates the target version for minor upgrade.
       
      optional string minor_target_version = 7;
      Specified by:
      getMinorTargetVersionBytes in interface ClusterUpgradeInfoOrBuilder
      Returns:
      The bytes for minorTargetVersion.
    • hasPatchTargetVersion

      public boolean hasPatchTargetVersion()
       patch_target_version indicates the target version for patch upgrade.
       
      optional string patch_target_version = 8;
      Specified by:
      hasPatchTargetVersion in interface ClusterUpgradeInfoOrBuilder
      Returns:
      Whether the patchTargetVersion field is set.
    • getPatchTargetVersion

      public String getPatchTargetVersion()
       patch_target_version indicates the target version for patch upgrade.
       
      optional string patch_target_version = 8;
      Specified by:
      getPatchTargetVersion in interface ClusterUpgradeInfoOrBuilder
      Returns:
      The patchTargetVersion.
    • getPatchTargetVersionBytes

      public com.google.protobuf.ByteString getPatchTargetVersionBytes()
       patch_target_version indicates the target version for patch upgrade.
       
      optional string patch_target_version = 8;
      Specified by:
      getPatchTargetVersionBytes in interface ClusterUpgradeInfoOrBuilder
      Returns:
      The bytes for patchTargetVersion.
    • getAutoUpgradeStatusList

      public List<ClusterUpgradeInfo.AutoUpgradeStatus> getAutoUpgradeStatusList()
       The auto upgrade status.
       
      repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;
      Specified by:
      getAutoUpgradeStatusList in interface ClusterUpgradeInfoOrBuilder
      Returns:
      A list containing the autoUpgradeStatus.
    • getAutoUpgradeStatusCount

      public int getAutoUpgradeStatusCount()
       The auto upgrade status.
       
      repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;
      Specified by:
      getAutoUpgradeStatusCount in interface ClusterUpgradeInfoOrBuilder
      Returns:
      The count of autoUpgradeStatus.
    • getAutoUpgradeStatus

      public ClusterUpgradeInfo.AutoUpgradeStatus getAutoUpgradeStatus(int index)
       The auto upgrade status.
       
      repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;
      Specified by:
      getAutoUpgradeStatus in interface ClusterUpgradeInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The autoUpgradeStatus at the given index.
    • getAutoUpgradeStatusValueList

      public List<Integer> getAutoUpgradeStatusValueList()
       The auto upgrade status.
       
      repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;
      Specified by:
      getAutoUpgradeStatusValueList in interface ClusterUpgradeInfoOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for autoUpgradeStatus.
    • getAutoUpgradeStatusValue

      public int getAutoUpgradeStatusValue(int index)
       The auto upgrade status.
       
      repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;
      Specified by:
      getAutoUpgradeStatusValue in interface ClusterUpgradeInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of autoUpgradeStatus at the given index.
    • getPausedReasonList

      public List<ClusterUpgradeInfo.AutoUpgradePausedReason> getPausedReasonList()
       The auto upgrade paused reason.
       
      repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;
      Specified by:
      getPausedReasonList in interface ClusterUpgradeInfoOrBuilder
      Returns:
      A list containing the pausedReason.
    • getPausedReasonCount

      public int getPausedReasonCount()
       The auto upgrade paused reason.
       
      repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;
      Specified by:
      getPausedReasonCount in interface ClusterUpgradeInfoOrBuilder
      Returns:
      The count of pausedReason.
    • getPausedReason

      public ClusterUpgradeInfo.AutoUpgradePausedReason getPausedReason(int index)
       The auto upgrade paused reason.
       
      repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;
      Specified by:
      getPausedReason in interface ClusterUpgradeInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The pausedReason at the given index.
    • getPausedReasonValueList

      public List<Integer> getPausedReasonValueList()
       The auto upgrade paused reason.
       
      repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;
      Specified by:
      getPausedReasonValueList in interface ClusterUpgradeInfoOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for pausedReason.
    • getPausedReasonValue

      public int getPausedReasonValue(int index)
       The auto upgrade paused reason.
       
      repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;
      Specified by:
      getPausedReasonValue in interface ClusterUpgradeInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of pausedReason at the given index.
    • getUpgradeDetailsList

      public List<UpgradeDetails> getUpgradeDetailsList()
       The list of past auto upgrades.
       
      repeated .google.container.v1.UpgradeDetails upgrade_details = 4;
      Specified by:
      getUpgradeDetailsList in interface ClusterUpgradeInfoOrBuilder
    • getUpgradeDetailsOrBuilderList

      public List<? extends UpgradeDetailsOrBuilder> getUpgradeDetailsOrBuilderList()
       The list of past auto upgrades.
       
      repeated .google.container.v1.UpgradeDetails upgrade_details = 4;
      Specified by:
      getUpgradeDetailsOrBuilderList in interface ClusterUpgradeInfoOrBuilder
    • getUpgradeDetailsCount

      public int getUpgradeDetailsCount()
       The list of past auto upgrades.
       
      repeated .google.container.v1.UpgradeDetails upgrade_details = 4;
      Specified by:
      getUpgradeDetailsCount in interface ClusterUpgradeInfoOrBuilder
    • getUpgradeDetails

      public UpgradeDetails getUpgradeDetails(int index)
       The list of past auto upgrades.
       
      repeated .google.container.v1.UpgradeDetails upgrade_details = 4;
      Specified by:
      getUpgradeDetails in interface ClusterUpgradeInfoOrBuilder
    • getUpgradeDetailsOrBuilder

      public UpgradeDetailsOrBuilder getUpgradeDetailsOrBuilder(int index)
       The list of past auto upgrades.
       
      repeated .google.container.v1.UpgradeDetails upgrade_details = 4;
      Specified by:
      getUpgradeDetailsOrBuilder in interface ClusterUpgradeInfoOrBuilder
    • hasEndOfStandardSupportTimestamp

      public boolean hasEndOfStandardSupportTimestamp()
       The cluster's current minor version's end of standard support timestamp.
       
      optional string end_of_standard_support_timestamp = 5;
      Specified by:
      hasEndOfStandardSupportTimestamp in interface ClusterUpgradeInfoOrBuilder
      Returns:
      Whether the endOfStandardSupportTimestamp field is set.
    • getEndOfStandardSupportTimestamp

      public String getEndOfStandardSupportTimestamp()
       The cluster's current minor version's end of standard support timestamp.
       
      optional string end_of_standard_support_timestamp = 5;
      Specified by:
      getEndOfStandardSupportTimestamp in interface ClusterUpgradeInfoOrBuilder
      Returns:
      The endOfStandardSupportTimestamp.
    • getEndOfStandardSupportTimestampBytes

      public com.google.protobuf.ByteString getEndOfStandardSupportTimestampBytes()
       The cluster's current minor version's end of standard support timestamp.
       
      optional string end_of_standard_support_timestamp = 5;
      Specified by:
      getEndOfStandardSupportTimestampBytes in interface ClusterUpgradeInfoOrBuilder
      Returns:
      The bytes for endOfStandardSupportTimestamp.
    • hasEndOfExtendedSupportTimestamp

      public boolean hasEndOfExtendedSupportTimestamp()
       The cluster's current minor version's end of extended support timestamp.
       
      optional string end_of_extended_support_timestamp = 6;
      Specified by:
      hasEndOfExtendedSupportTimestamp in interface ClusterUpgradeInfoOrBuilder
      Returns:
      Whether the endOfExtendedSupportTimestamp field is set.
    • getEndOfExtendedSupportTimestamp

      public String getEndOfExtendedSupportTimestamp()
       The cluster's current minor version's end of extended support timestamp.
       
      optional string end_of_extended_support_timestamp = 6;
      Specified by:
      getEndOfExtendedSupportTimestamp in interface ClusterUpgradeInfoOrBuilder
      Returns:
      The endOfExtendedSupportTimestamp.
    • getEndOfExtendedSupportTimestampBytes

      public com.google.protobuf.ByteString getEndOfExtendedSupportTimestampBytes()
       The cluster's current minor version's end of extended support timestamp.
       
      optional string end_of_extended_support_timestamp = 6;
      Specified by:
      getEndOfExtendedSupportTimestampBytes in interface ClusterUpgradeInfoOrBuilder
      Returns:
      The bytes for endOfExtendedSupportTimestamp.
    • 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 ClusterUpgradeInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ClusterUpgradeInfo.Builder newBuilder()
    • newBuilder

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

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

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

      public static ClusterUpgradeInfo getDefaultInstance()
    • parser

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

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