Interface ConnectionProto.CloudSqlPropertiesOrBuilder (2.57.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
Type Description
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
Type Description
ConnectionProto.CloudSqlCredentialOrBuilder

getDatabase()

public abstract String getDatabase()

Database name.

string database = 2;

Returns
Type Description
String

The database.

getDatabaseBytes()

public abstract ByteString getDatabaseBytes()

Database name.

string database = 2;

Returns
Type Description
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
Type Description
String

The instanceId.

getInstanceIdBytes()

public abstract ByteString getInstanceIdBytes()

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

string instance_id = 1;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the credential field is set.