| 1 |
// Copyright 2021 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.26.0 |
| 18 |
// protoc v3.12.2 |
| 19 |
// source: google/cloud/sql/v1/cloud_sql_ssl_certs.proto |
| 20 |
|
| 21 |
package sql |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
reflect "reflect" |
| 26 |
sync "sync" |
| 27 |
|
| 28 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 29 |
grpc "google.golang.org/grpc" |
| 30 |
codes "google.golang.org/grpc/codes" |
| 31 |
status "google.golang.org/grpc/status" |
| 32 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 33 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 34 |
) |
| 35 |
|
| 36 |
const ( |
| 37 |
// Verify that this generated code is sufficiently up-to-date. |
| 38 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 39 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 41 |
) |
| 42 |
|
| 43 |
type SqlSslCertsDeleteRequest struct { |
| 44 |
state protoimpl.MessageState |
| 45 |
sizeCache protoimpl.SizeCache |
| 46 |
unknownFields protoimpl.UnknownFields |
| 47 |
|
| 48 |
// Cloud SQL instance ID. This does not include the project ID. |
| 49 |
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` |
| 50 |
// Project ID of the project that contains the instance. |
| 51 |
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` |
| 52 |
// Sha1 FingerPrint. |
| 53 |
Sha1Fingerprint string `protobuf:"bytes,3,opt,name=sha1_fingerprint,json=sha1Fingerprint,proto3" json:"sha1_fingerprint,omitempty"` |
| 54 |
} |
| 55 |
|
| 56 |
func (x *SqlSslCertsDeleteRequest) Reset() { |
| 57 |
*x = SqlSslCertsDeleteRequest{} |
| 58 |
if protoimpl.UnsafeEnabled { |
| 59 |
mi := &file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[0] |
| 60 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 61 |
ms.StoreMessageInfo(mi) |
| 62 |
} |
| 63 |
} |
| 64 |
|
| 65 |
func (x *SqlSslCertsDeleteRequest) String() string { |
| 66 |
return protoimpl.X.MessageStringOf(x) |
| 67 |
} |
| 68 |
|
| 69 |
func (*SqlSslCertsDeleteRequest) ProtoMessage() {} |
| 70 |
|
| 71 |
func (x *SqlSslCertsDeleteRequest) ProtoReflect() protoreflect.Message { |
| 72 |
mi := &file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[0] |
| 73 |
if protoimpl.UnsafeEnabled && x != nil { |
| 74 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 75 |
if ms.LoadMessageInfo() == nil { |
| 76 |
ms.StoreMessageInfo(mi) |
| 77 |
} |
| 78 |
return ms |
| 79 |
} |
| 80 |
return mi.MessageOf(x) |
| 81 |
} |
| 82 |
|
| 83 |
// Deprecated: Use SqlSslCertsDeleteRequest.ProtoReflect.Descriptor instead. |
| 84 |
func (*SqlSslCertsDeleteRequest) Descriptor() ([]byte, []int) { |
| 85 |
return file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDescGZIP(), []int{0} |
| 86 |
} |
| 87 |
|
| 88 |
func (x *SqlSslCertsDeleteRequest) GetInstance() string { |
| 89 |
if x != nil { |
| 90 |
return x.Instance |
| 91 |
} |
| 92 |
return "" |
| 93 |
} |
| 94 |
|
| 95 |
func (x *SqlSslCertsDeleteRequest) GetProject() string { |
| 96 |
if x != nil { |
| 97 |
return x.Project |
| 98 |
} |
| 99 |
return "" |
| 100 |
} |
| 101 |
|
| 102 |
func (x *SqlSslCertsDeleteRequest) GetSha1Fingerprint() string { |
| 103 |
if x != nil { |
| 104 |
return x.Sha1Fingerprint |
| 105 |
} |
| 106 |
return "" |
| 107 |
} |
| 108 |
|
| 109 |
type SqlSslCertsGetRequest struct { |
| 110 |
state protoimpl.MessageState |
| 111 |
sizeCache protoimpl.SizeCache |
| 112 |
unknownFields protoimpl.UnknownFields |
| 113 |
|
| 114 |
// Cloud SQL instance ID. This does not include the project ID. |
| 115 |
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` |
| 116 |
// Project ID of the project that contains the instance. |
| 117 |
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` |
| 118 |
// Sha1 FingerPrint. |
| 119 |
Sha1Fingerprint string `protobuf:"bytes,3,opt,name=sha1_fingerprint,json=sha1Fingerprint,proto3" json:"sha1_fingerprint,omitempty"` |
| 120 |
} |
| 121 |
|
| 122 |
func (x *SqlSslCertsGetRequest) Reset() { |
| 123 |
*x = SqlSslCertsGetRequest{} |
| 124 |
if protoimpl.UnsafeEnabled { |
| 125 |
mi := &file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[1] |
| 126 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 127 |
ms.StoreMessageInfo(mi) |
| 128 |
} |
| 129 |
} |
| 130 |
|
| 131 |
func (x *SqlSslCertsGetRequest) String() string { |
| 132 |
return protoimpl.X.MessageStringOf(x) |
| 133 |
} |
| 134 |
|
| 135 |
func (*SqlSslCertsGetRequest) ProtoMessage() {} |
| 136 |
|
| 137 |
func (x *SqlSslCertsGetRequest) ProtoReflect() protoreflect.Message { |
| 138 |
mi := &file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[1] |
| 139 |
if protoimpl.UnsafeEnabled && x != nil { |
| 140 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 141 |
if ms.LoadMessageInfo() == nil { |
| 142 |
ms.StoreMessageInfo(mi) |
| 143 |
} |
| 144 |
return ms |
| 145 |
} |
| 146 |
return mi.MessageOf(x) |
| 147 |
} |
| 148 |
|
| 149 |
// Deprecated: Use SqlSslCertsGetRequest.ProtoReflect.Descriptor instead. |
| 150 |
func (*SqlSslCertsGetRequest) Descriptor() ([]byte, []int) { |
| 151 |
return file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDescGZIP(), []int{1} |
| 152 |
} |
| 153 |
|
| 154 |
func (x *SqlSslCertsGetRequest) GetInstance() string { |
| 155 |
if x != nil { |
| 156 |
return x.Instance |
| 157 |
} |
| 158 |
return "" |
| 159 |
} |
| 160 |
|
| 161 |
func (x *SqlSslCertsGetRequest) GetProject() string { |
| 162 |
if x != nil { |
| 163 |
return x.Project |
| 164 |
} |
| 165 |
return "" |
| 166 |
} |
| 167 |
|
| 168 |
func (x *SqlSslCertsGetRequest) GetSha1Fingerprint() string { |
| 169 |
if x != nil { |
| 170 |
return x.Sha1Fingerprint |
| 171 |
} |
| 172 |
return "" |
| 173 |
} |
| 174 |
|
| 175 |
type SqlSslCertsInsertRequest struct { |
| 176 |
state protoimpl.MessageState |
| 177 |
sizeCache protoimpl.SizeCache |
| 178 |
unknownFields protoimpl.UnknownFields |
| 179 |
|
| 180 |
// Cloud SQL instance ID. This does not include the project ID. |
| 181 |
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` |
| 182 |
// Project ID of the project that contains the instance. |
| 183 |
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` |
| 184 |
Body *SslCertsInsertRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"` |
| 185 |
} |
| 186 |
|
| 187 |
func (x *SqlSslCertsInsertRequest) Reset() { |
| 188 |
*x = SqlSslCertsInsertRequest{} |
| 189 |
if protoimpl.UnsafeEnabled { |
| 190 |
mi := &file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[2] |
| 191 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 192 |
ms.StoreMessageInfo(mi) |
| 193 |
} |
| 194 |
} |
| 195 |
|
| 196 |
func (x *SqlSslCertsInsertRequest) String() string { |
| 197 |
return protoimpl.X.MessageStringOf(x) |
| 198 |
} |
| 199 |
|
| 200 |
func (*SqlSslCertsInsertRequest) ProtoMessage() {} |
| 201 |
|
| 202 |
func (x *SqlSslCertsInsertRequest) ProtoReflect() protoreflect.Message { |
| 203 |
mi := &file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[2] |
| 204 |
if protoimpl.UnsafeEnabled && x != nil { |
| 205 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 206 |
if ms.LoadMessageInfo() == nil { |
| 207 |
ms.StoreMessageInfo(mi) |
| 208 |
} |
| 209 |
return ms |
| 210 |
} |
| 211 |
return mi.MessageOf(x) |
| 212 |
} |
| 213 |
|
| 214 |
// Deprecated: Use SqlSslCertsInsertRequest.ProtoReflect.Descriptor instead. |
| 215 |
func (*SqlSslCertsInsertRequest) Descriptor() ([]byte, []int) { |
| 216 |
return file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDescGZIP(), []int{2} |
| 217 |
} |
| 218 |
|
| 219 |
func (x *SqlSslCertsInsertRequest) GetInstance() string { |
| 220 |
if x != nil { |
| 221 |
return x.Instance |
| 222 |
} |
| 223 |
return "" |
| 224 |
} |
| 225 |
|
| 226 |
func (x *SqlSslCertsInsertRequest) GetProject() string { |
| 227 |
if x != nil { |
| 228 |
return x.Project |
| 229 |
} |
| 230 |
return "" |
| 231 |
} |
| 232 |
|
| 233 |
func (x *SqlSslCertsInsertRequest) GetBody() *SslCertsInsertRequest { |
| 234 |
if x != nil { |
| 235 |
return x.Body |
| 236 |
} |
| 237 |
return nil |
| 238 |
} |
| 239 |
|
| 240 |
type SqlSslCertsListRequest struct { |
| 241 |
state protoimpl.MessageState |
| 242 |
sizeCache protoimpl.SizeCache |
| 243 |
unknownFields protoimpl.UnknownFields |
| 244 |
|
| 245 |
// Cloud SQL instance ID. This does not include the project ID. |
| 246 |
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` |
| 247 |
// Project ID of the project that contains the instance. |
| 248 |
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` |
| 249 |
} |
| 250 |
|
| 251 |
func (x *SqlSslCertsListRequest) Reset() { |
| 252 |
*x = SqlSslCertsListRequest{} |
| 253 |
if protoimpl.UnsafeEnabled { |
| 254 |
mi := &file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[3] |
| 255 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 256 |
ms.StoreMessageInfo(mi) |
| 257 |
} |
| 258 |
} |
| 259 |
|
| 260 |
func (x *SqlSslCertsListRequest) String() string { |
| 261 |
return protoimpl.X.MessageStringOf(x) |
| 262 |
} |
| 263 |
|
| 264 |
func (*SqlSslCertsListRequest) ProtoMessage() {} |
| 265 |
|
| 266 |
func (x *SqlSslCertsListRequest) ProtoReflect() protoreflect.Message { |
| 267 |
mi := &file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[3] |
| 268 |
if protoimpl.UnsafeEnabled && x != nil { |
| 269 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 270 |
if ms.LoadMessageInfo() == nil { |
| 271 |
ms.StoreMessageInfo(mi) |
| 272 |
} |
| 273 |
return ms |
| 274 |
} |
| 275 |
return mi.MessageOf(x) |
| 276 |
} |
| 277 |
|
| 278 |
// Deprecated: Use SqlSslCertsListRequest.ProtoReflect.Descriptor instead. |
| 279 |
func (*SqlSslCertsListRequest) Descriptor() ([]byte, []int) { |
| 280 |
return file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDescGZIP(), []int{3} |
| 281 |
} |
| 282 |
|
| 283 |
func (x *SqlSslCertsListRequest) GetInstance() string { |
| 284 |
if x != nil { |
| 285 |
return x.Instance |
| 286 |
} |
| 287 |
return "" |
| 288 |
} |
| 289 |
|
| 290 |
func (x *SqlSslCertsListRequest) GetProject() string { |
| 291 |
if x != nil { |
| 292 |
return x.Project |
| 293 |
} |
| 294 |
return "" |
| 295 |
} |
| 296 |
|
| 297 |
// SslCerts insert request. |
| 298 |
type SslCertsInsertRequest struct { |
| 299 |
state protoimpl.MessageState |
| 300 |
sizeCache protoimpl.SizeCache |
| 301 |
unknownFields protoimpl.UnknownFields |
| 302 |
|
| 303 |
// User supplied name. Must be a distinct name from the other certificates |
| 304 |
// for this instance. |
| 305 |
CommonName string `protobuf:"bytes,1,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"` |
| 306 |
} |
| 307 |
|
| 308 |
func (x *SslCertsInsertRequest) Reset() { |
| 309 |
*x = SslCertsInsertRequest{} |
| 310 |
if protoimpl.UnsafeEnabled { |
| 311 |
mi := &file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[4] |
| 312 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 313 |
ms.StoreMessageInfo(mi) |
| 314 |
} |
| 315 |
} |
| 316 |
|
| 317 |
func (x *SslCertsInsertRequest) String() string { |
| 318 |
return protoimpl.X.MessageStringOf(x) |
| 319 |
} |
| 320 |
|
| 321 |
func (*SslCertsInsertRequest) ProtoMessage() {} |
| 322 |
|
| 323 |
func (x *SslCertsInsertRequest) ProtoReflect() protoreflect.Message { |
| 324 |
mi := &file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[4] |
| 325 |
if protoimpl.UnsafeEnabled && x != nil { |
| 326 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 327 |
if ms.LoadMessageInfo() == nil { |
| 328 |
ms.StoreMessageInfo(mi) |
| 329 |
} |
| 330 |
return ms |
| 331 |
} |
| 332 |
return mi.MessageOf(x) |
| 333 |
} |
| 334 |
|
| 335 |
// Deprecated: Use SslCertsInsertRequest.ProtoReflect.Descriptor instead. |
| 336 |
func (*SslCertsInsertRequest) Descriptor() ([]byte, []int) { |
| 337 |
return file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDescGZIP(), []int{4} |
| 338 |
} |
| 339 |
|
| 340 |
func (x *SslCertsInsertRequest) GetCommonName() string { |
| 341 |
if x != nil { |
| 342 |
return x.CommonName |
| 343 |
} |
| 344 |
return "" |
| 345 |
} |
| 346 |
|
| 347 |
// SslCert insert response. |
| 348 |
type SslCertsInsertResponse struct { |
| 349 |
state protoimpl.MessageState |
| 350 |
sizeCache protoimpl.SizeCache |
| 351 |
unknownFields protoimpl.UnknownFields |
| 352 |
|
| 353 |
// This is always **sql#sslCertsInsert**. |
| 354 |
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` |
| 355 |
// The operation to track the ssl certs insert request. |
| 356 |
Operation *Operation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` |
| 357 |
// The server Certificate Authority's certificate. If this is missing you can |
| 358 |
// force a new one to be generated by calling resetSslConfig method on |
| 359 |
// instances resource. |
| 360 |
ServerCaCert *SslCert `protobuf:"bytes,3,opt,name=server_ca_cert,json=serverCaCert,proto3" json:"server_ca_cert,omitempty"` |
| 361 |
// The new client certificate and private key. |
| 362 |
ClientCert *SslCertDetail `protobuf:"bytes,4,opt,name=client_cert,json=clientCert,proto3" json:"client_cert,omitempty"` |
| 363 |
} |
| 364 |
|
| 365 |
func (x *SslCertsInsertResponse) Reset() { |
| 366 |
*x = SslCertsInsertResponse{} |
| 367 |
if protoimpl.UnsafeEnabled { |
| 368 |
mi := &file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[5] |
| 369 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 370 |
ms.StoreMessageInfo(mi) |
| 371 |
} |
| 372 |
} |
| 373 |
|
| 374 |
func (x *SslCertsInsertResponse) String() string { |
| 375 |
return protoimpl.X.MessageStringOf(x) |
| 376 |
} |
| 377 |
|
| 378 |
func (*SslCertsInsertResponse) ProtoMessage() {} |
| 379 |
|
| 380 |
func (x *SslCertsInsertResponse) ProtoReflect() protoreflect.Message { |
| 381 |
mi := &file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[5] |
| 382 |
if protoimpl.UnsafeEnabled && x != nil { |
| 383 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 384 |
if ms.LoadMessageInfo() == nil { |
| 385 |
ms.StoreMessageInfo(mi) |
| 386 |
} |
| 387 |
return ms |
| 388 |
} |
| 389 |
return mi.MessageOf(x) |
| 390 |
} |
| 391 |
|
| 392 |
// Deprecated: Use SslCertsInsertResponse.ProtoReflect.Descriptor instead. |
| 393 |
func (*SslCertsInsertResponse) Descriptor() ([]byte, []int) { |
| 394 |
return file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDescGZIP(), []int{5} |
| 395 |
} |
| 396 |
|
| 397 |
func (x *SslCertsInsertResponse) GetKind() string { |
| 398 |
if x != nil { |
| 399 |
return x.Kind |
| 400 |
} |
| 401 |
return "" |
| 402 |
} |
| 403 |
|
| 404 |
func (x *SslCertsInsertResponse) GetOperation() *Operation { |
| 405 |
if x != nil { |
| 406 |
return x.Operation |
| 407 |
} |
| 408 |
return nil |
| 409 |
} |
| 410 |
|
| 411 |
func (x *SslCertsInsertResponse) GetServerCaCert() *SslCert { |
| 412 |
if x != nil { |
| 413 |
return x.ServerCaCert |
| 414 |
} |
| 415 |
return nil |
| 416 |
} |
| 417 |
|
| 418 |
func (x *SslCertsInsertResponse) GetClientCert() *SslCertDetail { |
| 419 |
if x != nil { |
| 420 |
return x.ClientCert |
| 421 |
} |
| 422 |
return nil |
| 423 |
} |
| 424 |
|
| 425 |
// SslCerts list response. |
| 426 |
type SslCertsListResponse struct { |
| 427 |
state protoimpl.MessageState |
| 428 |
sizeCache protoimpl.SizeCache |
| 429 |
unknownFields protoimpl.UnknownFields |
| 430 |
|
| 431 |
// This is always **sql#sslCertsList**. |
| 432 |
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` |
| 433 |
// List of client certificates for the instance. |
| 434 |
Items []*SslCert `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` |
| 435 |
} |
| 436 |
|
| 437 |
func (x *SslCertsListResponse) Reset() { |
| 438 |
*x = SslCertsListResponse{} |
| 439 |
if protoimpl.UnsafeEnabled { |
| 440 |
mi := &file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[6] |
| 441 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 442 |
ms.StoreMessageInfo(mi) |
| 443 |
} |
| 444 |
} |
| 445 |
|
| 446 |
func (x *SslCertsListResponse) String() string { |
| 447 |
return protoimpl.X.MessageStringOf(x) |
| 448 |
} |
| 449 |
|
| 450 |
func (*SslCertsListResponse) ProtoMessage() {} |
| 451 |
|
| 452 |
func (x *SslCertsListResponse) ProtoReflect() protoreflect.Message { |
| 453 |
mi := &file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[6] |
| 454 |
if protoimpl.UnsafeEnabled && x != nil { |
| 455 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 456 |
if ms.LoadMessageInfo() == nil { |
| 457 |
ms.StoreMessageInfo(mi) |
| 458 |
} |
| 459 |
return ms |
| 460 |
} |
| 461 |
return mi.MessageOf(x) |
| 462 |
} |
| 463 |
|
| 464 |
// Deprecated: Use SslCertsListResponse.ProtoReflect.Descriptor instead. |
| 465 |
func (*SslCertsListResponse) Descriptor() ([]byte, []int) { |
| 466 |
return file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDescGZIP(), []int{6} |
| 467 |
} |
| 468 |
|
| 469 |
func (x *SslCertsListResponse) GetKind() string { |
| 470 |
if x != nil { |
| 471 |
return x.Kind |
| 472 |
} |
| 473 |
return "" |
| 474 |
} |
| 475 |
|
| 476 |
func (x *SslCertsListResponse) GetItems() []*SslCert { |
| 477 |
if x != nil { |
| 478 |
return x.Items |
| 479 |
} |
| 480 |
return nil |
| 481 |
} |
| 482 |
|
| 483 |
var File_google_cloud_sql_v1_cloud_sql_ssl_certs_proto protoreflect.FileDescriptor |
| 484 |
|
| 485 |
var file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDesc = []byte{ |
| 486 |
0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, |
| 487 |
0x71, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x71, 0x6c, 0x5f, |
| 488 |
0x73, 0x73, 0x6c, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 489 |
0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, |
| 490 |
0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, |
| 491 |
0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, |
| 492 |
0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 493 |
0x2f, 0x73, 0x71, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x71, |
| 494 |
0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 495 |
0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, |
| 496 |
0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x18, 0x53, 0x71, |
| 497 |
0x6c, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, |
| 498 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, |
| 499 |
0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, |
| 500 |
0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, |
| 501 |
0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x29, 0x0a, 0x10, |
| 502 |
0x73, 0x68, 0x61, 0x31, 0x5f, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, |
| 503 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x68, 0x61, 0x31, 0x46, 0x69, 0x6e, 0x67, |
| 504 |
0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x22, 0x78, 0x0a, 0x15, 0x53, 0x71, 0x6c, 0x53, 0x73, |
| 505 |
0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 506 |
0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, |
| 507 |
0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, |
| 508 |
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, |
| 509 |
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x68, 0x61, 0x31, 0x5f, 0x66, |
| 510 |
0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, |
| 511 |
0x52, 0x0f, 0x73, 0x68, 0x61, 0x31, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, |
| 512 |
0x74, 0x22, 0x90, 0x01, 0x0a, 0x18, 0x53, 0x71, 0x6c, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, |
| 513 |
0x73, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, |
| 514 |
0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 515 |
0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, |
| 516 |
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, |
| 517 |
0x6a, 0x65, 0x63, 0x74, 0x12, 0x3e, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x64, 0x20, 0x01, |
| 518 |
0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 519 |
0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, |
| 520 |
0x73, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, |
| 521 |
0x62, 0x6f, 0x64, 0x79, 0x22, 0x4e, 0x0a, 0x16, 0x53, 0x71, 0x6c, 0x53, 0x73, 0x6c, 0x43, 0x65, |
| 522 |
0x72, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, |
| 523 |
0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 524 |
0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, |
| 525 |
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, |
| 526 |
0x6a, 0x65, 0x63, 0x74, 0x22, 0x38, 0x0a, 0x15, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, |
| 527 |
0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, |
| 528 |
0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, |
| 529 |
0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xf3, |
| 530 |
0x01, 0x0a, 0x16, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x49, 0x6e, 0x73, 0x65, 0x72, |
| 531 |
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, |
| 532 |
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x3c, 0x0a, |
| 533 |
0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 534 |
0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 535 |
0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 536 |
0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x0e, 0x73, |
| 537 |
0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x61, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x18, 0x03, 0x20, |
| 538 |
0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 539 |
0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, |
| 540 |
0x74, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x61, 0x43, 0x65, 0x72, 0x74, 0x12, |
| 541 |
0x43, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x18, 0x04, |
| 542 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 543 |
0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x73, 0x6c, 0x43, 0x65, |
| 544 |
0x72, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, |
| 545 |
0x43, 0x65, 0x72, 0x74, 0x22, 0x5e, 0x0a, 0x14, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, |
| 546 |
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, |
| 547 |
0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, |
| 548 |
0x12, 0x32, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 549 |
0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, |
| 550 |
0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x05, 0x69, |
| 551 |
0x74, 0x65, 0x6d, 0x73, 0x32, 0xaa, 0x06, 0x0a, 0x12, 0x53, 0x71, 0x6c, 0x53, 0x73, 0x6c, 0x43, |
| 552 |
0x65, 0x72, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa8, 0x01, 0x0a, 0x06, |
| 553 |
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 554 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x71, 0x6c, |
| 555 |
0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, |
| 556 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 557 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, |
| 558 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x49, 0x2a, 0x47, 0x2f, |
| 559 |
0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, |
| 560 |
0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, |
| 561 |
0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x73, 0x73, 0x6c, 0x43, 0x65, |
| 562 |
0x72, 0x74, 0x73, 0x2f, 0x7b, 0x73, 0x68, 0x61, 0x31, 0x5f, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, |
| 563 |
0x70, 0x72, 0x69, 0x6e, 0x74, 0x7d, 0x12, 0xa0, 0x01, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x2a, |
| 564 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, |
| 565 |
0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x71, 0x6c, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, |
| 566 |
0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, |
| 567 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, |
| 568 |
0x2e, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x22, 0x4f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x49, |
| 569 |
0x12, 0x47, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, |
| 570 |
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, |
| 571 |
0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x73, 0x73, |
| 572 |
0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x7b, 0x73, 0x68, 0x61, 0x31, 0x5f, 0x66, 0x69, 0x6e, |
| 573 |
0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x7d, 0x12, 0xa8, 0x01, 0x0a, 0x06, 0x49, 0x6e, |
| 574 |
0x73, 0x65, 0x72, 0x74, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 575 |
0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x71, 0x6c, 0x53, 0x73, |
| 576 |
0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, |
| 577 |
0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 578 |
0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, |
| 579 |
0x74, 0x73, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
| 580 |
0x22, 0x42, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x22, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, |
| 581 |
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, |
| 582 |
0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, |
| 583 |
0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x3a, 0x04, |
| 584 |
0x62, 0x6f, 0x64, 0x79, 0x12, 0x9c, 0x01, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2b, 0x2e, |
| 585 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, |
| 586 |
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x71, 0x6c, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x4c, |
| 587 |
0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, |
| 588 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, |
| 589 |
0x2e, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, |
| 590 |
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, |
| 591 |
0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, |
| 592 |
0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, |
| 593 |
0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x73, 0x73, 0x6c, 0x43, 0x65, |
| 594 |
0x72, 0x74, 0x73, 0x1a, 0x7c, 0xca, 0x41, 0x17, 0x73, 0x71, 0x6c, 0x61, 0x64, 0x6d, 0x69, 0x6e, |
| 595 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, |
| 596 |
0x41, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, |
| 597 |
0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, |
| 598 |
0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, |
| 599 |
0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, |
| 600 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, |
| 601 |
0x2f, 0x73, 0x71, 0x6c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, |
| 602 |
0x6e, 0x42, 0x6a, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 603 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x42, 0x15, 0x43, 0x6c, |
| 604 |
0x6f, 0x75, 0x64, 0x53, 0x71, 0x6c, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x50, 0x72, |
| 605 |
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, |
| 606 |
0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, |
| 607 |
0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, |
| 608 |
0x75, 0x64, 0x2f, 0x73, 0x71, 0x6c, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x71, 0x6c, 0x62, 0x06, 0x70, |
| 609 |
0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 610 |
} |
| 611 |
|
| 612 |
var ( |
| 613 |
file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDescOnce sync.Once |
| 614 |
file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDescData = file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDesc |
| 615 |
) |
| 616 |
|
| 617 |
func file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDescGZIP() []byte { |
| 618 |
file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDescOnce.Do(func() { |
| 619 |
file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDescData) |
| 620 |
}) |
| 621 |
return file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDescData |
| 622 |
} |
| 623 |
|
| 624 |
var file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes = make([]protoimpl.MessageInfo, 7) |
| 625 |
var file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_goTypes = []interface{}{ |
| 626 |
(*SqlSslCertsDeleteRequest)(nil), // 0: google.cloud.sql.v1.SqlSslCertsDeleteRequest |
| 627 |
(*SqlSslCertsGetRequest)(nil), // 1: google.cloud.sql.v1.SqlSslCertsGetRequest |
| 628 |
(*SqlSslCertsInsertRequest)(nil), // 2: google.cloud.sql.v1.SqlSslCertsInsertRequest |
| 629 |
(*SqlSslCertsListRequest)(nil), // 3: google.cloud.sql.v1.SqlSslCertsListRequest |
| 630 |
(*SslCertsInsertRequest)(nil), // 4: google.cloud.sql.v1.SslCertsInsertRequest |
| 631 |
(*SslCertsInsertResponse)(nil), // 5: google.cloud.sql.v1.SslCertsInsertResponse |
| 632 |
(*SslCertsListResponse)(nil), // 6: google.cloud.sql.v1.SslCertsListResponse |
| 633 |
(*Operation)(nil), // 7: google.cloud.sql.v1.Operation |
| 634 |
(*SslCert)(nil), // 8: google.cloud.sql.v1.SslCert |
| 635 |
(*SslCertDetail)(nil), // 9: google.cloud.sql.v1.SslCertDetail |
| 636 |
} |
| 637 |
var file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_depIdxs = []int32{ |
| 638 |
4, // 0: google.cloud.sql.v1.SqlSslCertsInsertRequest.body:type_name -> google.cloud.sql.v1.SslCertsInsertRequest |
| 639 |
7, // 1: google.cloud.sql.v1.SslCertsInsertResponse.operation:type_name -> google.cloud.sql.v1.Operation |
| 640 |
8, // 2: google.cloud.sql.v1.SslCertsInsertResponse.server_ca_cert:type_name -> google.cloud.sql.v1.SslCert |
| 641 |
9, // 3: google.cloud.sql.v1.SslCertsInsertResponse.client_cert:type_name -> google.cloud.sql.v1.SslCertDetail |
| 642 |
8, // 4: google.cloud.sql.v1.SslCertsListResponse.items:type_name -> google.cloud.sql.v1.SslCert |
| 643 |
0, // 5: google.cloud.sql.v1.SqlSslCertsService.Delete:input_type -> google.cloud.sql.v1.SqlSslCertsDeleteRequest |
| 644 |
1, // 6: google.cloud.sql.v1.SqlSslCertsService.Get:input_type -> google.cloud.sql.v1.SqlSslCertsGetRequest |
| 645 |
2, // 7: google.cloud.sql.v1.SqlSslCertsService.Insert:input_type -> google.cloud.sql.v1.SqlSslCertsInsertRequest |
| 646 |
3, // 8: google.cloud.sql.v1.SqlSslCertsService.List:input_type -> google.cloud.sql.v1.SqlSslCertsListRequest |
| 647 |
7, // 9: google.cloud.sql.v1.SqlSslCertsService.Delete:output_type -> google.cloud.sql.v1.Operation |
| 648 |
8, // 10: google.cloud.sql.v1.SqlSslCertsService.Get:output_type -> google.cloud.sql.v1.SslCert |
| 649 |
5, // 11: google.cloud.sql.v1.SqlSslCertsService.Insert:output_type -> google.cloud.sql.v1.SslCertsInsertResponse |
| 650 |
6, // 12: google.cloud.sql.v1.SqlSslCertsService.List:output_type -> google.cloud.sql.v1.SslCertsListResponse |
| 651 |
9, // [9:13] is the sub-list for method output_type |
| 652 |
5, // [5:9] is the sub-list for method input_type |
| 653 |
5, // [5:5] is the sub-list for extension type_name |
| 654 |
5, // [5:5] is the sub-list for extension extendee |
| 655 |
0, // [0:5] is the sub-list for field type_name |
| 656 |
} |
| 657 |
|
| 658 |
func init() { file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_init() } |
| 659 |
func file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_init() { |
| 660 |
if File_google_cloud_sql_v1_cloud_sql_ssl_certs_proto != nil { |
| 661 |
return |
| 662 |
} |
| 663 |
file_google_cloud_sql_v1_cloud_sql_resources_proto_init() |
| 664 |
if !protoimpl.UnsafeEnabled { |
| 665 |
file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 666 |
switch v := v.(*SqlSslCertsDeleteRequest); i { |
| 667 |
case 0: |
| 668 |
return &v.state |
| 669 |
case 1: |
| 670 |
return &v.sizeCache |
| 671 |
case 2: |
| 672 |
return &v.unknownFields |
| 673 |
default: |
| 674 |
return nil |
| 675 |
} |
| 676 |
} |
| 677 |
file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 678 |
switch v := v.(*SqlSslCertsGetRequest); i { |
| 679 |
case 0: |
| 680 |
return &v.state |
| 681 |
case 1: |
| 682 |
return &v.sizeCache |
| 683 |
case 2: |
| 684 |
return &v.unknownFields |
| 685 |
default: |
| 686 |
return nil |
| 687 |
} |
| 688 |
} |
| 689 |
file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 690 |
switch v := v.(*SqlSslCertsInsertRequest); i { |
| 691 |
case 0: |
| 692 |
return &v.state |
| 693 |
case 1: |
| 694 |
return &v.sizeCache |
| 695 |
case 2: |
| 696 |
return &v.unknownFields |
| 697 |
default: |
| 698 |
return nil |
| 699 |
} |
| 700 |
} |
| 701 |
file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 702 |
switch v := v.(*SqlSslCertsListRequest); i { |
| 703 |
case 0: |
| 704 |
return &v.state |
| 705 |
case 1: |
| 706 |
return &v.sizeCache |
| 707 |
case 2: |
| 708 |
return &v.unknownFields |
| 709 |
default: |
| 710 |
return nil |
| 711 |
} |
| 712 |
} |
| 713 |
file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 714 |
switch v := v.(*SslCertsInsertRequest); i { |
| 715 |
case 0: |
| 716 |
return &v.state |
| 717 |
case 1: |
| 718 |
return &v.sizeCache |
| 719 |
case 2: |
| 720 |
return &v.unknownFields |
| 721 |
default: |
| 722 |
return nil |
| 723 |
} |
| 724 |
} |
| 725 |
file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 726 |
switch v := v.(*SslCertsInsertResponse); i { |
| 727 |
case 0: |
| 728 |
return &v.state |
| 729 |
case 1: |
| 730 |
return &v.sizeCache |
| 731 |
case 2: |
| 732 |
return &v.unknownFields |
| 733 |
default: |
| 734 |
return nil |
| 735 |
} |
| 736 |
} |
| 737 |
file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 738 |
switch v := v.(*SslCertsListResponse); i { |
| 739 |
case 0: |
| 740 |
return &v.state |
| 741 |
case 1: |
| 742 |
return &v.sizeCache |
| 743 |
case 2: |
| 744 |
return &v.unknownFields |
| 745 |
default: |
| 746 |
return nil |
| 747 |
} |
| 748 |
} |
| 749 |
} |
| 750 |
type x struct{} |
| 751 |
out := protoimpl.TypeBuilder{ |
| 752 |
File: protoimpl.DescBuilder{ |
| 753 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 754 |
RawDescriptor: file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDesc, |
| 755 |
NumEnums: 0, |
| 756 |
NumMessages: 7, |
| 757 |
NumExtensions: 0, |
| 758 |
NumServices: 1, |
| 759 |
}, |
| 760 |
GoTypes: file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_goTypes, |
| 761 |
DependencyIndexes: file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_depIdxs, |
| 762 |
MessageInfos: file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_msgTypes, |
| 763 |
}.Build() |
| 764 |
File_google_cloud_sql_v1_cloud_sql_ssl_certs_proto = out.File |
| 765 |
file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_rawDesc = nil |
| 766 |
file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_goTypes = nil |
| 767 |
file_google_cloud_sql_v1_cloud_sql_ssl_certs_proto_depIdxs = nil |
| 768 |
} |
| 769 |
|
| 770 |
// Reference imports to suppress errors if they are not otherwise used. |
| 771 |
var _ context.Context |
| 772 |
var _ grpc.ClientConnInterface |
| 773 |
|
| 774 |
// This is a compile-time assertion to ensure that this generated file |
| 775 |
// is compatible with the grpc package it is being compiled against. |
| 776 |
const _ = grpc.SupportPackageIsVersion6 |
| 777 |
|
| 778 |
// SqlSslCertsServiceClient is the client API for SqlSslCertsService service. |
| 779 |
// |
| 780 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 781 |
type SqlSslCertsServiceClient interface { |
| 782 |
// Deletes the SSL certificate. For First Generation instances, the |
| 783 |
// certificate remains valid until the instance is restarted. |
| 784 |
Delete(ctx context.Context, in *SqlSslCertsDeleteRequest, opts ...grpc.CallOption) (*Operation, error) |
| 785 |
// Retrieves a particular SSL certificate. Does not include the private key |
| 786 |
// (required for usage). The private key must be saved from the response to |
| 787 |
// initial creation. |
| 788 |
Get(ctx context.Context, in *SqlSslCertsGetRequest, opts ...grpc.CallOption) (*SslCert, error) |
| 789 |
// Creates an SSL certificate and returns it along with the private key and |
| 790 |
// server certificate authority. The new certificate will not be usable until |
| 791 |
// the instance is restarted. |
| 792 |
Insert(ctx context.Context, in *SqlSslCertsInsertRequest, opts ...grpc.CallOption) (*SslCertsInsertResponse, error) |
| 793 |
// Lists all of the current SSL certificates for the instance. |
| 794 |
List(ctx context.Context, in *SqlSslCertsListRequest, opts ...grpc.CallOption) (*SslCertsListResponse, error) |
| 795 |
} |
| 796 |
|
| 797 |
type sqlSslCertsServiceClient struct { |
| 798 |
cc grpc.ClientConnInterface |
| 799 |
} |
| 800 |
|
| 801 |
func NewSqlSslCertsServiceClient(cc grpc.ClientConnInterface) SqlSslCertsServiceClient { |
| 802 |
return &sqlSslCertsServiceClient{cc} |
| 803 |
} |
| 804 |
|
| 805 |
func (c *sqlSslCertsServiceClient) Delete(ctx context.Context, in *SqlSslCertsDeleteRequest, opts ...grpc.CallOption) (*Operation, error) { |
| 806 |
out := new(Operation) |
| 807 |
err := c.cc.Invoke(ctx, "/google.cloud.sql.v1.SqlSslCertsService/Delete", in, out, opts...) |
| 808 |
if err != nil { |
| 809 |
return nil, err |
| 810 |
} |
| 811 |
return out, nil |
| 812 |
} |
| 813 |
|
| 814 |
func (c *sqlSslCertsServiceClient) Get(ctx context.Context, in *SqlSslCertsGetRequest, opts ...grpc.CallOption) (*SslCert, error) { |
| 815 |
out := new(SslCert) |
| 816 |
err := c.cc.Invoke(ctx, "/google.cloud.sql.v1.SqlSslCertsService/Get", in, out, opts...) |
| 817 |
if err != nil { |
| 818 |
return nil, err |
| 819 |
} |
| 820 |
return out, nil |
| 821 |
} |
| 822 |
|
| 823 |
func (c *sqlSslCertsServiceClient) Insert(ctx context.Context, in *SqlSslCertsInsertRequest, opts ...grpc.CallOption) (*SslCertsInsertResponse, error) { |
| 824 |
out := new(SslCertsInsertResponse) |
| 825 |
err := c.cc.Invoke(ctx, "/google.cloud.sql.v1.SqlSslCertsService/Insert", in, out, opts...) |
| 826 |
if err != nil { |
| 827 |
return nil, err |
| 828 |
} |
| 829 |
return out, nil |
| 830 |
} |
| 831 |
|
| 832 |
func (c *sqlSslCertsServiceClient) List(ctx context.Context, in *SqlSslCertsListRequest, opts ...grpc.CallOption) (*SslCertsListResponse, error) { |
| 833 |
out := new(SslCertsListResponse) |
| 834 |
err := c.cc.Invoke(ctx, "/google.cloud.sql.v1.SqlSslCertsService/List", in, out, opts...) |
| 835 |
if err != nil { |
| 836 |
return nil, err |
| 837 |
} |
| 838 |
return out, nil |
| 839 |
} |
| 840 |
|
| 841 |
// SqlSslCertsServiceServer is the server API for SqlSslCertsService service. |
| 842 |
type SqlSslCertsServiceServer interface { |
| 843 |
// Deletes the SSL certificate. For First Generation instances, the |
| 844 |
// certificate remains valid until the instance is restarted. |
| 845 |
Delete(context.Context, *SqlSslCertsDeleteRequest) (*Operation, error) |
| 846 |
// Retrieves a particular SSL certificate. Does not include the private key |
| 847 |
// (required for usage). The private key must be saved from the response to |
| 848 |
// initial creation. |
| 849 |
Get(context.Context, *SqlSslCertsGetRequest) (*SslCert, error) |
| 850 |
// Creates an SSL certificate and returns it along with the private key and |
| 851 |
// server certificate authority. The new certificate will not be usable until |
| 852 |
// the instance is restarted. |
| 853 |
Insert(context.Context, *SqlSslCertsInsertRequest) (*SslCertsInsertResponse, error) |
| 854 |
// Lists all of the current SSL certificates for the instance. |
| 855 |
List(context.Context, *SqlSslCertsListRequest) (*SslCertsListResponse, error) |
| 856 |
} |
| 857 |
|
| 858 |
// UnimplementedSqlSslCertsServiceServer can be embedded to have forward compatible implementations. |
| 859 |
type UnimplementedSqlSslCertsServiceServer struct { |
| 860 |
} |
| 861 |
|
| 862 |
func (*UnimplementedSqlSslCertsServiceServer) Delete(context.Context, *SqlSslCertsDeleteRequest) (*Operation, error) { |
| 863 |
return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") |
| 864 |
} |
| 865 |
func (*UnimplementedSqlSslCertsServiceServer) Get(context.Context, *SqlSslCertsGetRequest) (*SslCert, error) { |
| 866 |
return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") |
| 867 |
} |
| 868 |
func (*UnimplementedSqlSslCertsServiceServer) Insert(context.Context, *SqlSslCertsInsertRequest) (*SslCertsInsertResponse, error) { |
| 869 |
return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") |
| 870 |
} |
| 871 |
func (*UnimplementedSqlSslCertsServiceServer) List(context.Context, *SqlSslCertsListRequest) (*SslCertsListResponse, error) { |
| 872 |
return nil, status.Errorf(codes.Unimplemented, "method List not implemented") |
| 873 |
} |
| 874 |
|
| 875 |
func RegisterSqlSslCertsServiceServer(s *grpc.Server, srv SqlSslCertsServiceServer) { |
| 876 |
s.RegisterService(&_SqlSslCertsService_serviceDesc, srv) |
| 877 |
} |
| 878 |
|
| 879 |
func _SqlSslCertsService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 880 |
in := new(SqlSslCertsDeleteRequest) |
| 881 |
if err := dec(in); err != nil { |
| 882 |
return nil, err |
| 883 |
} |
| 884 |
if interceptor == nil { |
| 885 |
return srv.(SqlSslCertsServiceServer).Delete(ctx, in) |
| 886 |
} |
| 887 |
info := &grpc.UnaryServerInfo{ |
| 888 |
Server: srv, |
| 889 |
FullMethod: "/google.cloud.sql.v1.SqlSslCertsService/Delete", |
| 890 |
} |
| 891 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 892 |
return srv.(SqlSslCertsServiceServer).Delete(ctx, req.(*SqlSslCertsDeleteRequest)) |
| 893 |
} |
| 894 |
return interceptor(ctx, in, info, handler) |
| 895 |
} |
| 896 |
|
| 897 |
func _SqlSslCertsService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 898 |
in := new(SqlSslCertsGetRequest) |
| 899 |
if err := dec(in); err != nil { |
| 900 |
return nil, err |
| 901 |
} |
| 902 |
if interceptor == nil { |
| 903 |
return srv.(SqlSslCertsServiceServer).Get(ctx, in) |
| 904 |
} |
| 905 |
info := &grpc.UnaryServerInfo{ |
| 906 |
Server: srv, |
| 907 |
FullMethod: "/google.cloud.sql.v1.SqlSslCertsService/Get", |
| 908 |
} |
| 909 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 910 |
return srv.(SqlSslCertsServiceServer).Get(ctx, req.(*SqlSslCertsGetRequest)) |
| 911 |
} |
| 912 |
return interceptor(ctx, in, info, handler) |
| 913 |
} |
| 914 |
|
| 915 |
func _SqlSslCertsService_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 916 |
in := new(SqlSslCertsInsertRequest) |
| 917 |
if err := dec(in); err != nil { |
| 918 |
return nil, err |
| 919 |
} |
| 920 |
if interceptor == nil { |
| 921 |
return srv.(SqlSslCertsServiceServer).Insert(ctx, in) |
| 922 |
} |
| 923 |
info := &grpc.UnaryServerInfo{ |
| 924 |
Server: srv, |
| 925 |
FullMethod: "/google.cloud.sql.v1.SqlSslCertsService/Insert", |
| 926 |
} |
| 927 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 928 |
return srv.(SqlSslCertsServiceServer).Insert(ctx, req.(*SqlSslCertsInsertRequest)) |
| 929 |
} |
| 930 |
return interceptor(ctx, in, info, handler) |
| 931 |
} |
| 932 |
|
| 933 |
func _SqlSslCertsService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 934 |
in := new(SqlSslCertsListRequest) |
| 935 |
if err := dec(in); err != nil { |
| 936 |
return nil, err |
| 937 |
} |
| 938 |
if interceptor == nil { |
| 939 |
return srv.(SqlSslCertsServiceServer).List(ctx, in) |
| 940 |
} |
| 941 |
info := &grpc.UnaryServerInfo{ |
| 942 |
Server: srv, |
| 943 |
FullMethod: "/google.cloud.sql.v1.SqlSslCertsService/List", |
| 944 |
} |
| 945 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 946 |
return srv.(SqlSslCertsServiceServer).List(ctx, req.(*SqlSslCertsListRequest)) |
| 947 |
} |
| 948 |
return interceptor(ctx, in, info, handler) |
| 949 |
} |
| 950 |
|
| 951 |
var _SqlSslCertsService_serviceDesc = grpc.ServiceDesc{ |
| 952 |
ServiceName: "google.cloud.sql.v1.SqlSslCertsService", |
| 953 |
HandlerType: (*SqlSslCertsServiceServer)(nil), |
| 954 |
Methods: []grpc.MethodDesc{ |
| 955 |
{ |
| 956 |
MethodName: "Delete", |
| 957 |
Handler: _SqlSslCertsService_Delete_Handler, |
| 958 |
}, |
| 959 |
{ |
| 960 |
MethodName: "Get", |
| 961 |
Handler: _SqlSslCertsService_Get_Handler, |
| 962 |
}, |
| 963 |
{ |
| 964 |
MethodName: "Insert", |
| 965 |
Handler: _SqlSslCertsService_Insert_Handler, |
| 966 |
}, |
| 967 |
{ |
| 968 |
MethodName: "List", |
| 969 |
Handler: _SqlSslCertsService_List_Handler, |
| 970 |
}, |
| 971 |
}, |
| 972 |
Streams: []grpc.StreamDesc{}, |
| 973 |
Metadata: "google/cloud/sql/v1/cloud_sql_ssl_certs.proto", |
| 974 |
} |