...

Source file src/google.golang.org/genproto/googleapis/genomics/v1/datasets.pb.go

Documentation: google.golang.org/genproto/googleapis/genomics/v1

     1  // Copyright 2024 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        v4.24.4
    19  // source: google/genomics/v1/datasets.proto
    20  
    21  package genomics
    22  
    23  import (
    24  	context "context"
    25  	reflect "reflect"
    26  	sync "sync"
    27  
    28  	iampb "cloud.google.com/go/iam/apiv1/iampb"
    29  	_ "google.golang.org/genproto/googleapis/api/annotations"
    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  	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
    37  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    38  )
    39  
    40  const (
    41  	// Verify that this generated code is sufficiently up-to-date.
    42  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    43  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    44  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    45  )
    46  
    47  // A Dataset is a collection of genomic data.
    48  //
    49  // For more genomics resource definitions, see [Fundamentals of Google
    50  // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
    51  type Dataset struct {
    52  	state         protoimpl.MessageState
    53  	sizeCache     protoimpl.SizeCache
    54  	unknownFields protoimpl.UnknownFields
    55  
    56  	// The server-generated dataset ID, unique across all datasets.
    57  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    58  	// The Google Cloud project ID that this dataset belongs to.
    59  	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    60  	// The dataset name.
    61  	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
    62  	// The time this dataset was created, in seconds from the epoch.
    63  	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    64  }
    65  
    66  func (x *Dataset) Reset() {
    67  	*x = Dataset{}
    68  	if protoimpl.UnsafeEnabled {
    69  		mi := &file_google_genomics_v1_datasets_proto_msgTypes[0]
    70  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    71  		ms.StoreMessageInfo(mi)
    72  	}
    73  }
    74  
    75  func (x *Dataset) String() string {
    76  	return protoimpl.X.MessageStringOf(x)
    77  }
    78  
    79  func (*Dataset) ProtoMessage() {}
    80  
    81  func (x *Dataset) ProtoReflect() protoreflect.Message {
    82  	mi := &file_google_genomics_v1_datasets_proto_msgTypes[0]
    83  	if protoimpl.UnsafeEnabled && x != nil {
    84  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    85  		if ms.LoadMessageInfo() == nil {
    86  			ms.StoreMessageInfo(mi)
    87  		}
    88  		return ms
    89  	}
    90  	return mi.MessageOf(x)
    91  }
    92  
    93  // Deprecated: Use Dataset.ProtoReflect.Descriptor instead.
    94  func (*Dataset) Descriptor() ([]byte, []int) {
    95  	return file_google_genomics_v1_datasets_proto_rawDescGZIP(), []int{0}
    96  }
    97  
    98  func (x *Dataset) GetId() string {
    99  	if x != nil {
   100  		return x.Id
   101  	}
   102  	return ""
   103  }
   104  
   105  func (x *Dataset) GetProjectId() string {
   106  	if x != nil {
   107  		return x.ProjectId
   108  	}
   109  	return ""
   110  }
   111  
   112  func (x *Dataset) GetName() string {
   113  	if x != nil {
   114  		return x.Name
   115  	}
   116  	return ""
   117  }
   118  
   119  func (x *Dataset) GetCreateTime() *timestamppb.Timestamp {
   120  	if x != nil {
   121  		return x.CreateTime
   122  	}
   123  	return nil
   124  }
   125  
   126  // The dataset list request.
   127  type ListDatasetsRequest struct {
   128  	state         protoimpl.MessageState
   129  	sizeCache     protoimpl.SizeCache
   130  	unknownFields protoimpl.UnknownFields
   131  
   132  	// Required. The Google Cloud project ID to list datasets for.
   133  	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
   134  	// The maximum number of results to return in a single page. If unspecified,
   135  	// defaults to 50. The maximum value is 1024.
   136  	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
   137  	// The continuation token, which is used to page through large result sets.
   138  	// To get the next page of results, set this parameter to the value of
   139  	// `nextPageToken` from the previous response.
   140  	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
   141  }
   142  
   143  func (x *ListDatasetsRequest) Reset() {
   144  	*x = ListDatasetsRequest{}
   145  	if protoimpl.UnsafeEnabled {
   146  		mi := &file_google_genomics_v1_datasets_proto_msgTypes[1]
   147  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   148  		ms.StoreMessageInfo(mi)
   149  	}
   150  }
   151  
   152  func (x *ListDatasetsRequest) String() string {
   153  	return protoimpl.X.MessageStringOf(x)
   154  }
   155  
   156  func (*ListDatasetsRequest) ProtoMessage() {}
   157  
   158  func (x *ListDatasetsRequest) ProtoReflect() protoreflect.Message {
   159  	mi := &file_google_genomics_v1_datasets_proto_msgTypes[1]
   160  	if protoimpl.UnsafeEnabled && x != nil {
   161  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   162  		if ms.LoadMessageInfo() == nil {
   163  			ms.StoreMessageInfo(mi)
   164  		}
   165  		return ms
   166  	}
   167  	return mi.MessageOf(x)
   168  }
   169  
   170  // Deprecated: Use ListDatasetsRequest.ProtoReflect.Descriptor instead.
   171  func (*ListDatasetsRequest) Descriptor() ([]byte, []int) {
   172  	return file_google_genomics_v1_datasets_proto_rawDescGZIP(), []int{1}
   173  }
   174  
   175  func (x *ListDatasetsRequest) GetProjectId() string {
   176  	if x != nil {
   177  		return x.ProjectId
   178  	}
   179  	return ""
   180  }
   181  
   182  func (x *ListDatasetsRequest) GetPageSize() int32 {
   183  	if x != nil {
   184  		return x.PageSize
   185  	}
   186  	return 0
   187  }
   188  
   189  func (x *ListDatasetsRequest) GetPageToken() string {
   190  	if x != nil {
   191  		return x.PageToken
   192  	}
   193  	return ""
   194  }
   195  
   196  // The dataset list response.
   197  type ListDatasetsResponse struct {
   198  	state         protoimpl.MessageState
   199  	sizeCache     protoimpl.SizeCache
   200  	unknownFields protoimpl.UnknownFields
   201  
   202  	// The list of matching Datasets.
   203  	Datasets []*Dataset `protobuf:"bytes,1,rep,name=datasets,proto3" json:"datasets,omitempty"`
   204  	// The continuation token, which is used to page through large result sets.
   205  	// Provide this value in a subsequent request to return the next page of
   206  	// results. This field will be empty if there aren't any additional results.
   207  	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
   208  }
   209  
   210  func (x *ListDatasetsResponse) Reset() {
   211  	*x = ListDatasetsResponse{}
   212  	if protoimpl.UnsafeEnabled {
   213  		mi := &file_google_genomics_v1_datasets_proto_msgTypes[2]
   214  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   215  		ms.StoreMessageInfo(mi)
   216  	}
   217  }
   218  
   219  func (x *ListDatasetsResponse) String() string {
   220  	return protoimpl.X.MessageStringOf(x)
   221  }
   222  
   223  func (*ListDatasetsResponse) ProtoMessage() {}
   224  
   225  func (x *ListDatasetsResponse) ProtoReflect() protoreflect.Message {
   226  	mi := &file_google_genomics_v1_datasets_proto_msgTypes[2]
   227  	if protoimpl.UnsafeEnabled && x != nil {
   228  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   229  		if ms.LoadMessageInfo() == nil {
   230  			ms.StoreMessageInfo(mi)
   231  		}
   232  		return ms
   233  	}
   234  	return mi.MessageOf(x)
   235  }
   236  
   237  // Deprecated: Use ListDatasetsResponse.ProtoReflect.Descriptor instead.
   238  func (*ListDatasetsResponse) Descriptor() ([]byte, []int) {
   239  	return file_google_genomics_v1_datasets_proto_rawDescGZIP(), []int{2}
   240  }
   241  
   242  func (x *ListDatasetsResponse) GetDatasets() []*Dataset {
   243  	if x != nil {
   244  		return x.Datasets
   245  	}
   246  	return nil
   247  }
   248  
   249  func (x *ListDatasetsResponse) GetNextPageToken() string {
   250  	if x != nil {
   251  		return x.NextPageToken
   252  	}
   253  	return ""
   254  }
   255  
   256  type CreateDatasetRequest struct {
   257  	state         protoimpl.MessageState
   258  	sizeCache     protoimpl.SizeCache
   259  	unknownFields protoimpl.UnknownFields
   260  
   261  	// The dataset to be created. Must contain projectId and name.
   262  	Dataset *Dataset `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
   263  }
   264  
   265  func (x *CreateDatasetRequest) Reset() {
   266  	*x = CreateDatasetRequest{}
   267  	if protoimpl.UnsafeEnabled {
   268  		mi := &file_google_genomics_v1_datasets_proto_msgTypes[3]
   269  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   270  		ms.StoreMessageInfo(mi)
   271  	}
   272  }
   273  
   274  func (x *CreateDatasetRequest) String() string {
   275  	return protoimpl.X.MessageStringOf(x)
   276  }
   277  
   278  func (*CreateDatasetRequest) ProtoMessage() {}
   279  
   280  func (x *CreateDatasetRequest) ProtoReflect() protoreflect.Message {
   281  	mi := &file_google_genomics_v1_datasets_proto_msgTypes[3]
   282  	if protoimpl.UnsafeEnabled && x != nil {
   283  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   284  		if ms.LoadMessageInfo() == nil {
   285  			ms.StoreMessageInfo(mi)
   286  		}
   287  		return ms
   288  	}
   289  	return mi.MessageOf(x)
   290  }
   291  
   292  // Deprecated: Use CreateDatasetRequest.ProtoReflect.Descriptor instead.
   293  func (*CreateDatasetRequest) Descriptor() ([]byte, []int) {
   294  	return file_google_genomics_v1_datasets_proto_rawDescGZIP(), []int{3}
   295  }
   296  
   297  func (x *CreateDatasetRequest) GetDataset() *Dataset {
   298  	if x != nil {
   299  		return x.Dataset
   300  	}
   301  	return nil
   302  }
   303  
   304  type UpdateDatasetRequest struct {
   305  	state         protoimpl.MessageState
   306  	sizeCache     protoimpl.SizeCache
   307  	unknownFields protoimpl.UnknownFields
   308  
   309  	// The ID of the dataset to be updated.
   310  	DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
   311  	// The new dataset data.
   312  	Dataset *Dataset `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"`
   313  	// An optional mask specifying which fields to update. At this time, the only
   314  	// mutable field is [name][google.genomics.v1.Dataset.name]. The only
   315  	// acceptable value is "name". If unspecified, all mutable fields will be
   316  	// updated.
   317  	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
   318  }
   319  
   320  func (x *UpdateDatasetRequest) Reset() {
   321  	*x = UpdateDatasetRequest{}
   322  	if protoimpl.UnsafeEnabled {
   323  		mi := &file_google_genomics_v1_datasets_proto_msgTypes[4]
   324  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   325  		ms.StoreMessageInfo(mi)
   326  	}
   327  }
   328  
   329  func (x *UpdateDatasetRequest) String() string {
   330  	return protoimpl.X.MessageStringOf(x)
   331  }
   332  
   333  func (*UpdateDatasetRequest) ProtoMessage() {}
   334  
   335  func (x *UpdateDatasetRequest) ProtoReflect() protoreflect.Message {
   336  	mi := &file_google_genomics_v1_datasets_proto_msgTypes[4]
   337  	if protoimpl.UnsafeEnabled && x != nil {
   338  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   339  		if ms.LoadMessageInfo() == nil {
   340  			ms.StoreMessageInfo(mi)
   341  		}
   342  		return ms
   343  	}
   344  	return mi.MessageOf(x)
   345  }
   346  
   347  // Deprecated: Use UpdateDatasetRequest.ProtoReflect.Descriptor instead.
   348  func (*UpdateDatasetRequest) Descriptor() ([]byte, []int) {
   349  	return file_google_genomics_v1_datasets_proto_rawDescGZIP(), []int{4}
   350  }
   351  
   352  func (x *UpdateDatasetRequest) GetDatasetId() string {
   353  	if x != nil {
   354  		return x.DatasetId
   355  	}
   356  	return ""
   357  }
   358  
   359  func (x *UpdateDatasetRequest) GetDataset() *Dataset {
   360  	if x != nil {
   361  		return x.Dataset
   362  	}
   363  	return nil
   364  }
   365  
   366  func (x *UpdateDatasetRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
   367  	if x != nil {
   368  		return x.UpdateMask
   369  	}
   370  	return nil
   371  }
   372  
   373  type DeleteDatasetRequest struct {
   374  	state         protoimpl.MessageState
   375  	sizeCache     protoimpl.SizeCache
   376  	unknownFields protoimpl.UnknownFields
   377  
   378  	// The ID of the dataset to be deleted.
   379  	DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
   380  }
   381  
   382  func (x *DeleteDatasetRequest) Reset() {
   383  	*x = DeleteDatasetRequest{}
   384  	if protoimpl.UnsafeEnabled {
   385  		mi := &file_google_genomics_v1_datasets_proto_msgTypes[5]
   386  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   387  		ms.StoreMessageInfo(mi)
   388  	}
   389  }
   390  
   391  func (x *DeleteDatasetRequest) String() string {
   392  	return protoimpl.X.MessageStringOf(x)
   393  }
   394  
   395  func (*DeleteDatasetRequest) ProtoMessage() {}
   396  
   397  func (x *DeleteDatasetRequest) ProtoReflect() protoreflect.Message {
   398  	mi := &file_google_genomics_v1_datasets_proto_msgTypes[5]
   399  	if protoimpl.UnsafeEnabled && x != nil {
   400  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   401  		if ms.LoadMessageInfo() == nil {
   402  			ms.StoreMessageInfo(mi)
   403  		}
   404  		return ms
   405  	}
   406  	return mi.MessageOf(x)
   407  }
   408  
   409  // Deprecated: Use DeleteDatasetRequest.ProtoReflect.Descriptor instead.
   410  func (*DeleteDatasetRequest) Descriptor() ([]byte, []int) {
   411  	return file_google_genomics_v1_datasets_proto_rawDescGZIP(), []int{5}
   412  }
   413  
   414  func (x *DeleteDatasetRequest) GetDatasetId() string {
   415  	if x != nil {
   416  		return x.DatasetId
   417  	}
   418  	return ""
   419  }
   420  
   421  type UndeleteDatasetRequest struct {
   422  	state         protoimpl.MessageState
   423  	sizeCache     protoimpl.SizeCache
   424  	unknownFields protoimpl.UnknownFields
   425  
   426  	// The ID of the dataset to be undeleted.
   427  	DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
   428  }
   429  
   430  func (x *UndeleteDatasetRequest) Reset() {
   431  	*x = UndeleteDatasetRequest{}
   432  	if protoimpl.UnsafeEnabled {
   433  		mi := &file_google_genomics_v1_datasets_proto_msgTypes[6]
   434  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   435  		ms.StoreMessageInfo(mi)
   436  	}
   437  }
   438  
   439  func (x *UndeleteDatasetRequest) String() string {
   440  	return protoimpl.X.MessageStringOf(x)
   441  }
   442  
   443  func (*UndeleteDatasetRequest) ProtoMessage() {}
   444  
   445  func (x *UndeleteDatasetRequest) ProtoReflect() protoreflect.Message {
   446  	mi := &file_google_genomics_v1_datasets_proto_msgTypes[6]
   447  	if protoimpl.UnsafeEnabled && x != nil {
   448  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   449  		if ms.LoadMessageInfo() == nil {
   450  			ms.StoreMessageInfo(mi)
   451  		}
   452  		return ms
   453  	}
   454  	return mi.MessageOf(x)
   455  }
   456  
   457  // Deprecated: Use UndeleteDatasetRequest.ProtoReflect.Descriptor instead.
   458  func (*UndeleteDatasetRequest) Descriptor() ([]byte, []int) {
   459  	return file_google_genomics_v1_datasets_proto_rawDescGZIP(), []int{6}
   460  }
   461  
   462  func (x *UndeleteDatasetRequest) GetDatasetId() string {
   463  	if x != nil {
   464  		return x.DatasetId
   465  	}
   466  	return ""
   467  }
   468  
   469  type GetDatasetRequest struct {
   470  	state         protoimpl.MessageState
   471  	sizeCache     protoimpl.SizeCache
   472  	unknownFields protoimpl.UnknownFields
   473  
   474  	// The ID of the dataset.
   475  	DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
   476  }
   477  
   478  func (x *GetDatasetRequest) Reset() {
   479  	*x = GetDatasetRequest{}
   480  	if protoimpl.UnsafeEnabled {
   481  		mi := &file_google_genomics_v1_datasets_proto_msgTypes[7]
   482  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   483  		ms.StoreMessageInfo(mi)
   484  	}
   485  }
   486  
   487  func (x *GetDatasetRequest) String() string {
   488  	return protoimpl.X.MessageStringOf(x)
   489  }
   490  
   491  func (*GetDatasetRequest) ProtoMessage() {}
   492  
   493  func (x *GetDatasetRequest) ProtoReflect() protoreflect.Message {
   494  	mi := &file_google_genomics_v1_datasets_proto_msgTypes[7]
   495  	if protoimpl.UnsafeEnabled && x != nil {
   496  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   497  		if ms.LoadMessageInfo() == nil {
   498  			ms.StoreMessageInfo(mi)
   499  		}
   500  		return ms
   501  	}
   502  	return mi.MessageOf(x)
   503  }
   504  
   505  // Deprecated: Use GetDatasetRequest.ProtoReflect.Descriptor instead.
   506  func (*GetDatasetRequest) Descriptor() ([]byte, []int) {
   507  	return file_google_genomics_v1_datasets_proto_rawDescGZIP(), []int{7}
   508  }
   509  
   510  func (x *GetDatasetRequest) GetDatasetId() string {
   511  	if x != nil {
   512  		return x.DatasetId
   513  	}
   514  	return ""
   515  }
   516  
   517  var File_google_genomics_v1_datasets_proto protoreflect.FileDescriptor
   518  
   519  var file_google_genomics_v1_datasets_proto_rawDesc = []byte{
   520  	0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63,
   521  	0x73, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2e, 0x70, 0x72,
   522  	0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f,
   523  	0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
   524  	0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
   525  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61,
   526  	0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
   527  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61,
   528  	0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   529  	0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   530  	0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20,
   531  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
   532  	0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   533  	0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   534  	0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   535  	0x6f, 0x22, 0x89, 0x01, 0x0a, 0x07, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x0e, 0x0a,
   536  	0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a,
   537  	0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
   538  	0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04,
   539  	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   540  	0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
   541  	0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
   542  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
   543  	0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x70, 0x0a,
   544  	0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71,
   545  	0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f,
   546  	0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
   547  	0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65,
   548  	0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
   549  	0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03,
   550  	0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22,
   551  	0x77, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x52,
   552  	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x73,
   553  	0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   554  	0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44,
   555  	0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73,
   556  	0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f,
   557  	0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50,
   558  	0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4d, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61,
   559  	0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   560  	0x12, 0x35, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
   561  	0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d,
   562  	0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x07,
   563  	0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x22, 0xa9, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61,
   564  	0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   565  	0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
   566  	0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12,
   567  	0x35, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
   568  	0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69,
   569  	0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x07, 0x64,
   570  	0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
   571  	0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
   572  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69,
   573  	0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d,
   574  	0x61, 0x73, 0x6b, 0x22, 0x35, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74,
   575  	0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x64,
   576  	0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   577  	0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x22, 0x37, 0x0a, 0x16, 0x55, 0x6e,
   578  	0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71,
   579  	0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f,
   580  	0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65,
   581  	0x74, 0x49, 0x64, 0x22, 0x32, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65,
   582  	0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61,
   583  	0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x61,
   584  	0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x32, 0x9f, 0x09, 0x0a, 0x10, 0x44, 0x61, 0x74, 0x61,
   585  	0x73, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x56, 0x31, 0x12, 0x77, 0x0a, 0x0c,
   586  	0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x12, 0x27, 0x2e, 0x67,
   587  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76,
   588  	0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65,
   589  	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
   590  	0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44,
   591  	0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
   592  	0x14, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74,
   593  	0x61, 0x73, 0x65, 0x74, 0x73, 0x12, 0x75, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44,
   594  	0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   595  	0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61,
   596  	0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   597  	0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69,
   598  	0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x22, 0x1d, 0x82,
   599  	0xd3, 0xe4, 0x93, 0x02, 0x17, 0x22, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73,
   600  	0x65, 0x74, 0x73, 0x3a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x73, 0x0a, 0x0a,
   601  	0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x6f,
   602  	0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e,
   603  	0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   604  	0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d,
   605  	0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x22, 0x21,
   606  	0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61,
   607  	0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64,
   608  	0x7d, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,
   609  	0x73, 0x65, 0x74, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e,
   610  	0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44,
   611  	0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e,
   612  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e,
   613  	0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93,
   614  	0x02, 0x24, 0x32, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73,
   615  	0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x07, 0x64,
   616  	0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x74, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
   617  	0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   618  	0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c,
   619  	0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   620  	0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   621  	0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02,
   622  	0x1b, 0x2a, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f,
   623  	0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x89, 0x01, 0x0a,
   624  	0x0f, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74,
   625  	0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69,
   626  	0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61,
   627  	0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67,
   628  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76,
   629  	0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02,
   630  	0x27, 0x22, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f,
   631  	0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x75, 0x6e, 0x64,
   632  	0x65, 0x6c, 0x65, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x7c, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x49,
   633  	0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   634  	0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50,
   635  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67,
   636  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c,
   637  	0x69, 0x63, 0x79, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x26, 0x2f, 0x76, 0x31,
   638  	0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x64, 0x61, 0x74, 0x61, 0x73,
   639  	0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,
   640  	0x69, 0x63, 0x79, 0x3a, 0x01, 0x2a, 0x12, 0x7c, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d,
   641  	0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   642  	0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,
   643  	0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f,
   644  	0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63,
   645  	0x79, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
   646  	0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74,
   647  	0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63,
   648  	0x79, 0x3a, 0x01, 0x2a, 0x12, 0xa2, 0x01, 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d,
   649  	0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x2e, 0x67, 0x6f,
   650  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74,
   651  	0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,
   652  	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69,
   653  	0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72,
   654  	0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
   655  	0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72,
   656  	0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73,
   657  	0x2f, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69,
   658  	0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x01, 0x2a, 0x42, 0x68, 0x0a, 0x16, 0x63, 0x6f, 0x6d,
   659  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73,
   660  	0x2e, 0x76, 0x31, 0x42, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x50, 0x72, 0x6f,
   661  	0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
   662  	0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   663  	0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x6f,
   664  	0x6d, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73,
   665  	0xf8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   666  }
   667  
   668  var (
   669  	file_google_genomics_v1_datasets_proto_rawDescOnce sync.Once
   670  	file_google_genomics_v1_datasets_proto_rawDescData = file_google_genomics_v1_datasets_proto_rawDesc
   671  )
   672  
   673  func file_google_genomics_v1_datasets_proto_rawDescGZIP() []byte {
   674  	file_google_genomics_v1_datasets_proto_rawDescOnce.Do(func() {
   675  		file_google_genomics_v1_datasets_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_genomics_v1_datasets_proto_rawDescData)
   676  	})
   677  	return file_google_genomics_v1_datasets_proto_rawDescData
   678  }
   679  
   680  var file_google_genomics_v1_datasets_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
   681  var file_google_genomics_v1_datasets_proto_goTypes = []interface{}{
   682  	(*Dataset)(nil),                          // 0: google.genomics.v1.Dataset
   683  	(*ListDatasetsRequest)(nil),              // 1: google.genomics.v1.ListDatasetsRequest
   684  	(*ListDatasetsResponse)(nil),             // 2: google.genomics.v1.ListDatasetsResponse
   685  	(*CreateDatasetRequest)(nil),             // 3: google.genomics.v1.CreateDatasetRequest
   686  	(*UpdateDatasetRequest)(nil),             // 4: google.genomics.v1.UpdateDatasetRequest
   687  	(*DeleteDatasetRequest)(nil),             // 5: google.genomics.v1.DeleteDatasetRequest
   688  	(*UndeleteDatasetRequest)(nil),           // 6: google.genomics.v1.UndeleteDatasetRequest
   689  	(*GetDatasetRequest)(nil),                // 7: google.genomics.v1.GetDatasetRequest
   690  	(*timestamppb.Timestamp)(nil),            // 8: google.protobuf.Timestamp
   691  	(*fieldmaskpb.FieldMask)(nil),            // 9: google.protobuf.FieldMask
   692  	(*iampb.SetIamPolicyRequest)(nil),        // 10: google.iam.v1.SetIamPolicyRequest
   693  	(*iampb.GetIamPolicyRequest)(nil),        // 11: google.iam.v1.GetIamPolicyRequest
   694  	(*iampb.TestIamPermissionsRequest)(nil),  // 12: google.iam.v1.TestIamPermissionsRequest
   695  	(*emptypb.Empty)(nil),                    // 13: google.protobuf.Empty
   696  	(*iampb.Policy)(nil),                     // 14: google.iam.v1.Policy
   697  	(*iampb.TestIamPermissionsResponse)(nil), // 15: google.iam.v1.TestIamPermissionsResponse
   698  }
   699  var file_google_genomics_v1_datasets_proto_depIdxs = []int32{
   700  	8,  // 0: google.genomics.v1.Dataset.create_time:type_name -> google.protobuf.Timestamp
   701  	0,  // 1: google.genomics.v1.ListDatasetsResponse.datasets:type_name -> google.genomics.v1.Dataset
   702  	0,  // 2: google.genomics.v1.CreateDatasetRequest.dataset:type_name -> google.genomics.v1.Dataset
   703  	0,  // 3: google.genomics.v1.UpdateDatasetRequest.dataset:type_name -> google.genomics.v1.Dataset
   704  	9,  // 4: google.genomics.v1.UpdateDatasetRequest.update_mask:type_name -> google.protobuf.FieldMask
   705  	1,  // 5: google.genomics.v1.DatasetServiceV1.ListDatasets:input_type -> google.genomics.v1.ListDatasetsRequest
   706  	3,  // 6: google.genomics.v1.DatasetServiceV1.CreateDataset:input_type -> google.genomics.v1.CreateDatasetRequest
   707  	7,  // 7: google.genomics.v1.DatasetServiceV1.GetDataset:input_type -> google.genomics.v1.GetDatasetRequest
   708  	4,  // 8: google.genomics.v1.DatasetServiceV1.UpdateDataset:input_type -> google.genomics.v1.UpdateDatasetRequest
   709  	5,  // 9: google.genomics.v1.DatasetServiceV1.DeleteDataset:input_type -> google.genomics.v1.DeleteDatasetRequest
   710  	6,  // 10: google.genomics.v1.DatasetServiceV1.UndeleteDataset:input_type -> google.genomics.v1.UndeleteDatasetRequest
   711  	10, // 11: google.genomics.v1.DatasetServiceV1.SetIamPolicy:input_type -> google.iam.v1.SetIamPolicyRequest
   712  	11, // 12: google.genomics.v1.DatasetServiceV1.GetIamPolicy:input_type -> google.iam.v1.GetIamPolicyRequest
   713  	12, // 13: google.genomics.v1.DatasetServiceV1.TestIamPermissions:input_type -> google.iam.v1.TestIamPermissionsRequest
   714  	2,  // 14: google.genomics.v1.DatasetServiceV1.ListDatasets:output_type -> google.genomics.v1.ListDatasetsResponse
   715  	0,  // 15: google.genomics.v1.DatasetServiceV1.CreateDataset:output_type -> google.genomics.v1.Dataset
   716  	0,  // 16: google.genomics.v1.DatasetServiceV1.GetDataset:output_type -> google.genomics.v1.Dataset
   717  	0,  // 17: google.genomics.v1.DatasetServiceV1.UpdateDataset:output_type -> google.genomics.v1.Dataset
   718  	13, // 18: google.genomics.v1.DatasetServiceV1.DeleteDataset:output_type -> google.protobuf.Empty
   719  	0,  // 19: google.genomics.v1.DatasetServiceV1.UndeleteDataset:output_type -> google.genomics.v1.Dataset
   720  	14, // 20: google.genomics.v1.DatasetServiceV1.SetIamPolicy:output_type -> google.iam.v1.Policy
   721  	14, // 21: google.genomics.v1.DatasetServiceV1.GetIamPolicy:output_type -> google.iam.v1.Policy
   722  	15, // 22: google.genomics.v1.DatasetServiceV1.TestIamPermissions:output_type -> google.iam.v1.TestIamPermissionsResponse
   723  	14, // [14:23] is the sub-list for method output_type
   724  	5,  // [5:14] is the sub-list for method input_type
   725  	5,  // [5:5] is the sub-list for extension type_name
   726  	5,  // [5:5] is the sub-list for extension extendee
   727  	0,  // [0:5] is the sub-list for field type_name
   728  }
   729  
   730  func init() { file_google_genomics_v1_datasets_proto_init() }
   731  func file_google_genomics_v1_datasets_proto_init() {
   732  	if File_google_genomics_v1_datasets_proto != nil {
   733  		return
   734  	}
   735  	if !protoimpl.UnsafeEnabled {
   736  		file_google_genomics_v1_datasets_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   737  			switch v := v.(*Dataset); i {
   738  			case 0:
   739  				return &v.state
   740  			case 1:
   741  				return &v.sizeCache
   742  			case 2:
   743  				return &v.unknownFields
   744  			default:
   745  				return nil
   746  			}
   747  		}
   748  		file_google_genomics_v1_datasets_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   749  			switch v := v.(*ListDatasetsRequest); i {
   750  			case 0:
   751  				return &v.state
   752  			case 1:
   753  				return &v.sizeCache
   754  			case 2:
   755  				return &v.unknownFields
   756  			default:
   757  				return nil
   758  			}
   759  		}
   760  		file_google_genomics_v1_datasets_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   761  			switch v := v.(*ListDatasetsResponse); i {
   762  			case 0:
   763  				return &v.state
   764  			case 1:
   765  				return &v.sizeCache
   766  			case 2:
   767  				return &v.unknownFields
   768  			default:
   769  				return nil
   770  			}
   771  		}
   772  		file_google_genomics_v1_datasets_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   773  			switch v := v.(*CreateDatasetRequest); i {
   774  			case 0:
   775  				return &v.state
   776  			case 1:
   777  				return &v.sizeCache
   778  			case 2:
   779  				return &v.unknownFields
   780  			default:
   781  				return nil
   782  			}
   783  		}
   784  		file_google_genomics_v1_datasets_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   785  			switch v := v.(*UpdateDatasetRequest); i {
   786  			case 0:
   787  				return &v.state
   788  			case 1:
   789  				return &v.sizeCache
   790  			case 2:
   791  				return &v.unknownFields
   792  			default:
   793  				return nil
   794  			}
   795  		}
   796  		file_google_genomics_v1_datasets_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   797  			switch v := v.(*DeleteDatasetRequest); i {
   798  			case 0:
   799  				return &v.state
   800  			case 1:
   801  				return &v.sizeCache
   802  			case 2:
   803  				return &v.unknownFields
   804  			default:
   805  				return nil
   806  			}
   807  		}
   808  		file_google_genomics_v1_datasets_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   809  			switch v := v.(*UndeleteDatasetRequest); i {
   810  			case 0:
   811  				return &v.state
   812  			case 1:
   813  				return &v.sizeCache
   814  			case 2:
   815  				return &v.unknownFields
   816  			default:
   817  				return nil
   818  			}
   819  		}
   820  		file_google_genomics_v1_datasets_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
   821  			switch v := v.(*GetDatasetRequest); i {
   822  			case 0:
   823  				return &v.state
   824  			case 1:
   825  				return &v.sizeCache
   826  			case 2:
   827  				return &v.unknownFields
   828  			default:
   829  				return nil
   830  			}
   831  		}
   832  	}
   833  	type x struct{}
   834  	out := protoimpl.TypeBuilder{
   835  		File: protoimpl.DescBuilder{
   836  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   837  			RawDescriptor: file_google_genomics_v1_datasets_proto_rawDesc,
   838  			NumEnums:      0,
   839  			NumMessages:   8,
   840  			NumExtensions: 0,
   841  			NumServices:   1,
   842  		},
   843  		GoTypes:           file_google_genomics_v1_datasets_proto_goTypes,
   844  		DependencyIndexes: file_google_genomics_v1_datasets_proto_depIdxs,
   845  		MessageInfos:      file_google_genomics_v1_datasets_proto_msgTypes,
   846  	}.Build()
   847  	File_google_genomics_v1_datasets_proto = out.File
   848  	file_google_genomics_v1_datasets_proto_rawDesc = nil
   849  	file_google_genomics_v1_datasets_proto_goTypes = nil
   850  	file_google_genomics_v1_datasets_proto_depIdxs = nil
   851  }
   852  
   853  // Reference imports to suppress errors if they are not otherwise used.
   854  var _ context.Context
   855  var _ grpc.ClientConnInterface
   856  
   857  // This is a compile-time assertion to ensure that this generated file
   858  // is compatible with the grpc package it is being compiled against.
   859  const _ = grpc.SupportPackageIsVersion6
   860  
   861  // DatasetServiceV1Client is the client API for DatasetServiceV1 service.
   862  //
   863  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   864  type DatasetServiceV1Client interface {
   865  	// Lists datasets within a project.
   866  	//
   867  	// For the definitions of datasets and other genomics resources, see
   868  	// [Fundamentals of Google
   869  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
   870  	ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error)
   871  	// Creates a new dataset.
   872  	//
   873  	// For the definitions of datasets and other genomics resources, see
   874  	// [Fundamentals of Google
   875  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
   876  	CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error)
   877  	// Gets a dataset by ID.
   878  	//
   879  	// For the definitions of datasets and other genomics resources, see
   880  	// [Fundamentals of Google
   881  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
   882  	GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error)
   883  	// Updates a dataset.
   884  	//
   885  	// For the definitions of datasets and other genomics resources, see
   886  	// [Fundamentals of Google
   887  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
   888  	//
   889  	// This method supports patch semantics.
   890  	UpdateDataset(ctx context.Context, in *UpdateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error)
   891  	// Deletes a dataset and all of its contents (all read group sets,
   892  	// reference sets, variant sets, call sets, annotation sets, etc.)
   893  	// This is reversible (up to one week after the deletion) via
   894  	// the
   895  	// [datasets.undelete][google.genomics.v1.DatasetServiceV1.UndeleteDataset]
   896  	// operation.
   897  	//
   898  	// For the definitions of datasets and other genomics resources, see
   899  	// [Fundamentals of Google
   900  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
   901  	DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
   902  	// Undeletes a dataset by restoring a dataset which was deleted via this API.
   903  	//
   904  	// For the definitions of datasets and other genomics resources, see
   905  	// [Fundamentals of Google
   906  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
   907  	//
   908  	// This operation is only possible for a week after the deletion occurred.
   909  	UndeleteDataset(ctx context.Context, in *UndeleteDatasetRequest, opts ...grpc.CallOption) (*Dataset, error)
   910  	// Sets the access control policy on the specified dataset. Replaces any
   911  	// existing policy.
   912  	//
   913  	// For the definitions of datasets and other genomics resources, see
   914  	// [Fundamentals of Google
   915  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
   916  	//
   917  	// See <a href="/iam/docs/managing-policies#setting_a_policy">Setting a
   918  	// Policy</a> for more information.
   919  	SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
   920  	// Gets the access control policy for the dataset. This is empty if the
   921  	// policy or resource does not exist.
   922  	//
   923  	// See <a href="/iam/docs/managing-policies#getting_a_policy">Getting a
   924  	// Policy</a> for more information.
   925  	//
   926  	// For the definitions of datasets and other genomics resources, see
   927  	// [Fundamentals of Google
   928  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
   929  	GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
   930  	// Returns permissions that a caller has on the specified resource.
   931  	// See <a href="/iam/docs/managing-policies#testing_permissions">Testing
   932  	// Permissions</a> for more information.
   933  	//
   934  	// For the definitions of datasets and other genomics resources, see
   935  	// [Fundamentals of Google
   936  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
   937  	TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
   938  }
   939  
   940  type datasetServiceV1Client struct {
   941  	cc grpc.ClientConnInterface
   942  }
   943  
   944  func NewDatasetServiceV1Client(cc grpc.ClientConnInterface) DatasetServiceV1Client {
   945  	return &datasetServiceV1Client{cc}
   946  }
   947  
   948  func (c *datasetServiceV1Client) ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) {
   949  	out := new(ListDatasetsResponse)
   950  	err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/ListDatasets", in, out, opts...)
   951  	if err != nil {
   952  		return nil, err
   953  	}
   954  	return out, nil
   955  }
   956  
   957  func (c *datasetServiceV1Client) CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) {
   958  	out := new(Dataset)
   959  	err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/CreateDataset", in, out, opts...)
   960  	if err != nil {
   961  		return nil, err
   962  	}
   963  	return out, nil
   964  }
   965  
   966  func (c *datasetServiceV1Client) GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) {
   967  	out := new(Dataset)
   968  	err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/GetDataset", in, out, opts...)
   969  	if err != nil {
   970  		return nil, err
   971  	}
   972  	return out, nil
   973  }
   974  
   975  func (c *datasetServiceV1Client) UpdateDataset(ctx context.Context, in *UpdateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) {
   976  	out := new(Dataset)
   977  	err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/UpdateDataset", in, out, opts...)
   978  	if err != nil {
   979  		return nil, err
   980  	}
   981  	return out, nil
   982  }
   983  
   984  func (c *datasetServiceV1Client) DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
   985  	out := new(emptypb.Empty)
   986  	err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/DeleteDataset", in, out, opts...)
   987  	if err != nil {
   988  		return nil, err
   989  	}
   990  	return out, nil
   991  }
   992  
   993  func (c *datasetServiceV1Client) UndeleteDataset(ctx context.Context, in *UndeleteDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) {
   994  	out := new(Dataset)
   995  	err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/UndeleteDataset", in, out, opts...)
   996  	if err != nil {
   997  		return nil, err
   998  	}
   999  	return out, nil
  1000  }
  1001  
  1002  func (c *datasetServiceV1Client) SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) {
  1003  	out := new(iampb.Policy)
  1004  	err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/SetIamPolicy", in, out, opts...)
  1005  	if err != nil {
  1006  		return nil, err
  1007  	}
  1008  	return out, nil
  1009  }
  1010  
  1011  func (c *datasetServiceV1Client) GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) {
  1012  	out := new(iampb.Policy)
  1013  	err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/GetIamPolicy", in, out, opts...)
  1014  	if err != nil {
  1015  		return nil, err
  1016  	}
  1017  	return out, nil
  1018  }
  1019  
  1020  func (c *datasetServiceV1Client) TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) {
  1021  	out := new(iampb.TestIamPermissionsResponse)
  1022  	err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/TestIamPermissions", in, out, opts...)
  1023  	if err != nil {
  1024  		return nil, err
  1025  	}
  1026  	return out, nil
  1027  }
  1028  
  1029  // DatasetServiceV1Server is the server API for DatasetServiceV1 service.
  1030  type DatasetServiceV1Server interface {
  1031  	// Lists datasets within a project.
  1032  	//
  1033  	// For the definitions of datasets and other genomics resources, see
  1034  	// [Fundamentals of Google
  1035  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
  1036  	ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error)
  1037  	// Creates a new dataset.
  1038  	//
  1039  	// For the definitions of datasets and other genomics resources, see
  1040  	// [Fundamentals of Google
  1041  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
  1042  	CreateDataset(context.Context, *CreateDatasetRequest) (*Dataset, error)
  1043  	// Gets a dataset by ID.
  1044  	//
  1045  	// For the definitions of datasets and other genomics resources, see
  1046  	// [Fundamentals of Google
  1047  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
  1048  	GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error)
  1049  	// Updates a dataset.
  1050  	//
  1051  	// For the definitions of datasets and other genomics resources, see
  1052  	// [Fundamentals of Google
  1053  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
  1054  	//
  1055  	// This method supports patch semantics.
  1056  	UpdateDataset(context.Context, *UpdateDatasetRequest) (*Dataset, error)
  1057  	// Deletes a dataset and all of its contents (all read group sets,
  1058  	// reference sets, variant sets, call sets, annotation sets, etc.)
  1059  	// This is reversible (up to one week after the deletion) via
  1060  	// the
  1061  	// [datasets.undelete][google.genomics.v1.DatasetServiceV1.UndeleteDataset]
  1062  	// operation.
  1063  	//
  1064  	// For the definitions of datasets and other genomics resources, see
  1065  	// [Fundamentals of Google
  1066  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
  1067  	DeleteDataset(context.Context, *DeleteDatasetRequest) (*emptypb.Empty, error)
  1068  	// Undeletes a dataset by restoring a dataset which was deleted via this API.
  1069  	//
  1070  	// For the definitions of datasets and other genomics resources, see
  1071  	// [Fundamentals of Google
  1072  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
  1073  	//
  1074  	// This operation is only possible for a week after the deletion occurred.
  1075  	UndeleteDataset(context.Context, *UndeleteDatasetRequest) (*Dataset, error)
  1076  	// Sets the access control policy on the specified dataset. Replaces any
  1077  	// existing policy.
  1078  	//
  1079  	// For the definitions of datasets and other genomics resources, see
  1080  	// [Fundamentals of Google
  1081  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
  1082  	//
  1083  	// See <a href="/iam/docs/managing-policies#setting_a_policy">Setting a
  1084  	// Policy</a> for more information.
  1085  	SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
  1086  	// Gets the access control policy for the dataset. This is empty if the
  1087  	// policy or resource does not exist.
  1088  	//
  1089  	// See <a href="/iam/docs/managing-policies#getting_a_policy">Getting a
  1090  	// Policy</a> for more information.
  1091  	//
  1092  	// For the definitions of datasets and other genomics resources, see
  1093  	// [Fundamentals of Google
  1094  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
  1095  	GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
  1096  	// Returns permissions that a caller has on the specified resource.
  1097  	// See <a href="/iam/docs/managing-policies#testing_permissions">Testing
  1098  	// Permissions</a> for more information.
  1099  	//
  1100  	// For the definitions of datasets and other genomics resources, see
  1101  	// [Fundamentals of Google
  1102  	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
  1103  	TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
  1104  }
  1105  
  1106  // UnimplementedDatasetServiceV1Server can be embedded to have forward compatible implementations.
  1107  type UnimplementedDatasetServiceV1Server struct {
  1108  }
  1109  
  1110  func (*UnimplementedDatasetServiceV1Server) ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error) {
  1111  	return nil, status.Errorf(codes.Unimplemented, "method ListDatasets not implemented")
  1112  }
  1113  func (*UnimplementedDatasetServiceV1Server) CreateDataset(context.Context, *CreateDatasetRequest) (*Dataset, error) {
  1114  	return nil, status.Errorf(codes.Unimplemented, "method CreateDataset not implemented")
  1115  }
  1116  func (*UnimplementedDatasetServiceV1Server) GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error) {
  1117  	return nil, status.Errorf(codes.Unimplemented, "method GetDataset not implemented")
  1118  }
  1119  func (*UnimplementedDatasetServiceV1Server) UpdateDataset(context.Context, *UpdateDatasetRequest) (*Dataset, error) {
  1120  	return nil, status.Errorf(codes.Unimplemented, "method UpdateDataset not implemented")
  1121  }
  1122  func (*UnimplementedDatasetServiceV1Server) DeleteDataset(context.Context, *DeleteDatasetRequest) (*emptypb.Empty, error) {
  1123  	return nil, status.Errorf(codes.Unimplemented, "method DeleteDataset not implemented")
  1124  }
  1125  func (*UnimplementedDatasetServiceV1Server) UndeleteDataset(context.Context, *UndeleteDatasetRequest) (*Dataset, error) {
  1126  	return nil, status.Errorf(codes.Unimplemented, "method UndeleteDataset not implemented")
  1127  }
  1128  func (*UnimplementedDatasetServiceV1Server) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) {
  1129  	return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented")
  1130  }
  1131  func (*UnimplementedDatasetServiceV1Server) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) {
  1132  	return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented")
  1133  }
  1134  func (*UnimplementedDatasetServiceV1Server) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) {
  1135  	return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented")
  1136  }
  1137  
  1138  func RegisterDatasetServiceV1Server(s *grpc.Server, srv DatasetServiceV1Server) {
  1139  	s.RegisterService(&_DatasetServiceV1_serviceDesc, srv)
  1140  }
  1141  
  1142  func _DatasetServiceV1_ListDatasets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1143  	in := new(ListDatasetsRequest)
  1144  	if err := dec(in); err != nil {
  1145  		return nil, err
  1146  	}
  1147  	if interceptor == nil {
  1148  		return srv.(DatasetServiceV1Server).ListDatasets(ctx, in)
  1149  	}
  1150  	info := &grpc.UnaryServerInfo{
  1151  		Server:     srv,
  1152  		FullMethod: "/google.genomics.v1.DatasetServiceV1/ListDatasets",
  1153  	}
  1154  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1155  		return srv.(DatasetServiceV1Server).ListDatasets(ctx, req.(*ListDatasetsRequest))
  1156  	}
  1157  	return interceptor(ctx, in, info, handler)
  1158  }
  1159  
  1160  func _DatasetServiceV1_CreateDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1161  	in := new(CreateDatasetRequest)
  1162  	if err := dec(in); err != nil {
  1163  		return nil, err
  1164  	}
  1165  	if interceptor == nil {
  1166  		return srv.(DatasetServiceV1Server).CreateDataset(ctx, in)
  1167  	}
  1168  	info := &grpc.UnaryServerInfo{
  1169  		Server:     srv,
  1170  		FullMethod: "/google.genomics.v1.DatasetServiceV1/CreateDataset",
  1171  	}
  1172  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1173  		return srv.(DatasetServiceV1Server).CreateDataset(ctx, req.(*CreateDatasetRequest))
  1174  	}
  1175  	return interceptor(ctx, in, info, handler)
  1176  }
  1177  
  1178  func _DatasetServiceV1_GetDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1179  	in := new(GetDatasetRequest)
  1180  	if err := dec(in); err != nil {
  1181  		return nil, err
  1182  	}
  1183  	if interceptor == nil {
  1184  		return srv.(DatasetServiceV1Server).GetDataset(ctx, in)
  1185  	}
  1186  	info := &grpc.UnaryServerInfo{
  1187  		Server:     srv,
  1188  		FullMethod: "/google.genomics.v1.DatasetServiceV1/GetDataset",
  1189  	}
  1190  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1191  		return srv.(DatasetServiceV1Server).GetDataset(ctx, req.(*GetDatasetRequest))
  1192  	}
  1193  	return interceptor(ctx, in, info, handler)
  1194  }
  1195  
  1196  func _DatasetServiceV1_UpdateDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1197  	in := new(UpdateDatasetRequest)
  1198  	if err := dec(in); err != nil {
  1199  		return nil, err
  1200  	}
  1201  	if interceptor == nil {
  1202  		return srv.(DatasetServiceV1Server).UpdateDataset(ctx, in)
  1203  	}
  1204  	info := &grpc.UnaryServerInfo{
  1205  		Server:     srv,
  1206  		FullMethod: "/google.genomics.v1.DatasetServiceV1/UpdateDataset",
  1207  	}
  1208  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1209  		return srv.(DatasetServiceV1Server).UpdateDataset(ctx, req.(*UpdateDatasetRequest))
  1210  	}
  1211  	return interceptor(ctx, in, info, handler)
  1212  }
  1213  
  1214  func _DatasetServiceV1_DeleteDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1215  	in := new(DeleteDatasetRequest)
  1216  	if err := dec(in); err != nil {
  1217  		return nil, err
  1218  	}
  1219  	if interceptor == nil {
  1220  		return srv.(DatasetServiceV1Server).DeleteDataset(ctx, in)
  1221  	}
  1222  	info := &grpc.UnaryServerInfo{
  1223  		Server:     srv,
  1224  		FullMethod: "/google.genomics.v1.DatasetServiceV1/DeleteDataset",
  1225  	}
  1226  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1227  		return srv.(DatasetServiceV1Server).DeleteDataset(ctx, req.(*DeleteDatasetRequest))
  1228  	}
  1229  	return interceptor(ctx, in, info, handler)
  1230  }
  1231  
  1232  func _DatasetServiceV1_UndeleteDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1233  	in := new(UndeleteDatasetRequest)
  1234  	if err := dec(in); err != nil {
  1235  		return nil, err
  1236  	}
  1237  	if interceptor == nil {
  1238  		return srv.(DatasetServiceV1Server).UndeleteDataset(ctx, in)
  1239  	}
  1240  	info := &grpc.UnaryServerInfo{
  1241  		Server:     srv,
  1242  		FullMethod: "/google.genomics.v1.DatasetServiceV1/UndeleteDataset",
  1243  	}
  1244  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1245  		return srv.(DatasetServiceV1Server).UndeleteDataset(ctx, req.(*UndeleteDatasetRequest))
  1246  	}
  1247  	return interceptor(ctx, in, info, handler)
  1248  }
  1249  
  1250  func _DatasetServiceV1_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1251  	in := new(iampb.SetIamPolicyRequest)
  1252  	if err := dec(in); err != nil {
  1253  		return nil, err
  1254  	}
  1255  	if interceptor == nil {
  1256  		return srv.(DatasetServiceV1Server).SetIamPolicy(ctx, in)
  1257  	}
  1258  	info := &grpc.UnaryServerInfo{
  1259  		Server:     srv,
  1260  		FullMethod: "/google.genomics.v1.DatasetServiceV1/SetIamPolicy",
  1261  	}
  1262  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1263  		return srv.(DatasetServiceV1Server).SetIamPolicy(ctx, req.(*iampb.SetIamPolicyRequest))
  1264  	}
  1265  	return interceptor(ctx, in, info, handler)
  1266  }
  1267  
  1268  func _DatasetServiceV1_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1269  	in := new(iampb.GetIamPolicyRequest)
  1270  	if err := dec(in); err != nil {
  1271  		return nil, err
  1272  	}
  1273  	if interceptor == nil {
  1274  		return srv.(DatasetServiceV1Server).GetIamPolicy(ctx, in)
  1275  	}
  1276  	info := &grpc.UnaryServerInfo{
  1277  		Server:     srv,
  1278  		FullMethod: "/google.genomics.v1.DatasetServiceV1/GetIamPolicy",
  1279  	}
  1280  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1281  		return srv.(DatasetServiceV1Server).GetIamPolicy(ctx, req.(*iampb.GetIamPolicyRequest))
  1282  	}
  1283  	return interceptor(ctx, in, info, handler)
  1284  }
  1285  
  1286  func _DatasetServiceV1_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1287  	in := new(iampb.TestIamPermissionsRequest)
  1288  	if err := dec(in); err != nil {
  1289  		return nil, err
  1290  	}
  1291  	if interceptor == nil {
  1292  		return srv.(DatasetServiceV1Server).TestIamPermissions(ctx, in)
  1293  	}
  1294  	info := &grpc.UnaryServerInfo{
  1295  		Server:     srv,
  1296  		FullMethod: "/google.genomics.v1.DatasetServiceV1/TestIamPermissions",
  1297  	}
  1298  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1299  		return srv.(DatasetServiceV1Server).TestIamPermissions(ctx, req.(*iampb.TestIamPermissionsRequest))
  1300  	}
  1301  	return interceptor(ctx, in, info, handler)
  1302  }
  1303  
  1304  var _DatasetServiceV1_serviceDesc = grpc.ServiceDesc{
  1305  	ServiceName: "google.genomics.v1.DatasetServiceV1",
  1306  	HandlerType: (*DatasetServiceV1Server)(nil),
  1307  	Methods: []grpc.MethodDesc{
  1308  		{
  1309  			MethodName: "ListDatasets",
  1310  			Handler:    _DatasetServiceV1_ListDatasets_Handler,
  1311  		},
  1312  		{
  1313  			MethodName: "CreateDataset",
  1314  			Handler:    _DatasetServiceV1_CreateDataset_Handler,
  1315  		},
  1316  		{
  1317  			MethodName: "GetDataset",
  1318  			Handler:    _DatasetServiceV1_GetDataset_Handler,
  1319  		},
  1320  		{
  1321  			MethodName: "UpdateDataset",
  1322  			Handler:    _DatasetServiceV1_UpdateDataset_Handler,
  1323  		},
  1324  		{
  1325  			MethodName: "DeleteDataset",
  1326  			Handler:    _DatasetServiceV1_DeleteDataset_Handler,
  1327  		},
  1328  		{
  1329  			MethodName: "UndeleteDataset",
  1330  			Handler:    _DatasetServiceV1_UndeleteDataset_Handler,
  1331  		},
  1332  		{
  1333  			MethodName: "SetIamPolicy",
  1334  			Handler:    _DatasetServiceV1_SetIamPolicy_Handler,
  1335  		},
  1336  		{
  1337  			MethodName: "GetIamPolicy",
  1338  			Handler:    _DatasetServiceV1_GetIamPolicy_Handler,
  1339  		},
  1340  		{
  1341  			MethodName: "TestIamPermissions",
  1342  			Handler:    _DatasetServiceV1_TestIamPermissions_Handler,
  1343  		},
  1344  	},
  1345  	Streams:  []grpc.StreamDesc{},
  1346  	Metadata: "google/genomics/v1/datasets.proto",
  1347  }
  1348  

View as plain text