Class DeleteNodeset.Builder (0.8.0)

public static final class DeleteNodeset.Builder extends GeneratedMessage.Builder<DeleteNodeset.Builder> implements DeleteNodesetOrBuilder

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

Protobuf type google.cloud.hypercomputecluster.v1.DeleteNodeset

Static Methods

getDescriptor()

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

Methods

addAllNodesets(Iterable<String> values)

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

Output only. Name of the nodeset to delete

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

Parameter
Name Description
values Iterable<String>

The nodesets to add.

Returns
Type Description
DeleteNodeset.Builder

This builder for chaining.

addNodesets(String value)

public DeleteNodeset.Builder addNodesets(String value)

Output only. Name of the nodeset to delete

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

Parameter
Name Description
value String

The nodesets to add.

Returns
Type Description
DeleteNodeset.Builder

This builder for chaining.

addNodesetsBytes(ByteString value)

public DeleteNodeset.Builder addNodesetsBytes(ByteString value)

Output only. Name of the nodeset to delete

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

This builder for chaining.

build()

public DeleteNodeset build()
Returns
Type Description
DeleteNodeset

buildPartial()

public DeleteNodeset buildPartial()
Returns
Type Description
DeleteNodeset

clear()

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

clearNodesets()

public DeleteNodeset.Builder clearNodesets()

Output only. Name of the nodeset to delete

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

Returns
Type Description
DeleteNodeset.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteNodeset getDefaultInstanceForType()
Returns
Type Description
DeleteNodeset

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 delete

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 delete

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 delete

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 delete

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(DeleteNodeset other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setNodesets(int index, String value)

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

Output only. Name of the nodeset to delete

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

This builder for chaining.