Class DeleteNodeRequest.Builder (2.22.0)

public static final class DeleteNodeRequest.Builder extends GeneratedMessageV3.Builder<DeleteNodeRequest.Builder> implements DeleteNodeRequestOrBuilder

Request for DeleteNode.

Protobuf type google.cloud.tpu.v2alpha1.DeleteNodeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteNodeRequest build()
Returns
TypeDescription
DeleteNodeRequest

buildPartial()

public DeleteNodeRequest buildPartial()
Returns
TypeDescription
DeleteNodeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteNodeRequest.Builder clearName()

Required. The resource name.

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

Returns
TypeDescription
DeleteNodeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestId()

public DeleteNodeRequest.Builder clearRequestId()

Idempotent request UUID.

string request_id = 3;

Returns
TypeDescription
DeleteNodeRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DeleteNodeRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteNodeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name.

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

Returns
TypeDescription
ByteString

The bytes for name.

getRequestId()

public String getRequestId()

Idempotent request UUID.

string request_id = 3;

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Idempotent request UUID.

string request_id = 3;

Returns
TypeDescription
ByteString

The bytes for requestId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteNodeRequest other)

public DeleteNodeRequest.Builder mergeFrom(DeleteNodeRequest other)
Parameter
NameDescription
otherDeleteNodeRequest
Returns
TypeDescription
DeleteNodeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteNodeRequest.Builder setName(String value)

Required. The resource name.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteNodeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteNodeRequest.Builder setNameBytes(ByteString value)

Required. The resource name.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteNodeRequest.Builder

This builder for chaining.

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

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

setRequestId(String value)

public DeleteNodeRequest.Builder setRequestId(String value)

Idempotent request UUID.

string request_id = 3;

Parameter
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
DeleteNodeRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public DeleteNodeRequest.Builder setRequestIdBytes(ByteString value)

Idempotent request UUID.

string request_id = 3;

Parameter
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
DeleteNodeRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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