Interface ConnectionProto.CloudSqlPropertiesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConnectionProto.CloudSqlProperties
,ConnectionProto.CloudSqlProperties.Builder
- Enclosing class:
- ConnectionProto
public static interface ConnectionProto.CloudSqlPropertiesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectionProto.CloudSqlCredential
getCredential()
Input only.ConnectionProto.CloudSqlCredentialOrBuilder
getCredentialOrBuilder()
Input only.String
getDatabase()
Database name.com.google.protobuf.ByteString
getDatabaseBytes()
Database name.String
getInstanceId()
Cloud SQL instance ID in the form `project:location:instance`.com.google.protobuf.ByteString
getInstanceIdBytes()
Cloud SQL instance ID in the form `project:location:instance`.String
getServiceAccountId()
Output only.com.google.protobuf.ByteString
getServiceAccountIdBytes()
Output only.ConnectionProto.CloudSqlProperties.DatabaseType
getType()
Type of the Cloud SQL database.int
getTypeValue()
Type of the Cloud SQL database.boolean
hasCredential()
Input only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getInstanceId
String getInstanceId()
Cloud SQL instance ID in the form `project:location:instance`.
string instance_id = 1;
- Returns:
- The instanceId.
-
getInstanceIdBytes
com.google.protobuf.ByteString getInstanceIdBytes()
Cloud SQL instance ID in the form `project:location:instance`.
string instance_id = 1;
- Returns:
- The bytes for instanceId.
-
getDatabase
String getDatabase()
Database name.
string database = 2;
- Returns:
- The database.
-
getDatabaseBytes
com.google.protobuf.ByteString getDatabaseBytes()
Database name.
string database = 2;
- Returns:
- The bytes for database.
-
getTypeValue
int getTypeValue()
Type of the Cloud SQL database.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties.DatabaseType type = 3;
- Returns:
- The enum numeric value on the wire for type.
-
getType
ConnectionProto.CloudSqlProperties.DatabaseType getType()
Type of the Cloud SQL database.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties.DatabaseType type = 3;
- Returns:
- The type.
-
hasCredential
boolean hasCredential()
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
- Returns:
- Whether the credential field is set.
-
getCredential
ConnectionProto.CloudSqlCredential getCredential()
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
- Returns:
- The credential.
-
getCredentialOrBuilder
ConnectionProto.CloudSqlCredentialOrBuilder getCredentialOrBuilder()
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
-
getServiceAccountId
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:
- The serviceAccountId.
-
getServiceAccountIdBytes
com.google.protobuf.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:
- The bytes for serviceAccountId.
-
-