public static final class DeleteDataObjectRequest.Builder extends GeneratedMessage.Builder<DeleteDataObjectRequest.Builder> implements DeleteDataObjectRequestOrBuilderRequest message for DataObjectService.DeleteDataObject.
Protobuf type google.cloud.vectorsearch.v1beta.DeleteDataObjectRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteDataObjectRequest.BuilderImplements
DeleteDataObjectRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteDataObjectRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteDataObjectRequest |
|
buildPartial()
public DeleteDataObjectRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteDataObjectRequest |
|
clear()
public DeleteDataObjectRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteDataObjectRequest.Builder |
|
clearEtag()
public DeleteDataObjectRequest.Builder clearEtag()Optional. The current etag of the DataObject. If an etag is provided and does not match the current etag of the DataObject, deletion will be blocked and an ABORTED error will be returned.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeleteDataObjectRequest.Builder |
This builder for chaining. |
clearName()
public DeleteDataObjectRequest.Builder clearName() Required. The name of the DataObject resource to be deleted.
Format:
projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteDataObjectRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteDataObjectRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteDataObjectRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEtag()
public String getEtag()Optional. The current etag of the DataObject. If an etag is provided and does not match the current etag of the DataObject, deletion will be blocked and an ABORTED error will be returned.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The etag. |
getEtagBytes()
public ByteString getEtagBytes()Optional. The current etag of the DataObject. If an etag is provided and does not match the current etag of the DataObject, deletion will be blocked and an ABORTED error will be returned.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for etag. |
getName()
public String getName() Required. The name of the DataObject resource to be deleted.
Format:
projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}
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 DataObject resource to be deleted.
Format:
projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeleteDataObjectRequest other)
public DeleteDataObjectRequest.Builder mergeFrom(DeleteDataObjectRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteDataObjectRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteDataObjectRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteDataObjectRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteDataObjectRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteDataObjectRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteDataObjectRequest.Builder |
|
setEtag(String value)
public DeleteDataObjectRequest.Builder setEtag(String value)Optional. The current etag of the DataObject. If an etag is provided and does not match the current etag of the DataObject, deletion will be blocked and an ABORTED error will be returned.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe etag to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteDataObjectRequest.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public DeleteDataObjectRequest.Builder setEtagBytes(ByteString value)Optional. The current etag of the DataObject. If an etag is provided and does not match the current etag of the DataObject, deletion will be blocked and an ABORTED error will be returned.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for etag to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteDataObjectRequest.Builder |
This builder for chaining. |
setName(String value)
public DeleteDataObjectRequest.Builder setName(String value) Required. The name of the DataObject resource to be deleted.
Format:
projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteDataObjectRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeleteDataObjectRequest.Builder setNameBytes(ByteString value) Required. The name of the DataObject resource to be deleted.
Format:
projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteDataObjectRequest.Builder |
This builder for chaining. |