Interface CloudSqlPropertiesOrBuilder (2.26.0)

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.

getServiceAccountId()

public abstract String getServiceAccountId()

Output only. The account ID of the service used for the purpose of this connection.

When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.

string service_account_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The serviceAccountId.

getServiceAccountIdBytes()

public abstract ByteString getServiceAccountIdBytes()

Output only. The account ID of the service used for the purpose of this connection.

When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.

string service_account_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for serviceAccountId.

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.