| 1 |
// Copyright 2017 Google Inc. |
| 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.25.0 |
| 18 |
// protoc v3.13.0 |
| 19 |
// source: google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto |
| 20 |
|
| 21 |
package cluster |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
reflect "reflect" |
| 26 |
|
| 27 |
proto "github.com/golang/protobuf/proto" |
| 28 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 29 |
longrunning "google.golang.org/genproto/googleapis/longrunning" |
| 30 |
grpc "google.golang.org/grpc" |
| 31 |
codes "google.golang.org/grpc/codes" |
| 32 |
status "google.golang.org/grpc/status" |
| 33 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 34 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 35 |
emptypb "google.golang.org/protobuf/types/known/emptypb" |
| 36 |
) |
| 37 |
|
| 38 |
const ( |
| 39 |
// Verify that this generated code is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 41 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 42 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 43 |
) |
| 44 |
|
| 45 |
// This is a compile-time assertion that a sufficiently up-to-date version |
| 46 |
// of the legacy proto package is being used. |
| 47 |
const _ = proto.ProtoPackageIsVersion4 |
| 48 |
|
| 49 |
var File_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto protoreflect.FileDescriptor |
| 50 |
|
| 51 |
var file_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto_rawDesc = []byte{ |
| 52 |
0x0a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, |
| 53 |
0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, |
| 54 |
0x76, 0x31, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, |
| 55 |
0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 56 |
0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, |
| 57 |
0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, |
| 58 |
0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 59 |
0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 60 |
0x6f, 0x1a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, |
| 61 |
0x6c, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, |
| 62 |
0x2f, 0x76, 0x31, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x75, |
| 63 |
0x73, 0x74, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 64 |
0x48, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, |
| 65 |
0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, |
| 66 |
0x31, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, |
| 67 |
0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, |
| 68 |
0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 69 |
0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, |
| 70 |
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, |
| 71 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, |
| 72 |
0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x89, 0x09, 0x0a, 0x16, |
| 73 |
0x42, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, |
| 74 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x99, 0x01, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x5a, |
| 75 |
0x6f, 0x6e, 0x65, 0x73, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, |
| 76 |
0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75, |
| 77 |
0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x5a, 0x6f, 0x6e, 0x65, |
| 78 |
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 79 |
0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, |
| 80 |
0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, |
| 81 |
0x5a, 0x6f, 0x6e, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, |
| 82 |
0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, |
| 83 |
0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x7a, 0x6f, 0x6e, |
| 84 |
0x65, 0x73, 0x12, 0x9e, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, |
| 85 |
0x72, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, |
| 86 |
0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, |
| 87 |
0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, |
| 88 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 89 |
0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x63, |
| 90 |
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, |
| 91 |
0x72, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, |
| 92 |
0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, |
| 93 |
0x7a, 0x6f, 0x6e, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, |
| 94 |
0x2f, 0x2a, 0x7d, 0x12, 0xb0, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6c, 0x75, 0x73, |
| 95 |
0x74, 0x65, 0x72, 0x73, 0x12, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, |
| 96 |
0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75, |
| 97 |
0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6c, 0x75, 0x73, |
| 98 |
0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f, |
| 99 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, |
| 100 |
0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, |
| 101 |
0x69, 0x73, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 102 |
0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x76, 0x31, |
| 103 |
0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, |
| 104 |
0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x2f, 0x63, 0x6c, |
| 105 |
0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0xa5, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, |
| 106 |
0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 107 |
0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, |
| 108 |
0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, |
| 109 |
0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 110 |
0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, |
| 111 |
0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, |
| 112 |
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x31, 0x82, 0xd3, 0xe4, |
| 113 |
0x93, 0x02, 0x2b, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, |
| 114 |
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x7a, 0x6f, 0x6e, 0x65, 0x73, 0x2f, |
| 115 |
0x2a, 0x7d, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0x9a, |
| 116 |
0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, |
| 117 |
0x12, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, |
| 118 |
0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, |
| 119 |
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x29, 0x2e, 0x67, 0x6f, |
| 120 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, |
| 121 |
0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, |
| 122 |
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x1a, 0x28, |
| 123 |
0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| 124 |
0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x7a, 0x6f, 0x6e, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6c, 0x75, |
| 125 |
0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0x91, 0x01, 0x0a, 0x0d, |
| 126 |
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x36, 0x2e, |
| 127 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, |
| 128 |
0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, |
| 129 |
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, |
| 130 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 131 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x30, 0x82, |
| 132 |
0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x2a, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, |
| 133 |
0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x7a, 0x6f, 0x6e, 0x65, |
| 134 |
0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, |
| 135 |
0xa5, 0x01, 0x0a, 0x0f, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, |
| 136 |
0x74, 0x65, 0x72, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, |
| 137 |
0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75, 0x73, |
| 138 |
0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, |
| 139 |
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, |
| 140 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, |
| 141 |
0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, |
| 142 |
0xe4, 0x93, 0x02, 0x33, 0x22, 0x31, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, |
| 143 |
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x7a, 0x6f, 0x6e, 0x65, 0x73, |
| 144 |
0x2f, 0x2a, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, |
| 145 |
0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x8f, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, |
| 146 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, |
| 147 |
0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, |
| 148 |
0x42, 0x1c, 0x42, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, |
| 149 |
0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, |
| 150 |
0x5a, 0x47, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, |
| 151 |
0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, |
| 152 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, |
| 153 |
0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, |
| 154 |
0x31, 0x3b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 155 |
0x33, |
| 156 |
} |
| 157 |
|
| 158 |
var file_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto_goTypes = []interface{}{ |
| 159 |
(*ListZonesRequest)(nil), // 0: google.bigtable.admin.cluster.v1.ListZonesRequest |
| 160 |
(*GetClusterRequest)(nil), // 1: google.bigtable.admin.cluster.v1.GetClusterRequest |
| 161 |
(*ListClustersRequest)(nil), // 2: google.bigtable.admin.cluster.v1.ListClustersRequest |
| 162 |
(*CreateClusterRequest)(nil), // 3: google.bigtable.admin.cluster.v1.CreateClusterRequest |
| 163 |
(*Cluster)(nil), // 4: google.bigtable.admin.cluster.v1.Cluster |
| 164 |
(*DeleteClusterRequest)(nil), // 5: google.bigtable.admin.cluster.v1.DeleteClusterRequest |
| 165 |
(*UndeleteClusterRequest)(nil), // 6: google.bigtable.admin.cluster.v1.UndeleteClusterRequest |
| 166 |
(*ListZonesResponse)(nil), // 7: google.bigtable.admin.cluster.v1.ListZonesResponse |
| 167 |
(*ListClustersResponse)(nil), // 8: google.bigtable.admin.cluster.v1.ListClustersResponse |
| 168 |
(*emptypb.Empty)(nil), // 9: google.protobuf.Empty |
| 169 |
(*longrunning.Operation)(nil), // 10: google.longrunning.Operation |
| 170 |
} |
| 171 |
var file_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto_depIdxs = []int32{ |
| 172 |
0, // 0: google.bigtable.admin.cluster.v1.BigtableClusterService.ListZones:input_type -> google.bigtable.admin.cluster.v1.ListZonesRequest |
| 173 |
1, // 1: google.bigtable.admin.cluster.v1.BigtableClusterService.GetCluster:input_type -> google.bigtable.admin.cluster.v1.GetClusterRequest |
| 174 |
2, // 2: google.bigtable.admin.cluster.v1.BigtableClusterService.ListClusters:input_type -> google.bigtable.admin.cluster.v1.ListClustersRequest |
| 175 |
3, // 3: google.bigtable.admin.cluster.v1.BigtableClusterService.CreateCluster:input_type -> google.bigtable.admin.cluster.v1.CreateClusterRequest |
| 176 |
4, // 4: google.bigtable.admin.cluster.v1.BigtableClusterService.UpdateCluster:input_type -> google.bigtable.admin.cluster.v1.Cluster |
| 177 |
5, // 5: google.bigtable.admin.cluster.v1.BigtableClusterService.DeleteCluster:input_type -> google.bigtable.admin.cluster.v1.DeleteClusterRequest |
| 178 |
6, // 6: google.bigtable.admin.cluster.v1.BigtableClusterService.UndeleteCluster:input_type -> google.bigtable.admin.cluster.v1.UndeleteClusterRequest |
| 179 |
7, // 7: google.bigtable.admin.cluster.v1.BigtableClusterService.ListZones:output_type -> google.bigtable.admin.cluster.v1.ListZonesResponse |
| 180 |
4, // 8: google.bigtable.admin.cluster.v1.BigtableClusterService.GetCluster:output_type -> google.bigtable.admin.cluster.v1.Cluster |
| 181 |
8, // 9: google.bigtable.admin.cluster.v1.BigtableClusterService.ListClusters:output_type -> google.bigtable.admin.cluster.v1.ListClustersResponse |
| 182 |
4, // 10: google.bigtable.admin.cluster.v1.BigtableClusterService.CreateCluster:output_type -> google.bigtable.admin.cluster.v1.Cluster |
| 183 |
4, // 11: google.bigtable.admin.cluster.v1.BigtableClusterService.UpdateCluster:output_type -> google.bigtable.admin.cluster.v1.Cluster |
| 184 |
9, // 12: google.bigtable.admin.cluster.v1.BigtableClusterService.DeleteCluster:output_type -> google.protobuf.Empty |
| 185 |
10, // 13: google.bigtable.admin.cluster.v1.BigtableClusterService.UndeleteCluster:output_type -> google.longrunning.Operation |
| 186 |
7, // [7:14] is the sub-list for method output_type |
| 187 |
0, // [0:7] is the sub-list for method input_type |
| 188 |
0, // [0:0] is the sub-list for extension type_name |
| 189 |
0, // [0:0] is the sub-list for extension extendee |
| 190 |
0, // [0:0] is the sub-list for field type_name |
| 191 |
} |
| 192 |
|
| 193 |
func init() { file_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto_init() } |
| 194 |
func file_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto_init() { |
| 195 |
if File_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto != nil { |
| 196 |
return |
| 197 |
} |
| 198 |
file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_init() |
| 199 |
file_google_bigtable_admin_cluster_v1_bigtable_cluster_service_messages_proto_init() |
| 200 |
type x struct{} |
| 201 |
out := protoimpl.TypeBuilder{ |
| 202 |
File: protoimpl.DescBuilder{ |
| 203 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 204 |
RawDescriptor: file_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto_rawDesc, |
| 205 |
NumEnums: 0, |
| 206 |
NumMessages: 0, |
| 207 |
NumExtensions: 0, |
| 208 |
NumServices: 1, |
| 209 |
}, |
| 210 |
GoTypes: file_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto_goTypes, |
| 211 |
DependencyIndexes: file_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto_depIdxs, |
| 212 |
}.Build() |
| 213 |
File_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto = out.File |
| 214 |
file_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto_rawDesc = nil |
| 215 |
file_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto_goTypes = nil |
| 216 |
file_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto_depIdxs = nil |
| 217 |
} |
| 218 |
|
| 219 |
// Reference imports to suppress errors if they are not otherwise used. |
| 220 |
var _ context.Context |
| 221 |
var _ grpc.ClientConnInterface |
| 222 |
|
| 223 |
// This is a compile-time assertion to ensure that this generated file |
| 224 |
// is compatible with the grpc package it is being compiled against. |
| 225 |
const _ = grpc.SupportPackageIsVersion6 |
| 226 |
|
| 227 |
// BigtableClusterServiceClient is the client API for BigtableClusterService service. |
| 228 |
// |
| 229 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 230 |
type BigtableClusterServiceClient interface { |
| 231 |
// Lists the supported zones for the given project. |
| 232 |
ListZones(ctx context.Context, in *ListZonesRequest, opts ...grpc.CallOption) (*ListZonesResponse, error) |
| 233 |
// Gets information about a particular cluster. |
| 234 |
GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) |
| 235 |
// Lists all clusters in the given project, along with any zones for which |
| 236 |
// cluster information could not be retrieved. |
| 237 |
ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) |
| 238 |
// Creates a cluster and begins preparing it to begin serving. The returned |
| 239 |
// cluster embeds as its "current_operation" a long-running operation which |
| 240 |
// can be used to track the progress of turning up the new cluster. |
| 241 |
// Immediately upon completion of this request: |
| 242 |
// * The cluster will be readable via the API, with all requested attributes |
| 243 |
// but no allocated resources. |
| 244 |
// Until completion of the embedded operation: |
| 245 |
// * Cancelling the operation will render the cluster immediately unreadable |
| 246 |
// via the API. |
| 247 |
// * All other attempts to modify or delete the cluster will be rejected. |
| 248 |
// Upon completion of the embedded operation: |
| 249 |
// * Billing for all successfully-allocated resources will begin (some types |
| 250 |
// may have lower than the requested levels). |
| 251 |
// * New tables can be created in the cluster. |
| 252 |
// * The cluster's allocated resource levels will be readable via the API. |
| 253 |
// The embedded operation's "metadata" field type is |
| 254 |
// [CreateClusterMetadata][google.bigtable.admin.cluster.v1.CreateClusterMetadata] |
| 255 |
// The embedded operation's "response" field type is |
| 256 |
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. |
| 257 |
CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Cluster, error) |
| 258 |
// Updates a cluster, and begins allocating or releasing resources as |
| 259 |
// requested. The returned cluster embeds as its "current_operation" a |
| 260 |
// long-running operation which can be used to track the progress of updating |
| 261 |
// the cluster. |
| 262 |
// Immediately upon completion of this request: |
| 263 |
// * For resource types where a decrease in the cluster's allocation has been |
| 264 |
// requested, billing will be based on the newly-requested level. |
| 265 |
// Until completion of the embedded operation: |
| 266 |
// * Cancelling the operation will set its metadata's "cancelled_at_time", |
| 267 |
// and begin restoring resources to their pre-request values. The operation |
| 268 |
// is guaranteed to succeed at undoing all resource changes, after which |
| 269 |
// point it will terminate with a CANCELLED status. |
| 270 |
// * All other attempts to modify or delete the cluster will be rejected. |
| 271 |
// * Reading the cluster via the API will continue to give the pre-request |
| 272 |
// resource levels. |
| 273 |
// Upon completion of the embedded operation: |
| 274 |
// * Billing will begin for all successfully-allocated resources (some types |
| 275 |
// may have lower than the requested levels). |
| 276 |
// * All newly-reserved resources will be available for serving the cluster's |
| 277 |
// tables. |
| 278 |
// * The cluster's new resource levels will be readable via the API. |
| 279 |
// [UpdateClusterMetadata][google.bigtable.admin.cluster.v1.UpdateClusterMetadata] |
| 280 |
// The embedded operation's "response" field type is |
| 281 |
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. |
| 282 |
UpdateCluster(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*Cluster, error) |
| 283 |
// Marks a cluster and all of its tables for permanent deletion in 7 days. |
| 284 |
// Immediately upon completion of the request: |
| 285 |
// * Billing will cease for all of the cluster's reserved resources. |
| 286 |
// * The cluster's "delete_time" field will be set 7 days in the future. |
| 287 |
// Soon afterward: |
| 288 |
// * All tables within the cluster will become unavailable. |
| 289 |
// Prior to the cluster's "delete_time": |
| 290 |
// * The cluster can be recovered with a call to UndeleteCluster. |
| 291 |
// * All other attempts to modify or delete the cluster will be rejected. |
| 292 |
// At the cluster's "delete_time": |
| 293 |
// * The cluster and *all of its tables* will immediately and irrevocably |
| 294 |
// disappear from the API, and their data will be permanently deleted. |
| 295 |
DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 296 |
// Cancels the scheduled deletion of an cluster and begins preparing it to |
| 297 |
// resume serving. The returned operation will also be embedded as the |
| 298 |
// cluster's "current_operation". |
| 299 |
// Immediately upon completion of this request: |
| 300 |
// * The cluster's "delete_time" field will be unset, protecting it from |
| 301 |
// automatic deletion. |
| 302 |
// Until completion of the returned operation: |
| 303 |
// * The operation cannot be cancelled. |
| 304 |
// Upon completion of the returned operation: |
| 305 |
// * Billing for the cluster's resources will resume. |
| 306 |
// * All tables within the cluster will be available. |
| 307 |
// [UndeleteClusterMetadata][google.bigtable.admin.cluster.v1.UndeleteClusterMetadata] |
| 308 |
// The embedded operation's "response" field type is |
| 309 |
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. |
| 310 |
UndeleteCluster(ctx context.Context, in *UndeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| 311 |
} |
| 312 |
|
| 313 |
type bigtableClusterServiceClient struct { |
| 314 |
cc grpc.ClientConnInterface |
| 315 |
} |
| 316 |
|
| 317 |
func NewBigtableClusterServiceClient(cc grpc.ClientConnInterface) BigtableClusterServiceClient { |
| 318 |
return &bigtableClusterServiceClient{cc} |
| 319 |
} |
| 320 |
|
| 321 |
func (c *bigtableClusterServiceClient) ListZones(ctx context.Context, in *ListZonesRequest, opts ...grpc.CallOption) (*ListZonesResponse, error) { |
| 322 |
out := new(ListZonesResponse) |
| 323 |
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListZones", in, out, opts...) |
| 324 |
if err != nil { |
| 325 |
return nil, err |
| 326 |
} |
| 327 |
return out, nil |
| 328 |
} |
| 329 |
|
| 330 |
func (c *bigtableClusterServiceClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) { |
| 331 |
out := new(Cluster) |
| 332 |
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/GetCluster", in, out, opts...) |
| 333 |
if err != nil { |
| 334 |
return nil, err |
| 335 |
} |
| 336 |
return out, nil |
| 337 |
} |
| 338 |
|
| 339 |
func (c *bigtableClusterServiceClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) { |
| 340 |
out := new(ListClustersResponse) |
| 341 |
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListClusters", in, out, opts...) |
| 342 |
if err != nil { |
| 343 |
return nil, err |
| 344 |
} |
| 345 |
return out, nil |
| 346 |
} |
| 347 |
|
| 348 |
func (c *bigtableClusterServiceClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Cluster, error) { |
| 349 |
out := new(Cluster) |
| 350 |
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/CreateCluster", in, out, opts...) |
| 351 |
if err != nil { |
| 352 |
return nil, err |
| 353 |
} |
| 354 |
return out, nil |
| 355 |
} |
| 356 |
|
| 357 |
func (c *bigtableClusterServiceClient) UpdateCluster(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*Cluster, error) { |
| 358 |
out := new(Cluster) |
| 359 |
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/UpdateCluster", in, out, opts...) |
| 360 |
if err != nil { |
| 361 |
return nil, err |
| 362 |
} |
| 363 |
return out, nil |
| 364 |
} |
| 365 |
|
| 366 |
func (c *bigtableClusterServiceClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 367 |
out := new(emptypb.Empty) |
| 368 |
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/DeleteCluster", in, out, opts...) |
| 369 |
if err != nil { |
| 370 |
return nil, err |
| 371 |
} |
| 372 |
return out, nil |
| 373 |
} |
| 374 |
|
| 375 |
func (c *bigtableClusterServiceClient) UndeleteCluster(ctx context.Context, in *UndeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| 376 |
out := new(longrunning.Operation) |
| 377 |
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/UndeleteCluster", in, out, opts...) |
| 378 |
if err != nil { |
| 379 |
return nil, err |
| 380 |
} |
| 381 |
return out, nil |
| 382 |
} |
| 383 |
|
| 384 |
// BigtableClusterServiceServer is the server API for BigtableClusterService service. |
| 385 |
type BigtableClusterServiceServer interface { |
| 386 |
// Lists the supported zones for the given project. |
| 387 |
ListZones(context.Context, *ListZonesRequest) (*ListZonesResponse, error) |
| 388 |
// Gets information about a particular cluster. |
| 389 |
GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) |
| 390 |
// Lists all clusters in the given project, along with any zones for which |
| 391 |
// cluster information could not be retrieved. |
| 392 |
ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) |
| 393 |
// Creates a cluster and begins preparing it to begin serving. The returned |
| 394 |
// cluster embeds as its "current_operation" a long-running operation which |
| 395 |
// can be used to track the progress of turning up the new cluster. |
| 396 |
// Immediately upon completion of this request: |
| 397 |
// * The cluster will be readable via the API, with all requested attributes |
| 398 |
// but no allocated resources. |
| 399 |
// Until completion of the embedded operation: |
| 400 |
// * Cancelling the operation will render the cluster immediately unreadable |
| 401 |
// via the API. |
| 402 |
// * All other attempts to modify or delete the cluster will be rejected. |
| 403 |
// Upon completion of the embedded operation: |
| 404 |
// * Billing for all successfully-allocated resources will begin (some types |
| 405 |
// may have lower than the requested levels). |
| 406 |
// * New tables can be created in the cluster. |
| 407 |
// * The cluster's allocated resource levels will be readable via the API. |
| 408 |
// The embedded operation's "metadata" field type is |
| 409 |
// [CreateClusterMetadata][google.bigtable.admin.cluster.v1.CreateClusterMetadata] |
| 410 |
// The embedded operation's "response" field type is |
| 411 |
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. |
| 412 |
CreateCluster(context.Context, *CreateClusterRequest) (*Cluster, error) |
| 413 |
// Updates a cluster, and begins allocating or releasing resources as |
| 414 |
// requested. The returned cluster embeds as its "current_operation" a |
| 415 |
// long-running operation which can be used to track the progress of updating |
| 416 |
// the cluster. |
| 417 |
// Immediately upon completion of this request: |
| 418 |
// * For resource types where a decrease in the cluster's allocation has been |
| 419 |
// requested, billing will be based on the newly-requested level. |
| 420 |
// Until completion of the embedded operation: |
| 421 |
// * Cancelling the operation will set its metadata's "cancelled_at_time", |
| 422 |
// and begin restoring resources to their pre-request values. The operation |
| 423 |
// is guaranteed to succeed at undoing all resource changes, after which |
| 424 |
// point it will terminate with a CANCELLED status. |
| 425 |
// * All other attempts to modify or delete the cluster will be rejected. |
| 426 |
// * Reading the cluster via the API will continue to give the pre-request |
| 427 |
// resource levels. |
| 428 |
// Upon completion of the embedded operation: |
| 429 |
// * Billing will begin for all successfully-allocated resources (some types |
| 430 |
// may have lower than the requested levels). |
| 431 |
// * All newly-reserved resources will be available for serving the cluster's |
| 432 |
// tables. |
| 433 |
// * The cluster's new resource levels will be readable via the API. |
| 434 |
// [UpdateClusterMetadata][google.bigtable.admin.cluster.v1.UpdateClusterMetadata] |
| 435 |
// The embedded operation's "response" field type is |
| 436 |
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. |
| 437 |
UpdateCluster(context.Context, *Cluster) (*Cluster, error) |
| 438 |
// Marks a cluster and all of its tables for permanent deletion in 7 days. |
| 439 |
// Immediately upon completion of the request: |
| 440 |
// * Billing will cease for all of the cluster's reserved resources. |
| 441 |
// * The cluster's "delete_time" field will be set 7 days in the future. |
| 442 |
// Soon afterward: |
| 443 |
// * All tables within the cluster will become unavailable. |
| 444 |
// Prior to the cluster's "delete_time": |
| 445 |
// * The cluster can be recovered with a call to UndeleteCluster. |
| 446 |
// * All other attempts to modify or delete the cluster will be rejected. |
| 447 |
// At the cluster's "delete_time": |
| 448 |
// * The cluster and *all of its tables* will immediately and irrevocably |
| 449 |
// disappear from the API, and their data will be permanently deleted. |
| 450 |
DeleteCluster(context.Context, *DeleteClusterRequest) (*emptypb.Empty, error) |
| 451 |
// Cancels the scheduled deletion of an cluster and begins preparing it to |
| 452 |
// resume serving. The returned operation will also be embedded as the |
| 453 |
// cluster's "current_operation". |
| 454 |
// Immediately upon completion of this request: |
| 455 |
// * The cluster's "delete_time" field will be unset, protecting it from |
| 456 |
// automatic deletion. |
| 457 |
// Until completion of the returned operation: |
| 458 |
// * The operation cannot be cancelled. |
| 459 |
// Upon completion of the returned operation: |
| 460 |
// * Billing for the cluster's resources will resume. |
| 461 |
// * All tables within the cluster will be available. |
| 462 |
// [UndeleteClusterMetadata][google.bigtable.admin.cluster.v1.UndeleteClusterMetadata] |
| 463 |
// The embedded operation's "response" field type is |
| 464 |
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. |
| 465 |
UndeleteCluster(context.Context, *UndeleteClusterRequest) (*longrunning.Operation, error) |
| 466 |
} |
| 467 |
|
| 468 |
// UnimplementedBigtableClusterServiceServer can be embedded to have forward compatible implementations. |
| 469 |
type UnimplementedBigtableClusterServiceServer struct { |
| 470 |
} |
| 471 |
|
| 472 |
func (*UnimplementedBigtableClusterServiceServer) ListZones(context.Context, *ListZonesRequest) (*ListZonesResponse, error) { |
| 473 |
return nil, status.Errorf(codes.Unimplemented, "method ListZones not implemented") |
| 474 |
} |
| 475 |
func (*UnimplementedBigtableClusterServiceServer) GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) { |
| 476 |
return nil, status.Errorf(codes.Unimplemented, "method GetCluster not implemented") |
| 477 |
} |
| 478 |
func (*UnimplementedBigtableClusterServiceServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) { |
| 479 |
return nil, status.Errorf(codes.Unimplemented, "method ListClusters not implemented") |
| 480 |
} |
| 481 |
func (*UnimplementedBigtableClusterServiceServer) CreateCluster(context.Context, *CreateClusterRequest) (*Cluster, error) { |
| 482 |
return nil, status.Errorf(codes.Unimplemented, "method CreateCluster not implemented") |
| 483 |
} |
| 484 |
func (*UnimplementedBigtableClusterServiceServer) UpdateCluster(context.Context, *Cluster) (*Cluster, error) { |
| 485 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateCluster not implemented") |
| 486 |
} |
| 487 |
func (*UnimplementedBigtableClusterServiceServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*emptypb.Empty, error) { |
| 488 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteCluster not implemented") |
| 489 |
} |
| 490 |
func (*UnimplementedBigtableClusterServiceServer) UndeleteCluster(context.Context, *UndeleteClusterRequest) (*longrunning.Operation, error) { |
| 491 |
return nil, status.Errorf(codes.Unimplemented, "method UndeleteCluster not implemented") |
| 492 |
} |
| 493 |
|
| 494 |
func RegisterBigtableClusterServiceServer(s *grpc.Server, srv BigtableClusterServiceServer) { |
| 495 |
s.RegisterService(&_BigtableClusterService_serviceDesc, srv) |
| 496 |
} |
| 497 |
|
| 498 |
func _BigtableClusterService_ListZones_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 499 |
in := new(ListZonesRequest) |
| 500 |
if err := dec(in); err != nil { |
| 501 |
return nil, err |
| 502 |
} |
| 503 |
if interceptor == nil { |
| 504 |
return srv.(BigtableClusterServiceServer).ListZones(ctx, in) |
| 505 |
} |
| 506 |
info := &grpc.UnaryServerInfo{ |
| 507 |
Server: srv, |
| 508 |
FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListZones", |
| 509 |
} |
| 510 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 511 |
return srv.(BigtableClusterServiceServer).ListZones(ctx, req.(*ListZonesRequest)) |
| 512 |
} |
| 513 |
return interceptor(ctx, in, info, handler) |
| 514 |
} |
| 515 |
|
| 516 |
func _BigtableClusterService_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 517 |
in := new(GetClusterRequest) |
| 518 |
if err := dec(in); err != nil { |
| 519 |
return nil, err |
| 520 |
} |
| 521 |
if interceptor == nil { |
| 522 |
return srv.(BigtableClusterServiceServer).GetCluster(ctx, in) |
| 523 |
} |
| 524 |
info := &grpc.UnaryServerInfo{ |
| 525 |
Server: srv, |
| 526 |
FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/GetCluster", |
| 527 |
} |
| 528 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 529 |
return srv.(BigtableClusterServiceServer).GetCluster(ctx, req.(*GetClusterRequest)) |
| 530 |
} |
| 531 |
return interceptor(ctx, in, info, handler) |
| 532 |
} |
| 533 |
|
| 534 |
func _BigtableClusterService_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 535 |
in := new(ListClustersRequest) |
| 536 |
if err := dec(in); err != nil { |
| 537 |
return nil, err |
| 538 |
} |
| 539 |
if interceptor == nil { |
| 540 |
return srv.(BigtableClusterServiceServer).ListClusters(ctx, in) |
| 541 |
} |
| 542 |
info := &grpc.UnaryServerInfo{ |
| 543 |
Server: srv, |
| 544 |
FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListClusters", |
| 545 |
} |
| 546 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 547 |
return srv.(BigtableClusterServiceServer).ListClusters(ctx, req.(*ListClustersRequest)) |
| 548 |
} |
| 549 |
return interceptor(ctx, in, info, handler) |
| 550 |
} |
| 551 |
|
| 552 |
func _BigtableClusterService_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 553 |
in := new(CreateClusterRequest) |
| 554 |
if err := dec(in); err != nil { |
| 555 |
return nil, err |
| 556 |
} |
| 557 |
if interceptor == nil { |
| 558 |
return srv.(BigtableClusterServiceServer).CreateCluster(ctx, in) |
| 559 |
} |
| 560 |
info := &grpc.UnaryServerInfo{ |
| 561 |
Server: srv, |
| 562 |
FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/CreateCluster", |
| 563 |
} |
| 564 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 565 |
return srv.(BigtableClusterServiceServer).CreateCluster(ctx, req.(*CreateClusterRequest)) |
| 566 |
} |
| 567 |
return interceptor(ctx, in, info, handler) |
| 568 |
} |
| 569 |
|
| 570 |
func _BigtableClusterService_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 571 |
in := new(Cluster) |
| 572 |
if err := dec(in); err != nil { |
| 573 |
return nil, err |
| 574 |
} |
| 575 |
if interceptor == nil { |
| 576 |
return srv.(BigtableClusterServiceServer).UpdateCluster(ctx, in) |
| 577 |
} |
| 578 |
info := &grpc.UnaryServerInfo{ |
| 579 |
Server: srv, |
| 580 |
FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/UpdateCluster", |
| 581 |
} |
| 582 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 583 |
return srv.(BigtableClusterServiceServer).UpdateCluster(ctx, req.(*Cluster)) |
| 584 |
} |
| 585 |
return interceptor(ctx, in, info, handler) |
| 586 |
} |
| 587 |
|
| 588 |
func _BigtableClusterService_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 589 |
in := new(DeleteClusterRequest) |
| 590 |
if err := dec(in); err != nil { |
| 591 |
return nil, err |
| 592 |
} |
| 593 |
if interceptor == nil { |
| 594 |
return srv.(BigtableClusterServiceServer).DeleteCluster(ctx, in) |
| 595 |
} |
| 596 |
info := &grpc.UnaryServerInfo{ |
| 597 |
Server: srv, |
| 598 |
FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/DeleteCluster", |
| 599 |
} |
| 600 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 601 |
return srv.(BigtableClusterServiceServer).DeleteCluster(ctx, req.(*DeleteClusterRequest)) |
| 602 |
} |
| 603 |
return interceptor(ctx, in, info, handler) |
| 604 |
} |
| 605 |
|
| 606 |
func _BigtableClusterService_UndeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 607 |
in := new(UndeleteClusterRequest) |
| 608 |
if err := dec(in); err != nil { |
| 609 |
return nil, err |
| 610 |
} |
| 611 |
if interceptor == nil { |
| 612 |
return srv.(BigtableClusterServiceServer).UndeleteCluster(ctx, in) |
| 613 |
} |
| 614 |
info := &grpc.UnaryServerInfo{ |
| 615 |
Server: srv, |
| 616 |
FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/UndeleteCluster", |
| 617 |
} |
| 618 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 619 |
return srv.(BigtableClusterServiceServer).UndeleteCluster(ctx, req.(*UndeleteClusterRequest)) |
| 620 |
} |
| 621 |
return interceptor(ctx, in, info, handler) |
| 622 |
} |
| 623 |
|
| 624 |
var _BigtableClusterService_serviceDesc = grpc.ServiceDesc{ |
| 625 |
ServiceName: "google.bigtable.admin.cluster.v1.BigtableClusterService", |
| 626 |
HandlerType: (*BigtableClusterServiceServer)(nil), |
| 627 |
Methods: []grpc.MethodDesc{ |
| 628 |
{ |
| 629 |
MethodName: "ListZones", |
| 630 |
Handler: _BigtableClusterService_ListZones_Handler, |
| 631 |
}, |
| 632 |
{ |
| 633 |
MethodName: "GetCluster", |
| 634 |
Handler: _BigtableClusterService_GetCluster_Handler, |
| 635 |
}, |
| 636 |
{ |
| 637 |
MethodName: "ListClusters", |
| 638 |
Handler: _BigtableClusterService_ListClusters_Handler, |
| 639 |
}, |
| 640 |
{ |
| 641 |
MethodName: "CreateCluster", |
| 642 |
Handler: _BigtableClusterService_CreateCluster_Handler, |
| 643 |
}, |
| 644 |
{ |
| 645 |
MethodName: "UpdateCluster", |
| 646 |
Handler: _BigtableClusterService_UpdateCluster_Handler, |
| 647 |
}, |
| 648 |
{ |
| 649 |
MethodName: "DeleteCluster", |
| 650 |
Handler: _BigtableClusterService_DeleteCluster_Handler, |
| 651 |
}, |
| 652 |
{ |
| 653 |
MethodName: "UndeleteCluster", |
| 654 |
Handler: _BigtableClusterService_UndeleteCluster_Handler, |
| 655 |
}, |
| 656 |
}, |
| 657 |
Streams: []grpc.StreamDesc{}, |
| 658 |
Metadata: "google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto", |
| 659 |
} |