Class CreateNodeRequest.Builder (2.19.0)

public static final class CreateNodeRequest.Builder extends GeneratedMessageV3.Builder<CreateNodeRequest.Builder> implements CreateNodeRequestOrBuilder

Request for CreateNode.

Protobuf type google.cloud.tpu.v2alpha1.CreateNodeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateNodeRequest build()
Returns
TypeDescription
CreateNodeRequest

buildPartial()

public CreateNodeRequest buildPartial()
Returns
TypeDescription
CreateNodeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNode()

public CreateNodeRequest.Builder clearNode()

Required. The node.

.google.cloud.tpu.v2alpha1.Node node = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateNodeRequest.Builder

clearNodeId()

public CreateNodeRequest.Builder clearNodeId()

The unqualified resource name.

string node_id = 2;

Returns
TypeDescription
CreateNodeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateNodeRequest.Builder clearParent()

Required. The parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
CreateNodeRequest.Builder

This builder for chaining.

clearRequestId()

public CreateNodeRequest.Builder clearRequestId()

Idempotent request UUID.

string request_id = 6;

Returns
TypeDescription
CreateNodeRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateNodeRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateNodeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNode()

public Node getNode()

Required. The node.

.google.cloud.tpu.v2alpha1.Node node = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Node

The node.

getNodeBuilder()

public Node.Builder getNodeBuilder()

Required. The node.

.google.cloud.tpu.v2alpha1.Node node = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Node.Builder

getNodeId()

public String getNodeId()

The unqualified resource name.

string node_id = 2;

Returns
TypeDescription
String

The nodeId.

getNodeIdBytes()

public ByteString getNodeIdBytes()

The unqualified resource name.

string node_id = 2;

Returns
TypeDescription
ByteString

The bytes for nodeId.

getNodeOrBuilder()

public NodeOrBuilder getNodeOrBuilder()

Required. The node.

.google.cloud.tpu.v2alpha1.Node node = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
NodeOrBuilder

getParent()

public String getParent()

Required. The parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getRequestId()

public String getRequestId()

Idempotent request UUID.

string request_id = 6;

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Idempotent request UUID.

string request_id = 6;

Returns
TypeDescription
ByteString

The bytes for requestId.

hasNode()

public boolean hasNode()

Required. The node.

.google.cloud.tpu.v2alpha1.Node node = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the node field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateNodeRequest other)

public CreateNodeRequest.Builder mergeFrom(CreateNodeRequest other)
Parameter
NameDescription
otherCreateNodeRequest
Returns
TypeDescription
CreateNodeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNode(Node value)

public CreateNodeRequest.Builder mergeNode(Node value)

Required. The node.

.google.cloud.tpu.v2alpha1.Node node = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueNode
Returns
TypeDescription
CreateNodeRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNode(Node value)

public CreateNodeRequest.Builder setNode(Node value)

Required. The node.

.google.cloud.tpu.v2alpha1.Node node = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueNode
Returns
TypeDescription
CreateNodeRequest.Builder

setNode(Node.Builder builderForValue)

public CreateNodeRequest.Builder setNode(Node.Builder builderForValue)

Required. The node.

.google.cloud.tpu.v2alpha1.Node node = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueNode.Builder
Returns
TypeDescription
CreateNodeRequest.Builder

setNodeId(String value)

public CreateNodeRequest.Builder setNodeId(String value)

The unqualified resource name.

string node_id = 2;

Parameter
NameDescription
valueString

The nodeId to set.

Returns
TypeDescription
CreateNodeRequest.Builder

This builder for chaining.

setNodeIdBytes(ByteString value)

public CreateNodeRequest.Builder setNodeIdBytes(ByteString value)

The unqualified resource name.

string node_id = 2;

Parameter
NameDescription
valueByteString

The bytes for nodeId to set.

Returns
TypeDescription
CreateNodeRequest.Builder

This builder for chaining.

setParent(String value)

public CreateNodeRequest.Builder setParent(String value)

Required. The parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateNodeRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateNodeRequest.Builder setParentBytes(ByteString value)

Required. The parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateNodeRequest.Builder

This builder for chaining.

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

public CreateNodeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateNodeRequest.Builder
Overrides

setRequestId(String value)

public CreateNodeRequest.Builder setRequestId(String value)

Idempotent request UUID.

string request_id = 6;

Parameter
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
CreateNodeRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateNodeRequest.Builder setRequestIdBytes(ByteString value)

Idempotent request UUID.

string request_id = 6;

Parameter
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
CreateNodeRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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