All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.privacy.dlp.v2.ConnectionOrBuilder Maven / Gradle / Ivy

There is a newer version: 3.53.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/privacy/dlp/v2/dlp.proto

// Protobuf Java Version: 3.25.4
package com.google.privacy.dlp.v2;

public interface ConnectionOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Connection)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Output only. Name of the connection:
   * `projects/{project}/locations/{location}/connections/{name}`.
   * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The name. */ java.lang.String getName(); /** * * *
   * Output only. Name of the connection:
   * `projects/{project}/locations/{location}/connections/{name}`.
   * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Required. The connection's state in its lifecycle.
   * 
* * * .google.privacy.dlp.v2.ConnectionState state = 2 [(.google.api.field_behavior) = REQUIRED]; * * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** * * *
   * Required. The connection's state in its lifecycle.
   * 
* * * .google.privacy.dlp.v2.ConnectionState state = 2 [(.google.api.field_behavior) = REQUIRED]; * * * @return The state. */ com.google.privacy.dlp.v2.ConnectionState getState(); /** * * *
   * 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]; * */ java.util.List 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]; * */ com.google.privacy.dlp.v2.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]; * */ 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]; * */ java.util.List 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]; * */ com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index); /** * * *
   * Connect to a Cloud SQL instance.
   * 
* * .google.privacy.dlp.v2.CloudSqlProperties cloud_sql = 4; * * @return Whether the cloudSql field is set. */ boolean hasCloudSql(); /** * * *
   * Connect to a Cloud SQL instance.
   * 
* * .google.privacy.dlp.v2.CloudSqlProperties cloud_sql = 4; * * @return The cloudSql. */ com.google.privacy.dlp.v2.CloudSqlProperties getCloudSql(); /** * * *
   * Connect to a Cloud SQL instance.
   * 
* * .google.privacy.dlp.v2.CloudSqlProperties cloud_sql = 4; */ com.google.privacy.dlp.v2.CloudSqlPropertiesOrBuilder getCloudSqlOrBuilder(); com.google.privacy.dlp.v2.Connection.PropertiesCase getPropertiesCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy