Interface ConnectionProto.CloudSqlPropertiesOrBuilder (2.13.0)

public static interface ConnectionProto.CloudSqlPropertiesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCredential()

public abstract ConnectionProto.CloudSqlCredential getCredential()

Input only. Cloud SQL credential.

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

Returns
TypeDescription
ConnectionProto.CloudSqlCredential

The credential.

getCredentialOrBuilder()

public abstract ConnectionProto.CloudSqlCredentialOrBuilder getCredentialOrBuilder()

Input only. Cloud SQL credential.

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

Returns
TypeDescription
ConnectionProto.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 ConnectionProto.CloudSqlProperties.DatabaseType getType()

Type of the Cloud SQL database.

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

Returns
TypeDescription
ConnectionProto.CloudSqlProperties.DatabaseType

The type.

getTypeValue()

public abstract int getTypeValue()

Type of the Cloud SQL database.

.google.cloud.bigquery.connection.v1beta1.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.v1beta1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
boolean

Whether the credential field is set.