public static final class DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder extends GeneratedMessage.Builder<DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder> implements DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfigOrBuilderConfiguration for connecting to AlloyDB.
Protobuf type
google.cloud.discoveryengine.v1beta.DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig build()| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig |
|
buildPartial()
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig |
|
clear()
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
|
clearAuthMode()
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder clearAuthMode()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.Builder |
This builder for chaining. |
clearDatabase()
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder clearDatabase()Required. The AlloyDB database to connect to.
string database = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
clearEnablePsvs()
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder clearEnablePsvs()Optional. If true, enable PSVS for AlloyDB.
bool enable_psvs = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
clearInstance()
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder clearInstance()Required. The AlloyDB instance to connect to.
string instance = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
clearPassword()
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder clearPassword()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 |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
clearUser()
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder clearUser()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 |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
getAuthMode()
public 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 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 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 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. |
getDefaultInstanceForType()
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnablePsvs()
public 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 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig other)
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder mergeFrom(DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
|
setAuthMode(DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.AuthMode value)
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder setAuthMode(DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.AuthMode value)Optional. Auth mode.
.google.cloud.discoveryengine.v1beta.DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.AuthMode auth_mode = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.AuthModeThe authMode to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
setAuthModeValue(int value)
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder setAuthModeValue(int value)Optional. Auth mode.
.google.cloud.discoveryengine.v1beta.DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.AuthMode auth_mode = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for authMode to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
setDatabase(String value)
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder setDatabase(String value)Required. The AlloyDB database to connect to.
string database = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe database to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
setDatabaseBytes(ByteString value)
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder setDatabaseBytes(ByteString value)Required. The AlloyDB database to connect to.
string database = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for database to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
setEnablePsvs(boolean value)
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder setEnablePsvs(boolean value)Optional. If true, enable PSVS for AlloyDB.
bool enable_psvs = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enablePsvs to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
setInstance(String value)
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder setInstance(String value)Required. The AlloyDB instance to connect to.
string instance = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe instance to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
setInstanceBytes(ByteString value)
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder setInstanceBytes(ByteString value)Required. The AlloyDB instance to connect to.
string instance = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for instance to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
setPassword(String value)
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder setPassword(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe password to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
setPasswordBytes(ByteString value)
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder setPasswordBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for password to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
setUser(String value)
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder setUser(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe user to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |
setUserBytes(ByteString value)
public DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder setUserBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for user to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder |
This builder for chaining. |