Interface CloudSqlPropertiesOrBuilder (2.2.4)

public interface CloudSqlPropertiesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCredential()

public abstract CloudSqlCredential getCredential()

Input only. Cloud SQL credential.

.google.cloud.bigquery.connection.v1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
CloudSqlCredential

The credential.

getCredentialOrBuilder()

public abstract CloudSqlCredentialOrBuilder getCredentialOrBuilder()

Input only. Cloud SQL credential.

.google.cloud.bigquery.connection.v1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
CloudSqlCredentialOrBuilder

getDatabase()

public abstract String getDatabase()

Database name.

string database = 2;

Returns
TypeDescription
String

The database.

getDatabaseBytes()

public abstract ByteString getDatabaseBytes()

Database name.

string database = 2;

Returns
TypeDescription
ByteString

The bytes for database.

getInstanceId()

public abstract String getInstanceId()

Cloud SQL instance ID in the form project:location:instance.

string instance_id = 1;

Returns
TypeDescription
String

The instanceId.

getInstanceIdBytes()

public abstract ByteString getInstanceIdBytes()

Cloud SQL instance ID in the form project:location:instance.

string instance_id = 1;

Returns
TypeDescription
ByteString

The bytes for instanceId.

getType()

public abstract CloudSqlProperties.DatabaseType getType()

Type of the Cloud SQL database.

.google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType type = 3;

Returns
TypeDescription
CloudSqlProperties.DatabaseType

The type.

getTypeValue()

public abstract int getTypeValue()

Type of the Cloud SQL database.

.google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType type = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

hasCredential()

public abstract boolean hasCredential()

Input only. Cloud SQL credential.

.google.cloud.bigquery.connection.v1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
boolean

Whether the credential field is set.