Class DeleteInstancePartitionRequest.Builder (6.65.1)

public static final class DeleteInstancePartitionRequest.Builder extends GeneratedMessageV3.Builder<DeleteInstancePartitionRequest.Builder> implements DeleteInstancePartitionRequestOrBuilder

The request for DeleteInstancePartition.

Protobuf type google.spanner.admin.instance.v1.DeleteInstancePartitionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteInstancePartitionRequest build()
Returns
Type Description
DeleteInstancePartitionRequest

buildPartial()

public DeleteInstancePartitionRequest buildPartial()
Returns
Type Description
DeleteInstancePartitionRequest

clear()

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

clearEtag()

public DeleteInstancePartitionRequest.Builder clearEtag()

Optional. If not empty, the API only deletes the instance partition when the etag provided matches the current status of the requested instance partition. Otherwise, deletes the instance partition without checking the current status of the requested instance partition.

string etag = 2;

Returns
Type Description
DeleteInstancePartitionRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteInstancePartitionRequest.Builder clearName()

Required. The name of the instance partition to be deleted. Values are of the form projects/{project}/instances/{instance}/instancePartitions/{instance_partition}

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

Returns
Type Description
DeleteInstancePartitionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteInstancePartitionRequest getDefaultInstanceForType()
Returns
Type Description
DeleteInstancePartitionRequest

getDescriptorForType()

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

getEtag()

public String getEtag()

Optional. If not empty, the API only deletes the instance partition when the etag provided matches the current status of the requested instance partition. Otherwise, deletes the instance partition without checking the current status of the requested instance partition.

string etag = 2;

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Optional. If not empty, the API only deletes the instance partition when the etag provided matches the current status of the requested instance partition. Otherwise, deletes the instance partition without checking the current status of the requested instance partition.

string etag = 2;

Returns
Type Description
ByteString

The bytes for etag.

getName()

public String getName()

Required. The name of the instance partition to be deleted. Values are of the form projects/{project}/instances/{instance}/instancePartitions/{instance_partition}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the instance partition to be deleted. Values are of the form projects/{project}/instances/{instance}/instancePartitions/{instance_partition}

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(DeleteInstancePartitionRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEtag(String value)

public DeleteInstancePartitionRequest.Builder setEtag(String value)

Optional. If not empty, the API only deletes the instance partition when the etag provided matches the current status of the requested instance partition. Otherwise, deletes the instance partition without checking the current status of the requested instance partition.

string etag = 2;

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
DeleteInstancePartitionRequest.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public DeleteInstancePartitionRequest.Builder setEtagBytes(ByteString value)

Optional. If not empty, the API only deletes the instance partition when the etag provided matches the current status of the requested instance partition. Otherwise, deletes the instance partition without checking the current status of the requested instance partition.

string etag = 2;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
DeleteInstancePartitionRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteInstancePartitionRequest.Builder setName(String value)

Required. The name of the instance partition to be deleted. Values are of the form projects/{project}/instances/{instance}/instancePartitions/{instance_partition}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteInstancePartitionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteInstancePartitionRequest.Builder setNameBytes(ByteString value)

Required. The name of the instance partition to be deleted. Values are of the form projects/{project}/instances/{instance}/instancePartitions/{instance_partition}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteInstancePartitionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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