Debian Codegraph @

alloydb/connectors/apiv1alpha/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/v1alpha/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_v1alpha_resources_proto_enumTypes[0].Descriptor()
76 }
77
78 func (MetadataExchangeRequest_AuthType) Type() protoreflect.EnumType {
79 return &file_google_cloud_alloydb_connectors_v1alpha_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_v1alpha_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_v1alpha_resources_proto_enumTypes[1].Descriptor()
129 }
130
131 func (MetadataExchangeResponse_ResponseCode) Type() protoreflect.EnumType {
132 return &file_google_cloud_alloydb_connectors_v1alpha_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_v1alpha_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.v1alpha.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_v1alpha_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_v1alpha_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_v1alpha_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.v1alpha.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_v1alpha_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_v1alpha_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_v1alpha_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_v1alpha_resources_proto protoreflect.FileDescriptor
274
275 var file_google_cloud_alloydb_connectors_v1alpha_resources_proto_rawDesc = []byte{
276 0x0a, 0x37, 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, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
279 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
280 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2e,
281 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
282 0x68, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
283 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
284 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x02, 0x0a, 0x17, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
285 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
286 0x22, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
287 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67,
288 0x65, 0x6e, 0x74, 0x12, 0x66, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65,
289 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x49, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
290 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2e, 0x63, 0x6f,
291 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
292 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
293 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70,
294 0x65, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f,
295 0x61, 0x75, 0x74, 0x68, 0x32, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
296 0x09, 0x52, 0x0b, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x42,
297 0x0a, 0x08, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x55,
298 0x54, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
299 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x42, 0x5f, 0x4e, 0x41, 0x54, 0x49,
300 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x49, 0x41, 0x4d,
301 0x10, 0x02, 0x22, 0xec, 0x01, 0x0a, 0x18, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45,
302 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
303 0x73, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65,
304 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
305 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2e, 0x63, 0x6f,
306 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
307 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
308 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
309 0x73, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
310 0x43, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20,
311 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22,
312 0x40, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12,
313 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x5f, 0x43, 0x4f, 0x44, 0x45,
314 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06,
315 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10,
316 0x02, 0x42, 0x8e, 0x02, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
317 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2e, 0x63,
318 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
319 0x61, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74,
320 0x6f, 0x50, 0x01, 0x5a, 0x4b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
321 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62,
322 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76,
323 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72,
324 0x73, 0x70, 0x62, 0x3b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x70, 0x62,
325 0xaa, 0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
326 0x41, 0x6c, 0x6c, 0x6f, 0x79, 0x44, 0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f,
327 0x72, 0x73, 0x2e, 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x27, 0x47, 0x6f, 0x6f,
328 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x6c, 0x6c, 0x6f, 0x79, 0x44,
329 0x62, 0x5c, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x5c, 0x56, 0x31, 0x61,
330 0x6c, 0x70, 0x68, 0x61, 0xea, 0x02, 0x2b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43,
331 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x6c, 0x6c, 0x6f, 0x79, 0x44, 0x62, 0x3a, 0x3a, 0x43,
332 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70,
333 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
334 }
335
336 var (
337 file_google_cloud_alloydb_connectors_v1alpha_resources_proto_rawDescOnce sync.Once
338 file_google_cloud_alloydb_connectors_v1alpha_resources_proto_rawDescData = file_google_cloud_alloydb_connectors_v1alpha_resources_proto_rawDesc
339 )
340
341 func file_google_cloud_alloydb_connectors_v1alpha_resources_proto_rawDescGZIP() []byte {
342 file_google_cloud_alloydb_connectors_v1alpha_resources_proto_rawDescOnce.Do(func() {
343 file_google_cloud_alloydb_connectors_v1alpha_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_alloydb_connectors_v1alpha_resources_proto_rawDescData)
344 })
345 return file_google_cloud_alloydb_connectors_v1alpha_resources_proto_rawDescData
346 }
347
348 var file_google_cloud_alloydb_connectors_v1alpha_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
349 var file_google_cloud_alloydb_connectors_v1alpha_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
350 var file_google_cloud_alloydb_connectors_v1alpha_resources_proto_goTypes = []any{
351 (MetadataExchangeRequest_AuthType)(0), // 0: google.cloud.alloydb.connectors.v1alpha.MetadataExchangeRequest.AuthType
352 (MetadataExchangeResponse_ResponseCode)(0), // 1: google.cloud.alloydb.connectors.v1alpha.MetadataExchangeResponse.ResponseCode
353 (*MetadataExchangeRequest)(nil), // 2: google.cloud.alloydb.connectors.v1alpha.MetadataExchangeRequest
354 (*MetadataExchangeResponse)(nil), // 3: google.cloud.alloydb.connectors.v1alpha.MetadataExchangeResponse
355 }
356 var file_google_cloud_alloydb_connectors_v1alpha_resources_proto_depIdxs = []int32{
357 0, // 0: google.cloud.alloydb.connectors.v1alpha.MetadataExchangeRequest.auth_type:type_name -> google.cloud.alloydb.connectors.v1alpha.MetadataExchangeRequest.AuthType
358 1, // 1: google.cloud.alloydb.connectors.v1alpha.MetadataExchangeResponse.response_code:type_name -> google.cloud.alloydb.connectors.v1alpha.MetadataExchangeResponse.ResponseCode
359 2, // [2:2] is the sub-list for method output_type
360 2, // [2:2] is the sub-list for method input_type
361 2, // [2:2] is the sub-list for extension type_name
362 2, // [2:2] is the sub-list for extension extendee
363 0, // [0:2] is the sub-list for field type_name
364 }
365
366 func init() { file_google_cloud_alloydb_connectors_v1alpha_resources_proto_init() }
367 func file_google_cloud_alloydb_connectors_v1alpha_resources_proto_init() {
368 if File_google_cloud_alloydb_connectors_v1alpha_resources_proto != nil {
369 return
370 }
371 type x struct{}
372 out := protoimpl.TypeBuilder{
373 File: protoimpl.DescBuilder{
374 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
375 RawDescriptor: file_google_cloud_alloydb_connectors_v1alpha_resources_proto_rawDesc,
376 NumEnums: 2,
377 NumMessages: 2,
378 NumExtensions: 0,
379 NumServices: 0,
380 },
381 GoTypes: file_google_cloud_alloydb_connectors_v1alpha_resources_proto_goTypes,
382 DependencyIndexes: file_google_cloud_alloydb_connectors_v1alpha_resources_proto_depIdxs,
383 EnumInfos: file_google_cloud_alloydb_connectors_v1alpha_resources_proto_enumTypes,
384 MessageInfos: file_google_cloud_alloydb_connectors_v1alpha_resources_proto_msgTypes,
385 }.Build()
386 File_google_cloud_alloydb_connectors_v1alpha_resources_proto = out.File
387 file_google_cloud_alloydb_connectors_v1alpha_resources_proto_rawDesc = nil
388 file_google_cloud_alloydb_connectors_v1alpha_resources_proto_goTypes = nil
389 file_google_cloud_alloydb_connectors_v1alpha_resources_proto_depIdxs = nil
390 }