public static final class QueryDataObjectsResponse.Builder extends GeneratedMessage.Builder<QueryDataObjectsResponse.Builder> implements QueryDataObjectsResponseOrBuilderResponse message for DataObjectSearchService.QueryDataObjects.
Protobuf type google.cloud.vectorsearch.v1.QueryDataObjectsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > QueryDataObjectsResponse.BuilderImplements
QueryDataObjectsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDataObjects(Iterable<? extends DataObject> values)
public QueryDataObjectsResponse.Builder addAllDataObjects(Iterable<? extends DataObject> values)Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.vectorsearch.v1.DataObject> |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
|
addDataObjects(DataObject value)
public QueryDataObjectsResponse.Builder addDataObjects(DataObject value)Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DataObject |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
|
addDataObjects(DataObject.Builder builderForValue)
public QueryDataObjectsResponse.Builder addDataObjects(DataObject.Builder builderForValue)Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataObject.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
|
addDataObjects(int index, DataObject value)
public QueryDataObjectsResponse.Builder addDataObjects(int index, DataObject value)Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DataObject |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
|
addDataObjects(int index, DataObject.Builder builderForValue)
public QueryDataObjectsResponse.Builder addDataObjects(int index, DataObject.Builder builderForValue)Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DataObject.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
|
addDataObjectsBuilder()
public DataObject.Builder addDataObjectsBuilder()Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataObject.Builder |
|
addDataObjectsBuilder(int index)
public DataObject.Builder addDataObjectsBuilder(int index)Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataObject.Builder |
|
build()
public QueryDataObjectsResponse build()| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse |
|
buildPartial()
public QueryDataObjectsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse |
|
clear()
public QueryDataObjectsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
|
clearDataObjects()
public QueryDataObjectsResponse.Builder clearDataObjects()Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
|
clearNextPageToken()
public QueryDataObjectsResponse.Builder clearNextPageToken()Output only. A token to retrieve next page of results. Pass to [DataObjectSearchService.QueryDataObjectsRequest.page_token][] to obtain that page.
string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
This builder for chaining. |
getDataObjects(int index)
public DataObject getDataObjects(int index)Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataObject |
|
getDataObjectsBuilder(int index)
public DataObject.Builder getDataObjectsBuilder(int index)Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataObject.Builder |
|
getDataObjectsBuilderList()
public List<DataObject.Builder> getDataObjectsBuilderList()Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getDataObjectsCount()
public int getDataObjectsCount()Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getDataObjectsList()
public List<DataObject> getDataObjectsList()Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<DataObject> |
|
getDataObjectsOrBuilder(int index)
public DataObjectOrBuilder getDataObjectsOrBuilder(int index)Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataObjectOrBuilder |
|
getDataObjectsOrBuilderList()
public List<? extends DataObjectOrBuilder> getDataObjectsOrBuilderList()Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.vectorsearch.v1.DataObjectOrBuilder> |
|
getDefaultInstanceForType()
public QueryDataObjectsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()Output only. A token to retrieve next page of results. Pass to [DataObjectSearchService.QueryDataObjectsRequest.page_token][] to obtain that page.
string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()Output only. A token to retrieve next page of results. Pass to [DataObjectSearchService.QueryDataObjectsRequest.page_token][] to obtain that page.
string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(QueryDataObjectsResponse other)
public QueryDataObjectsResponse.Builder mergeFrom(QueryDataObjectsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
QueryDataObjectsResponse |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryDataObjectsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public QueryDataObjectsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
|
removeDataObjects(int index)
public QueryDataObjectsResponse.Builder removeDataObjects(int index)Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
|
setDataObjects(int index, DataObject value)
public QueryDataObjectsResponse.Builder setDataObjects(int index, DataObject value)Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DataObject |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
|
setDataObjects(int index, DataObject.Builder builderForValue)
public QueryDataObjectsResponse.Builder setDataObjects(int index, DataObject.Builder builderForValue)Output only. The list of dataObjects that match the query.
repeated .google.cloud.vectorsearch.v1.DataObject data_objects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DataObject.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
|
setNextPageToken(String value)
public QueryDataObjectsResponse.Builder setNextPageToken(String value)Output only. A token to retrieve next page of results. Pass to [DataObjectSearchService.QueryDataObjectsRequest.page_token][] to obtain that page.
string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public QueryDataObjectsResponse.Builder setNextPageTokenBytes(ByteString value)Output only. A token to retrieve next page of results. Pass to [DataObjectSearchService.QueryDataObjectsRequest.page_token][] to obtain that page.
string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse.Builder |
This builder for chaining. |