Class UpdateNodeset.Builder (0.8.0)

public static final class UpdateNodeset.Builder extends GeneratedMessage.Builder<UpdateNodeset.Builder> implements UpdateNodesetOrBuilder

When set in OperationStep, indicates that a nodeset should be updated.

Protobuf type google.cloud.hypercomputecluster.v1.UpdateNodeset

Static Methods

getDescriptor()

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

Methods

addAllNodesets(Iterable<String> values)

public UpdateNodeset.Builder addAllNodesets(Iterable<String> values)

Output only. Name of the nodeset to update

repeated string nodesets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The nodesets to add.

Returns
Type Description
UpdateNodeset.Builder

This builder for chaining.

addNodesets(String value)

public UpdateNodeset.Builder addNodesets(String value)

Output only. Name of the nodeset to update

repeated string nodesets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The nodesets to add.

Returns
Type Description
UpdateNodeset.Builder

This builder for chaining.

addNodesetsBytes(ByteString value)

public UpdateNodeset.Builder addNodesetsBytes(ByteString value)

Output only. Name of the nodeset to update

repeated string nodesets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the nodesets to add.

Returns
Type Description
UpdateNodeset.Builder

This builder for chaining.

build()

public UpdateNodeset build()
Returns
Type Description
UpdateNodeset

buildPartial()

public UpdateNodeset buildPartial()
Returns
Type Description
UpdateNodeset

clear()

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

clearNodesets()

public UpdateNodeset.Builder clearNodesets()

Output only. Name of the nodeset to update

repeated string nodesets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UpdateNodeset.Builder

This builder for chaining.

getDefaultInstanceForType()

public UpdateNodeset getDefaultInstanceForType()
Returns
Type Description
UpdateNodeset

getDescriptorForType()

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

getNodesets(int index)

public String getNodesets(int index)

Output only. Name of the nodeset to update

repeated string nodesets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The nodesets at the given index.

getNodesetsBytes(int index)

public ByteString getNodesetsBytes(int index)

Output only. Name of the nodeset to update

repeated string nodesets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the nodesets at the given index.

getNodesetsCount()

public int getNodesetsCount()

Output only. Name of the nodeset to update

repeated string nodesets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of nodesets.

getNodesetsList()

public ProtocolStringList getNodesetsList()

Output only. Name of the nodeset to update

repeated string nodesets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the nodesets.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateNodeset other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setNodesets(int index, String value)

public UpdateNodeset.Builder setNodesets(int index, String value)

Output only. Name of the nodeset to update

repeated string nodesets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The nodesets to set.

Returns
Type Description
UpdateNodeset.Builder

This builder for chaining.