Class NodeGroupsPerformMaintenanceRequest.Builder (1.55.0)

public static final class NodeGroupsPerformMaintenanceRequest.Builder extends GeneratedMessageV3.Builder<NodeGroupsPerformMaintenanceRequest.Builder> implements NodeGroupsPerformMaintenanceRequestOrBuilder

Protobuf type google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest

Static Methods

getDescriptor()

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

Methods

addAllNodes(Iterable<String> values)

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

[Required] List of nodes affected by the call.

repeated string nodes = 104993457;

Parameter
Name Description
values Iterable<String>

The nodes to add.

Returns
Type Description
NodeGroupsPerformMaintenanceRequest.Builder

This builder for chaining.

addNodes(String value)

public NodeGroupsPerformMaintenanceRequest.Builder addNodes(String value)

[Required] List of nodes affected by the call.

repeated string nodes = 104993457;

Parameter
Name Description
value String

The nodes to add.

Returns
Type Description
NodeGroupsPerformMaintenanceRequest.Builder

This builder for chaining.

addNodesBytes(ByteString value)

public NodeGroupsPerformMaintenanceRequest.Builder addNodesBytes(ByteString value)

[Required] List of nodes affected by the call.

repeated string nodes = 104993457;

Parameter
Name Description
value ByteString

The bytes of the nodes to add.

Returns
Type Description
NodeGroupsPerformMaintenanceRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeGroupsPerformMaintenanceRequest build()
Returns
Type Description
NodeGroupsPerformMaintenanceRequest

buildPartial()

public NodeGroupsPerformMaintenanceRequest buildPartial()
Returns
Type Description
NodeGroupsPerformMaintenanceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNodes()

public NodeGroupsPerformMaintenanceRequest.Builder clearNodes()

[Required] List of nodes affected by the call.

repeated string nodes = 104993457;

Returns
Type Description
NodeGroupsPerformMaintenanceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public NodeGroupsPerformMaintenanceRequest.Builder clearStartTime()

The start time of the schedule. The timestamp is an RFC3339 string.

optional string start_time = 37467274;

Returns
Type Description
NodeGroupsPerformMaintenanceRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public NodeGroupsPerformMaintenanceRequest getDefaultInstanceForType()
Returns
Type Description
NodeGroupsPerformMaintenanceRequest

getDescriptorForType()

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

getNodes(int index)

public String getNodes(int index)

[Required] List of nodes affected by the call.

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)

[Required] List of nodes affected by the call.

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

[Required] List of nodes affected by the call.

repeated string nodes = 104993457;

Returns
Type Description
int

The count of nodes.

getNodesList()

public ProtocolStringList getNodesList()

[Required] List of nodes affected by the call.

repeated string nodes = 104993457;

Returns
Type Description
ProtocolStringList

A list containing the nodes.

getStartTime()

public String getStartTime()

The start time of the schedule. The timestamp is an RFC3339 string.

optional string start_time = 37467274;

Returns
Type Description
String

The startTime.

getStartTimeBytes()

public ByteString getStartTimeBytes()

The start time of the schedule. The timestamp is an RFC3339 string.

optional string start_time = 37467274;

Returns
Type Description
ByteString

The bytes for startTime.

hasStartTime()

public boolean hasStartTime()

The start time of the schedule. The timestamp is an RFC3339 string.

optional string start_time = 37467274;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodeGroupsPerformMaintenanceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNodes(int index, String value)

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

[Required] List of nodes affected by the call.

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

This builder for chaining.

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

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

setStartTime(String value)

public NodeGroupsPerformMaintenanceRequest.Builder setStartTime(String value)

The start time of the schedule. The timestamp is an RFC3339 string.

optional string start_time = 37467274;

Parameter
Name Description
value String

The startTime to set.

Returns
Type Description
NodeGroupsPerformMaintenanceRequest.Builder

This builder for chaining.

setStartTimeBytes(ByteString value)

public NodeGroupsPerformMaintenanceRequest.Builder setStartTimeBytes(ByteString value)

The start time of the schedule. The timestamp is an RFC3339 string.

optional string start_time = 37467274;

Parameter
Name Description
value ByteString

The bytes for startTime to set.

Returns
Type Description
NodeGroupsPerformMaintenanceRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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