Class DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig (0.90.0)

public static final class DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig extends GeneratedMessage implements DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfigOrBuilder

Configuration for connecting to AlloyDB.

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

Inheritance

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

Static Fields

AUTH_MODE_FIELD_NUMBER

public static final int AUTH_MODE_FIELD_NUMBER
Field Value
Type Description
int

DATABASE_FIELD_NUMBER

public static final int DATABASE_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_PSVS_FIELD_NUMBER

public static final int ENABLE_PSVS_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_FIELD_NUMBER

public static final int INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

PASSWORD_FIELD_NUMBER

public static final int PASSWORD_FIELD_NUMBER
Field Value
Type Description
int

USER_FIELD_NUMBER

public static final int USER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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

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.

getParserForType()

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.AlloyDbConnectionConfig.Builder newBuilderForType()
Returns
Type Description
DataStore.FederatedSearchConfig.AlloyDbConfig.AlloyDbConnectionConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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