...

Source file src/google.golang.org/genproto/googleapis/cloud/sql/v1/cloud_sql_databases.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/sql/v1

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

View as plain text