Class ClusterUpgradeInfo (2.67.0)

public final class ClusterUpgradeInfo extends GeneratedMessageV3 implements ClusterUpgradeInfoOrBuilder

ClusterUpgradeInfo contains the upgrade information of a cluster.

Protobuf type google.container.v1.ClusterUpgradeInfo

Static Fields

AUTO_UPGRADE_STATUS_FIELD_NUMBER

public static final int AUTO_UPGRADE_STATUS_FIELD_NUMBER
Field Value
Type Description
int

END_OF_EXTENDED_SUPPORT_TIMESTAMP_FIELD_NUMBER

public static final int END_OF_EXTENDED_SUPPORT_TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

END_OF_STANDARD_SUPPORT_TIMESTAMP_FIELD_NUMBER

public static final int END_OF_STANDARD_SUPPORT_TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

MINOR_TARGET_VERSION_FIELD_NUMBER

public static final int MINOR_TARGET_VERSION_FIELD_NUMBER
Field Value
Type Description
int

PATCH_TARGET_VERSION_FIELD_NUMBER

public static final int PATCH_TARGET_VERSION_FIELD_NUMBER
Field Value
Type Description
int

PAUSED_REASON_FIELD_NUMBER

public static final int PAUSED_REASON_FIELD_NUMBER
Field Value
Type Description
int

UPGRADE_DETAILS_FIELD_NUMBER

public static final int UPGRADE_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ClusterUpgradeInfo getDefaultInstance()
Returns
Type Description
ClusterUpgradeInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ClusterUpgradeInfo.Builder newBuilder()
Returns
Type Description
ClusterUpgradeInfo.Builder

newBuilder(ClusterUpgradeInfo prototype)

public static ClusterUpgradeInfo.Builder newBuilder(ClusterUpgradeInfo prototype)
Parameter
Name Description
prototype ClusterUpgradeInfo
Returns
Type Description
ClusterUpgradeInfo.Builder

parseDelimitedFrom(InputStream input)

public static ClusterUpgradeInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClusterUpgradeInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterUpgradeInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterUpgradeInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ClusterUpgradeInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ClusterUpgradeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ClusterUpgradeInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterUpgradeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ClusterUpgradeInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ClusterUpgradeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ClusterUpgradeInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterUpgradeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ClusterUpgradeInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ClusterUpgradeInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterUpgradeInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterUpgradeInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ClusterUpgradeInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClusterUpgradeInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterUpgradeInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterUpgradeInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ClusterUpgradeInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ClusterUpgradeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ClusterUpgradeInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterUpgradeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ClusterUpgradeInfo> parser()
Returns
Type Description
Parser<ClusterUpgradeInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAutoUpgradeStatus(int index)

public ClusterUpgradeInfo.AutoUpgradeStatus getAutoUpgradeStatus(int index)

The auto upgrade status.

repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ClusterUpgradeInfo.AutoUpgradeStatus

The autoUpgradeStatus at the given index.

getAutoUpgradeStatusCount()

public int getAutoUpgradeStatusCount()

The auto upgrade status.

repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;

Returns
Type Description
int

The count of autoUpgradeStatus.

getAutoUpgradeStatusList()

public List<ClusterUpgradeInfo.AutoUpgradeStatus> getAutoUpgradeStatusList()

The auto upgrade status.

repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;

Returns
Type Description
List<AutoUpgradeStatus>

A list containing the autoUpgradeStatus.

getAutoUpgradeStatusValue(int index)

public int getAutoUpgradeStatusValue(int index)

The auto upgrade status.

repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of autoUpgradeStatus at the given index.

getAutoUpgradeStatusValueList()

public List<Integer> getAutoUpgradeStatusValueList()

The auto upgrade status.

repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for autoUpgradeStatus.

getDefaultInstanceForType()

public ClusterUpgradeInfo getDefaultInstanceForType()
Returns
Type Description
ClusterUpgradeInfo

getEndOfExtendedSupportTimestamp()

public String getEndOfExtendedSupportTimestamp()

The cluster's current minor version's end of extended support timestamp.

optional string end_of_extended_support_timestamp = 6;

Returns
Type Description
String

The endOfExtendedSupportTimestamp.

getEndOfExtendedSupportTimestampBytes()

public ByteString getEndOfExtendedSupportTimestampBytes()

The cluster's current minor version's end of extended support timestamp.

optional string end_of_extended_support_timestamp = 6;

Returns
Type Description
ByteString

The bytes for endOfExtendedSupportTimestamp.

getEndOfStandardSupportTimestamp()

public String getEndOfStandardSupportTimestamp()

The cluster's current minor version's end of standard support timestamp.

optional string end_of_standard_support_timestamp = 5;

Returns
Type Description
String

The endOfStandardSupportTimestamp.

getEndOfStandardSupportTimestampBytes()

public ByteString getEndOfStandardSupportTimestampBytes()

The cluster's current minor version's end of standard support timestamp.

