Class ClusterUpgradeInfo.Builder (2.67.0)

public static final class ClusterUpgradeInfo.Builder extends GeneratedMessageV3.Builder<ClusterUpgradeInfo.Builder> implements ClusterUpgradeInfoOrBuilder

ClusterUpgradeInfo contains the upgrade information of a cluster.

Protobuf type google.container.v1beta1.ClusterUpgradeInfo

Static Methods

getDescriptor()

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

Methods

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

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

The auto upgrade status.

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

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

The autoUpgradeStatus to add.

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

addAllAutoUpgradeStatusValue(Iterable<Integer> values)

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

The auto upgrade status.

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

Parameter
Name Description
values Iterable<Integer>

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

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

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

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

The auto upgrade paused reason.

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

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

The pausedReason to add.

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

addAllPausedReasonValue(Iterable<Integer> values)

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

The auto upgrade paused reason.

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

Parameter
Name Description
values Iterable<Integer>

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

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

addAllUpgradeDetails(Iterable<? extends UpgradeDetails> values)

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

The list of past auto upgrades.

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

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

addAutoUpgradeStatus(ClusterUpgradeInfo.AutoUpgradeStatus value)

public ClusterUpgradeInfo.Builder addAutoUpgradeStatus(ClusterUpgradeInfo.AutoUpgradeStatus value)

The auto upgrade status.

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

Parameter
Name Description
value ClusterUpgradeInfo.AutoUpgradeStatus

The autoUpgradeStatus to add.

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

addAutoUpgradeStatusValue(int value)

public ClusterUpgradeInfo.Builder addAutoUpgradeStatusValue(int value)

The auto upgrade status.

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

Parameter
Name Description
value int

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

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

addPausedReason(ClusterUpgradeInfo.AutoUpgradePausedReason value)

public ClusterUpgradeInfo.Builder addPausedReason(ClusterUpgradeInfo.AutoUpgradePausedReason value)

The auto upgrade paused reason.

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

Parameter
Name Description
value ClusterUpgradeInfo.AutoUpgradePausedReason

The pausedReason to add.

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

addPausedReasonValue(int value)

public ClusterUpgradeInfo.Builder addPausedReasonValue(int value)

The auto upgrade paused reason.

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

Parameter
Name Description
value int

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

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUpgradeDetails(UpgradeDetails value)

public ClusterUpgradeInfo.Builder addUpgradeDetails(UpgradeDetails value)

The list of past auto upgrades.

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

Parameter
Name Description
value UpgradeDetails
Returns
Type Description
ClusterUpgradeInfo.Builder

addUpgradeDetails(UpgradeDetails.Builder builderForValue)

public ClusterUpgradeInfo.Builder addUpgradeDetails(UpgradeDetails.Builder builderForValue)

The list of past auto upgrades.

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

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

addUpgradeDetails(int index, UpgradeDetails value)

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

The list of past auto upgrades.

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

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

addUpgradeDetails(int index, UpgradeDetails.Builder builderForValue)

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

The list of past auto upgrades.

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

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

addUpgradeDetailsBuilder()

public UpgradeDetails.Builder addUpgradeDetailsBuilder()

The list of past auto upgrades.

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

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

Parameter
Name Description
index int
Returns
Type Description
UpgradeDetails.Builder

build()

public ClusterUpgradeInfo build()
Returns
Type Description
ClusterUpgradeInfo

buildPartial()

public ClusterUpgradeInfo buildPartial()
Returns
Type Description
ClusterUpgradeInfo

clear()

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

clearAutoUpgradeStatus()

public ClusterUpgradeInfo.Builder clearAutoUpgradeStatus()

The auto upgrade status.

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

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

clearEndOfExtendedSupportTimestamp()

public ClusterUpgradeInfo.Builder clearEndOfExtendedSupportTimestamp()

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

optional string end_of_extended_support_timestamp = 6;

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

clearEndOfStandardSupportTimestamp()

public ClusterUpgradeInfo.Builder clearEndOfStandardSupportTimestamp()

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

optional string end_of_standard_support_timestamp = 5;

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMinorTargetVersion()

public ClusterUpgradeInfo.Builder clearMinorTargetVersion()

minor_target_version indicates the target version for minor upgrade.

optional string minor_target_version = 7;

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPatchTargetVersion()

public ClusterUpgradeInfo.Builder clearPatchTargetVersion()

patch_target_version indicates the target version for patch upgrade.

optional string patch_target_version = 8;

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

clearPausedReason()

public ClusterUpgradeInfo.Builder clearPausedReason()

The auto upgrade paused reason.

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

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

clearUpgradeDetails()

public ClusterUpgradeInfo.Builder clearUpgradeDetails()

The list of past auto upgrades.

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

Returns
Type Description
ClusterUpgradeInfo.Builder

clone()

