Package com.google.privacy.dlp.v2
Interface ConnectionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Connection,Connection.Builder
@Generated
public interface ConnectionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionConnect to a Cloud SQL instance.Connect to a Cloud SQL instance.getErrors(int index) Output only.intOutput only.Output only.getErrorsOrBuilder(int index) Output only.List<? extends ErrorOrBuilder>Output only.getName()Output only.com.google.protobuf.ByteStringOutput only.getState()Required.intRequired.booleanConnect to a Cloud SQL instance.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Output only. Name of the connection: `projects/{project}/locations/{location}/connections/{name}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. Name of the connection: `projects/{project}/locations/{location}/connections/{name}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getStateValue
int getStateValue()Required. The connection's state in its lifecycle.
.google.privacy.dlp.v2.ConnectionState state = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for state.
-
getState
ConnectionState getState()Required. The connection's state in its lifecycle.
.google.privacy.dlp.v2.ConnectionState state = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The state.
-
getErrorsList
Output only. Set if status == ERROR, to provide additional details. Will store the last 10 errors sorted with the most recent first.
repeated .google.privacy.dlp.v2.Error errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrors
Output only. Set if status == ERROR, to provide additional details. Will store the last 10 errors sorted with the most recent first.
repeated .google.privacy.dlp.v2.Error errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorsCount
int getErrorsCount()Output only. Set if status == ERROR, to provide additional details. Will store the last 10 errors sorted with the most recent first.
repeated .google.privacy.dlp.v2.Error errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorsOrBuilderList
List<? extends ErrorOrBuilder> getErrorsOrBuilderList()Output only. Set if status == ERROR, to provide additional details. Will store the last 10 errors sorted with the most recent first.
repeated .google.privacy.dlp.v2.Error errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorsOrBuilder
Output only. Set if status == ERROR, to provide additional details. Will store the last 10 errors sorted with the most recent first.
repeated .google.privacy.dlp.v2.Error errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasCloudSql
boolean hasCloudSql()Connect to a Cloud SQL instance.
.google.privacy.dlp.v2.CloudSqlProperties cloud_sql = 4;- Returns:
- Whether the cloudSql field is set.
-
getCloudSql
CloudSqlProperties getCloudSql()Connect to a Cloud SQL instance.
.google.privacy.dlp.v2.CloudSqlProperties cloud_sql = 4;- Returns:
- The cloudSql.
-
getCloudSqlOrBuilder
CloudSqlPropertiesOrBuilder getCloudSqlOrBuilder()Connect to a Cloud SQL instance.
.google.privacy.dlp.v2.CloudSqlProperties cloud_sql = 4; -
getPropertiesCase
Connection.PropertiesCase getPropertiesCase()
-