Interface ConnectionProto.ConnectionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConnectionProto.Connection,ConnectionProto.Connection.Builder
- Enclosing class:
- ConnectionProto
public static interface ConnectionProto.ConnectionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectionProto.CloudSqlPropertiesgetCloudSql()Cloud SQL properties.ConnectionProto.CloudSqlPropertiesOrBuildergetCloudSqlOrBuilder()Cloud SQL properties.longgetCreationTime()Output only.StringgetDescription()User provided description.com.google.protobuf.ByteStringgetDescriptionBytes()User provided description.StringgetFriendlyName()User provided display name for the connection.com.google.protobuf.ByteStringgetFriendlyNameBytes()User provided display name for the connection.booleangetHasCredential()Output only.longgetLastModifiedTime()Output only.StringgetName()The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`com.google.protobuf.ByteStringgetNameBytes()The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`ConnectionProto.Connection.PropertiesCasegetPropertiesCase()booleanhasCloudSql()Cloud SQL properties.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`string name = 1;- Returns:
- The bytes for name.
-
getFriendlyName
String getFriendlyName()
User provided display name for the connection.
string friendly_name = 2;- Returns:
- The friendlyName.
-
getFriendlyNameBytes
com.google.protobuf.ByteString getFriendlyNameBytes()
User provided display name for the connection.
string friendly_name = 2;- Returns:
- The bytes for friendlyName.
-
getDescription
String getDescription()
User provided description.
string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
User provided description.
string description = 3;- Returns:
- The bytes for description.
-
hasCloudSql
boolean hasCloudSql()
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;- Returns:
- Whether the cloudSql field is set.
-
getCloudSql
ConnectionProto.CloudSqlProperties getCloudSql()
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;- Returns:
- The cloudSql.
-
getCloudSqlOrBuilder
ConnectionProto.CloudSqlPropertiesOrBuilder getCloudSqlOrBuilder()
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;
-
getCreationTime
long getCreationTime()
Output only. The creation timestamp of the connection.
int64 creation_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The creationTime.
-
getLastModifiedTime
long getLastModifiedTime()
Output only. The last update timestamp of the connection.
int64 last_modified_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The lastModifiedTime.
-
getHasCredential
boolean getHasCredential()
Output only. True, if credential is configured for this connection.
bool has_credential = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The hasCredential.
-
getPropertiesCase
ConnectionProto.Connection.PropertiesCase getPropertiesCase()
-
-