public ClusterUpgradeInfo.Builder clone()
Returns
Type Description
ClusterUpgradeInfo.Builder
Overrides

getAutoUpgradeStatus(int index)

public ClusterUpgradeInfo.AutoUpgradeStatus getAutoUpgradeStatus(int index)

The auto upgrade status.

repeated .google.container.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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

getDescriptorForType()

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

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.

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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;

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

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

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

Returns
Type Description
List<Builder>

getUpgradeDetailsCount()

public int getUpgradeDetailsCount()

The list of past auto upgrades.

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

Returns
Type Description
int

getUpgradeDetailsList()

public List<UpgradeDetails> getUpgradeDetailsList()

The list of past auto upgrades.

repeated .google.container.v1beta1.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.v1beta1.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.v1beta1.UpgradeDetails upgrade_details = 4;

Returns
Type Description
List<? extends com.google.container.v1beta1.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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ClusterUpgradeInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeUpgradeDetails(int index)

public ClusterUpgradeInfo.Builder removeUpgradeDetails(int index)

The list of past auto upgrades.

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

Parameter
Name Description
index int
Returns
Type Description
ClusterUpgradeInfo.Builder

setAutoUpgradeStatus(int index, ClusterUpgradeInfo.AutoUpgradeStatus value)

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

The auto upgrade status.

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

Parameters
Name Description
index int

The index to set the value at.

value ClusterUpgradeInfo.AutoUpgradeStatus

The autoUpgradeStatus to set.

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

setAutoUpgradeStatusValue(int index, int value)

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

The auto upgrade status.

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

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
ClusterUpgradeInfo.Builder

This builder for chaining.

setEndOfExtendedSupportTimestamp(String value)

public ClusterUpgradeInfo.Builder setEndOfExtendedSupportTimestamp(String value)

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

optional string end_of_extended_support_timestamp = 6;

Parameter
Name Description
value String

The endOfExtendedSupportTimestamp to set.

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

setEndOfExtendedSupportTimestampBytes(ByteString value)

public ClusterUpgradeInfo.Builder setEndOfExtendedSupportTimestampBytes(ByteString value)

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

optional string end_of_extended_support_timestamp = 6;

Parameter
Name Description
value ByteString

The bytes for endOfExtendedSupportTimestamp to set.

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

setEndOfStandardSupportTimestamp(String value)

public ClusterUpgradeInfo.Builder setEndOfStandardSupportTimestamp(String value)

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

optional string end_of_standard_support_timestamp = 5;

Parameter
Name Description
value String

The endOfStandardSupportTimestamp to set.

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

setEndOfStandardSupportTimestampBytes(ByteString value)

public ClusterUpgradeInfo.Builder setEndOfStandardSupportTimestampBytes(ByteString value)

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

optional string end_of_standard_support_timestamp = 5;

Parameter
Name Description
value ByteString

The bytes for endOfStandardSupportTimestamp to set.

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMinorTargetVersion(String value)

public ClusterUpgradeInfo.Builder setMinorTargetVersion(String value)

minor_target_version indicates the target version for minor upgrade.

optional string minor_target_version = 7;

Parameter
Name Description
value String

The minorTargetVersion to set.

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

setMinorTargetVersionBytes(ByteString value)

public ClusterUpgradeInfo.Builder setMinorTargetVersionBytes(ByteString value)

minor_target_version indicates the target version for minor upgrade.

optional string minor_target_version = 7;

Parameter
Name Description
value ByteString

The bytes for minorTargetVersion to set.

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

setPatchTargetVersion(String value)

public ClusterUpgradeInfo.Builder setPatchTargetVersion(String value)

patch_target_version indicates the target version for patch upgrade.

optional string patch_target_version = 8;

Parameter
Name Description
value String

The patchTargetVersion to set.

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

setPatchTargetVersionBytes(ByteString value)

public ClusterUpgradeInfo.Builder setPatchTargetVersionBytes(ByteString value)

patch_target_version indicates the target version for patch upgrade.

optional string patch_target_version = 8;

Parameter
Name Description
value ByteString

The bytes for patchTargetVersion to set.

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

setPausedReason(int index, ClusterUpgradeInfo.AutoUpgradePausedReason value)

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

The auto upgrade paused reason.

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

Parameters
Name Description
index int

The index to set the value at.

value ClusterUpgradeInfo.AutoUpgradePausedReason

The pausedReason to set.

Returns
Type Description
ClusterUpgradeInfo.Builder

This builder for chaining.

setPausedReasonValue(int index, int value)

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

The auto upgrade paused reason.

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

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
ClusterUpgradeInfo.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpgradeDetails(int index, UpgradeDetails value)

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

The list of past auto upgrades.

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

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

setUpgradeDetails(int index, UpgradeDetails.Builder builderForValue)

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

The list of past auto upgrades.

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

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