Class NodeGroupsSimulateMaintenanceEventRequest.Builder (1.54.0)

public static final class NodeGroupsSimulateMaintenanceEventRequest.Builder extends GeneratedMessageV3.Builder<NodeGroupsSimulateMaintenanceEventRequest.Builder> implements NodeGroupsSimulateMaintenanceEventRequestOrBuilder

Protobuf type google.cloud.compute.v1.NodeGroupsSimulateMaintenanceEventRequest

Static Methods

getDescriptor()

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

Methods

addAllNodes(Iterable<String> values)

public NodeGroupsSimulateMaintenanceEventRequest.Builder addAllNodes(Iterable<String> values)

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Parameter
Name Description
values Iterable<String>

The nodes to add.

Returns
Type Description
NodeGroupsSimulateMaintenanceEventRequest.Builder

This builder for chaining.

addNodes(String value)

public NodeGroupsSimulateMaintenanceEventRequest.Builder addNodes(String value)

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Parameter
Name Description
value String

The nodes to add.

Returns
Type Description
NodeGroupsSimulateMaintenanceEventRequest.Builder

This builder for chaining.

addNodesBytes(ByteString value)

public NodeGroupsSimulateMaintenanceEventRequest.Builder addNodesBytes(ByteString value)

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Parameter
Name Description
value ByteString

The bytes of the nodes to add.

Returns
Type Description
NodeGroupsSimulateMaintenanceEventRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeGroupsSimulateMaintenanceEventRequest build()
Returns
Type Description
NodeGroupsSimulateMaintenanceEventRequest

buildPartial()

public NodeGroupsSimulateMaintenanceEventRequest buildPartial()
Returns
Type Description
NodeGroupsSimulateMaintenanceEventRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNodes()

public NodeGroupsSimulateMaintenanceEventRequest.Builder clearNodes()

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Returns
Type Description
NodeGroupsSimulateMaintenanceEventRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NodeGroupsSimulateMaintenanceEventRequest getDefaultInstanceForType()
Returns
Type Description
NodeGroupsSimulateMaintenanceEventRequest

getDescriptorForType()

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

getNodes(int index)

public String getNodes(int index)

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The nodes at the given index.

getNodesBytes(int index)

public ByteString getNodesBytes(int index)

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the nodes at the given index.

getNodesCount()

public int getNodesCount()

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Returns
Type Description
int

The count of nodes.

getNodesList()

public ProtocolStringList getNodesList()

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Returns
Type Description
ProtocolStringList

A list containing the nodes.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodeGroupsSimulateMaintenanceEventRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNodes(int index, String value)

public NodeGroupsSimulateMaintenanceEventRequest.Builder setNodes(int index, String value)

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Parameters
Name Description
index int

The index to set the value at.

value String

The nodes to set.

Returns
Type Description
NodeGroupsSimulateMaintenanceEventRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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