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.v1alpha.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
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
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
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