Interface ConnectionProto.CloudSqlPropertiesOrBuilder (2.1.11)

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.

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.