Class NodeGroupsSimulateMaintenanceEventRequest.Builder (1.39.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
TypeDescription
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
NameDescription
valuesIterable<String>

The nodes to add.

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

The nodes to add.

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

The bytes of the nodes to add.

Returns
TypeDescription
NodeGroupsSimulateMaintenanceEventRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeGroupsSimulateMaintenanceEventRequest build()
Returns
TypeDescription
NodeGroupsSimulateMaintenanceEventRequest

buildPartial()

public NodeGroupsSimulateMaintenanceEventRequest buildPartial()
Returns
TypeDescription
NodeGroupsSimulateMaintenanceEventRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public NodeGroupsSimulateMaintenanceEventRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NodeGroupsSimulateMaintenanceEventRequest.Builder
Overrides

clearNodes()

public NodeGroupsSimulateMaintenanceEventRequest.Builder clearNodes()

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Returns
TypeDescription
NodeGroupsSimulateMaintenanceEventRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NodeGroupsSimulateMaintenanceEventRequest getDefaultInstanceForType()
Returns
TypeDescription
NodeGroupsSimulateMaintenanceEventRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNodes(int index)

public String getNodes(int index)

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Parameter
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of nodes.

getNodesList()

public ProtocolStringList getNodesList()

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Returns
TypeDescription
ProtocolStringList

A list containing the nodes.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodeGroupsSimulateMaintenanceEventRequest other)

public NodeGroupsSimulateMaintenanceEventRequest.Builder mergeFrom(NodeGroupsSimulateMaintenanceEventRequest other)
Parameter
NameDescription
otherNodeGroupsSimulateMaintenanceEventRequest
Returns
TypeDescription
NodeGroupsSimulateMaintenanceEventRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The index to set the value at.

valueString

The nodes to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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