Class CompleteNodePoolUpgradeRequest.Builder (2.49.0)

public static final class CompleteNodePoolUpgradeRequest.Builder extends GeneratedMessageV3.Builder<CompleteNodePoolUpgradeRequest.Builder> implements CompleteNodePoolUpgradeRequestOrBuilder

CompleteNodePoolUpgradeRequest sets the name of target node pool to complete upgrade.

Protobuf type google.container.v1beta1.CompleteNodePoolUpgradeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompleteNodePoolUpgradeRequest build()
Returns
Type Description
CompleteNodePoolUpgradeRequest

buildPartial()

public CompleteNodePoolUpgradeRequest buildPartial()
Returns
Type Description
CompleteNodePoolUpgradeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public CompleteNodePoolUpgradeRequest.Builder clearName()

The name (project, location, cluster, node pool id) of the node pool to complete upgrade. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

string name = 1;

Returns
Type Description
CompleteNodePoolUpgradeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CompleteNodePoolUpgradeRequest getDefaultInstanceForType()
Returns
Type Description
CompleteNodePoolUpgradeRequest

getDescriptorForType()

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

getName()

public String getName()

The name (project, location, cluster, node pool id) of the node pool to complete upgrade. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name (project, location, cluster, node pool id) of the node pool to complete upgrade. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CompleteNodePoolUpgradeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public CompleteNodePoolUpgradeRequest.Builder setName(String value)

The name (project, location, cluster, node pool id) of the node pool to complete upgrade. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
CompleteNodePoolUpgradeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CompleteNodePoolUpgradeRequest.Builder setNameBytes(ByteString value)

The name (project, location, cluster, node pool id) of the node pool to complete upgrade. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
CompleteNodePoolUpgradeRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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