Debian Codegraph @

alloydb/connectors/apiv1/connectorspb/resources.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/alloydb/connectors/v1/resources.proto
20
21 package connectorspb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // AuthType contains all supported authentication types.
39 type MetadataExchangeRequest_AuthType int32
40
41 const (
42 // Authentication type is unspecified and DB_NATIVE is used by default
43 MetadataExchangeRequest_AUTH_TYPE_UNSPECIFIED MetadataExchangeRequest_AuthType = 0
44 // Database native authentication (user/password)
45 MetadataExchangeRequest_DB_NATIVE MetadataExchangeRequest_AuthType = 1
46 // Automatic IAM authentication
47 MetadataExchangeRequest_AUTO_IAM MetadataExchangeRequest_AuthType = 2
48 )
49
50 // Enum value maps for MetadataExchangeRequest_AuthType.
51 var (
52 MetadataExchangeRequest_AuthType_name = map[int32]string{
53 0: "AUTH_TYPE_UNSPECIFIED",
54 1: "DB_NATIVE",
55 2: "AUTO_IAM",
56 }
57 MetadataExchangeRequest_AuthType_value = map[string]int32{
58 "AUTH_TYPE_UNSPECIFIED": 0,
59 "DB_NATIVE": 1,
60 "AUTO_IAM": 2,
61 }
62 )
63
64 func (x MetadataExchangeRequest_AuthType) Enum() *MetadataExchangeRequest_AuthType {
65 p := new(MetadataExchangeRequest_AuthType)
66 *p = x
67 return p
68 }
69
70 func (x MetadataExchangeRequest_AuthType) String() string {
71 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
72 }
73
74 func (MetadataExchangeRequest_AuthType) Descriptor() protoreflect.EnumDescriptor {
75 return file_google_cloud_alloydb_connectors_v1_resources_proto_enumTypes[0].Descriptor()
76 }
77
78 func (MetadataExchangeRequest_AuthType) Type() protoreflect.EnumType {
79 return &file_google_cloud_alloydb_connectors_v1_resources_proto_enumTypes[0]
80 }
81
82 func (x MetadataExchangeRequest_AuthType) Number() protoreflect.EnumNumber {
83 return protoreflect.EnumNumber(x)
84 }
85
86 // Deprecated: Use MetadataExchangeRequest_AuthType.Descriptor instead.
87 func (MetadataExchangeRequest_AuthType) EnumDescriptor() ([]byte, []int) {
88 return file_google_cloud_alloydb_connectors_v1_resources_proto_rawDescGZIP(), []int{0, 0}
89 }
90
91 // Response code.
92 type MetadataExchangeResponse_ResponseCode int32
93
94 const (
95 // Unknown response code
96 MetadataExchangeResponse_RESPONSE_CODE_UNSPECIFIED MetadataExchangeResponse_ResponseCode = 0
97 // Success
98 MetadataExchangeResponse_OK MetadataExchangeResponse_ResponseCode = 1
99 // Failure
100 MetadataExchangeResponse_ERROR MetadataExchangeResponse_ResponseCode = 2
101 )
102
103 // Enum value maps for MetadataExchangeResponse_ResponseCode.
104 var (
105 MetadataExchangeResponse_ResponseCode_name = map[int32]string{
106 0: "RESPONSE_CODE_UNSPECIFIED",
107 1: "OK",
108 2: "ERROR",
109 }
110 MetadataExchangeResponse_ResponseCode_value = map[string]int32{
111 "RESPONSE_CODE_UNSPECIFIED": 0,
112 "OK": 1,
113 "ERROR": 2,
114 }
115 )
116
117 func (x MetadataExchangeResponse_ResponseCode) Enum() *MetadataExchangeResponse_ResponseCode {
118 p := new(MetadataExchangeResponse_ResponseCode)
119 *p = x
120 return p
121 }
122
123 func (x MetadataExchangeResponse_ResponseCode) String() string {
124 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
125 }
126
127 func (MetadataExchangeResponse_ResponseCode) Descriptor() protoreflect.EnumDescriptor {
128 return file_google_cloud_alloydb_connectors_v1_resources_proto_enumTypes[1].Descriptor()
129 }
130
131 func (MetadataExchangeResponse_ResponseCode) Type() protoreflect.EnumType {
132 return &file_google_cloud_alloydb_connectors_v1_resources_proto_enumTypes[1]
133 }
134
135 func (x MetadataExchangeResponse_ResponseCode) Number() protoreflect.EnumNumber {
136 return protoreflect.EnumNumber(x)
137 }
138
139 // Deprecated: Use MetadataExchangeResponse_ResponseCode.Descriptor instead.
140 func (MetadataExchangeResponse_ResponseCode) EnumDescriptor() ([]byte, []int) {
141 return file_google_cloud_alloydb_connectors_v1_resources_proto_rawDescGZIP(), []int{1, 0}
142 }
143
144 // Message used by AlloyDB connectors to exchange client and connection metadata
145 // with the server after a successful TLS handshake. This metadata includes an
146 // IAM token, which is used to authenticate users based on their IAM identity.
147 // The sole purpose of this message is for the use of AlloyDB connectors.
148 // Clients should not rely on this message directly as there can be breaking
149 // changes in the future.
150 type MetadataExchangeRequest struct {
151 state protoimpl.MessageState
152 sizeCache protoimpl.SizeCache
153 unknownFields protoimpl.UnknownFields
154
155 // Optional. Connector information.
156 UserAgent string `protobuf:"bytes,1,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
157 // Authentication type.
158 AuthType MetadataExchangeRequest_AuthType `protobuf:"varint,2,opt,name=auth_type,json=authType,proto3,enum=google.cloud.alloydb.connectors.v1.MetadataExchangeRequest_AuthType" json:"auth_type,omitempty"`
159 // IAM token used for both IAM user authentiation and
160 // `alloydb.instances.connect` permission check.
161 Oauth2Token string `protobuf:"bytes,3,opt,name=oauth2_token,json=oauth2Token,proto3" json:"oauth2_token,omitempty"`
162 }
163
164 func (x *MetadataExchangeRequest) Reset() {
165 *x = MetadataExchangeRequest{}
166 mi := &file_google_cloud_alloydb_connectors_v1_resources_proto_msgTypes[0]
167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
168 ms.StoreMessageInfo(mi)
169 }
170
171 func (x *MetadataExchangeRequest) String() string {
172 return protoimpl.X.MessageStringOf(x)
173 }
174
175 func (*MetadataExchangeRequest) ProtoMessage() {}
176
177 func (x *MetadataExchangeRequest) ProtoReflect() protoreflect.Message {
178 mi := &file_google_cloud_alloydb_connectors_v1_resources_proto_msgTypes[0]
179 if x != nil {
180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
181 if ms.LoadMessageInfo() == nil {
182 ms.StoreMessageInfo(mi)
183 }
184 return ms
185 }
186 return mi.MessageOf(x)
187 }
188
189 // Deprecated: Use MetadataExchangeRequest.ProtoReflect.Descriptor instead.
190 func (*MetadataExchangeRequest) Descriptor() ([]byte, []int) {
191 return file_google_cloud_alloydb_connectors_v1_resources_proto_rawDescGZIP(), []int{0}
192 }
193
194 func (x *MetadataExchangeRequest) GetUserAgent() string {
195 if x != nil {
196 return x.UserAgent
197 }
198 return ""
199 }
200
201 func (x *MetadataExchangeRequest) GetAuthType() MetadataExchangeRequest_AuthType {
202 if x != nil {
203 return x.AuthType
204 }
205 return MetadataExchangeRequest_AUTH_TYPE_UNSPECIFIED
206 }
207
208 func (x *MetadataExchangeRequest) GetOauth2Token() string {
209 if x != nil {
210 return x.Oauth2Token
211 }
212 return ""
213 }
214
215 // Message for response to metadata exchange request. The sole purpose of this
216 // message is for the use of AlloyDB connectors. Clients should not rely on this
217 // message directly as there can be breaking changes in the future.
218 type MetadataExchangeResponse struct {
219 state protoimpl.MessageState
220 sizeCache protoimpl.SizeCache
221 unknownFields protoimpl.UnknownFields
222
223 // Response code.
224 ResponseCode MetadataExchangeResponse_ResponseCode `protobuf:"varint,1,opt,name=response_code,json=responseCode,proto3,enum=google.cloud.alloydb.connectors.v1.MetadataExchangeResponse_ResponseCode" json:"response_code,omitempty"`
225 // Optional. Error message.
226 Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
227 }
228
229 func (x *MetadataExchangeResponse) Reset() {
230 *x = MetadataExchangeResponse{}
231 mi := &file_google_cloud_alloydb_connectors_v1_resources_proto_msgTypes[1]
232 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
233 ms.StoreMessageInfo(mi)
234 }
235
236 func (x *MetadataExchangeResponse) String() string {
237 return protoimpl.X.MessageStringOf(x)
238 }
239
240 func (*MetadataExchangeResponse) ProtoMessage() {}
241
242 func (x *MetadataExchangeResponse) ProtoReflect() protoreflect.Message {
243 mi := &file_google_cloud_alloydb_connectors_v1_resources_proto_msgTypes[1]
244 if x != nil {
245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
246 if ms.LoadMessageInfo() == nil {
247 ms.StoreMessageInfo(mi)
248 }
249 return ms
250 }
251 return mi.MessageOf(x)
252 }
253
254 // Deprecated: Use MetadataExchangeResponse.ProtoReflect.Descriptor instead.
255 func (*MetadataExchangeResponse) Descriptor() ([]byte, []int) {
256 return file_google_cloud_alloydb_connectors_v1_resources_proto_rawDescGZIP(), []int{1}
257 }
258
259 func (x *MetadataExchangeResponse) GetResponseCode() MetadataExchangeResponse_ResponseCode {
260 if x != nil {
261 return x.ResponseCode
262 }
263 return MetadataExchangeResponse_RESPONSE_CODE_UNSPECIFIED
264 }
265
266 func (x *MetadataExchangeResponse) GetError() string {
267 if x != nil {
268 return x.Error
269 }
270 return ""
271 }
272
273 var File_google_cloud_alloydb_connectors_v1_resources_proto protoreflect.FileDescriptor
274
275 var file_google_cloud_alloydb_connectors_v1_resources_proto_rawDesc = []byte{
276 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
277 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72,
278 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70,
279 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
280 0x75, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
281 0x63, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
282 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
283 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x02, 0x0a, 0x17, 0x4d, 0x65,
284 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65,
285 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67,
286 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09,
287 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x61, 0x0a, 0x09, 0x61, 0x75, 0x74,
288 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x44, 0x2e, 0x67,
289 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x6f,
290 0x79, 0x64, 0x62, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x76,
291 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e,
292 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79,
293 0x70, 0x65, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c,
294 0x6f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01,
295 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22,
296 0x42, 0x0a, 0x08, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x41,
297 0x55, 0x54, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
298 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x42, 0x5f, 0x4e, 0x41, 0x54,
299 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x49, 0x41,
300 0x4d, 0x10, 0x02, 0x22, 0xe7, 0x01, 0x0a, 0x18, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
301 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
302 0x12, 0x6e, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64,
303 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x49, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
304 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2e, 0x63,
305 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74,
306 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73,
307 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f,
308 0x64, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x64, 0x65,
309 0x12, 0x19, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
310 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x40, 0x0a, 0x0c, 0x52,
311 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x52,
312 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53,
313 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b,
314 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x42, 0xf5, 0x01,
315 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
316 0x75, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
317 0x63, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
318 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x63, 0x6c, 0x6f, 0x75,
319 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
320 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f,
321 0x72, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
322 0x6f, 0x72, 0x73, 0x70, 0x62, 0x3b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73,
323 0x70, 0x62, 0xaa, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75,
324 0x64, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x79, 0x44, 0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
325 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
326 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x6c, 0x6c, 0x6f, 0x79, 0x44, 0x62, 0x5c, 0x43,
327 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x26, 0x47,
328 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x6c,
329 0x6c, 0x6f, 0x79, 0x44, 0x62, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72,
330 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
331 }
332
333 var (
334 file_google_cloud_alloydb_connectors_v1_resources_proto_rawDescOnce sync.Once
335 file_google_cloud_alloydb_connectors_v1_resources_proto_rawDescData = file_google_cloud_alloydb_connectors_v1_resources_proto_rawDesc
336 )
337
338 func file_google_cloud_alloydb_connectors_v1_resources_proto_rawDescGZIP() []byte {
339 file_google_cloud_alloydb_connectors_v1_resources_proto_rawDescOnce.Do(func() {
340 file_google_cloud_alloydb_connectors_v1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_alloydb_connectors_v1_resources_proto_rawDescData)
341 })
342 return file_google_cloud_alloydb_connectors_v1_resources_proto_rawDescData
343 }
344
345 var file_google_cloud_alloydb_connectors_v1_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
346 var file_google_cloud_alloydb_connectors_v1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
347 var file_google_cloud_alloydb_connectors_v1_resources_proto_goTypes = []any{
348 (MetadataExchangeRequest_AuthType)(0), // 0: google.cloud.alloydb.connectors.v1.MetadataExchangeRequest.AuthType
349 (MetadataExchangeResponse_ResponseCode)(0), // 1: google.cloud.alloydb.connectors.v1.MetadataExchangeResponse.ResponseCode
350 (*MetadataExchangeRequest)(nil), // 2: google.cloud.alloydb.connectors.v1.MetadataExchangeRequest
351 (*MetadataExchangeResponse)(nil), // 3: google.cloud.alloydb.connectors.v1.MetadataExchangeResponse
352 }
353 var file_google_cloud_alloydb_connectors_v1_resources_proto_depIdxs = []int32{
354 0, // 0: google.cloud.alloydb.connectors.v1.MetadataExchangeRequest.auth_type:type_name -> google.cloud.alloydb.connectors.v1.MetadataExchangeRequest.AuthType
355 1, // 1: google.cloud.alloydb.connectors.v1.MetadataExchangeResponse.response_code:type_name -> google.cloud.alloydb.connectors.v1.MetadataExchangeResponse.ResponseCode
356 2, // [2:2] is the sub-list for method output_type
357 2, // [2:2] is the sub-list for method input_type
358 2, // [2:2] is the sub-list for extension type_name
359 2, // [2:2] is the sub-list for extension extendee
360 0, // [0:2] is the sub-list for field type_name
361 }
362
363 func init() { file_google_cloud_alloydb_connectors_v1_resources_proto_init() }
364 func file_google_cloud_alloydb_connectors_v1_resources_proto_init() {
365 if File_google_cloud_alloydb_connectors_v1_resources_proto != nil {
366 return
367 }
368 type x struct{}
369 out := protoimpl.TypeBuilder{
370 File: protoimpl.DescBuilder{
371 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
372 RawDescriptor: file_google_cloud_alloydb_connectors_v1_resources_proto_rawDesc,
373 NumEnums: 2,
374 NumMessages: 2,
375 NumExtensions: 0,
376 NumServices: 0,
377 },
378 GoTypes: file_google_cloud_alloydb_connectors_v1_resources_proto_goTypes,
379 DependencyIndexes: file_google_cloud_alloydb_connectors_v1_resources_proto_depIdxs,
380 EnumInfos: file_google_cloud_alloydb_connectors_v1_resources_proto_enumTypes,
381 MessageInfos: file_google_cloud_alloydb_connectors_v1_resources_proto_msgTypes,
382 }.Build()
383 File_google_cloud_alloydb_connectors_v1_resources_proto = out.File
384 file_google_cloud_alloydb_connectors_v1_resources_proto_rawDesc = nil
385 file_google_cloud_alloydb_connectors_v1_resources_proto_goTypes = nil
386 file_google_cloud_alloydb_connectors_v1_resources_proto_depIdxs = nil
387 }