Class DataStore.FederatedSearchConfig.AlloyDbConfig (0.90.0)

public static final class DataStore.FederatedSearchConfig.AlloyDbConfig extends GeneratedMessage implements DataStore.FederatedSearchConfig.AlloyDbConfigOrBuilder

Stores information for connecting to AlloyDB.

Protobuf type google.cloud.discoveryengine.v1beta.DataStore.FederatedSearchConfig.AlloyDbConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DataStore.FederatedSearchConfig.AlloyDbConfig

Static Fields

ALLOYDB_AI_NL_CONFIG_FIELD_NUMBER

public static final int ALLOYDB_AI_NL_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

ALLOYDB_CONNECTION_CONFIG_FIELD_NUMBER

public static final int ALLOYDB_CONNECTION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

RETURNED_FIELDS_FIELD_NUMBER

public static final int RETURNED_FIELDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataStore.FederatedSearchConfig.AlloyDbConfig getDefaultInstance()
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataStore.FederatedSearchConfig.AlloyDbConfig.Builder newBuilder()
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig.Builder

newBuilder(DataStore.FederatedSearchConfig.AlloyDbConfig prototype)

public static DataStore.FederatedSearchConfig.AlloyDbConfig.Builder newBuilder(DataStore.FederatedSearchConfig.AlloyDbConfig prototype)
Parameter
Name Description
prototype DataStore.FederatedSearchConfig.AlloyDbConfig
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig.Builder

parseDelimitedFrom(InputStream input)

public static DataStore.FederatedSearchConfig.AlloyDbConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataStore.FederatedSearchConfig.AlloyDbConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataStore.FederatedSearchConfig.AlloyDbConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataStore.FederatedSearchConfig.AlloyDbConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataStore.FederatedSearchConfig.AlloyDbConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataStore.FederatedSearchConfig.AlloyDbConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataStore.FederatedSearchConfig.AlloyDbConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataStore.FederatedSearchConfig.AlloyDbConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataStore.FederatedSearchConfig.AlloyDbConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataStore.FederatedSearchConfig.AlloyDbConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataStore.FederatedSearchConfig.AlloyDbConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataStore.FederatedSearchConfig.AlloyDbConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataStore.FederatedSearchConfig.AlloyDbConfig> parser()
Returns
Type Description
Parser<AlloyDbConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAlloydbAiNlConfig()

public 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 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 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 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

getDefaultInstanceForType()

public DataStore.FederatedSearchConfig.AlloyDbConfig getDefaultInstanceForType()
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig

getParserForType()

public Parser<DataStore.FederatedSearchConfig.AlloyDbConfig> getParserForType()
Returns
Type Description
Parser<AlloyDbConfig>
Overrides

getReturnedFields(int index)

public 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 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 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 ProtocolStringList 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
ProtocolStringList

A list containing the returnedFields.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAlloydbAiNlConfig()

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataStore.FederatedSearchConfig.AlloyDbConfig.Builder newBuilderForType()
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DataStore.FederatedSearchConfig.AlloyDbConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig.Builder
Overrides

toBuilder()

public DataStore.FederatedSearchConfig.AlloyDbConfig.Builder toBuilder()
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException