Interface SqlServerProfileOrBuilder (1.102.0)

public interface SqlServerProfileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatabase()

public abstract String getDatabase()

Required. Database for the SQLServer connection.

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

Returns
Type Description
String

The database.

getDatabaseBytes()

public abstract ByteString getDatabaseBytes()

Required. Database for the SQLServer connection.

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

Returns
Type Description
ByteString

The bytes for database.

getHostname()

public abstract String getHostname()

Required. Hostname for the SQLServer connection.

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

Returns
Type Description
String

The hostname.

getHostnameBytes()

public abstract ByteString getHostnameBytes()

Required. Hostname for the SQLServer connection.

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

Returns
Type Description
ByteString

The bytes for hostname.

getPassword()

public abstract String getPassword()

Optional. Password for the SQLServer connection. Mutually exclusive with the secret_manager_stored_password field.

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

Returns
Type Description
String

The password.

getPasswordBytes()

public abstract ByteString getPasswordBytes()

Optional. Password for the SQLServer connection. Mutually exclusive with the secret_manager_stored_password field.

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

Returns
Type Description
ByteString

The bytes for password.

getPort()

public abstract int getPort()

Port for the SQLServer connection, default value is 1433.

int32 port = 2;

Returns
Type Description
int

The port.

getSecretManagerStoredPassword()

public abstract String getSecretManagerStoredPassword()

Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the password field.

string secret_manager_stored_password = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The secretManagerStoredPassword.

getSecretManagerStoredPasswordBytes()

public abstract ByteString getSecretManagerStoredPasswordBytes()

Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the password field.

string secret_manager_stored_password = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for secretManagerStoredPassword.

getSslConfig()

public abstract SqlServerSslConfig getSslConfig()

Optional. SSL configuration for the SQLServer connection.

.google.cloud.datastream.v1.SqlServerSslConfig ssl_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SqlServerSslConfig

The sslConfig.

getSslConfigOrBuilder()

public abstract SqlServerSslConfigOrBuilder getSslConfigOrBuilder()

Optional. SSL configuration for the SQLServer connection.

.google.cloud.datastream.v1.SqlServerSslConfig ssl_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SqlServerSslConfigOrBuilder

getUsername()

public abstract String getUsername()

Required. Username for the SQLServer connection.

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

Returns
Type Description
String

The username.

getUsernameBytes()

public abstract ByteString getUsernameBytes()

Required. Username for the SQLServer connection.

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

Returns
Type Description
ByteString

The bytes for username.

hasSslConfig()

public abstract boolean hasSslConfig()

Optional. SSL configuration for the SQLServer connection.

.google.cloud.datastream.v1.SqlServerSslConfig ssl_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sslConfig field is set.