• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/datacatalog/v1/bigquery.proto
18 
19 package com.google.cloud.datacatalog.v1;
20 
21 public interface BigQueryConnectionSpecOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.BigQueryConnectionSpec)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The type of the BigQuery connection.
31    * </pre>
32    *
33    * <code>.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;
34    * </code>
35    *
36    * @return The enum numeric value on the wire for connectionType.
37    */
getConnectionTypeValue()38   int getConnectionTypeValue();
39   /**
40    *
41    *
42    * <pre>
43    * The type of the BigQuery connection.
44    * </pre>
45    *
46    * <code>.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;
47    * </code>
48    *
49    * @return The connectionType.
50    */
getConnectionType()51   com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType getConnectionType();
52 
53   /**
54    *
55    *
56    * <pre>
57    * Specification for the BigQuery connection to a Cloud SQL instance.
58    * </pre>
59    *
60    * <code>.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;</code>
61    *
62    * @return Whether the cloudSql field is set.
63    */
hasCloudSql()64   boolean hasCloudSql();
65   /**
66    *
67    *
68    * <pre>
69    * Specification for the BigQuery connection to a Cloud SQL instance.
70    * </pre>
71    *
72    * <code>.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;</code>
73    *
74    * @return The cloudSql.
75    */
getCloudSql()76   com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getCloudSql();
77   /**
78    *
79    *
80    * <pre>
81    * Specification for the BigQuery connection to a Cloud SQL instance.
82    * </pre>
83    *
84    * <code>.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;</code>
85    */
getCloudSqlOrBuilder()86   com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder getCloudSqlOrBuilder();
87 
88   /**
89    *
90    *
91    * <pre>
92    * True if there are credentials attached to the BigQuery connection; false
93    * otherwise.
94    * </pre>
95    *
96    * <code>bool has_credential = 3;</code>
97    *
98    * @return The hasCredential.
99    */
getHasCredential()100   boolean getHasCredential();
101 
102   public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionSpecCase
getConnectionSpecCase()103       getConnectionSpecCase();
104 }
105