1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/bigtable/admin/v2/bigtable_instance_admin.proto
5 Package admin is a generated protocol buffer package.
7 It is generated from these files:
8 google/bigtable/admin/v2/bigtable_instance_admin.proto
9 google/bigtable/admin/v2/bigtable_table_admin.proto
10 google/bigtable/admin/v2/common.proto
11 google/bigtable/admin/v2/instance.proto
12 google/bigtable/admin/v2/table.proto
14 It has these top-level messages:
25 CreateInstanceMetadata
33 ModifyColumnFamiliesRequest
42 import proto "github.com/golang/protobuf/proto"
45 import _ "google.golang.org/genproto/googleapis/api/annotations"
46 import google_longrunning "google.golang.org/genproto/googleapis/longrunning"
47 import google_protobuf3 "github.com/golang/protobuf/ptypes/empty"
48 import google_protobuf1 "github.com/golang/protobuf/ptypes/timestamp"
51 context "golang.org/x/net/context"
52 grpc "google.golang.org/grpc"
55 // Reference imports to suppress errors if they are not otherwise used.
60 // This is a compile-time assertion to ensure that this generated file
61 // is compatible with the proto package it is being compiled against.
62 // A compilation error at this line likely means your copy of the
63 // proto package needs to be updated.
64 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
66 // Request message for BigtableInstanceAdmin.CreateInstance.
67 type CreateInstanceRequest struct {
68 // The unique name of the project in which to create the new instance.
69 // Values are of the form `projects/<project>`.
70 Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
71 // The ID to be used when referring to the new instance within its project,
72 // e.g., just `myinstance` rather than
73 // `projects/myproject/instances/myinstance`.
74 InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId" json:"instance_id,omitempty"`
75 // The instance to create.
76 // Fields marked `OutputOnly` must be left blank.
77 Instance *Instance `protobuf:"bytes,3,opt,name=instance" json:"instance,omitempty"`
78 // The clusters to be created within the instance, mapped by desired
79 // cluster ID, e.g., just `mycluster` rather than
80 // `projects/myproject/instances/myinstance/clusters/mycluster`.
81 // Fields marked `OutputOnly` must be left blank.
82 // Currently exactly one cluster must be specified.
83 Clusters map[string]*Cluster `protobuf:"bytes,4,rep,name=clusters" json:"clusters,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
86 func (m *CreateInstanceRequest) Reset() { *m = CreateInstanceRequest{} }
87 func (m *CreateInstanceRequest) String() string { return proto.CompactTextString(m) }
88 func (*CreateInstanceRequest) ProtoMessage() {}
89 func (*CreateInstanceRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
91 func (m *CreateInstanceRequest) GetParent() string {
98 func (m *CreateInstanceRequest) GetInstanceId() string {
105 func (m *CreateInstanceRequest) GetInstance() *Instance {
112 func (m *CreateInstanceRequest) GetClusters() map[string]*Cluster {
119 // Request message for BigtableInstanceAdmin.GetInstance.
120 type GetInstanceRequest struct {
121 // The unique name of the requested instance. Values are of the form
122 // `projects/<project>/instances/<instance>`.
123 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
126 func (m *GetInstanceRequest) Reset() { *m = GetInstanceRequest{} }
127 func (m *GetInstanceRequest) String() string { return proto.CompactTextString(m) }
128 func (*GetInstanceRequest) ProtoMessage() {}
129 func (*GetInstanceRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
131 func (m *GetInstanceRequest) GetName() string {
138 // Request message for BigtableInstanceAdmin.ListInstances.
139 type ListInstancesRequest struct {
140 // The unique name of the project for which a list of instances is requested.
141 // Values are of the form `projects/<project>`.
142 Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
143 // The value of `next_page_token` returned by a previous call.
144 PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
147 func (m *ListInstancesRequest) Reset() { *m = ListInstancesRequest{} }
148 func (m *ListInstancesRequest) String() string { return proto.CompactTextString(m) }
149 func (*ListInstancesRequest) ProtoMessage() {}
150 func (*ListInstancesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
152 func (m *ListInstancesRequest) GetParent() string {
159 func (m *ListInstancesRequest) GetPageToken() string {
166 // Response message for BigtableInstanceAdmin.ListInstances.
167 type ListInstancesResponse struct {
168 // The list of requested instances.
169 Instances []*Instance `protobuf:"bytes,1,rep,name=instances" json:"instances,omitempty"`
170 // Locations from which Instance information could not be retrieved,
171 // due to an outage or some other transient condition.
172 // Instances whose Clusters are all in one of the failed locations
173 // may be missing from `instances`, and Instances with at least one
174 // Cluster in a failed location may only have partial information returned.
175 FailedLocations []string `protobuf:"bytes,2,rep,name=failed_locations,json=failedLocations" json:"failed_locations,omitempty"`
176 // Set if not all instances could be returned in a single response.
177 // Pass this value to `page_token` in another request to get the next
179 NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
182 func (m *ListInstancesResponse) Reset() { *m = ListInstancesResponse{} }
183 func (m *ListInstancesResponse) String() string { return proto.CompactTextString(m) }
184 func (*ListInstancesResponse) ProtoMessage() {}
185 func (*ListInstancesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
187 func (m *ListInstancesResponse) GetInstances() []*Instance {
194 func (m *ListInstancesResponse) GetFailedLocations() []string {
196 return m.FailedLocations
201 func (m *ListInstancesResponse) GetNextPageToken() string {
203 return m.NextPageToken
208 // Request message for BigtableInstanceAdmin.DeleteInstance.
209 type DeleteInstanceRequest struct {
210 // The unique name of the instance to be deleted.
211 // Values are of the form `projects/<project>/instances/<instance>`.
212 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
215 func (m *DeleteInstanceRequest) Reset() { *m = DeleteInstanceRequest{} }
216 func (m *DeleteInstanceRequest) String() string { return proto.CompactTextString(m) }
217 func (*DeleteInstanceRequest) ProtoMessage() {}
218 func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
220 func (m *DeleteInstanceRequest) GetName() string {
227 // Request message for BigtableInstanceAdmin.CreateCluster.
228 type CreateClusterRequest struct {
229 // The unique name of the instance in which to create the new cluster.
230 // Values are of the form
231 // `projects/<project>/instances/<instance>`.
232 Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
233 // The ID to be used when referring to the new cluster within its instance,
234 // e.g., just `mycluster` rather than
235 // `projects/myproject/instances/myinstance/clusters/mycluster`.
236 ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
237 // The cluster to be created.
238 // Fields marked `OutputOnly` must be left blank.
239 Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster" json:"cluster,omitempty"`
242 func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} }
243 func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) }
244 func (*CreateClusterRequest) ProtoMessage() {}
245 func (*CreateClusterRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
247 func (m *CreateClusterRequest) GetParent() string {
254 func (m *CreateClusterRequest) GetClusterId() string {
261 func (m *CreateClusterRequest) GetCluster() *Cluster {
268 // Request message for BigtableInstanceAdmin.GetCluster.
269 type GetClusterRequest struct {
270 // The unique name of the requested cluster. Values are of the form
271 // `projects/<project>/instances/<instance>/clusters/<cluster>`.
272 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
275 func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} }
276 func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) }
277 func (*GetClusterRequest) ProtoMessage() {}
278 func (*GetClusterRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
280 func (m *GetClusterRequest) GetName() string {
287 // Request message for BigtableInstanceAdmin.ListClusters.
288 type ListClustersRequest struct {
289 // The unique name of the instance for which a list of clusters is requested.
290 // Values are of the form `projects/<project>/instances/<instance>`.
291 // Use `<instance> = '-'` to list Clusters for all Instances in a project,
292 // e.g., `projects/myproject/instances/-`.
293 Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
294 // The value of `next_page_token` returned by a previous call.
295 PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
298 func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} }
299 func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) }
300 func (*ListClustersRequest) ProtoMessage() {}
301 func (*ListClustersRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
303 func (m *ListClustersRequest) GetParent() string {
310 func (m *ListClustersRequest) GetPageToken() string {
317 // Response message for BigtableInstanceAdmin.ListClusters.
318 type ListClustersResponse struct {
319 // The list of requested clusters.
320 Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters" json:"clusters,omitempty"`
321 // Locations from which Cluster information could not be retrieved,
322 // due to an outage or some other transient condition.
323 // Clusters from these locations may be missing from `clusters`,
324 // or may only have partial information returned.
325 FailedLocations []string `protobuf:"bytes,2,rep,name=failed_locations,json=failedLocations" json:"failed_locations,omitempty"`
326 // Set if not all clusters could be returned in a single response.
327 // Pass this value to `page_token` in another request to get the next
329 NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
332 func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} }
333 func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) }
334 func (*ListClustersResponse) ProtoMessage() {}
335 func (*ListClustersResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
337 func (m *ListClustersResponse) GetClusters() []*Cluster {
344 func (m *ListClustersResponse) GetFailedLocations() []string {
346 return m.FailedLocations
351 func (m *ListClustersResponse) GetNextPageToken() string {
353 return m.NextPageToken
358 // Request message for BigtableInstanceAdmin.DeleteCluster.
359 type DeleteClusterRequest struct {
360 // The unique name of the cluster to be deleted. Values are of the form
361 // `projects/<project>/instances/<instance>/clusters/<cluster>`.
362 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
365 func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} }
366 func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) }
367 func (*DeleteClusterRequest) ProtoMessage() {}
368 func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
370 func (m *DeleteClusterRequest) GetName() string {
377 // The metadata for the Operation returned by CreateInstance.
378 type CreateInstanceMetadata struct {
379 // The request that prompted the initiation of this CreateInstance operation.
380 OriginalRequest *CreateInstanceRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest" json:"original_request,omitempty"`
381 // The time at which the original request was received.
382 RequestTime *google_protobuf1.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime" json:"request_time,omitempty"`
383 // The time at which the operation failed or was completed successfully.
384 FinishTime *google_protobuf1.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime" json:"finish_time,omitempty"`
387 func (m *CreateInstanceMetadata) Reset() { *m = CreateInstanceMetadata{} }
388 func (m *CreateInstanceMetadata) String() string { return proto.CompactTextString(m) }
389 func (*CreateInstanceMetadata) ProtoMessage() {}
390 func (*CreateInstanceMetadata) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
392 func (m *CreateInstanceMetadata) GetOriginalRequest() *CreateInstanceRequest {
394 return m.OriginalRequest
399 func (m *CreateInstanceMetadata) GetRequestTime() *google_protobuf1.Timestamp {
406 func (m *CreateInstanceMetadata) GetFinishTime() *google_protobuf1.Timestamp {
413 // The metadata for the Operation returned by UpdateCluster.
414 type UpdateClusterMetadata struct {
415 // The request that prompted the initiation of this UpdateCluster operation.
416 OriginalRequest *Cluster `protobuf:"bytes,1,opt,name=original_request,json=originalRequest" json:"original_request,omitempty"`
417 // The time at which the original request was received.
418 RequestTime *google_protobuf1.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime" json:"request_time,omitempty"`
419 // The time at which the operation failed or was completed successfully.
420 FinishTime *google_protobuf1.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime" json:"finish_time,omitempty"`
423 func (m *UpdateClusterMetadata) Reset() { *m = UpdateClusterMetadata{} }
424 func (m *UpdateClusterMetadata) String() string { return proto.CompactTextString(m) }
425 func (*UpdateClusterMetadata) ProtoMessage() {}
426 func (*UpdateClusterMetadata) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
428 func (m *UpdateClusterMetadata) GetOriginalRequest() *Cluster {
430 return m.OriginalRequest
435 func (m *UpdateClusterMetadata) GetRequestTime() *google_protobuf1.Timestamp {
442 func (m *UpdateClusterMetadata) GetFinishTime() *google_protobuf1.Timestamp {
450 proto.RegisterType((*CreateInstanceRequest)(nil), "google.bigtable.admin.v2.CreateInstanceRequest")
451 proto.RegisterType((*GetInstanceRequest)(nil), "google.bigtable.admin.v2.GetInstanceRequest")
452 proto.RegisterType((*ListInstancesRequest)(nil), "google.bigtable.admin.v2.ListInstancesRequest")
453 proto.RegisterType((*ListInstancesResponse)(nil), "google.bigtable.admin.v2.ListInstancesResponse")
454 proto.RegisterType((*DeleteInstanceRequest)(nil), "google.bigtable.admin.v2.DeleteInstanceRequest")
455 proto.RegisterType((*CreateClusterRequest)(nil), "google.bigtable.admin.v2.CreateClusterRequest")
456 proto.RegisterType((*GetClusterRequest)(nil), "google.bigtable.admin.v2.GetClusterRequest")
457 proto.RegisterType((*ListClustersRequest)(nil), "google.bigtable.admin.v2.ListClustersRequest")
458 proto.RegisterType((*ListClustersResponse)(nil), "google.bigtable.admin.v2.ListClustersResponse")
459 proto.RegisterType((*DeleteClusterRequest)(nil), "google.bigtable.admin.v2.DeleteClusterRequest")
460 proto.RegisterType((*CreateInstanceMetadata)(nil), "google.bigtable.admin.v2.CreateInstanceMetadata")
461 proto.RegisterType((*UpdateClusterMetadata)(nil), "google.bigtable.admin.v2.UpdateClusterMetadata")
464 // Reference imports to suppress errors if they are not otherwise used.
465 var _ context.Context
466 var _ grpc.ClientConn
468 // This is a compile-time assertion to ensure that this generated file
469 // is compatible with the grpc package it is being compiled against.
470 const _ = grpc.SupportPackageIsVersion4
472 // Client API for BigtableInstanceAdmin service
474 type BigtableInstanceAdminClient interface {
475 // Create an instance within a project.
476 CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
477 // Gets information about an instance.
478 GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
479 // Lists information about instances in a project.
480 ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
481 // Updates an instance within a project.
482 UpdateInstance(ctx context.Context, in *Instance, opts ...grpc.CallOption) (*Instance, error)
483 // Delete an instance from a project.
484 DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error)
485 // Creates a cluster within an instance.
486 CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
487 // Gets information about a cluster.
488 GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
489 // Lists information about clusters in an instance.
490 ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
491 // Updates a cluster within an instance.
492 UpdateCluster(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
493 // Deletes a cluster from an instance.
494 DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error)
497 type bigtableInstanceAdminClient struct {
501 func NewBigtableInstanceAdminClient(cc *grpc.ClientConn) BigtableInstanceAdminClient {
502 return &bigtableInstanceAdminClient{cc}
505 func (c *bigtableInstanceAdminClient) CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
506 out := new(google_longrunning.Operation)
507 err := grpc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateInstance", in, out, c.cc, opts...)
514 func (c *bigtableInstanceAdminClient) GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) {
516 err := grpc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetInstance", in, out, c.cc, opts...)
523 func (c *bigtableInstanceAdminClient) ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) {
524 out := new(ListInstancesResponse)
525 err := grpc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListInstances", in, out, c.cc, opts...)
532 func (c *bigtableInstanceAdminClient) UpdateInstance(ctx context.Context, in *Instance, opts ...grpc.CallOption) (*Instance, error) {
534 err := grpc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateInstance", in, out, c.cc, opts...)
541 func (c *bigtableInstanceAdminClient) DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error) {
542 out := new(google_protobuf3.Empty)
543 err := grpc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteInstance", in, out, c.cc, opts...)
550 func (c *bigtableInstanceAdminClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
551 out := new(google_longrunning.Operation)
552 err := grpc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateCluster", in, out, c.cc, opts...)
559 func (c *bigtableInstanceAdminClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) {
561 err := grpc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetCluster", in, out, c.cc, opts...)
568 func (c *bigtableInstanceAdminClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) {
569 out := new(ListClustersResponse)
570 err := grpc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListClusters", in, out, c.cc, opts...)
577 func (c *bigtableInstanceAdminClient) UpdateCluster(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
578 out := new(google_longrunning.Operation)
579 err := grpc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateCluster", in, out, c.cc, opts...)
586 func (c *bigtableInstanceAdminClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error) {
587 out := new(google_protobuf3.Empty)
588 err := grpc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteCluster", in, out, c.cc, opts...)
595 // Server API for BigtableInstanceAdmin service
597 type BigtableInstanceAdminServer interface {
598 // Create an instance within a project.
599 CreateInstance(context.Context, *CreateInstanceRequest) (*google_longrunning.Operation, error)
600 // Gets information about an instance.
601 GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
602 // Lists information about instances in a project.
603 ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
604 // Updates an instance within a project.
605 UpdateInstance(context.Context, *Instance) (*Instance, error)
606 // Delete an instance from a project.
607 DeleteInstance(context.Context, *DeleteInstanceRequest) (*google_protobuf3.Empty, error)
608 // Creates a cluster within an instance.
609 CreateCluster(context.Context, *CreateClusterRequest) (*google_longrunning.Operation, error)
610 // Gets information about a cluster.
611 GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
612 // Lists information about clusters in an instance.
613 ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
614 // Updates a cluster within an instance.
615 UpdateCluster(context.Context, *Cluster) (*google_longrunning.Operation, error)
616 // Deletes a cluster from an instance.
617 DeleteCluster(context.Context, *DeleteClusterRequest) (*google_protobuf3.Empty, error)
620 func RegisterBigtableInstanceAdminServer(s *grpc.Server, srv BigtableInstanceAdminServer) {
621 s.RegisterService(&_BigtableInstanceAdmin_serviceDesc, srv)
624 func _BigtableInstanceAdmin_CreateInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
625 in := new(CreateInstanceRequest)
626 if err := dec(in); err != nil {
629 if interceptor == nil {
630 return srv.(BigtableInstanceAdminServer).CreateInstance(ctx, in)
632 info := &grpc.UnaryServerInfo{
634 FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateInstance",
636 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
637 return srv.(BigtableInstanceAdminServer).CreateInstance(ctx, req.(*CreateInstanceRequest))
639 return interceptor(ctx, in, info, handler)
642 func _BigtableInstanceAdmin_GetInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
643 in := new(GetInstanceRequest)
644 if err := dec(in); err != nil {
647 if interceptor == nil {
648 return srv.(BigtableInstanceAdminServer).GetInstance(ctx, in)
650 info := &grpc.UnaryServerInfo{
652 FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetInstance",
654 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
655 return srv.(BigtableInstanceAdminServer).GetInstance(ctx, req.(*GetInstanceRequest))
657 return interceptor(ctx, in, info, handler)
660 func _BigtableInstanceAdmin_ListInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
661 in := new(ListInstancesRequest)
662 if err := dec(in); err != nil {
665 if interceptor == nil {
666 return srv.(BigtableInstanceAdminServer).ListInstances(ctx, in)
668 info := &grpc.UnaryServerInfo{
670 FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListInstances",
672 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
673 return srv.(BigtableInstanceAdminServer).ListInstances(ctx, req.(*ListInstancesRequest))
675 return interceptor(ctx, in, info, handler)
678 func _BigtableInstanceAdmin_UpdateInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
680 if err := dec(in); err != nil {
683 if interceptor == nil {
684 return srv.(BigtableInstanceAdminServer).UpdateInstance(ctx, in)
686 info := &grpc.UnaryServerInfo{
688 FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateInstance",
690 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
691 return srv.(BigtableInstanceAdminServer).UpdateInstance(ctx, req.(*Instance))
693 return interceptor(ctx, in, info, handler)
696 func _BigtableInstanceAdmin_DeleteInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
697 in := new(DeleteInstanceRequest)
698 if err := dec(in); err != nil {
701 if interceptor == nil {
702 return srv.(BigtableInstanceAdminServer).DeleteInstance(ctx, in)
704 info := &grpc.UnaryServerInfo{
706 FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteInstance",
708 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
709 return srv.(BigtableInstanceAdminServer).DeleteInstance(ctx, req.(*DeleteInstanceRequest))
711 return interceptor(ctx, in, info, handler)
714 func _BigtableInstanceAdmin_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
715 in := new(CreateClusterRequest)
716 if err := dec(in); err != nil {
719 if interceptor == nil {
720 return srv.(BigtableInstanceAdminServer).CreateCluster(ctx, in)
722 info := &grpc.UnaryServerInfo{
724 FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateCluster",
726 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
727 return srv.(BigtableInstanceAdminServer).CreateCluster(ctx, req.(*CreateClusterRequest))
729 return interceptor(ctx, in, info, handler)
732 func _BigtableInstanceAdmin_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
733 in := new(GetClusterRequest)
734 if err := dec(in); err != nil {
737 if interceptor == nil {
738 return srv.(BigtableInstanceAdminServer).GetCluster(ctx, in)
740 info := &grpc.UnaryServerInfo{
742 FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetCluster",
744 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
745 return srv.(BigtableInstanceAdminServer).GetCluster(ctx, req.(*GetClusterRequest))
747 return interceptor(ctx, in, info, handler)
750 func _BigtableInstanceAdmin_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
751 in := new(ListClustersRequest)
752 if err := dec(in); err != nil {
755 if interceptor == nil {
756 return srv.(BigtableInstanceAdminServer).ListClusters(ctx, in)
758 info := &grpc.UnaryServerInfo{
760 FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListClusters",
762 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
763 return srv.(BigtableInstanceAdminServer).ListClusters(ctx, req.(*ListClustersRequest))
765 return interceptor(ctx, in, info, handler)
768 func _BigtableInstanceAdmin_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
770 if err := dec(in); err != nil {
773 if interceptor == nil {
774 return srv.(BigtableInstanceAdminServer).UpdateCluster(ctx, in)
776 info := &grpc.UnaryServerInfo{
778 FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateCluster",
780 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
781 return srv.(BigtableInstanceAdminServer).UpdateCluster(ctx, req.(*Cluster))
783 return interceptor(ctx, in, info, handler)
786 func _BigtableInstanceAdmin_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
787 in := new(DeleteClusterRequest)
788 if err := dec(in); err != nil {
791 if interceptor == nil {
792 return srv.(BigtableInstanceAdminServer).DeleteCluster(ctx, in)
794 info := &grpc.UnaryServerInfo{
796 FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteCluster",
798 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
799 return srv.(BigtableInstanceAdminServer).DeleteCluster(ctx, req.(*DeleteClusterRequest))
801 return interceptor(ctx, in, info, handler)
804 var _BigtableInstanceAdmin_serviceDesc = grpc.ServiceDesc{
805 ServiceName: "google.bigtable.admin.v2.BigtableInstanceAdmin",
806 HandlerType: (*BigtableInstanceAdminServer)(nil),
807 Methods: []grpc.MethodDesc{
809 MethodName: "CreateInstance",
810 Handler: _BigtableInstanceAdmin_CreateInstance_Handler,
813 MethodName: "GetInstance",
814 Handler: _BigtableInstanceAdmin_GetInstance_Handler,
817 MethodName: "ListInstances",
818 Handler: _BigtableInstanceAdmin_ListInstances_Handler,
821 MethodName: "UpdateInstance",
822 Handler: _BigtableInstanceAdmin_UpdateInstance_Handler,
825 MethodName: "DeleteInstance",
826 Handler: _BigtableInstanceAdmin_DeleteInstance_Handler,
829 MethodName: "CreateCluster",
830 Handler: _BigtableInstanceAdmin_CreateCluster_Handler,
833 MethodName: "GetCluster",
834 Handler: _BigtableInstanceAdmin_GetCluster_Handler,
837 MethodName: "ListClusters",
838 Handler: _BigtableInstanceAdmin_ListClusters_Handler,
841 MethodName: "UpdateCluster",
842 Handler: _BigtableInstanceAdmin_UpdateCluster_Handler,
845 MethodName: "DeleteCluster",
846 Handler: _BigtableInstanceAdmin_DeleteCluster_Handler,
849 Streams: []grpc.StreamDesc{},
850 Metadata: "google/bigtable/admin/v2/bigtable_instance_admin.proto",
854 proto.RegisterFile("google/bigtable/admin/v2/bigtable_instance_admin.proto", fileDescriptor0)
857 var fileDescriptor0 = []byte{
858 // 985 bytes of a gzipped FileDescriptorProto
859 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x41, 0x8f, 0xdb, 0x44,
860 0x14, 0xd6, 0x24, 0xa5, 0x34, 0xcf, 0xcd, 0xee, 0x32, 0x6c, 0x56, 0x91, 0x69, 0xd5, 0xad, 0x2b,
861 0xb5, 0x69, 0xba, 0xd8, 0x22, 0x20, 0x16, 0xed, 0x2a, 0x08, 0xb6, 0x54, 0xd5, 0x4a, 0x5b, 0xb1,
862 0x8a, 0xca, 0x81, 0x1e, 0x88, 0x66, 0x93, 0x59, 0x63, 0xea, 0x8c, 0x8d, 0x3d, 0x59, 0xb1, 0xaa,
863 0x7a, 0x41, 0x88, 0x43, 0x25, 0x38, 0xc0, 0x11, 0x71, 0xe2, 0xc2, 0x81, 0x7f, 0xc2, 0x91, 0x23,
864 0x27, 0x24, 0x7e, 0x00, 0x3f, 0x01, 0x8d, 0x67, 0xc6, 0x89, 0xb3, 0x76, 0xec, 0x08, 0x21, 0xf5,
865 0x66, 0xcf, 0xbc, 0xf7, 0xe6, 0x9b, 0xef, 0xfb, 0xfc, 0x5e, 0x02, 0xef, 0xba, 0x41, 0xe0, 0xfa,
866 0xd4, 0x39, 0xf1, 0x5c, 0x4e, 0x4e, 0x7c, 0xea, 0x90, 0xf1, 0xc4, 0x63, 0xce, 0x59, 0x2f, 0x5d,
867 0x19, 0x7a, 0x2c, 0xe6, 0x84, 0x8d, 0xe8, 0x30, 0xd9, 0xb2, 0xc3, 0x28, 0xe0, 0x01, 0x6e, 0xcb,
868 0x3c, 0x5b, 0x47, 0xd9, 0x72, 0xf3, 0xac, 0x67, 0x5e, 0x53, 0x15, 0x49, 0xe8, 0x39, 0x84, 0xb1,
869 0x80, 0x13, 0xee, 0x05, 0x2c, 0x96, 0x79, 0xe6, 0x9d, 0xc2, 0xf3, 0xf4, 0x31, 0x2a, 0xf0, 0x96,
870 0x0a, 0xf4, 0x03, 0xe6, 0x46, 0x53, 0xc6, 0x3c, 0xe6, 0x3a, 0x41, 0x48, 0xa3, 0x4c, 0xb5, 0x37,
871 0x54, 0x50, 0xf2, 0x76, 0x32, 0x3d, 0x75, 0xe8, 0x24, 0xe4, 0xe7, 0x6a, 0xf3, 0xc6, 0xe2, 0x26,
872 0xf7, 0x26, 0x34, 0xe6, 0x64, 0x12, 0xca, 0x00, 0xeb, 0xf7, 0x1a, 0xb4, 0xee, 0x47, 0x94, 0x70,
873 0x7a, 0xa8, 0xce, 0x1e, 0x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66, 0xe3, 0x36, 0x4a, 0xe8, 0xac, 0x22, 0xc7, 0x2c,
885 0x09, 0xdf, 0x85, 0x8d, 0x53, 0xe2, 0xf9, 0x74, 0x3c, 0xf4, 0x83, 0x91, 0xb4, 0x5e, 0xbb, 0xb6,
886 0x5d, 0xef, 0x34, 0x06, 0xeb, 0x72, 0xfd, 0x48, 0x2f, 0xe3, 0xdb, 0xb0, 0xce, 0xe8, 0x57, 0x7c,
887 0x38, 0x07, 0xb5, 0x9e, 0x40, 0x6d, 0x8a, 0xe5, 0xe3, 0x14, 0xee, 0x3d, 0x68, 0x7d, 0x44, 0x7d,
888 0x7a, 0xd1, 0x74, 0x79, 0x54, 0xbd, 0x40, 0xb0, 0x29, 0x65, 0xd6, 0x8c, 0x97, 0x73, 0xa5, 0x14,
889 0x9f, 0x19, 0xb4, 0xa1, 0x56, 0x0e, 0xc7, 0x78, 0x1f, 0x5e, 0x55, 0x2f, 0xca, 0x9e, 0x15, 0x34,
890 0xd6, 0x19, 0xd6, 0x1d, 0x78, 0xed, 0x21, 0xe5, 0x0b, 0x40, 0xf2, 0x50, 0x1f, 0xc1, 0xeb, 0x42,
891 0x10, 0x6d, 0xb7, 0xff, 0xa8, 0xef, 0xaf, 0x48, 0xfa, 0x65, 0x56, 0x4e, 0xc9, 0xdb, 0x9f, 0xfb,
892 0x58, 0xa4, 0xba, 0x15, 0x6e, 0x93, 0xa6, 0xfc, 0x1f, 0xda, 0x76, 0x61, 0x53, 0x6a, 0x5b, 0x81,
893 0xa4, 0x7f, 0x10, 0x6c, 0x65, 0xbf, 0xe0, 0x47, 0x94, 0x93, 0x31, 0xe1, 0x04, 0x3f, 0x81, 0x8d,
894 0x20, 0xf2, 0x5c, 0x8f, 0x11, 0x7f, 0x18, 0xc9, 0x12, 0x49, 0xaa, 0xd1, 0x73, 0x56, 0xec, 0x06,
895 0x83, 0x75, 0x5d, 0x48, 0x43, 0xe9, 0xc3, 0x55, 0x55, 0x72, 0x28, 0xfa, 0xa1,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6,
907 0x2a, 0xdc, 0xbf, 0x12, 0x47, 0x4a, 0x33, 0xb3, 0x9c, 0x23, 0xa1, 0xd9, 0x37, 0x08, 0xd6, 0xb2,
908 0xe3, 0x63, 0x99, 0x89, 0x72, 0x07, 0x8d, 0xb9, 0x75, 0xc1, 0xca, 0x0f, 0xc4, 0xcf, 0x26, 0xcd,
909 0x47, 0xb7, 0x82, 0x5a, 0x3f, 0x23, 0x68, 0x66, 0xe6, 0xd2, 0x32, 0xb5, 0xf2, 0x06, 0x58, 0x99,
910 0x93, 0xfb, 0x09, 0x96, 0x5d, 0x6b, 0x27, 0x5f, 0x9b, 0x0c, 0x1a, 0x47, 0xb7, 0xf4, 0x3d, 0x3d,
911 0xaa, 0xf0, 0x0f, 0x08, 0x60, 0x36, 0xab, 0xf0, 0xbd, 0xa5, 0xce, 0x5e, 0x40, 0x56, 0xde, 0x71,
912 0xac, 0x77, 0x12, 0x74, 0x36, 0xde, 0x29, 0x63, 0x2a, 0x85, 0x26, 0x48, 0xfb, 0x05, 0xc1, 0xd5,
913 0xf9, 0x41, 0x86, 0xdf, 0x5c, 0xee, 0xd8, 0x85, 0xf9, 0x69, 0xda, 0x55, 0xc3, 0x95, 0xbf, 0xb3,
914 0x28, 0x2b, 0x72, 0x28, 0xba, 0x42, 0x33, 0xd3, 0xa4, 0x71, 0x39, 0x21, 0x65, 0x6a, 0xee, 0x26,
915 0x48, 0xde, 0x32, 0x57, 0xe2, 0x4b, 0xd8, 0xfd, 0x3b, 0x04, 0xcd, 0xcc, 0x44, 0x5d, 0xe6, 0xb3,
916 0xbc, 0xd1, 0x5b, 0x68, 0x76, 0x45, 0x4e, 0x77, 0x25, 0x48, 0x07, 0xcf, 0xe0, 0xda, 0x28, 0x98,
917 0x14, 0x42, 0x38, 0x30, 0x73, 0x5b, 0xff, 0xb1, 0x38, 0xfa, 0x18, 0x3d, 0xe9, 0xab, 0x3c, 0x37,
918 0xf0, 0x09, 0x73, 0xed, 0x20, 0x72, 0x1d, 0x97, 0xb2, 0x04, 0x98, 0x23, 0xb7, 0x48, 0xe8, 0xc5,
919 0x17, 0xff, 0x1b, 0xed, 0x27, 0x0f, 0x27, 0x97, 0x93, 0xc8, 0xb7, 0xff, 0x0d, 0x00, 0x00, 0xff,
920 0xff, 0xb8, 0x4b, 0x18, 0x4a, 0xb4, 0x0d, 0x00, 0x00,