Class NodePoolUpgradeInfo (2.67.0)

public final class NodePoolUpgradeInfo extends GeneratedMessageV3 implements NodePoolUpgradeInfoOrBuilder

NodePoolUpgradeInfo contains the upgrade information of a nodepool.

Protobuf type google.container.v1beta1.NodePoolUpgradeInfo

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 NodePoolUpgradeInfo getDefaultInstance()
Returns
Type Description
NodePoolUpgradeInfo

getDescriptor()

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

newBuilder()

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

newBuilder(NodePoolUpgradeInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAutoUpgradeStatus(int index)

public NodePoolUpgradeInfo.AutoUpgradeStatus getAutoUpgradeStatus(int index)

The auto upgrade status.

repeated .google.container.v1beta1.NodePoolUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
NodePoolUpgradeInfo.AutoUpgradeStatus

The autoUpgradeStatus at the given index.

getAutoUpgradeStatusCount()

public int getAutoUpgradeStatusCount()

The auto upgrade status.

repeated .google.container.v1beta1.NodePoolUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 3;

Returns
Type Description
int

The count of autoUpgradeStatus.

getAutoUpgradeStatusList()

public List<NodePoolUpgradeInfo.AutoUpgradeStatus> getAutoUpgradeStatusList()

The auto upgrade status.

repeated .google.container.v1beta1.NodePoolUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 3;

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.v1beta1.NodePoolUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 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 autoUpgradeStatus at the given index.

getAutoUpgradeStatusValueList()

public List<Integer> getAutoUpgradeStatusValueList()

The auto upgrade status.

repeated .google.container.v1beta1.NodePoolUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 3;

Returns
Type Description
List<Integer>

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

getDefaultInstanceForType()

public NodePoolUpgradeInfo getDefaultInstanceForType()
Returns
Type Description
NodePoolUpgradeInfo

getEndOfExtendedSupportTimestamp()

public String getEndOfExtendedSupportTimestamp()

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

optional string end_of_extended_support_timestamp = 7;

Returns
Type Description
String

The endOfExtendedSupportTimestamp.

getEndOfExtendedSupportTimestampBytes()

public ByteString getEndOfExtendedSupportTimestampBytes()

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

optional string end_of_extended_support_timestamp = 7;

Returns
Type Description
ByteString

The bytes for endOfExtendedSupportTimestamp.

getEndOfStandardSupportTimestamp()

public String getEndOfStandardSupportTimestamp()

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

optional string end_of_standard_support_timestamp = 6;

Returns
Type Description
String

The endOfStandardSupportTimestamp.

getEndOfStandardSupportTimestampBytes()

public ByteString getEndOfStandardSupportTimestampBytes()

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

optional string end_of_standard_support_timestamp = 6;

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 = 1;

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 = 1;

Returns
Type Description
ByteString

The bytes for minorTargetVersion.

getParserForType()

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

getPatchTargetVersion()

public String getPatchTargetVersion()

patch_target_version indicates the target version for patch upgrade.

optional string patch_target_version = 2;

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 = 2;

Returns
Type Description
ByteString

The bytes for patchTargetVersion.

getPausedReason(int index)

public NodePoolUpgradeInfo.AutoUpgradePausedReason getPausedReason(int index)

The auto upgrade paused reason.

repeated .google.container.v1beta1.NodePoolUpgradeInfo.AutoUpgradePausedReason paused_reason = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
NodePoolUpgradeInfo.AutoUpgradePausedReason

The pausedReason at the given index.

getPausedReasonCount()

public int getPausedReasonCount()

The auto upgrade paused reason.

repeated .google.container.v1beta1.NodePoolUpgradeInfo.AutoUpgradePausedReason paused_reason = 4;

Returns
Type Description
int

The count of pausedReason.

getPausedReasonList()

public List<NodePoolUpgradeInfo.AutoUpgradePausedReason> getPausedReasonList()

The auto upgrade paused reason.

repeated .google.container.v1beta1.NodePoolUpgradeInfo.AutoUpgradePausedReason paused_reason = 4;

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.v1beta1.NodePoolUpgradeInfo.AutoUpgradePausedReason paused_reason = 4;

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.v1beta1.NodePoolUpgradeInfo.AutoUpgradePausedReason paused_reason = 4;

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.v1beta1.UpgradeDetails upgrade_details = 5;

Parameter
Name Description
index int
Returns
Type Description
UpgradeDetails

getUpgradeDetailsCount()

public int getUpgradeDetailsCount()

The list of past auto upgrades.

repeated .google.container.v1beta1.UpgradeDetails upgrade_details = 5;

Returns
Type Description
int

getUpgradeDetailsList()

public List<UpgradeDetails> getUpgradeDetailsList()

The list of past auto upgrades.

repeated .google.container.v1beta1.UpgradeDetails upgrade_details = 5;

Returns
Type Description
List<UpgradeDetails>

getUpgradeDetailsOrBuilder(int index)

public UpgradeDetailsOrBuilder getUpgradeDetailsOrBuilder(int index)

The list of past auto upgrades.

repeated .google.container.v1beta1.UpgradeDetails upgrade_details = 5;

Parameter
Name Description
index int
Returns
Type Description
UpgradeDetailsOrBuilder

getUpgradeDetailsOrBuilderList()

public List<? extends UpgradeDetailsOrBuilder> getUpgradeDetailsOrBuilderList()

The list of past auto upgrades.

repeated .google.container.v1beta1.UpgradeDetails upgrade_details = 5;

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

hasEndOfExtendedSupportTimestamp()

public boolean hasEndOfExtendedSupportTimestamp()

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

optional string end_of_extended_support_timestamp = 7;

Returns
Type Description
boolean

Whether the endOfExtendedSupportTimestamp field is set.

hasEndOfStandardSupportTimestamp()

public boolean hasEndOfStandardSupportTimestamp()

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

optional string end_of_standard_support_timestamp = 6;

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 = 1;

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 = 2;

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 NodePoolUpgradeInfo.Builder newBuilderForType()
Returns
Type Description
NodePoolUpgradeInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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