public static final class SearchRequest.DataStoreSpec.Builder extends GeneratedMessageV3.Builder<SearchRequest.DataStoreSpec.Builder> implements SearchRequest.DataStoreSpecOrBuilder
A struct to define data stores to filter on in a search call and
configurations for those data stores. Otherwise, an INVALID_ARGUMENT
error is returned.
Protobuf type google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchRequest.DataStoreSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchRequest.DataStoreSpec build()
buildPartial()
public SearchRequest.DataStoreSpec buildPartial()
clear()
public SearchRequest.DataStoreSpec.Builder clear()
Overrides
clearDataStore()
public SearchRequest.DataStoreSpec.Builder clearDataStore()
Required. Full resource name of
DataStore, such as
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}
.
string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearField(Descriptors.FieldDescriptor field)
public SearchRequest.DataStoreSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFilter()
public SearchRequest.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 = 5 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchRequest.DataStoreSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SearchRequest.DataStoreSpec.Builder clone()
Overrides
getDataStore()
public String getDataStore()
Required. Full resource name of
DataStore, such as
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}
.
string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The dataStore.
|
getDataStoreBytes()
public ByteString getDataStoreBytes()
Required. Full resource name of
DataStore, such as
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}
.
string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for dataStore.
|
getDefaultInstanceForType()
public SearchRequest.DataStoreSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 = 5 [(.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 = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for filter.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchRequest.DataStoreSpec other)
public SearchRequest.DataStoreSpec.Builder mergeFrom(SearchRequest.DataStoreSpec other)
public SearchRequest.DataStoreSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchRequest.DataStoreSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchRequest.DataStoreSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDataStore(String value)
public SearchRequest.DataStoreSpec.Builder setDataStore(String value)
Required. Full resource name of
DataStore, such as
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}
.
string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The dataStore to set.
|
setDataStoreBytes(ByteString value)
public SearchRequest.DataStoreSpec.Builder setDataStoreBytes(ByteString value)
Required. Full resource name of
DataStore, such as
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}
.
string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for dataStore to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SearchRequest.DataStoreSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFilter(String value)
public SearchRequest.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 = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The filter to set.
|
setFilterBytes(ByteString value)
public SearchRequest.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 = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for filter to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchRequest.DataStoreSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchRequest.DataStoreSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides