| 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_backup_runs.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 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 35 |
) |
| 36 |
|
| 37 |
const ( |
| 38 |
// Verify that this generated code is sufficiently up-to-date. |
| 39 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 40 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 41 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 42 |
) |
| 43 |
|
| 44 |
// The status of a backup run. |
| 45 |
type SqlBackupRunStatus int32 |
| 46 |
|
| 47 |
const ( |
| 48 |
// The status of the run is unknown. |
| 49 |
SqlBackupRunStatus_SQL_BACKUP_RUN_STATUS_UNSPECIFIED SqlBackupRunStatus = 0 |
| 50 |
// The backup operation was enqueued. |
| 51 |
SqlBackupRunStatus_ENQUEUED SqlBackupRunStatus = 1 |
| 52 |
// The backup is overdue across a given backup window. Indicates a |
| 53 |
// problem. Example: Long-running operation in progress during |
| 54 |
// the whole window. |
| 55 |
SqlBackupRunStatus_OVERDUE SqlBackupRunStatus = 2 |
| 56 |
// The backup is in progress. |
| 57 |
SqlBackupRunStatus_RUNNING SqlBackupRunStatus = 3 |
| 58 |
// The backup failed. |
| 59 |
SqlBackupRunStatus_FAILED SqlBackupRunStatus = 4 |
| 60 |
// The backup was successful. |
| 61 |
SqlBackupRunStatus_SUCCESSFUL SqlBackupRunStatus = 5 |
| 62 |
// The backup was skipped (without problems) for a given backup |
| 63 |
// window. Example: Instance was idle. |
| 64 |
SqlBackupRunStatus_SKIPPED SqlBackupRunStatus = 6 |
| 65 |
// The backup is about to be deleted. |
| 66 |
SqlBackupRunStatus_DELETION_PENDING SqlBackupRunStatus = 7 |
| 67 |
// The backup deletion failed. |
| 68 |
SqlBackupRunStatus_DELETION_FAILED SqlBackupRunStatus = 8 |
| 69 |
// The backup has been deleted. |
| 70 |
SqlBackupRunStatus_DELETED SqlBackupRunStatus = 9 |
| 71 |
) |
| 72 |
|
| 73 |
// Enum value maps for SqlBackupRunStatus. |
| 74 |
var ( |
| 75 |
SqlBackupRunStatus_name = map[int32]string{ |
| 76 |
0: "SQL_BACKUP_RUN_STATUS_UNSPECIFIED", |
| 77 |
1: "ENQUEUED", |
| 78 |
2: "OVERDUE", |
| 79 |
3: "RUNNING", |
| 80 |
4: "FAILED", |
| 81 |
5: "SUCCESSFUL", |
| 82 |
6: "SKIPPED", |
| 83 |
7: "DELETION_PENDING", |
| 84 |
8: "DELETION_FAILED", |
| 85 |
9: "DELETED", |
| 86 |
} |
| 87 |
SqlBackupRunStatus_value = map[string]int32{ |
| 88 |
"SQL_BACKUP_RUN_STATUS_UNSPECIFIED": 0, |
| 89 |
"ENQUEUED": 1, |
| 90 |
"OVERDUE": 2, |
| 91 |
"RUNNING": 3, |
| 92 |
"FAILED": 4, |
| 93 |
"SUCCESSFUL": 5, |
| 94 |
"SKIPPED": 6, |
| 95 |
"DELETION_PENDING": 7, |
| 96 |
"DELETION_FAILED": 8, |
| 97 |
"DELETED": 9, |
| 98 |
} |
| 99 |
) |
| 100 |
|
| 101 |
func (x SqlBackupRunStatus) Enum() *SqlBackupRunStatus { |
| 102 |
p := new(SqlBackupRunStatus) |
| 103 |
*p = x |
| 104 |
return p |
| 105 |
} |
| 106 |
|
| 107 |
func (x SqlBackupRunStatus) String() string { |
| 108 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 109 |
} |
| 110 |
|
| 111 |
func (SqlBackupRunStatus) Descriptor() protoreflect.EnumDescriptor { |
| 112 |
return file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_enumTypes[0].Descriptor() |
| 113 |
} |
| 114 |
|
| 115 |
func (SqlBackupRunStatus) Type() protoreflect.EnumType { |
| 116 |
return &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_enumTypes[0] |
| 117 |
} |
| 118 |
|
| 119 |
func (x SqlBackupRunStatus) Number() protoreflect.EnumNumber { |
| 120 |
return protoreflect.EnumNumber(x) |
| 121 |
} |
| 122 |
|
| 123 |
// Deprecated: Use SqlBackupRunStatus.Descriptor instead. |
| 124 |
func (SqlBackupRunStatus) EnumDescriptor() ([]byte, []int) { |
| 125 |
return file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescGZIP(), []int{0} |
| 126 |
} |
| 127 |
|
| 128 |
// Defines the supported backup kinds. |
| 129 |
type SqlBackupKind int32 |
| 130 |
|
| 131 |
const ( |
| 132 |
// This is an unknown BackupKind. |
| 133 |
SqlBackupKind_SQL_BACKUP_KIND_UNSPECIFIED SqlBackupKind = 0 |
| 134 |
// The snapshot based backups |
| 135 |
SqlBackupKind_SNAPSHOT SqlBackupKind = 1 |
| 136 |
// Physical backups |
| 137 |
SqlBackupKind_PHYSICAL SqlBackupKind = 2 |
| 138 |
) |
| 139 |
|
| 140 |
// Enum value maps for SqlBackupKind. |
| 141 |
var ( |
| 142 |
SqlBackupKind_name = map[int32]string{ |
| 143 |
0: "SQL_BACKUP_KIND_UNSPECIFIED", |
| 144 |
1: "SNAPSHOT", |
| 145 |
2: "PHYSICAL", |
| 146 |
} |
| 147 |
SqlBackupKind_value = map[string]int32{ |
| 148 |
"SQL_BACKUP_KIND_UNSPECIFIED": 0, |
| 149 |
"SNAPSHOT": 1, |
| 150 |
"PHYSICAL": 2, |
| 151 |
} |
| 152 |
) |
| 153 |
|
| 154 |
func (x SqlBackupKind) Enum() *SqlBackupKind { |
| 155 |
p := new(SqlBackupKind) |
| 156 |
*p = x |
| 157 |
return p |
| 158 |
} |
| 159 |
|
| 160 |
func (x SqlBackupKind) String() string { |
| 161 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 162 |
} |
| 163 |
|
| 164 |
func (SqlBackupKind) Descriptor() protoreflect.EnumDescriptor { |
| 165 |
return file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_enumTypes[1].Descriptor() |
| 166 |
} |
| 167 |
|
| 168 |
func (SqlBackupKind) Type() protoreflect.EnumType { |
| 169 |
return &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_enumTypes[1] |
| 170 |
} |
| 171 |
|
| 172 |
func (x SqlBackupKind) Number() protoreflect.EnumNumber { |
| 173 |
return protoreflect.EnumNumber(x) |
| 174 |
} |
| 175 |
|
| 176 |
// Deprecated: Use SqlBackupKind.Descriptor instead. |
| 177 |
func (SqlBackupKind) EnumDescriptor() ([]byte, []int) { |
| 178 |
return file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescGZIP(), []int{1} |
| 179 |
} |
| 180 |
|
| 181 |
// Type of backup (i.e. automated, on demand, etc). |
| 182 |
type SqlBackupRunType int32 |
| 183 |
|
| 184 |
const ( |
| 185 |
// This is an unknown BackupRun type. |
| 186 |
SqlBackupRunType_SQL_BACKUP_RUN_TYPE_UNSPECIFIED SqlBackupRunType = 0 |
| 187 |
// The backup schedule automatically triggers a backup. |
| 188 |
SqlBackupRunType_AUTOMATED SqlBackupRunType = 1 |
| 189 |
// The user manually triggers a backup. |
| 190 |
SqlBackupRunType_ON_DEMAND SqlBackupRunType = 2 |
| 191 |
) |
| 192 |
|
| 193 |
// Enum value maps for SqlBackupRunType. |
| 194 |
var ( |
| 195 |
SqlBackupRunType_name = map[int32]string{ |
| 196 |
0: "SQL_BACKUP_RUN_TYPE_UNSPECIFIED", |
| 197 |
1: "AUTOMATED", |
| 198 |
2: "ON_DEMAND", |
| 199 |
} |
| 200 |
SqlBackupRunType_value = map[string]int32{ |
| 201 |
"SQL_BACKUP_RUN_TYPE_UNSPECIFIED": 0, |
| 202 |
"AUTOMATED": 1, |
| 203 |
"ON_DEMAND": 2, |
| 204 |
} |
| 205 |
) |
| 206 |
|
| 207 |
func (x SqlBackupRunType) Enum() *SqlBackupRunType { |
| 208 |
p := new(SqlBackupRunType) |
| 209 |
*p = x |
| 210 |
return p |
| 211 |
} |
| 212 |
|
| 213 |
func (x SqlBackupRunType) String() string { |
| 214 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 215 |
} |
| 216 |
|
| 217 |
func (SqlBackupRunType) Descriptor() protoreflect.EnumDescriptor { |
| 218 |
return file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_enumTypes[2].Descriptor() |
| 219 |
} |
| 220 |
|
| 221 |
func (SqlBackupRunType) Type() protoreflect.EnumType { |
| 222 |
return &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_enumTypes[2] |
| 223 |
} |
| 224 |
|
| 225 |
func (x SqlBackupRunType) Number() protoreflect.EnumNumber { |
| 226 |
return protoreflect.EnumNumber(x) |
| 227 |
} |
| 228 |
|
| 229 |
// Deprecated: Use SqlBackupRunType.Descriptor instead. |
| 230 |
func (SqlBackupRunType) EnumDescriptor() ([]byte, []int) { |
| 231 |
return file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescGZIP(), []int{2} |
| 232 |
} |
| 233 |
|
| 234 |
// Backup runs delete request. |
| 235 |
type SqlBackupRunsDeleteRequest struct { |
| 236 |
state protoimpl.MessageState |
| 237 |
sizeCache protoimpl.SizeCache |
| 238 |
unknownFields protoimpl.UnknownFields |
| 239 |
|
| 240 |
// The ID of the backup run to delete. To find a backup run ID, use the |
| 241 |
// [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/backupRuns/list) |
| 242 |
// method. |
| 243 |
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` |
| 244 |
// Cloud SQL instance ID. This does not include the project ID. |
| 245 |
Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"` |
| 246 |
// Project ID of the project that contains the instance. |
| 247 |
Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` |
| 248 |
} |
| 249 |
|
| 250 |
func (x *SqlBackupRunsDeleteRequest) Reset() { |
| 251 |
*x = SqlBackupRunsDeleteRequest{} |
| 252 |
if protoimpl.UnsafeEnabled { |
| 253 |
mi := &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[0] |
| 254 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 255 |
ms.StoreMessageInfo(mi) |
| 256 |
} |
| 257 |
} |
| 258 |
|
| 259 |
func (x *SqlBackupRunsDeleteRequest) String() string { |
| 260 |
return protoimpl.X.MessageStringOf(x) |
| 261 |
} |
| 262 |
|
| 263 |
func (*SqlBackupRunsDeleteRequest) ProtoMessage() {} |
| 264 |
|
| 265 |
func (x *SqlBackupRunsDeleteRequest) ProtoReflect() protoreflect.Message { |
| 266 |
mi := &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[0] |
| 267 |
if protoimpl.UnsafeEnabled && x != nil { |
| 268 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 269 |
if ms.LoadMessageInfo() == nil { |
| 270 |
ms.StoreMessageInfo(mi) |
| 271 |
} |
| 272 |
return ms |
| 273 |
} |
| 274 |
return mi.MessageOf(x) |
| 275 |
} |
| 276 |
|
| 277 |
// Deprecated: Use SqlBackupRunsDeleteRequest.ProtoReflect.Descriptor instead. |
| 278 |
func (*SqlBackupRunsDeleteRequest) Descriptor() ([]byte, []int) { |
| 279 |
return file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescGZIP(), []int{0} |
| 280 |
} |
| 281 |
|
| 282 |
func (x *SqlBackupRunsDeleteRequest) GetId() int64 { |
| 283 |
if x != nil { |
| 284 |
return x.Id |
| 285 |
} |
| 286 |
return 0 |
| 287 |
} |
| 288 |
|
| 289 |
func (x *SqlBackupRunsDeleteRequest) GetInstance() string { |
| 290 |
if x != nil { |
| 291 |
return x.Instance |
| 292 |
} |
| 293 |
return "" |
| 294 |
} |
| 295 |
|
| 296 |
func (x *SqlBackupRunsDeleteRequest) GetProject() string { |
| 297 |
if x != nil { |
| 298 |
return x.Project |
| 299 |
} |
| 300 |
return "" |
| 301 |
} |
| 302 |
|
| 303 |
// Backup runs get request. |
| 304 |
type SqlBackupRunsGetRequest struct { |
| 305 |
state protoimpl.MessageState |
| 306 |
sizeCache protoimpl.SizeCache |
| 307 |
unknownFields protoimpl.UnknownFields |
| 308 |
|
| 309 |
// The ID of this backup run. |
| 310 |
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` |
| 311 |
// Cloud SQL instance ID. This does not include the project ID. |
| 312 |
Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"` |
| 313 |
// Project ID of the project that contains the instance. |
| 314 |
Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` |
| 315 |
} |
| 316 |
|
| 317 |
func (x *SqlBackupRunsGetRequest) Reset() { |
| 318 |
*x = SqlBackupRunsGetRequest{} |
| 319 |
if protoimpl.UnsafeEnabled { |
| 320 |
mi := &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[1] |
| 321 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 322 |
ms.StoreMessageInfo(mi) |
| 323 |
} |
| 324 |
} |
| 325 |
|
| 326 |
func (x *SqlBackupRunsGetRequest) String() string { |
| 327 |
return protoimpl.X.MessageStringOf(x) |
| 328 |
} |
| 329 |
|
| 330 |
func (*SqlBackupRunsGetRequest) ProtoMessage() {} |
| 331 |
|
| 332 |
func (x *SqlBackupRunsGetRequest) ProtoReflect() protoreflect.Message { |
| 333 |
mi := &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[1] |
| 334 |
if protoimpl.UnsafeEnabled && x != nil { |
| 335 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 336 |
if ms.LoadMessageInfo() == nil { |
| 337 |
ms.StoreMessageInfo(mi) |
| 338 |
} |
| 339 |
return ms |
| 340 |
} |
| 341 |
return mi.MessageOf(x) |
| 342 |
} |
| 343 |
|
| 344 |
// Deprecated: Use SqlBackupRunsGetRequest.ProtoReflect.Descriptor instead. |
| 345 |
func (*SqlBackupRunsGetRequest) Descriptor() ([]byte, []int) { |
| 346 |
return file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescGZIP(), []int{1} |
| 347 |
} |
| 348 |
|
| 349 |
func (x *SqlBackupRunsGetRequest) GetId() int64 { |
| 350 |
if x != nil { |
| 351 |
return x.Id |
| 352 |
} |
| 353 |
return 0 |
| 354 |
} |
| 355 |
|
| 356 |
func (x *SqlBackupRunsGetRequest) GetInstance() string { |
| 357 |
if x != nil { |
| 358 |
return x.Instance |
| 359 |
} |
| 360 |
return "" |
| 361 |
} |
| 362 |
|
| 363 |
func (x *SqlBackupRunsGetRequest) GetProject() string { |
| 364 |
if x != nil { |
| 365 |
return x.Project |
| 366 |
} |
| 367 |
return "" |
| 368 |
} |
| 369 |
|
| 370 |
// Backup runs insert request. |
| 371 |
type SqlBackupRunsInsertRequest struct { |
| 372 |
state protoimpl.MessageState |
| 373 |
sizeCache protoimpl.SizeCache |
| 374 |
unknownFields protoimpl.UnknownFields |
| 375 |
|
| 376 |
// Cloud SQL instance ID. This does not include the project ID. |
| 377 |
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` |
| 378 |
// Project ID of the project that contains the instance. |
| 379 |
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` |
| 380 |
Body *BackupRun `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"` |
| 381 |
} |
| 382 |
|
| 383 |
func (x *SqlBackupRunsInsertRequest) Reset() { |
| 384 |
*x = SqlBackupRunsInsertRequest{} |
| 385 |
if protoimpl.UnsafeEnabled { |
| 386 |
mi := &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[2] |
| 387 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 388 |
ms.StoreMessageInfo(mi) |
| 389 |
} |
| 390 |
} |
| 391 |
|
| 392 |
func (x *SqlBackupRunsInsertRequest) String() string { |
| 393 |
return protoimpl.X.MessageStringOf(x) |
| 394 |
} |
| 395 |
|
| 396 |
func (*SqlBackupRunsInsertRequest) ProtoMessage() {} |
| 397 |
|
| 398 |
func (x *SqlBackupRunsInsertRequest) ProtoReflect() protoreflect.Message { |
| 399 |
mi := &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[2] |
| 400 |
if protoimpl.UnsafeEnabled && x != nil { |
| 401 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 402 |
if ms.LoadMessageInfo() == nil { |
| 403 |
ms.StoreMessageInfo(mi) |
| 404 |
} |
| 405 |
return ms |
| 406 |
} |
| 407 |
return mi.MessageOf(x) |
| 408 |
} |
| 409 |
|
| 410 |
// Deprecated: Use SqlBackupRunsInsertRequest.ProtoReflect.Descriptor instead. |
| 411 |
func (*SqlBackupRunsInsertRequest) Descriptor() ([]byte, []int) { |
| 412 |
return file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescGZIP(), []int{2} |
| 413 |
} |
| 414 |
|
| 415 |
func (x *SqlBackupRunsInsertRequest) GetInstance() string { |
| 416 |
if x != nil { |
| 417 |
return x.Instance |
| 418 |
} |
| 419 |
return "" |
| 420 |
} |
| 421 |
|
| 422 |
func (x *SqlBackupRunsInsertRequest) GetProject() string { |
| 423 |
if x != nil { |
| 424 |
return x.Project |
| 425 |
} |
| 426 |
return "" |
| 427 |
} |
| 428 |
|
| 429 |
func (x *SqlBackupRunsInsertRequest) GetBody() *BackupRun { |
| 430 |
if x != nil { |
| 431 |
return x.Body |
| 432 |
} |
| 433 |
return nil |
| 434 |
} |
| 435 |
|
| 436 |
// Backup runs list request. |
| 437 |
type SqlBackupRunsListRequest struct { |
| 438 |
state protoimpl.MessageState |
| 439 |
sizeCache protoimpl.SizeCache |
| 440 |
unknownFields protoimpl.UnknownFields |
| 441 |
|
| 442 |
// Cloud SQL instance ID, or "-" for all instances. This does not include |
| 443 |
// the project ID. |
| 444 |
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` |
| 445 |
// Maximum number of backup runs per response. |
| 446 |
MaxResults int32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` |
| 447 |
// A previously-returned page token representing part of the larger set of |
| 448 |
// results to view. |
| 449 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 450 |
// Project ID of the project that contains the instance. |
| 451 |
Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` |
| 452 |
} |
| 453 |
|
| 454 |
func (x *SqlBackupRunsListRequest) Reset() { |
| 455 |
*x = SqlBackupRunsListRequest{} |
| 456 |
if protoimpl.UnsafeEnabled { |
| 457 |
mi := &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[3] |
| 458 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 459 |
ms.StoreMessageInfo(mi) |
| 460 |
} |
| 461 |
} |
| 462 |
|
| 463 |
func (x *SqlBackupRunsListRequest) String() string { |
| 464 |
return protoimpl.X.MessageStringOf(x) |
| 465 |
} |
| 466 |
|
| 467 |
func (*SqlBackupRunsListRequest) ProtoMessage() {} |
| 468 |
|
| 469 |
func (x *SqlBackupRunsListRequest) ProtoReflect() protoreflect.Message { |
| 470 |
mi := &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[3] |
| 471 |
if protoimpl.UnsafeEnabled && x != nil { |
| 472 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 473 |
if ms.LoadMessageInfo() == nil { |
| 474 |
ms.StoreMessageInfo(mi) |
| 475 |
} |
| 476 |
return ms |
| 477 |
} |
| 478 |
return mi.MessageOf(x) |
| 479 |
} |
| 480 |
|
| 481 |
// Deprecated: Use SqlBackupRunsListRequest.ProtoReflect.Descriptor instead. |
| 482 |
func (*SqlBackupRunsListRequest) Descriptor() ([]byte, []int) { |
| 483 |
return file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescGZIP(), []int{3} |
| 484 |
} |
| 485 |
|
| 486 |
func (x *SqlBackupRunsListRequest) GetInstance() string { |
| 487 |
if x != nil { |
| 488 |
return x.Instance |
| 489 |
} |
| 490 |
return "" |
| 491 |
} |
| 492 |
|
| 493 |
func (x *SqlBackupRunsListRequest) GetMaxResults() int32 { |
| 494 |
if x != nil { |
| 495 |
return x.MaxResults |
| 496 |
} |
| 497 |
return 0 |
| 498 |
} |
| 499 |
|
| 500 |
func (x *SqlBackupRunsListRequest) GetPageToken() string { |
| 501 |
if x != nil { |
| 502 |
return x.PageToken |
| 503 |
} |
| 504 |
return "" |
| 505 |
} |
| 506 |
|
| 507 |
func (x *SqlBackupRunsListRequest) GetProject() string { |
| 508 |
if x != nil { |
| 509 |
return x.Project |
| 510 |
} |
| 511 |
return "" |
| 512 |
} |
| 513 |
|
| 514 |
// A BackupRun resource. |
| 515 |
type BackupRun struct { |
| 516 |
state protoimpl.MessageState |
| 517 |
sizeCache protoimpl.SizeCache |
| 518 |
unknownFields protoimpl.UnknownFields |
| 519 |
|
| 520 |
// This is always **sql#backupRun**. |
| 521 |
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` |
| 522 |
// The status of this run. |
| 523 |
Status SqlBackupRunStatus `protobuf:"varint,2,opt,name=status,proto3,enum=google.cloud.sql.v1.SqlBackupRunStatus" json:"status,omitempty"` |
| 524 |
// The time the run was enqueued in UTC timezone in |
| 525 |
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example |
| 526 |
// **2012-11-15T16:19:00.094Z**. |
| 527 |
EnqueuedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=enqueued_time,json=enqueuedTime,proto3" json:"enqueued_time,omitempty"` |
| 528 |
// The identifier for this backup run. Unique only for a specific Cloud SQL |
| 529 |
// instance. |
| 530 |
Id int64 `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"` |
| 531 |
// The time the backup operation actually started in UTC timezone in |
| 532 |
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example |
| 533 |
// **2012-11-15T16:19:00.094Z**. |
| 534 |
StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` |
| 535 |
// The time the backup operation completed in UTC timezone in |
| 536 |
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example |
| 537 |
// **2012-11-15T16:19:00.094Z**. |
| 538 |
EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` |
| 539 |
// Information about why the backup operation failed. This is only present if |
| 540 |
// the run has the FAILED status. |
| 541 |
Error *OperationError `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"` |
| 542 |
// The type of this run; can be either "AUTOMATED" or "ON_DEMAND". This field |
| 543 |
// defaults to "ON_DEMAND" and is ignored, when specified for insert requests. |
| 544 |
Type SqlBackupRunType `protobuf:"varint,8,opt,name=type,proto3,enum=google.cloud.sql.v1.SqlBackupRunType" json:"type,omitempty"` |
| 545 |
// The description of this run, only applicable to on-demand backups. |
| 546 |
Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` |
| 547 |
// The start time of the backup window during which this the backup was |
| 548 |
// attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for |
| 549 |
// example **2012-11-15T16:19:00.094Z**. |
| 550 |
WindowStartTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=window_start_time,json=windowStartTime,proto3" json:"window_start_time,omitempty"` |
| 551 |
// Name of the database instance. |
| 552 |
Instance string `protobuf:"bytes,11,opt,name=instance,proto3" json:"instance,omitempty"` |
| 553 |
// The URI of this resource. |
| 554 |
SelfLink string `protobuf:"bytes,12,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"` |
| 555 |
// Location of the backups. |
| 556 |
Location string `protobuf:"bytes,13,opt,name=location,proto3" json:"location,omitempty"` |
| 557 |
// Encryption configuration specific to a backup. |
| 558 |
DiskEncryptionConfiguration *DiskEncryptionConfiguration `protobuf:"bytes,16,opt,name=disk_encryption_configuration,json=diskEncryptionConfiguration,proto3" json:"disk_encryption_configuration,omitempty"` |
| 559 |
// Encryption status specific to a backup. |
| 560 |
DiskEncryptionStatus *DiskEncryptionStatus `protobuf:"bytes,17,opt,name=disk_encryption_status,json=diskEncryptionStatus,proto3" json:"disk_encryption_status,omitempty"` |
| 561 |
// Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. |
| 562 |
BackupKind SqlBackupKind `protobuf:"varint,19,opt,name=backup_kind,json=backupKind,proto3,enum=google.cloud.sql.v1.SqlBackupKind" json:"backup_kind,omitempty"` |
| 563 |
} |
| 564 |
|
| 565 |
func (x *BackupRun) Reset() { |
| 566 |
*x = BackupRun{} |
| 567 |
if protoimpl.UnsafeEnabled { |
| 568 |
mi := &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[4] |
| 569 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 570 |
ms.StoreMessageInfo(mi) |
| 571 |
} |
| 572 |
} |
| 573 |
|
| 574 |
func (x *BackupRun) String() string { |
| 575 |
return protoimpl.X.MessageStringOf(x) |
| 576 |
} |
| 577 |
|
| 578 |
func (*BackupRun) ProtoMessage() {} |
| 579 |
|
| 580 |
func (x *BackupRun) ProtoReflect() protoreflect.Message { |
| 581 |
mi := &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[4] |
| 582 |
if protoimpl.UnsafeEnabled && x != nil { |
| 583 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 584 |
if ms.LoadMessageInfo() == nil { |
| 585 |
ms.StoreMessageInfo(mi) |
| 586 |
} |
| 587 |
return ms |
| 588 |
} |
| 589 |
return mi.MessageOf(x) |
| 590 |
} |
| 591 |
|
| 592 |
// Deprecated: Use BackupRun.ProtoReflect.Descriptor instead. |
| 593 |
func (*BackupRun) Descriptor() ([]byte, []int) { |
| 594 |
return file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescGZIP(), []int{4} |
| 595 |
} |
| 596 |
|
| 597 |
func (x *BackupRun) GetKind() string { |
| 598 |
if x != nil { |
| 599 |
return x.Kind |
| 600 |
} |
| 601 |
return "" |
| 602 |
} |
| 603 |
|
| 604 |
func (x *BackupRun) GetStatus() SqlBackupRunStatus { |
| 605 |
if x != nil { |
| 606 |
return x.Status |
| 607 |
} |
| 608 |
return SqlBackupRunStatus_SQL_BACKUP_RUN_STATUS_UNSPECIFIED |
| 609 |
} |
| 610 |
|
| 611 |
func (x *BackupRun) GetEnqueuedTime() *timestamppb.Timestamp { |
| 612 |
if x != nil { |
| 613 |
return x.EnqueuedTime |
| 614 |
} |
| 615 |
return nil |
| 616 |
} |
| 617 |
|
| 618 |
func (x *BackupRun) GetId() int64 { |
| 619 |
if x != nil { |
| 620 |
return x.Id |
| 621 |
} |
| 622 |
return 0 |
| 623 |
} |
| 624 |
|
| 625 |
func (x *BackupRun) GetStartTime() *timestamppb.Timestamp { |
| 626 |
if x != nil { |
| 627 |
return x.StartTime |
| 628 |
} |
| 629 |
return nil |
| 630 |
} |
| 631 |
|
| 632 |
func (x *BackupRun) GetEndTime() *timestamppb.Timestamp { |
| 633 |
if x != nil { |
| 634 |
return x.EndTime |
| 635 |
} |
| 636 |
return nil |
| 637 |
} |
| 638 |
|
| 639 |
func (x *BackupRun) GetError() *OperationError { |
| 640 |
if x != nil { |
| 641 |
return x.Error |
| 642 |
} |
| 643 |
return nil |
| 644 |
} |
| 645 |
|
| 646 |
func (x *BackupRun) GetType() SqlBackupRunType { |
| 647 |
if x != nil { |
| 648 |
return x.Type |
| 649 |
} |
| 650 |
return SqlBackupRunType_SQL_BACKUP_RUN_TYPE_UNSPECIFIED |
| 651 |
} |
| 652 |
|
| 653 |
func (x *BackupRun) GetDescription() string { |
| 654 |
if x != nil { |
| 655 |
return x.Description |
| 656 |
} |
| 657 |
return "" |
| 658 |
} |
| 659 |
|
| 660 |
func (x *BackupRun) GetWindowStartTime() *timestamppb.Timestamp { |
| 661 |
if x != nil { |
| 662 |
return x.WindowStartTime |
| 663 |
} |
| 664 |
return nil |
| 665 |
} |
| 666 |
|
| 667 |
func (x *BackupRun) GetInstance() string { |
| 668 |
if x != nil { |
| 669 |
return x.Instance |
| 670 |
} |
| 671 |
return "" |
| 672 |
} |
| 673 |
|
| 674 |
func (x *BackupRun) GetSelfLink() string { |
| 675 |
if x != nil { |
| 676 |
return x.SelfLink |
| 677 |
} |
| 678 |
return "" |
| 679 |
} |
| 680 |
|
| 681 |
func (x *BackupRun) GetLocation() string { |
| 682 |
if x != nil { |
| 683 |
return x.Location |
| 684 |
} |
| 685 |
return "" |
| 686 |
} |
| 687 |
|
| 688 |
func (x *BackupRun) GetDiskEncryptionConfiguration() *DiskEncryptionConfiguration { |
| 689 |
if x != nil { |
| 690 |
return x.DiskEncryptionConfiguration |
| 691 |
} |
| 692 |
return nil |
| 693 |
} |
| 694 |
|
| 695 |
func (x *BackupRun) GetDiskEncryptionStatus() *DiskEncryptionStatus { |
| 696 |
if x != nil { |
| 697 |
return x.DiskEncryptionStatus |
| 698 |
} |
| 699 |
return nil |
| 700 |
} |
| 701 |
|
| 702 |
func (x *BackupRun) GetBackupKind() SqlBackupKind { |
| 703 |
if x != nil { |
| 704 |
return x.BackupKind |
| 705 |
} |
| 706 |
return SqlBackupKind_SQL_BACKUP_KIND_UNSPECIFIED |
| 707 |
} |
| 708 |
|
| 709 |
// Backup run list results. |
| 710 |
type BackupRunsListResponse struct { |
| 711 |
state protoimpl.MessageState |
| 712 |
sizeCache protoimpl.SizeCache |
| 713 |
unknownFields protoimpl.UnknownFields |
| 714 |
|
| 715 |
// This is always **sql#backupRunsList**. |
| 716 |
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` |
| 717 |
// A list of backup runs in reverse chronological order of the enqueued time. |
| 718 |
Items []*BackupRun `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` |
| 719 |
// The continuation token, used to page through large result sets. Provide |
| 720 |
// this value in a subsequent request to return the next page of results. |
| 721 |
NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 722 |
} |
| 723 |
|
| 724 |
func (x *BackupRunsListResponse) Reset() { |
| 725 |
*x = BackupRunsListResponse{} |
| 726 |
if protoimpl.UnsafeEnabled { |
| 727 |
mi := &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[5] |
| 728 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 729 |
ms.StoreMessageInfo(mi) |
| 730 |
} |
| 731 |
} |
| 732 |
|
| 733 |
func (x *BackupRunsListResponse) String() string { |
| 734 |
return protoimpl.X.MessageStringOf(x) |
| 735 |
} |
| 736 |
|
| 737 |
func (*BackupRunsListResponse) ProtoMessage() {} |
| 738 |
|
| 739 |
func (x *BackupRunsListResponse) ProtoReflect() protoreflect.Message { |
| 740 |
mi := &file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[5] |
| 741 |
if protoimpl.UnsafeEnabled && x != nil { |
| 742 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 743 |
if ms.LoadMessageInfo() == nil { |
| 744 |
ms.StoreMessageInfo(mi) |
| 745 |
} |
| 746 |
return ms |
| 747 |
} |
| 748 |
return mi.MessageOf(x) |
| 749 |
} |
| 750 |
|
| 751 |
// Deprecated: Use BackupRunsListResponse.ProtoReflect.Descriptor instead. |
| 752 |
func (*BackupRunsListResponse) Descriptor() ([]byte, []int) { |
| 753 |
return file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescGZIP(), []int{5} |
| 754 |
} |
| 755 |
|
| 756 |
func (x *BackupRunsListResponse) GetKind() string { |
| 757 |
if x != nil { |
| 758 |
return x.Kind |
| 759 |
} |
| 760 |
return "" |
| 761 |
} |
| 762 |
|
| 763 |
func (x *BackupRunsListResponse) GetItems() []*BackupRun { |
| 764 |
if x != nil { |
| 765 |
return x.Items |
| 766 |
} |
| 767 |
return nil |
| 768 |
} |
| 769 |
|
| 770 |
func (x *BackupRunsListResponse) GetNextPageToken() string { |
| 771 |
if x != nil { |
| 772 |
return x.NextPageToken |
| 773 |
} |
| 774 |
return "" |
| 775 |
} |
| 776 |
|
| 777 |
var File_google_cloud_sql_v1_cloud_sql_backup_runs_proto protoreflect.FileDescriptor |
| 778 |
|
| 779 |
var file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDesc = []byte{ |
| 780 |
0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, |
| 781 |
0x71, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x71, 0x6c, 0x5f, |
| 782 |
0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 783 |
0x6f, 0x12, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 784 |
0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 785 |
0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, |
| 786 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, |
| 787 |
0x75, 0x64, 0x2f, 0x73, 0x71, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, |
| 788 |
0x73, 0x71, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, |
| 789 |
0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, |
| 790 |
0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, |
| 791 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, |
| 792 |
0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x62, 0x0a, |
| 793 |
0x1a, 0x53, 0x71, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, 0x6e, 0x73, 0x44, 0x65, |
| 794 |
0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, |
| 795 |
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x69, |
| 796 |
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, |
| 797 |
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 798 |
0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| 799 |
0x74, 0x22, 0x5f, 0x0a, 0x17, 0x53, 0x71, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, |
| 800 |
0x6e, 0x73, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, |
| 801 |
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, |
| 802 |
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, |
| 803 |
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, |
| 804 |
0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 805 |
0x63, 0x74, 0x22, 0x86, 0x01, 0x0a, 0x1a, 0x53, 0x71, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, |
| 806 |
0x52, 0x75, 0x6e, 0x73, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 807 |
0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, |
| 808 |
0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, |
| 809 |
0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, |
| 810 |
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, |
| 811 |
0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 812 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, |
| 813 |
0x75, 0x70, 0x52, 0x75, 0x6e, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x90, 0x01, 0x0a, 0x18, |
| 814 |
0x53, 0x71, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, 0x6e, 0x73, 0x4c, 0x69, 0x73, |
| 815 |
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, |
| 816 |
0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, |
| 817 |
0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x73, 0x75, |
| 818 |
0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x52, 0x65, |
| 819 |
0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, |
| 820 |
0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, |
| 821 |
0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, |
| 822 |
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0xf4, |
| 823 |
0x06, 0x0a, 0x09, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, 0x6e, 0x12, 0x12, 0x0a, 0x04, |
| 824 |
0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, |
| 825 |
0x12, 0x3f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, |
| 826 |
0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 827 |
0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x71, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, |
| 828 |
0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, |
| 829 |
0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x65, 0x6e, 0x71, 0x75, 0x65, 0x75, 0x65, 0x64, 0x5f, 0x74, 0x69, |
| 830 |
0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 831 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, |
| 832 |
0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x65, 0x6e, 0x71, 0x75, 0x65, 0x75, 0x65, 0x64, 0x54, 0x69, |
| 833 |
0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, |
| 834 |
0x69, 0x64, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, |
| 835 |
0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 836 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, |
| 837 |
0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, |
| 838 |
0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 839 |
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 840 |
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, |
| 841 |
0x54, 0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x07, 0x20, |
| 842 |
0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 843 |
0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, |
| 844 |
0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, |
| 845 |
0x39, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, |
| 846 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, |
| 847 |
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x71, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, 0x6e, |
| 848 |
0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, |
| 849 |
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 850 |
0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x11, |
| 851 |
0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, |
| 852 |
0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 853 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, |
| 854 |
0x61, 0x6d, 0x70, 0x52, 0x0f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x72, 0x74, |
| 855 |
0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, |
| 856 |
0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, |
| 857 |
0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x66, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x0c, 0x20, |
| 858 |
0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x66, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x1a, 0x0a, |
| 859 |
0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 860 |
0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x74, 0x0a, 0x1d, 0x64, 0x69, 0x73, |
| 861 |
0x6b, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, |
| 862 |
0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, |
| 863 |
0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 864 |
0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x45, 0x6e, 0x63, 0x72, 0x79, |
| 865 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, |
| 866 |
0x6f, 0x6e, 0x52, 0x1b, 0x64, 0x69, 0x73, 0x6b, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, |
| 867 |
0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 868 |
0x5f, 0x0a, 0x16, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, |
| 869 |
0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 870 |
0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, |
| 871 |
0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, |
| 872 |
0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x14, 0x64, 0x69, 0x73, 0x6b, |
| 873 |
0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, |
| 874 |
0x12, 0x43, 0x0a, 0x0b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, |
| 875 |
0x13, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 876 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x71, 0x6c, 0x42, |
| 877 |
0x61, 0x63, 0x6b, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x75, |
| 878 |
0x70, 0x4b, 0x69, 0x6e, 0x64, 0x22, 0x8a, 0x01, 0x0a, 0x16, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, |
| 879 |
0x52, 0x75, 0x6e, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
| 880 |
0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, |
| 881 |
0x6b, 0x69, 0x6e, 0x64, 0x12, 0x34, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, |
| 882 |
0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 883 |
0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, |
| 884 |
0x52, 0x75, 0x6e, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, |
| 885 |
0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, |
| 886 |
0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, |
| 887 |
0x65, 0x6e, 0x2a, 0xc4, 0x01, 0x0a, 0x12, 0x53, 0x71, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, |
| 888 |
0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x21, 0x53, 0x51, 0x4c, |
| 889 |
0x5f, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, |
| 890 |
0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, |
| 891 |
0x12, 0x0c, 0x0a, 0x08, 0x45, 0x4e, 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, |
| 892 |
0x0a, 0x07, 0x4f, 0x56, 0x45, 0x52, 0x44, 0x55, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, |
| 893 |
0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, |
| 894 |
0x45, 0x44, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x46, |
| 895 |
0x55, 0x4c, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x4b, 0x49, 0x50, 0x50, 0x45, 0x44, 0x10, |
| 896 |
0x06, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x45, |
| 897 |
0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x45, 0x4c, 0x45, 0x54, |
| 898 |
0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, |
| 899 |
0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x09, 0x2a, 0x4c, 0x0a, 0x0d, 0x53, 0x71, 0x6c, |
| 900 |
0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x51, |
| 901 |
0x4c, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, |
| 902 |
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, |
| 903 |
0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x48, 0x59, |
| 904 |
0x53, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x02, 0x2a, 0x55, 0x0a, 0x10, 0x53, 0x71, 0x6c, 0x42, 0x61, |
| 905 |
0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x53, |
| 906 |
0x51, 0x4c, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x54, 0x59, |
| 907 |
0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, |
| 908 |
0x12, 0x0d, 0x0a, 0x09, 0x41, 0x55, 0x54, 0x4f, 0x4d, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, |
| 909 |
0x0d, 0x0a, 0x09, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x4d, 0x41, 0x4e, 0x44, 0x10, 0x02, 0x32, 0x97, |
| 910 |
0x06, 0x0a, 0x14, 0x53, 0x71, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, 0x6e, 0x73, |
| 911 |
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9e, 0x01, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, |
| 912 |
0x74, 0x65, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 913 |
0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x71, 0x6c, 0x42, 0x61, 0x63, 0x6b, |
| 914 |
0x75, 0x70, 0x52, 0x75, 0x6e, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, |
| 915 |
0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 916 |
0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, |
| 917 |
0x69, 0x6f, 0x6e, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x2a, 0x3b, 0x2f, 0x76, 0x31, |
| 918 |
0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 919 |
0x63, 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, |
| 920 |
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, |
| 921 |
0x75, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x98, 0x01, 0x0a, 0x03, 0x47, 0x65, 0x74, |
| 922 |
0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 923 |
0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x71, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, |
| 924 |
0x52, 0x75, 0x6e, 0x73, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, |
| 925 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, |
| 926 |
0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, 0x6e, 0x22, 0x43, |
| 927 |
0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x12, 0x3b, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, |
| 928 |
0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x69, |
| 929 |
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, |
| 930 |
0x63, 0x65, 0x7d, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, 0x6e, 0x73, 0x2f, 0x7b, |
| 931 |
0x69, 0x64, 0x7d, 0x12, 0x9f, 0x01, 0x0a, 0x06, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x12, 0x2f, |
| 932 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, |
| 933 |
0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x71, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, |
| 934 |
0x6e, 0x73, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, |
| 935 |
0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, |
| 936 |
0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, |
| 937 |
0x44, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, |
| 938 |
0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, |
| 939 |
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, |
| 940 |
0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, 0x6e, 0x73, 0x3a, |
| 941 |
0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0xa2, 0x01, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d, |
| 942 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, |
| 943 |
0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x71, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, |
| 944 |
0x6e, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, |
| 945 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, |
| 946 |
0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, 0x6e, 0x73, 0x4c, 0x69, |
| 947 |
0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x82, 0xd3, 0xe4, 0x93, |
| 948 |
0x02, 0x38, 0x12, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, |
| 949 |
0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, |
| 950 |
0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, |
| 951 |
0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, 0x6e, 0x73, 0x1a, 0x7c, 0xca, 0x41, 0x17, 0x73, |
| 952 |
0x71, 0x6c, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 953 |
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, |
| 954 |
0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, |
| 955 |
0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, |
| 956 |
0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, |
| 957 |
0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, |
| 958 |
0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x73, 0x71, 0x6c, 0x73, 0x65, 0x72, 0x76, 0x69, |
| 959 |
0x63, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x6c, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, |
| 960 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, |
| 961 |
0x2e, 0x76, 0x31, 0x42, 0x17, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x71, 0x6c, 0x42, 0x61, 0x63, |
| 962 |
0x6b, 0x75, 0x70, 0x52, 0x75, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, |
| 963 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, |
| 964 |
0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 965 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x71, 0x6c, 0x2f, |
| 966 |
0x76, 0x31, 0x3b, 0x73, 0x71, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 967 |
} |
| 968 |
|
| 969 |
var ( |
| 970 |
file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescOnce sync.Once |
| 971 |
file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescData = file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDesc |
| 972 |
) |
| 973 |
|
| 974 |
func file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescGZIP() []byte { |
| 975 |
file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescOnce.Do(func() { |
| 976 |
file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescData) |
| 977 |
}) |
| 978 |
return file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDescData |
| 979 |
} |
| 980 |
|
| 981 |
var file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_enumTypes = make([]protoimpl.EnumInfo, 3) |
| 982 |
var file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes = make([]protoimpl.MessageInfo, 6) |
| 983 |
var file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_goTypes = []interface{}{ |
| 984 |
(SqlBackupRunStatus)(0), // 0: google.cloud.sql.v1.SqlBackupRunStatus |
| 985 |
(SqlBackupKind)(0), // 1: google.cloud.sql.v1.SqlBackupKind |
| 986 |
(SqlBackupRunType)(0), // 2: google.cloud.sql.v1.SqlBackupRunType |
| 987 |
(*SqlBackupRunsDeleteRequest)(nil), // 3: google.cloud.sql.v1.SqlBackupRunsDeleteRequest |
| 988 |
(*SqlBackupRunsGetRequest)(nil), // 4: google.cloud.sql.v1.SqlBackupRunsGetRequest |
| 989 |
(*SqlBackupRunsInsertRequest)(nil), // 5: google.cloud.sql.v1.SqlBackupRunsInsertRequest |
| 990 |
(*SqlBackupRunsListRequest)(nil), // 6: google.cloud.sql.v1.SqlBackupRunsListRequest |
| 991 |
(*BackupRun)(nil), // 7: google.cloud.sql.v1.BackupRun |
| 992 |
(*BackupRunsListResponse)(nil), // 8: google.cloud.sql.v1.BackupRunsListResponse |
| 993 |
(*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp |
| 994 |
(*OperationError)(nil), // 10: google.cloud.sql.v1.OperationError |
| 995 |
(*DiskEncryptionConfiguration)(nil), // 11: google.cloud.sql.v1.DiskEncryptionConfiguration |
| 996 |
(*DiskEncryptionStatus)(nil), // 12: google.cloud.sql.v1.DiskEncryptionStatus |
| 997 |
(*Operation)(nil), // 13: google.cloud.sql.v1.Operation |
| 998 |
} |
| 999 |
var file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_depIdxs = []int32{ |
| 1000 |
7, // 0: google.cloud.sql.v1.SqlBackupRunsInsertRequest.body:type_name -> google.cloud.sql.v1.BackupRun |
| 1001 |
0, // 1: google.cloud.sql.v1.BackupRun.status:type_name -> google.cloud.sql.v1.SqlBackupRunStatus |
| 1002 |
9, // 2: google.cloud.sql.v1.BackupRun.enqueued_time:type_name -> google.protobuf.Timestamp |
| 1003 |
9, // 3: google.cloud.sql.v1.BackupRun.start_time:type_name -> google.protobuf.Timestamp |
| 1004 |
9, // 4: google.cloud.sql.v1.BackupRun.end_time:type_name -> google.protobuf.Timestamp |
| 1005 |
10, // 5: google.cloud.sql.v1.BackupRun.error:type_name -> google.cloud.sql.v1.OperationError |
| 1006 |
2, // 6: google.cloud.sql.v1.BackupRun.type:type_name -> google.cloud.sql.v1.SqlBackupRunType |
| 1007 |
9, // 7: google.cloud.sql.v1.BackupRun.window_start_time:type_name -> google.protobuf.Timestamp |
| 1008 |
11, // 8: google.cloud.sql.v1.BackupRun.disk_encryption_configuration:type_name -> google.cloud.sql.v1.DiskEncryptionConfiguration |
| 1009 |
12, // 9: google.cloud.sql.v1.BackupRun.disk_encryption_status:type_name -> google.cloud.sql.v1.DiskEncryptionStatus |
| 1010 |
1, // 10: google.cloud.sql.v1.BackupRun.backup_kind:type_name -> google.cloud.sql.v1.SqlBackupKind |
| 1011 |
7, // 11: google.cloud.sql.v1.BackupRunsListResponse.items:type_name -> google.cloud.sql.v1.BackupRun |
| 1012 |
3, // 12: google.cloud.sql.v1.SqlBackupRunsService.Delete:input_type -> google.cloud.sql.v1.SqlBackupRunsDeleteRequest |
| 1013 |
4, // 13: google.cloud.sql.v1.SqlBackupRunsService.Get:input_type -> google.cloud.sql.v1.SqlBackupRunsGetRequest |
| 1014 |
5, // 14: google.cloud.sql.v1.SqlBackupRunsService.Insert:input_type -> google.cloud.sql.v1.SqlBackupRunsInsertRequest |
| 1015 |
6, // 15: google.cloud.sql.v1.SqlBackupRunsService.List:input_type -> google.cloud.sql.v1.SqlBackupRunsListRequest |
| 1016 |
13, // 16: google.cloud.sql.v1.SqlBackupRunsService.Delete:output_type -> google.cloud.sql.v1.Operation |
| 1017 |
7, // 17: google.cloud.sql.v1.SqlBackupRunsService.Get:output_type -> google.cloud.sql.v1.BackupRun |
| 1018 |
13, // 18: google.cloud.sql.v1.SqlBackupRunsService.Insert:output_type -> google.cloud.sql.v1.Operation |
| 1019 |
8, // 19: google.cloud.sql.v1.SqlBackupRunsService.List:output_type -> google.cloud.sql.v1.BackupRunsListResponse |
| 1020 |
16, // [16:20] is the sub-list for method output_type |
| 1021 |
12, // [12:16] is the sub-list for method input_type |
| 1022 |
12, // [12:12] is the sub-list for extension type_name |
| 1023 |
12, // [12:12] is the sub-list for extension extendee |
| 1024 |
0, // [0:12] is the sub-list for field type_name |
| 1025 |
} |
| 1026 |
|
| 1027 |
func init() { file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_init() } |
| 1028 |
func file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_init() { |
| 1029 |
if File_google_cloud_sql_v1_cloud_sql_backup_runs_proto != nil { |
| 1030 |
return |
| 1031 |
} |
| 1032 |
file_google_cloud_sql_v1_cloud_sql_resources_proto_init() |
| 1033 |
if !protoimpl.UnsafeEnabled { |
| 1034 |
file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 1035 |
switch v := v.(*SqlBackupRunsDeleteRequest); i { |
| 1036 |
case 0: |
| 1037 |
return &v.state |
| 1038 |
case 1: |
| 1039 |
return &v.sizeCache |
| 1040 |
case 2: |
| 1041 |
return &v.unknownFields |
| 1042 |
default: |
| 1043 |
return nil |
| 1044 |
} |
| 1045 |
} |
| 1046 |
file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 1047 |
switch v := v.(*SqlBackupRunsGetRequest); i { |
| 1048 |
case 0: |
| 1049 |
return &v.state |
| 1050 |
case 1: |
| 1051 |
return &v.sizeCache |
| 1052 |
case 2: |
| 1053 |
return &v.unknownFields |
| 1054 |
default: |
| 1055 |
return nil |
| 1056 |
} |
| 1057 |
} |
| 1058 |
file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 1059 |
switch v := v.(*SqlBackupRunsInsertRequest); i { |
| 1060 |
case 0: |
| 1061 |
return &v.state |
| 1062 |
case 1: |
| 1063 |
return &v.sizeCache |
| 1064 |
case 2: |
| 1065 |
return &v.unknownFields |
| 1066 |
default: |
| 1067 |
return nil |
| 1068 |
} |
| 1069 |
} |
| 1070 |
file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 1071 |
switch v := v.(*SqlBackupRunsListRequest); i { |
| 1072 |
case 0: |
| 1073 |
return &v.state |
| 1074 |
case 1: |
| 1075 |
return &v.sizeCache |
| 1076 |
case 2: |
| 1077 |
return &v.unknownFields |
| 1078 |
default: |
| 1079 |
return nil |
| 1080 |
} |
| 1081 |
} |
| 1082 |
file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 1083 |
switch v := v.(*BackupRun); i { |
| 1084 |
case 0: |
| 1085 |
return &v.state |
| 1086 |
case 1: |
| 1087 |
return &v.sizeCache |
| 1088 |
case 2: |
| 1089 |
return &v.unknownFields |
| 1090 |
default: |
| 1091 |
return nil |
| 1092 |
} |
| 1093 |
} |
| 1094 |
file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1095 |
switch v := v.(*BackupRunsListResponse); i { |
| 1096 |
case 0: |
| 1097 |
return &v.state |
| 1098 |
case 1: |
| 1099 |
return &v.sizeCache |
| 1100 |
case 2: |
| 1101 |
return &v.unknownFields |
| 1102 |
default: |
| 1103 |
return nil |
| 1104 |
} |
| 1105 |
} |
| 1106 |
} |
| 1107 |
type x struct{} |
| 1108 |
out := protoimpl.TypeBuilder{ |
| 1109 |
File: protoimpl.DescBuilder{ |
| 1110 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1111 |
RawDescriptor: file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDesc, |
| 1112 |
NumEnums: 3, |
| 1113 |
NumMessages: 6, |
| 1114 |
NumExtensions: 0, |
| 1115 |
NumServices: 1, |
| 1116 |
}, |
| 1117 |
GoTypes: file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_goTypes, |
| 1118 |
DependencyIndexes: file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_depIdxs, |
| 1119 |
EnumInfos: file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_enumTypes, |
| 1120 |
MessageInfos: file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_msgTypes, |
| 1121 |
}.Build() |
| 1122 |
File_google_cloud_sql_v1_cloud_sql_backup_runs_proto = out.File |
| 1123 |
file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_rawDesc = nil |
| 1124 |
file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_goTypes = nil |
| 1125 |
file_google_cloud_sql_v1_cloud_sql_backup_runs_proto_depIdxs = nil |
| 1126 |
} |
| 1127 |
|
| 1128 |
// Reference imports to suppress errors if they are not otherwise used. |
| 1129 |
var _ context.Context |
| 1130 |
var _ grpc.ClientConnInterface |
| 1131 |
|
| 1132 |
// This is a compile-time assertion to ensure that this generated file |
| 1133 |
// is compatible with the grpc package it is being compiled against. |
| 1134 |
const _ = grpc.SupportPackageIsVersion6 |
| 1135 |
|
| 1136 |
// SqlBackupRunsServiceClient is the client API for SqlBackupRunsService service. |
| 1137 |
// |
| 1138 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 1139 |
type SqlBackupRunsServiceClient interface { |
| 1140 |
// Deletes the backup taken by a backup run. |
| 1141 |
Delete(ctx context.Context, in *SqlBackupRunsDeleteRequest, opts ...grpc.CallOption) (*Operation, error) |
| 1142 |
// Retrieves a resource containing information about a backup run. |
| 1143 |
Get(ctx context.Context, in *SqlBackupRunsGetRequest, opts ...grpc.CallOption) (*BackupRun, error) |
| 1144 |
// Creates a new backup run on demand. |
| 1145 |
Insert(ctx context.Context, in *SqlBackupRunsInsertRequest, opts ...grpc.CallOption) (*Operation, error) |
| 1146 |
// Lists all backup runs associated with the project or a given instance |
| 1147 |
// and configuration in the reverse chronological order of the backup |
| 1148 |
// initiation time. |
| 1149 |
List(ctx context.Context, in *SqlBackupRunsListRequest, opts ...grpc.CallOption) (*BackupRunsListResponse, error) |
| 1150 |
} |
| 1151 |
|
| 1152 |
type sqlBackupRunsServiceClient struct { |
| 1153 |
cc grpc.ClientConnInterface |
| 1154 |
} |
| 1155 |
|
| 1156 |
func NewSqlBackupRunsServiceClient(cc grpc.ClientConnInterface) SqlBackupRunsServiceClient { |
| 1157 |
return &sqlBackupRunsServiceClient{cc} |
| 1158 |
} |
| 1159 |
|
| 1160 |
func (c *sqlBackupRunsServiceClient) Delete(ctx context.Context, in *SqlBackupRunsDeleteRequest, opts ...grpc.CallOption) (*Operation, error) { |
| 1161 |
out := new(Operation) |
| 1162 |
err := c.cc.Invoke(ctx, "/google.cloud.sql.v1.SqlBackupRunsService/Delete", in, out, opts...) |
| 1163 |
if err != nil { |
| 1164 |
return nil, err |
| 1165 |
} |
| 1166 |
return out, nil |
| 1167 |
} |
| 1168 |
|
| 1169 |
func (c *sqlBackupRunsServiceClient) Get(ctx context.Context, in *SqlBackupRunsGetRequest, opts ...grpc.CallOption) (*BackupRun, error) { |
| 1170 |
out := new(BackupRun) |
| 1171 |
err := c.cc.Invoke(ctx, "/google.cloud.sql.v1.SqlBackupRunsService/Get", in, out, opts...) |
| 1172 |
if err != nil { |
| 1173 |
return nil, err |
| 1174 |
} |
| 1175 |
return out, nil |
| 1176 |
} |
| 1177 |
|
| 1178 |
func (c *sqlBackupRunsServiceClient) Insert(ctx context.Context, in *SqlBackupRunsInsertRequest, opts ...grpc.CallOption) (*Operation, error) { |
| 1179 |
out := new(Operation) |
| 1180 |
err := c.cc.Invoke(ctx, "/google.cloud.sql.v1.SqlBackupRunsService/Insert", in, out, opts...) |
| 1181 |
if err != nil { |
| 1182 |
return nil, err |
| 1183 |
} |
| 1184 |
return out, nil |
| 1185 |
} |
| 1186 |
|
| 1187 |
func (c *sqlBackupRunsServiceClient) List(ctx context.Context, in *SqlBackupRunsListRequest, opts ...grpc.CallOption) (*BackupRunsListResponse, error) { |
| 1188 |
out := new(BackupRunsListResponse) |
| 1189 |
err := c.cc.Invoke(ctx, "/google.cloud.sql.v1.SqlBackupRunsService/List", in, out, opts...) |
| 1190 |
if err != nil { |
| 1191 |
return nil, err |
| 1192 |
} |
| 1193 |
return out, nil |
| 1194 |
} |
| 1195 |
|
| 1196 |
// SqlBackupRunsServiceServer is the server API for SqlBackupRunsService service. |
| 1197 |
type SqlBackupRunsServiceServer interface { |
| 1198 |
// Deletes the backup taken by a backup run. |
| 1199 |
Delete(context.Context, *SqlBackupRunsDeleteRequest) (*Operation, error) |
| 1200 |
// Retrieves a resource containing information about a backup run. |
| 1201 |
Get(context.Context, *SqlBackupRunsGetRequest) (*BackupRun, error) |
| 1202 |
// Creates a new backup run on demand. |
| 1203 |
Insert(context.Context, *SqlBackupRunsInsertRequest) (*Operation, error) |
| 1204 |
// Lists all backup runs associated with the project or a given instance |
| 1205 |
// and configuration in the reverse chronological order of the backup |
| 1206 |
// initiation time. |
| 1207 |
List(context.Context, *SqlBackupRunsListRequest) (*BackupRunsListResponse, error) |
| 1208 |
} |
| 1209 |
|
| 1210 |
// UnimplementedSqlBackupRunsServiceServer can be embedded to have forward compatible implementations. |
| 1211 |
type UnimplementedSqlBackupRunsServiceServer struct { |
| 1212 |
} |
| 1213 |
|
| 1214 |
func (*UnimplementedSqlBackupRunsServiceServer) Delete(context.Context, *SqlBackupRunsDeleteRequest) (*Operation, error) { |
| 1215 |
return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") |
| 1216 |
} |
| 1217 |
func (*UnimplementedSqlBackupRunsServiceServer) Get(context.Context, *SqlBackupRunsGetRequest) (*BackupRun, error) { |
| 1218 |
return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") |
| 1219 |
} |
| 1220 |
func (*UnimplementedSqlBackupRunsServiceServer) Insert(context.Context, *SqlBackupRunsInsertRequest) (*Operation, error) { |
| 1221 |
return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") |
| 1222 |
} |
| 1223 |
func (*UnimplementedSqlBackupRunsServiceServer) List(context.Context, *SqlBackupRunsListRequest) (*BackupRunsListResponse, error) { |
| 1224 |
return nil, status.Errorf(codes.Unimplemented, "method List not implemented") |
| 1225 |
} |
| 1226 |
|
| 1227 |
func RegisterSqlBackupRunsServiceServer(s *grpc.Server, srv SqlBackupRunsServiceServer) { |
| 1228 |
s.RegisterService(&_SqlBackupRunsService_serviceDesc, srv) |
| 1229 |
} |
| 1230 |
|
| 1231 |
func _SqlBackupRunsService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1232 |
in := new(SqlBackupRunsDeleteRequest) |
| 1233 |
if err := dec(in); err != nil { |
| 1234 |
return nil, err |
| 1235 |
} |
| 1236 |
if interceptor == nil { |
| 1237 |
return srv.(SqlBackupRunsServiceServer).Delete(ctx, in) |
| 1238 |
} |
| 1239 |
info := &grpc.UnaryServerInfo{ |
| 1240 |
Server: srv, |
| 1241 |
FullMethod: "/google.cloud.sql.v1.SqlBackupRunsService/Delete", |
| 1242 |
} |
| 1243 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1244 |
return srv.(SqlBackupRunsServiceServer).Delete(ctx, req.(*SqlBackupRunsDeleteRequest)) |
| 1245 |
} |
| 1246 |
return interceptor(ctx, in, info, handler) |
| 1247 |
} |
| 1248 |
|
| 1249 |
func _SqlBackupRunsService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1250 |
in := new(SqlBackupRunsGetRequest) |
| 1251 |
if err := dec(in); err != nil { |
| 1252 |
return nil, err |
| 1253 |
} |
| 1254 |
if interceptor == nil { |
| 1255 |
return srv.(SqlBackupRunsServiceServer).Get(ctx, in) |
| 1256 |
} |
| 1257 |
info := &grpc.UnaryServerInfo{ |
| 1258 |
Server: srv, |
| 1259 |
FullMethod: "/google.cloud.sql.v1.SqlBackupRunsService/Get", |
| 1260 |
} |
| 1261 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1262 |
return srv.(SqlBackupRunsServiceServer).Get(ctx, req.(*SqlBackupRunsGetRequest)) |
| 1263 |
} |
| 1264 |
return interceptor(ctx, in, info, handler) |
| 1265 |
} |
| 1266 |
|
| 1267 |
func _SqlBackupRunsService_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1268 |
in := new(SqlBackupRunsInsertRequest) |
| 1269 |
if err := dec(in); err != nil { |
| 1270 |
return nil, err |
| 1271 |
} |
| 1272 |
if interceptor == nil { |
| 1273 |
return srv.(SqlBackupRunsServiceServer).Insert(ctx, in) |
| 1274 |
} |
| 1275 |
info := &grpc.UnaryServerInfo{ |
| 1276 |
Server: srv, |
| 1277 |
FullMethod: "/google.cloud.sql.v1.SqlBackupRunsService/Insert", |
| 1278 |
} |
| 1279 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1280 |
return srv.(SqlBackupRunsServiceServer).Insert(ctx, req.(*SqlBackupRunsInsertRequest)) |
| 1281 |
} |
| 1282 |
return interceptor(ctx, in, info, handler) |
| 1283 |
} |
| 1284 |
|
| 1285 |
func _SqlBackupRunsService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1286 |
in := new(SqlBackupRunsListRequest) |
| 1287 |
if err := dec(in); err != nil { |
| 1288 |
return nil, err |
| 1289 |
} |
| 1290 |
if interceptor == nil { |
| 1291 |
return srv.(SqlBackupRunsServiceServer).List(ctx, in) |
| 1292 |
} |
| 1293 |
info := &grpc.UnaryServerInfo{ |
| 1294 |
Server: srv, |
| 1295 |
FullMethod: "/google.cloud.sql.v1.SqlBackupRunsService/List", |
| 1296 |
} |
| 1297 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1298 |
return srv.(SqlBackupRunsServiceServer).List(ctx, req.(*SqlBackupRunsListRequest)) |
| 1299 |
} |
| 1300 |
return interceptor(ctx, in, info, handler) |
| 1301 |
} |
| 1302 |
|
| 1303 |
var _SqlBackupRunsService_serviceDesc = grpc.ServiceDesc{ |
| 1304 |
ServiceName: "google.cloud.sql.v1.SqlBackupRunsService", |
| 1305 |
HandlerType: (*SqlBackupRunsServiceServer)(nil), |
| 1306 |
Methods: []grpc.MethodDesc{ |
| 1307 |
{ |
| 1308 |
MethodName: "Delete", |
| 1309 |
Handler: _SqlBackupRunsService_Delete_Handler, |
| 1310 |
}, |
| 1311 |
{ |
| 1312 |
MethodName: "Get", |
| 1313 |
Handler: _SqlBackupRunsService_Get_Handler, |
| 1314 |
}, |
| 1315 |
{ |
| 1316 |
MethodName: "Insert", |
| 1317 |
Handler: _SqlBackupRunsService_Insert_Handler, |
| 1318 |
}, |
| 1319 |
{ |
| 1320 |
MethodName: "List", |
| 1321 |
Handler: _SqlBackupRunsService_List_Handler, |
| 1322 |
}, |
| 1323 |
}, |
| 1324 |
Streams: []grpc.StreamDesc{}, |
| 1325 |
Metadata: "google/cloud/sql/v1/cloud_sql_backup_runs.proto", |
| 1326 |
} |