Interface DataStore.FederatedSearchConfig.AlloyDbConfigOrBuilder (0.90.0)

public static interface DataStore.FederatedSearchConfig.AlloyDbConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAlloydbAiNlConfig()

public abstract DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbAiNaturalLanguageConfig getAlloydbAiNlConfig()

Optional. Configuration for Magic.

.google.cloud.discoveryengine.v1beta.DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbAiNaturalLanguageConfig alloydb_ai_nl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbAiNaturalLanguageConfig

The alloydbAiNlConfig.

getAlloydbAiNlConfigOrBuilder()

public abstract DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbAiNaturalLanguageConfigOrBuilder getAlloydbAiNlConfigOrBuilder()

Optional. Configuration for Magic.

.google.cloud.discoveryengine.v1beta.DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbAiNaturalLanguageConfig alloydb_ai_nl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbAiNaturalLanguageConfigOrBuilder

getAlloydbConnectionConfig()

public abstract DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig getAlloydbConnectionConfig()

Required. Configuration for connecting to AlloyDB.

.google.cloud.discoveryengine.v1beta.DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig alloydb_connection_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig

The alloydbConnectionConfig.

getAlloydbConnectionConfigOrBuilder()

public abstract DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfigOrBuilder getAlloydbConnectionConfigOrBuilder()

Required. Configuration for connecting to AlloyDB.

.google.cloud.discoveryengine.v1beta.DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig alloydb_connection_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfigOrBuilder

getReturnedFields(int index)

public abstract String getReturnedFields(int index)

Optional. Fields to be returned in the search results. If empty, all fields will be returned.

repeated string returned_fields = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The returnedFields at the given index.

getReturnedFieldsBytes(int index)

public abstract ByteString getReturnedFieldsBytes(int index)

Optional. Fields to be returned in the search results. If empty, all fields will be returned.

repeated string returned_fields = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the returnedFields at the given index.

getReturnedFieldsCount()

public abstract int getReturnedFieldsCount()

Optional. Fields to be returned in the search results. If empty, all fields will be returned.

repeated string returned_fields = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of returnedFields.

getReturnedFieldsList()

public abstract List<String> getReturnedFieldsList()

Optional. Fields to be returned in the search results. If empty, all fields will be returned.

repeated string returned_fields = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the returnedFields.

hasAlloydbAiNlConfig()

public abstract boolean hasAlloydbAiNlConfig()

Optional. Configuration for Magic.

.google.cloud.discoveryengine.v1beta.DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbAiNaturalLanguageConfig alloydb_ai_nl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the alloydbAiNlConfig field is set.

hasAlloydbConnectionConfig()

public abstract boolean hasAlloydbConnectionConfig()

Required. Configuration for connecting to AlloyDB.

.google.cloud.discoveryengine.v1beta.DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig alloydb_connection_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the alloydbConnectionConfig field is set.