Interface CreateDataObjectRequestOrBuilder (0.1.0)

public interface CreateDataObjectRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataObject()

public abstract DataObject getDataObject()

Required. The DataObject to create.

.google.cloud.vectorsearch.v1beta.DataObject data_object = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataObject

The dataObject.

getDataObjectId()

public abstract String getDataObjectId()

Required. The id of the dataObject to create. The id must be 1-63 characters long, and comply with <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>. Specifically, it must be 1-63 characters long and match the regular expression a-z?.

string data_object_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The dataObjectId.

getDataObjectIdBytes()

public abstract ByteString getDataObjectIdBytes()

Required. The id of the dataObject to create. The id must be 1-63 characters long, and comply with <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>. Specifically, it must be 1-63 characters long and match the regular expression a-z?.

string data_object_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for dataObjectId.

getDataObjectOrBuilder()

public abstract DataObjectOrBuilder getDataObjectOrBuilder()

Required. The DataObject to create.

.google.cloud.vectorsearch.v1beta.DataObject data_object = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataObjectOrBuilder

getParent()

public abstract String getParent()

Required. The resource name of the Collection to create the DataObject in. Format: projects/{project}/locations/{location}/collections/{collection}

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The resource name of the Collection to create the DataObject in. Format: projects/{project}/locations/{location}/collections/{collection}

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

Returns
Type Description
ByteString

The bytes for parent.

hasDataObject()

public abstract boolean hasDataObject()

Required. The DataObject to create.

.google.cloud.vectorsearch.v1beta.DataObject data_object = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataObject field is set.