optional string end_of_standard_support_timestamp = 5;

Returns
Type Description
ByteString

The bytes for endOfStandardSupportTimestamp.

getMinorTargetVersion()

public String getMinorTargetVersion()

minor_target_version indicates the target version for minor upgrade.

optional string minor_target_version = 7;

Returns
Type Description
String

The minorTargetVersion.

getMinorTargetVersionBytes()

public ByteString getMinorTargetVersionBytes()

minor_target_version indicates the target version for minor upgrade.

optional string minor_target_version = 7;

Returns
Type Description
ByteString

The bytes for minorTargetVersion.

getParserForType()

public Parser<ClusterUpgradeInfo> getParserForType()
Returns
Type Description
Parser<ClusterUpgradeInfo>
Overrides

getPatchTargetVersion()

public String getPatchTargetVersion()

patch_target_version indicates the target version for patch upgrade.

optional string patch_target_version = 8;

Returns
Type Description
String

The patchTargetVersion.

getPatchTargetVersionBytes()

public ByteString getPatchTargetVersionBytes()

patch_target_version indicates the target version for patch upgrade.

optional string patch_target_version = 8;

Returns
Type Description
ByteString

The bytes for patchTargetVersion.

getPausedReason(int index)

public ClusterUpgradeInfo.AutoUpgradePausedReason getPausedReason(int index)

The auto upgrade paused reason.

repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ClusterUpgradeInfo.AutoUpgradePausedReason

The pausedReason at the given index.

getPausedReasonCount()

public int getPausedReasonCount()

The auto upgrade paused reason.

repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;

Returns
Type Description
int

The count of pausedReason.

getPausedReasonList()

public List<ClusterUpgradeInfo.AutoUpgradePausedReason> getPausedReasonList()

The auto upgrade paused reason.

repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;

Returns
Type Description
List<AutoUpgradePausedReason>

A list containing the pausedReason.

getPausedReasonValue(int index)

public int getPausedReasonValue(int index)

The auto upgrade paused reason.

repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of pausedReason at the given index.

getPausedReasonValueList()

public List<Integer> getPausedReasonValueList()

The auto upgrade paused reason.

repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for pausedReason.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpgradeDetails(int index)

public UpgradeDetails getUpgradeDetails(int index)

The list of past auto upgrades.

repeated .google.container.v1.UpgradeDetails upgrade_details = 4;

Parameter
Name Description
index int
Returns
Type Description
UpgradeDetails

getUpgradeDetailsCount()

public int getUpgradeDetailsCount()

The list of past auto upgrades.

repeated .google.container.v1.UpgradeDetails upgrade_details = 4;

Returns
Type Description
int

getUpgradeDetailsList()

public List<UpgradeDetails> getUpgradeDetailsList()

The list of past auto upgrades.

repeated .google.container.v1.UpgradeDetails upgrade_details = 4;

Returns
Type Description
List<UpgradeDetails>

getUpgradeDetailsOrBuilder(int index)

public UpgradeDetailsOrBuilder getUpgradeDetailsOrBuilder(int index)

The list of past auto upgrades.

repeated .google.container.v1.UpgradeDetails upgrade_details = 4;

Parameter
Name Description
index int
Returns
Type Description
UpgradeDetailsOrBuilder

getUpgradeDetailsOrBuilderList()

public List<? extends UpgradeDetailsOrBuilder> getUpgradeDetailsOrBuilderList()

The list of past auto upgrades.

repeated .google.container.v1.UpgradeDetails upgrade_details = 4;

Returns
Type Description
List<? extends com.google.container.v1.UpgradeDetailsOrBuilder>

hasEndOfExtendedSupportTimestamp()

public boolean hasEndOfExtendedSupportTimestamp()

The cluster's current minor version's end of extended support timestamp.

optional string end_of_extended_support_timestamp = 6;

Returns
Type Description
boolean

Whether the endOfExtendedSupportTimestamp field is set.

hasEndOfStandardSupportTimestamp()

public boolean hasEndOfStandardSupportTimestamp()

The cluster's current minor version's end of standard support timestamp.

optional string end_of_standard_support_timestamp = 5;

Returns
Type Description
boolean

Whether the endOfStandardSupportTimestamp field is set.

hasMinorTargetVersion()

public boolean hasMinorTargetVersion()

minor_target_version indicates the target version for minor upgrade.

optional string minor_target_version = 7;

Returns
Type Description
boolean

Whether the minorTargetVersion field is set.

hasPatchTargetVersion()

public boolean hasPatchTargetVersion()

patch_target_version indicates the target version for patch upgrade.

optional string patch_target_version = 8;

Returns
Type Description
boolean

Whether the patchTargetVersion field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ClusterUpgradeInfo.Builder newBuilderForType()
Returns
Type Description
ClusterUpgradeInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ClusterUpgradeInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ClusterUpgradeInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ClusterUpgradeInfo.Builder toBuilder()
Returns
Type Description
ClusterUpgradeInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException