public static final class NodeGroupsPerformMaintenanceRequest.Builder extends GeneratedMessage.Builder<NodeGroupsPerformMaintenanceRequest.Builder> implements NodeGroupsPerformMaintenanceRequestOrBuilder Protobuf type google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NodeGroupsPerformMaintenanceRequest.BuilderImplements
NodeGroupsPerformMaintenanceRequestOrBuilderStatic 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 |
StringThe 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 |
ByteStringThe bytes of the nodes to add. |
| Returns | |
|---|---|
| Type | Description |
NodeGroupsPerformMaintenanceRequest.Builder |
This builder for chaining. |
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 |
|
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. |
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. |
getDefaultInstanceForType()
public NodeGroupsPerformMaintenanceRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NodeGroupsPerformMaintenanceRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNodes(int index)
public String getNodes(int index)[Required] List of nodes affected by the call.
repeated string nodes = 104993457;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 |
intThe 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NodeGroupsPerformMaintenanceRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NodeGroupsPerformMaintenanceRequest.Builder |
|
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 |
intThe index to set the value at. |
value |
StringThe nodes to set. |
| Returns | |
|---|---|
| Type | Description |
NodeGroupsPerformMaintenanceRequest.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for startTime to set. |
| Returns | |
|---|---|
| Type | Description |
NodeGroupsPerformMaintenanceRequest.Builder |
This builder for chaining. |