Interface DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfigOrBuilder (0.90.0)

public static interface DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthMode()

public abstract DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.AuthMode getAuthMode()

Optional. Auth mode.

.google.cloud.discoveryengine.v1beta.DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.AuthMode auth_mode = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.AuthMode

The authMode.

getAuthModeValue()

public abstract int getAuthModeValue()

Optional. Auth mode.

.google.cloud.discoveryengine.v1beta.DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.AuthMode auth_mode = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for authMode.

getDatabase()

public abstract String getDatabase()

Required. The AlloyDB database to connect to.

string database = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The database.

getDatabaseBytes()

public abstract ByteString getDatabaseBytes()

Required. The AlloyDB database to connect to.

string database = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for database.

getEnablePsvs()

public abstract boolean getEnablePsvs()

Optional. If true, enable PSVS for AlloyDB.

bool enable_psvs = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enablePsvs.

getInstance()

public abstract String getInstance()

Required. The AlloyDB instance to connect to.

string instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

Required. The AlloyDB instance to connect to.

string instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for instance.

getPassword()

public abstract String getPassword()

Required. Database password.

If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user.

string password = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The password.

getPasswordBytes()

public abstract ByteString getPasswordBytes()

Required. Database password.

If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user.

string password = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for password.

getUser()

public abstract String getUser()

Required. Database user.

If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user.

string user = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The user.

getUserBytes()

public abstract ByteString getUserBytes()

Required. Database user.

If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user.

string user = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for user.