Class NodePoolUpgradeInfo.Builder (2.67.0)

public static final class NodePoolUpgradeInfo.Builder extends GeneratedMessageV3.Builder<NodePoolUpgradeInfo.Builder> implements NodePoolUpgradeInfoOrBuilder

NodePoolUpgradeInfo contains the upgrade information of a nodepool.

Protobuf type google.container.v1beta1.NodePoolUpgradeInfo

Static Methods

getDescriptor()

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

Methods

addAllAutoUpgradeStatus(Iterable<? extends NodePoolUpgradeInfo.AutoUpgradeStatus> values)

public NodePoolUpgradeInfo.Builder addAllAutoUpgradeStatus(Iterable<? extends NodePoolUpgradeInfo.AutoUpgradeStatus> values)

The auto upgrade status.

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

Parameter
Name Description
values Iterable<? extends com.google.container.v1beta1.NodePoolUpgradeInfo.AutoUpgradeStatus>

The autoUpgradeStatus to add.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

addAllAutoUpgradeStatusValue(Iterable<Integer> values)

public NodePoolUpgradeInfo.Builder addAllAutoUpgradeStatusValue(Iterable<Integer> values)

The auto upgrade status.

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

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for autoUpgradeStatus to add.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

addAllPausedReason(Iterable<? extends NodePoolUpgradeInfo.AutoUpgradePausedReason> values)

public NodePoolUpgradeInfo.Builder addAllPausedReason(Iterable<? extends NodePoolUpgradeInfo.AutoUpgradePausedReason> values)

The auto upgrade paused reason.

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

Parameter
Name Description
values Iterable<? extends com.google.container.v1beta1.NodePoolUpgradeInfo.AutoUpgradePausedReason>

The pausedReason to add.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

addAllPausedReasonValue(Iterable<Integer> values)

public NodePoolUpgradeInfo.Builder addAllPausedReasonValue(Iterable<Integer> values)

The auto upgrade paused reason.

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

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for pausedReason to add.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

addAllUpgradeDetails(Iterable<? extends UpgradeDetails> values)

public NodePoolUpgradeInfo.Builder addAllUpgradeDetails(Iterable<? extends UpgradeDetails> values)

The list of past auto upgrades.

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

Parameter
Name Description
values Iterable<? extends com.google.container.v1beta1.UpgradeDetails>
Returns
Type Description
NodePoolUpgradeInfo.Builder

addAutoUpgradeStatus(NodePoolUpgradeInfo.AutoUpgradeStatus value)

public NodePoolUpgradeInfo.Builder addAutoUpgradeStatus(NodePoolUpgradeInfo.AutoUpgradeStatus value)

The auto upgrade status.

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

Parameter
Name Description
value NodePoolUpgradeInfo.AutoUpgradeStatus

The autoUpgradeStatus to add.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

addAutoUpgradeStatusValue(int value)

public NodePoolUpgradeInfo.Builder addAutoUpgradeStatusValue(int value)

The auto upgrade status.

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

Parameter
Name Description
value int

The enum numeric value on the wire for autoUpgradeStatus to add.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

addPausedReason(NodePoolUpgradeInfo.AutoUpgradePausedReason value)

public NodePoolUpgradeInfo.Builder addPausedReason(NodePoolUpgradeInfo.AutoUpgradePausedReason value)

The auto upgrade paused reason.

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

Parameter
Name Description
value NodePoolUpgradeInfo.AutoUpgradePausedReason

The pausedReason to add.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

addPausedReasonValue(int value)

public NodePoolUpgradeInfo.Builder addPausedReasonValue(int value)

The auto upgrade paused reason.

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

Parameter
Name Description
value int

The enum numeric value on the wire for pausedReason to add.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodePoolUpgradeInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NodePoolUpgradeInfo.Builder
Overrides

addUpgradeDetails(UpgradeDetails value)

public NodePoolUpgradeInfo.Builder addUpgradeDetails(UpgradeDetails value)

The list of past auto upgrades.

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

Parameter
Name Description
value UpgradeDetails
Returns
Type Description
NodePoolUpgradeInfo.Builder

addUpgradeDetails(UpgradeDetails.Builder builderForValue)

public NodePoolUpgradeInfo.Builder addUpgradeDetails(UpgradeDetails.Builder builderForValue)

The list of past auto upgrades.

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

Parameter
Name Description
builderForValue UpgradeDetails.Builder
Returns
Type Description
NodePoolUpgradeInfo.Builder

addUpgradeDetails(int index, UpgradeDetails value)

public NodePoolUpgradeInfo.Builder addUpgradeDetails(int index, UpgradeDetails value)

The list of past auto upgrades.

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

Parameters
Name Description
index int
value UpgradeDetails
Returns
Type Description
NodePoolUpgradeInfo.Builder

addUpgradeDetails(int index, UpgradeDetails.Builder builderForValue)

public NodePoolUpgradeInfo.Builder addUpgradeDetails(int index, UpgradeDetails.Builder builderForValue)

The list of past auto upgrades.

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

Parameters
Name Description
index int
builderForValue UpgradeDetails.Builder
Returns
Type Description
NodePoolUpgradeInfo.Builder

addUpgradeDetailsBuilder()

public UpgradeDetails.Builder addUpgradeDetailsBuilder()

The list of past auto upgrades.

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

Returns
Type Description
UpgradeDetails.Builder

addUpgradeDetailsBuilder(int index)

public UpgradeDetails.Builder addUpgradeDetailsBuilder(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.Builder

build()

public NodePoolUpgradeInfo build()
Returns
Type Description
NodePoolUpgradeInfo

buildPartial()

public NodePoolUpgradeInfo buildPartial()
Returns
Type Description
NodePoolUpgradeInfo

clear()

public NodePoolUpgradeInfo.Builder clear()
Returns
Type Description
NodePoolUpgradeInfo.Builder
Overrides

clearAutoUpgradeStatus()

public NodePoolUpgradeInfo.Builder clearAutoUpgradeStatus()

The auto upgrade status.

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

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

clearEndOfExtendedSupportTimestamp()

public NodePoolUpgradeInfo.Builder clearEndOfExtendedSupportTimestamp()

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

optional string end_of_extended_support_timestamp = 7;

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

clearEndOfStandardSupportTimestamp()

public NodePoolUpgradeInfo.Builder clearEndOfStandardSupportTimestamp()

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

optional string end_of_standard_support_timestamp = 6;

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NodePoolUpgradeInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NodePoolUpgradeInfo.Builder
Overrides

clearMinorTargetVersion()

public NodePoolUpgradeInfo.Builder clearMinorTargetVersion()

minor_target_version indicates the target version for minor upgrade.

optional string minor_target_version = 1;

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NodePoolUpgradeInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NodePoolUpgradeInfo.Builder
Overrides

clearPatchTargetVersion()

public NodePoolUpgradeInfo.Builder clearPatchTargetVersion()

patch_target_version indicates the target version for patch upgrade.

optional string patch_target_version = 2;

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

clearPausedReason()

public NodePoolUpgradeInfo.Builder clearPausedReason()

The auto upgrade paused reason.

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

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

clearUpgradeDetails()

public NodePoolUpgradeInfo.Builder clearUpgradeDetails()

The list of past auto upgrades.

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

Returns
Type Description
NodePoolUpgradeInfo.Builder

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

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

getUpgradeDetailsBuilder(int index)

public UpgradeDetails.Builder getUpgradeDetailsBuilder(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.Builder

getUpgradeDetailsBuilderList()

public List<UpgradeDetails.Builder> getUpgradeDetailsBuilderList()

The list of past auto upgrades.

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

Returns
Type Description
List<Builder>

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodePoolUpgradeInfo other)

public NodePoolUpgradeInfo.Builder mergeFrom(NodePoolUpgradeInfo other)
Parameter
Name Description
other NodePoolUpgradeInfo
Returns
Type Description
NodePoolUpgradeInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NodePoolUpgradeInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePoolUpgradeInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NodePoolUpgradeInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NodePoolUpgradeInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodePoolUpgradeInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodePoolUpgradeInfo.Builder
Overrides

removeUpgradeDetails(int index)

public NodePoolUpgradeInfo.Builder removeUpgradeDetails(int index)

The list of past auto upgrades.

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

Parameter
Name Description
index int
Returns
Type Description
NodePoolUpgradeInfo.Builder

setAutoUpgradeStatus(int index, NodePoolUpgradeInfo.AutoUpgradeStatus value)

public NodePoolUpgradeInfo.Builder setAutoUpgradeStatus(int index, NodePoolUpgradeInfo.AutoUpgradeStatus value)

The auto upgrade status.

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

Parameters
Name Description
index int

The index to set the value at.

value NodePoolUpgradeInfo.AutoUpgradeStatus

The autoUpgradeStatus to set.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

setAutoUpgradeStatusValue(int index, int value)

public NodePoolUpgradeInfo.Builder setAutoUpgradeStatusValue(int index, int value)

The auto upgrade status.

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

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for autoUpgradeStatus to set.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

setEndOfExtendedSupportTimestamp(String value)

public NodePoolUpgradeInfo.Builder setEndOfExtendedSupportTimestamp(String value)

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

optional string end_of_extended_support_timestamp = 7;

Parameter
Name Description
value String

The endOfExtendedSupportTimestamp to set.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

setEndOfExtendedSupportTimestampBytes(ByteString value)

public NodePoolUpgradeInfo.Builder setEndOfExtendedSupportTimestampBytes(ByteString value)

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

optional string end_of_extended_support_timestamp = 7;

Parameter
Name Description
value ByteString

The bytes for endOfExtendedSupportTimestamp to set.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

setEndOfStandardSupportTimestamp(String value)

public NodePoolUpgradeInfo.Builder setEndOfStandardSupportTimestamp(String value)

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

optional string end_of_standard_support_timestamp = 6;

Parameter
Name Description
value String

The endOfStandardSupportTimestamp to set.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

setEndOfStandardSupportTimestampBytes(ByteString value)

public NodePoolUpgradeInfo.Builder setEndOfStandardSupportTimestampBytes(ByteString value)

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

optional string end_of_standard_support_timestamp = 6;

Parameter
Name Description
value ByteString

The bytes for endOfStandardSupportTimestamp to set.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NodePoolUpgradeInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NodePoolUpgradeInfo.Builder
Overrides

setMinorTargetVersion(String value)

public NodePoolUpgradeInfo.Builder setMinorTargetVersion(String value)

minor_target_version indicates the target version for minor upgrade.

optional string minor_target_version = 1;

Parameter
Name Description
value String

The minorTargetVersion to set.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

setMinorTargetVersionBytes(ByteString value)

public NodePoolUpgradeInfo.Builder setMinorTargetVersionBytes(ByteString value)

minor_target_version indicates the target version for minor upgrade.

optional string minor_target_version = 1;

Parameter
Name Description
value ByteString

The bytes for minorTargetVersion to set.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

setPatchTargetVersion(String value)

public NodePoolUpgradeInfo.Builder setPatchTargetVersion(String value)

patch_target_version indicates the target version for patch upgrade.

optional string patch_target_version = 2;

Parameter
Name Description
value String

The patchTargetVersion to set.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

setPatchTargetVersionBytes(ByteString value)

public NodePoolUpgradeInfo.Builder setPatchTargetVersionBytes(ByteString value)

patch_target_version indicates the target version for patch upgrade.

optional string patch_target_version = 2;

Parameter
Name Description
value ByteString

The bytes for patchTargetVersion to set.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

setPausedReason(int index, NodePoolUpgradeInfo.AutoUpgradePausedReason value)

public NodePoolUpgradeInfo.Builder setPausedReason(int index, NodePoolUpgradeInfo.AutoUpgradePausedReason value)

The auto upgrade paused reason.

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

Parameters
Name Description
index int

The index to set the value at.

value NodePoolUpgradeInfo.AutoUpgradePausedReason

The pausedReason to set.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

setPausedReasonValue(int index, int value)

public NodePoolUpgradeInfo.Builder setPausedReasonValue(int index, int value)

The auto upgrade paused reason.

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

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for pausedReason to set.

Returns
Type Description
NodePoolUpgradeInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NodePoolUpgradeInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NodePoolUpgradeInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NodePoolUpgradeInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodePoolUpgradeInfo.Builder
Overrides

setUpgradeDetails(int index, UpgradeDetails value)

public NodePoolUpgradeInfo.Builder setUpgradeDetails(int index, UpgradeDetails value)

The list of past auto upgrades.

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

Parameters
Name Description
index int
value UpgradeDetails
Returns
Type Description
NodePoolUpgradeInfo.Builder

setUpgradeDetails(int index, UpgradeDetails.Builder builderForValue)

public NodePoolUpgradeInfo.Builder setUpgradeDetails(int index, UpgradeDetails.Builder builderForValue)

The list of past auto upgrades.

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

Parameters
Name Description
index int
builderForValue UpgradeDetails.Builder
Returns
Type Description
NodePoolUpgradeInfo.Builder