public interface DataObjectOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsVectors(String key)
public abstract boolean containsVectors(String key)Optional. The vectors of the dataObject.
map<string, .google.cloud.vectorsearch.v1beta.Vector> vectors = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCreateTime()
public abstract Timestamp getCreateTime()Output only. Timestamp the dataObject was created at.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp the dataObject was created at.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getData()
public abstract Struct getData()Optional. The data of the dataObject.
.google.protobuf.Struct data = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Struct |
The data. |
getDataObjectId() (deprecated)
public abstract String getDataObjectId()Deprecated. google.cloud.vectorsearch.v1beta.DataObject.data_object_id is deprecated. See google/cloud/vectorsearch/v1beta/data_object.proto;l=45
Output only. The id of the dataObject.
string data_object_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The dataObjectId. |
getDataObjectIdBytes() (deprecated)
public abstract ByteString getDataObjectIdBytes()Deprecated. google.cloud.vectorsearch.v1beta.DataObject.data_object_id is deprecated. See google/cloud/vectorsearch/v1beta/data_object.proto;l=45
Output only. The id of the dataObject.
string data_object_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataObjectId. |
getDataOrBuilder()
public abstract StructOrBuilder getDataOrBuilder()Optional. The data of the dataObject.
.google.protobuf.Struct data = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getName()
public abstract String getName()Immutable. The fully qualified resource name of the dataObject.
Format:
projects/{project}/locations/{location}/collections/{collection}/dataObjects/{data_object_id}
The data_object_id must be 1-63 characters
long, and comply with
<a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Immutable. The fully qualified resource name of the dataObject.
Format:
projects/{project}/locations/{location}/collections/{collection}/dataObjects/{data_object_id}
The data_object_id must be 1-63 characters
long, and comply with
<a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUpdateTime()
public abstract Timestamp getUpdateTime()Output only. Timestamp the dataObject was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp the dataObject was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getVectors() (deprecated)
public abstract Map<String,Vector> getVectors()Use #getVectorsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,Vector> |
|
getVectorsCount()
public abstract int getVectorsCount()Optional. The vectors of the dataObject.
map<string, .google.cloud.vectorsearch.v1beta.Vector> vectors = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getVectorsMap()
public abstract Map<String,Vector> getVectorsMap()Optional. The vectors of the dataObject.
map<string, .google.cloud.vectorsearch.v1beta.Vector> vectors = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,Vector> |
|
getVectorsOrDefault(String key, Vector defaultValue)
public abstract Vector getVectorsOrDefault(String key, Vector defaultValue)Optional. The vectors of the dataObject.
map<string, .google.cloud.vectorsearch.v1beta.Vector> vectors = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
Vector |
| Returns | |
|---|---|
| Type | Description |
Vector |
|
getVectorsOrThrow(String key)
public abstract Vector getVectorsOrThrow(String key)Optional. The vectors of the dataObject.
map<string, .google.cloud.vectorsearch.v1beta.Vector> vectors = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Vector |
|
hasCreateTime()
public abstract boolean hasCreateTime()Output only. Timestamp the dataObject was created at.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasData()
public abstract boolean hasData()Optional. The data of the dataObject.
.google.protobuf.Struct data = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the data field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()Output only. Timestamp the dataObject was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |