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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeleteInstancePartitionRequest.BuilderImplements
DeleteInstancePartitionRequestOrBuilderStatic 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 |
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 |
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 |
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 |
clone()
public DeleteInstancePartitionRequest.Builder clone()
Returns | |
---|---|
Type | Description |
DeleteInstancePartitionRequest.Builder |
getDefaultInstanceForType()
public DeleteInstancePartitionRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DeleteInstancePartitionRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |