• 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/run/v2/k8s.min.proto
18 
19 package com.google.cloud.run.v2;
20 
21 public interface CloudSqlInstanceOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.CloudSqlInstance)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The Cloud SQL instance connection names, as can be found in
31    * https://console.cloud.google.com/sql/instances. Visit
32    * https://cloud.google.com/sql/docs/mysql/connect-run for more information on
33    * how to connect Cloud SQL and Cloud Run. Format:
34    * {project}:{location}:{instance}
35    * </pre>
36    *
37    * <code>repeated string instances = 1;</code>
38    *
39    * @return A list containing the instances.
40    */
getInstancesList()41   java.util.List<java.lang.String> getInstancesList();
42   /**
43    *
44    *
45    * <pre>
46    * The Cloud SQL instance connection names, as can be found in
47    * https://console.cloud.google.com/sql/instances. Visit
48    * https://cloud.google.com/sql/docs/mysql/connect-run for more information on
49    * how to connect Cloud SQL and Cloud Run. Format:
50    * {project}:{location}:{instance}
51    * </pre>
52    *
53    * <code>repeated string instances = 1;</code>
54    *
55    * @return The count of instances.
56    */
getInstancesCount()57   int getInstancesCount();
58   /**
59    *
60    *
61    * <pre>
62    * The Cloud SQL instance connection names, as can be found in
63    * https://console.cloud.google.com/sql/instances. Visit
64    * https://cloud.google.com/sql/docs/mysql/connect-run for more information on
65    * how to connect Cloud SQL and Cloud Run. Format:
66    * {project}:{location}:{instance}
67    * </pre>
68    *
69    * <code>repeated string instances = 1;</code>
70    *
71    * @param index The index of the element to return.
72    * @return The instances at the given index.
73    */
getInstances(int index)74   java.lang.String getInstances(int index);
75   /**
76    *
77    *
78    * <pre>
79    * The Cloud SQL instance connection names, as can be found in
80    * https://console.cloud.google.com/sql/instances. Visit
81    * https://cloud.google.com/sql/docs/mysql/connect-run for more information on
82    * how to connect Cloud SQL and Cloud Run. Format:
83    * {project}:{location}:{instance}
84    * </pre>
85    *
86    * <code>repeated string instances = 1;</code>
87    *
88    * @param index The index of the value to return.
89    * @return The bytes of the instances at the given index.
90    */
getInstancesBytes(int index)91   com.google.protobuf.ByteString getInstancesBytes(int index);
92 }
93