Package com.google.container.v1
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAutoUpgradePausedReason indicates the reason for auto upgrade paused status.static enumAutoUpgradeStatus indicates the status of auto upgrade.static final classClusterUpgradeInfo contains the upgrade information of a cluster.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAutoUpgradeStatus(int index) The auto upgrade status.intThe auto upgrade status.The auto upgrade status.intgetAutoUpgradeStatusValue(int index) The auto upgrade status.The auto upgrade status.static ClusterUpgradeInfostatic final com.google.protobuf.Descriptors.DescriptorThe cluster's current minor version's end of extended support timestamp.com.google.protobuf.ByteStringThe cluster's current minor version's end of extended support timestamp.The cluster's current minor version's end of standard support timestamp.com.google.protobuf.ByteStringThe cluster's current minor version's end of standard support timestamp.minor_target_version indicates the target version for minor upgrade.com.google.protobuf.ByteStringminor_target_version indicates the target version for minor upgrade.com.google.protobuf.Parser<ClusterUpgradeInfo>patch_target_version indicates the target version for patch upgrade.com.google.protobuf.ByteStringpatch_target_version indicates the target version for patch upgrade.getPausedReason(int index) The auto upgrade paused reason.intThe auto upgrade paused reason.The auto upgrade paused reason.intgetPausedReasonValue(int index) The auto upgrade paused reason.The auto upgrade paused reason.intgetUpgradeDetails(int index) The list of past auto upgrades.intThe list of past auto upgrades.The list of past auto upgrades.getUpgradeDetailsOrBuilder(int index) The list of past auto upgrades.List<? extends UpgradeDetailsOrBuilder>The list of past auto upgrades.booleanThe cluster's current minor version's end of extended support timestamp.booleanThe cluster's current minor version's end of standard support timestamp.inthashCode()booleanminor_target_version indicates the target version for minor upgrade.booleanpatch_target_version indicates the target version for patch upgrade.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ClusterUpgradeInfo.Builderstatic ClusterUpgradeInfo.BuildernewBuilder(ClusterUpgradeInfo prototype) protected ClusterUpgradeInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ClusterUpgradeInfoparseDelimitedFrom(InputStream input) static ClusterUpgradeInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterUpgradeInfoparseFrom(byte[] data) static ClusterUpgradeInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterUpgradeInfoparseFrom(com.google.protobuf.ByteString data) static ClusterUpgradeInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterUpgradeInfoparseFrom(com.google.protobuf.CodedInputStream input) static ClusterUpgradeInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterUpgradeInfoparseFrom(InputStream input) static ClusterUpgradeInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterUpgradeInfoparseFrom(ByteBuffer data) static ClusterUpgradeInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ClusterUpgradeInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.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:
hasMinorTargetVersionin interfaceClusterUpgradeInfoOrBuilder- Returns:
- Whether the minorTargetVersion field is set.
-
getMinorTargetVersion
minor_target_version indicates the target version for minor upgrade.
optional string minor_target_version = 7;- Specified by:
getMinorTargetVersionin interfaceClusterUpgradeInfoOrBuilder- 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:
getMinorTargetVersionBytesin interfaceClusterUpgradeInfoOrBuilder- 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:
hasPatchTargetVersionin interfaceClusterUpgradeInfoOrBuilder- Returns:
- Whether the patchTargetVersion field is set.
-
getPatchTargetVersion
patch_target_version indicates the target version for patch upgrade.
optional string patch_target_version = 8;- Specified by:
getPatchTargetVersionin interfaceClusterUpgradeInfoOrBuilder- 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:
getPatchTargetVersionBytesin interfaceClusterUpgradeInfoOrBuilder- Returns:
- The bytes for patchTargetVersion.
-
getAutoUpgradeStatusList
The auto upgrade status.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;- Specified by:
getAutoUpgradeStatusListin interfaceClusterUpgradeInfoOrBuilder- 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:
getAutoUpgradeStatusCountin interfaceClusterUpgradeInfoOrBuilder- Returns:
- The count of autoUpgradeStatus.
-
getAutoUpgradeStatus
The auto upgrade status.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;- Specified by:
getAutoUpgradeStatusin interfaceClusterUpgradeInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The autoUpgradeStatus at the given index.
-
getAutoUpgradeStatusValueList
The auto upgrade status.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;- Specified by:
getAutoUpgradeStatusValueListin interfaceClusterUpgradeInfoOrBuilder- 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:
getAutoUpgradeStatusValuein interfaceClusterUpgradeInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of autoUpgradeStatus at the given index.
-
getPausedReasonList
The auto upgrade paused reason.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;- Specified by:
getPausedReasonListin interfaceClusterUpgradeInfoOrBuilder- 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:
getPausedReasonCountin interfaceClusterUpgradeInfoOrBuilder- Returns:
- The count of pausedReason.
-
getPausedReason
The auto upgrade paused reason.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;- Specified by:
getPausedReasonin interfaceClusterUpgradeInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The pausedReason at the given index.
-
getPausedReasonValueList
The auto upgrade paused reason.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;- Specified by:
getPausedReasonValueListin interfaceClusterUpgradeInfoOrBuilder- 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:
getPausedReasonValuein interfaceClusterUpgradeInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of pausedReason at the given index.
-
getUpgradeDetailsList
The list of past auto upgrades.
repeated .google.container.v1.UpgradeDetails upgrade_details = 4;- Specified by:
getUpgradeDetailsListin interfaceClusterUpgradeInfoOrBuilder
-
getUpgradeDetailsOrBuilderList
The list of past auto upgrades.
repeated .google.container.v1.UpgradeDetails upgrade_details = 4;- Specified by:
getUpgradeDetailsOrBuilderListin interfaceClusterUpgradeInfoOrBuilder
-
getUpgradeDetailsCount
public int getUpgradeDetailsCount()The list of past auto upgrades.
repeated .google.container.v1.UpgradeDetails upgrade_details = 4;- Specified by:
getUpgradeDetailsCountin interfaceClusterUpgradeInfoOrBuilder
-
getUpgradeDetails
The list of past auto upgrades.
repeated .google.container.v1.UpgradeDetails upgrade_details = 4;- Specified by:
getUpgradeDetailsin interfaceClusterUpgradeInfoOrBuilder
-
getUpgradeDetailsOrBuilder
The list of past auto upgrades.
repeated .google.container.v1.UpgradeDetails upgrade_details = 4;- Specified by:
getUpgradeDetailsOrBuilderin interfaceClusterUpgradeInfoOrBuilder
-
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:
hasEndOfStandardSupportTimestampin interfaceClusterUpgradeInfoOrBuilder- Returns:
- Whether the endOfStandardSupportTimestamp field is set.
-
getEndOfStandardSupportTimestamp
The cluster's current minor version's end of standard support timestamp.
optional string end_of_standard_support_timestamp = 5;- Specified by:
getEndOfStandardSupportTimestampin interfaceClusterUpgradeInfoOrBuilder- 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:
getEndOfStandardSupportTimestampBytesin interfaceClusterUpgradeInfoOrBuilder- 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:
hasEndOfExtendedSupportTimestampin interfaceClusterUpgradeInfoOrBuilder- Returns:
- Whether the endOfExtendedSupportTimestamp field is set.
-
getEndOfExtendedSupportTimestamp
The cluster's current minor version's end of extended support timestamp.
optional string end_of_extended_support_timestamp = 6;- Specified by:
getEndOfExtendedSupportTimestampin interfaceClusterUpgradeInfoOrBuilder- 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:
getEndOfExtendedSupportTimestampBytesin interfaceClusterUpgradeInfoOrBuilder- Returns:
- The bytes for endOfExtendedSupportTimestamp.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static ClusterUpgradeInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClusterUpgradeInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-