Class CompleteNodePoolUpgradeRequest.Builder (2.24.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CompleteNodePoolUpgradeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CompleteNodePoolUpgradeRequest.Builder
Overrides

build()

public CompleteNodePoolUpgradeRequest build()
Returns
TypeDescription
CompleteNodePoolUpgradeRequest

buildPartial()

public CompleteNodePoolUpgradeRequest buildPartial()
Returns
TypeDescription
CompleteNodePoolUpgradeRequest

clear()

public CompleteNodePoolUpgradeRequest.Builder clear()
Returns
TypeDescription
CompleteNodePoolUpgradeRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CompleteNodePoolUpgradeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
CompleteNodePoolUpgradeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CompleteNodePoolUpgradeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CompleteNodePoolUpgradeRequest.Builder
Overrides

clone()

public CompleteNodePoolUpgradeRequest.Builder clone()
Returns
TypeDescription
CompleteNodePoolUpgradeRequest.Builder
Overrides

getDefaultInstanceForType()

public CompleteNodePoolUpgradeRequest getDefaultInstanceForType()
Returns
TypeDescription
CompleteNodePoolUpgradeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CompleteNodePoolUpgradeRequest other)

public CompleteNodePoolUpgradeRequest.Builder mergeFrom(CompleteNodePoolUpgradeRequest other)
Parameter
NameDescription
otherCompleteNodePoolUpgradeRequest
Returns
TypeDescription
CompleteNodePoolUpgradeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompleteNodePoolUpgradeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompleteNodePoolUpgradeRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CompleteNodePoolUpgradeRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CompleteNodePoolUpgradeRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompleteNodePoolUpgradeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CompleteNodePoolUpgradeRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CompleteNodePoolUpgradeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CompleteNodePoolUpgradeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CompleteNodePoolUpgradeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CompleteNodePoolUpgradeRequest.Builder
Overrides