public static final class VertexAISearch.DataStoreSpec.Builder extends GeneratedMessage.Builder<VertexAISearch.DataStoreSpec.Builder> implements VertexAISearch.DataStoreSpecOrBuilderDefine data stores within engine to filter on in a search call and configurations for those data stores. For more information, see https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec
Protobuf type google.cloud.vertexai.v1.VertexAISearch.DataStoreSpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VertexAISearch.DataStoreSpec.BuilderImplements
VertexAISearch.DataStoreSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VertexAISearch.DataStoreSpec build()| Returns | |
|---|---|
| Type | Description |
VertexAISearch.DataStoreSpec |
|
buildPartial()
public VertexAISearch.DataStoreSpec buildPartial()| Returns | |
|---|---|
| Type | Description |
VertexAISearch.DataStoreSpec |
|
clear()
public VertexAISearch.DataStoreSpec.Builder clear()| Returns | |
|---|---|
| Type | Description |
VertexAISearch.DataStoreSpec.Builder |
|
clearDataStore()
public VertexAISearch.DataStoreSpec.Builder clearDataStore() Full resource name of DataStore, such as
Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
string data_store = 1;
| Returns | |
|---|---|
| Type | Description |
VertexAISearch.DataStoreSpec.Builder |
This builder for chaining. |
clearFilter()
public VertexAISearch.DataStoreSpec.Builder clearFilter()Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see Filtering
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VertexAISearch.DataStoreSpec.Builder |
This builder for chaining. |
getDataStore()
public String getDataStore() Full resource name of DataStore, such as
Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
string data_store = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The dataStore. |
getDataStoreBytes()
public ByteString getDataStoreBytes() Full resource name of DataStore, such as
Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
string data_store = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataStore. |
getDefaultInstanceForType()
public VertexAISearch.DataStoreSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VertexAISearch.DataStoreSpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilter()
public String getFilter()Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see Filtering
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see Filtering
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filter. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VertexAISearch.DataStoreSpec other)
public VertexAISearch.DataStoreSpec.Builder mergeFrom(VertexAISearch.DataStoreSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
VertexAISearch.DataStoreSpec |
| Returns | |
|---|---|
| Type | Description |
VertexAISearch.DataStoreSpec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VertexAISearch.DataStoreSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VertexAISearch.DataStoreSpec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VertexAISearch.DataStoreSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VertexAISearch.DataStoreSpec.Builder |
|
setDataStore(String value)
public VertexAISearch.DataStoreSpec.Builder setDataStore(String value) Full resource name of DataStore, such as
Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
string data_store = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dataStore to set. |
| Returns | |
|---|---|
| Type | Description |
VertexAISearch.DataStoreSpec.Builder |
This builder for chaining. |
setDataStoreBytes(ByteString value)
public VertexAISearch.DataStoreSpec.Builder setDataStoreBytes(ByteString value) Full resource name of DataStore, such as
Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
string data_store = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dataStore to set. |
| Returns | |
|---|---|
| Type | Description |
VertexAISearch.DataStoreSpec.Builder |
This builder for chaining. |
setFilter(String value)
public VertexAISearch.DataStoreSpec.Builder setFilter(String value)Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see Filtering
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
VertexAISearch.DataStoreSpec.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public VertexAISearch.DataStoreSpec.Builder setFilterBytes(ByteString value)Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see Filtering
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
VertexAISearch.DataStoreSpec.Builder |
This builder for chaining. |