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 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

      List<Error> 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

      Error getErrors(int index)
       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

      ErrorOrBuilder getErrorsOrBuilder(int index)
       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()