...

Source file src/google.golang.org/genproto/googleapis/cloud/ml/v1/model_service.pb.go

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

     1  // Copyright 2017 Google Inc.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v3.12.2
    19  // source: google/cloud/ml/v1/model_service.proto
    20  
    21  package ml
    22  
    23  import (
    24  	context "context"
    25  	reflect "reflect"
    26  	sync "sync"
    27  
    28  	_ "google.golang.org/genproto/googleapis/api/annotations"
    29  	_ "google.golang.org/genproto/googleapis/api/serviceconfig"
    30  	longrunning "google.golang.org/genproto/googleapis/longrunning"
    31  	grpc "google.golang.org/grpc"
    32  	codes "google.golang.org/grpc/codes"
    33  	status "google.golang.org/grpc/status"
    34  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    35  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    36  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    37  )
    38  
    39  const (
    40  	// Verify that this generated code is sufficiently up-to-date.
    41  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    42  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    43  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    44  )
    45  
    46  // Represents a machine learning solution.
    47  //
    48  // A model can have multiple versions, each of which is a deployed, trained
    49  // model ready to receive prediction requests. The model itself is just a
    50  // container.
    51  type Model struct {
    52  	state         protoimpl.MessageState
    53  	sizeCache     protoimpl.SizeCache
    54  	unknownFields protoimpl.UnknownFields
    55  
    56  	// Required. The name specified for the model when it was created.
    57  	//
    58  	// The model name must be unique within the project it is created in.
    59  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    60  	// Optional. The description specified for the model when it was created.
    61  	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    62  	// Output only. The default version of the model. This version will be used to
    63  	// handle prediction requests that do not specify a version.
    64  	//
    65  	// You can change the default version by calling
    66  	// [projects.methods.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault).
    67  	DefaultVersion *Version `protobuf:"bytes,3,opt,name=default_version,json=defaultVersion,proto3" json:"default_version,omitempty"`
    68  	// Optional. The list of regions where the model is going to be deployed.
    69  	// Currently only one region per model is supported.
    70  	// Defaults to 'us-central1' if nothing is set.
    71  	Regions []string `protobuf:"bytes,4,rep,name=regions,proto3" json:"regions,omitempty"`
    72  	// Optional. If true, enables StackDriver Logging for online prediction.
    73  	// Default is false.
    74  	OnlinePredictionLogging bool `protobuf:"varint,5,opt,name=online_prediction_logging,json=onlinePredictionLogging,proto3" json:"online_prediction_logging,omitempty"`
    75  }
    76  
    77  func (x *Model) Reset() {
    78  	*x = Model{}
    79  	if protoimpl.UnsafeEnabled {
    80  		mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[0]
    81  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    82  		ms.StoreMessageInfo(mi)
    83  	}
    84  }
    85  
    86  func (x *Model) String() string {
    87  	return protoimpl.X.MessageStringOf(x)
    88  }
    89  
    90  func (*Model) ProtoMessage() {}
    91  
    92  func (x *Model) ProtoReflect() protoreflect.Message {
    93  	mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[0]
    94  	if protoimpl.UnsafeEnabled && x != nil {
    95  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    96  		if ms.LoadMessageInfo() == nil {
    97  			ms.StoreMessageInfo(mi)
    98  		}
    99  		return ms
   100  	}
   101  	return mi.MessageOf(x)
   102  }
   103  
   104  // Deprecated: Use Model.ProtoReflect.Descriptor instead.
   105  func (*Model) Descriptor() ([]byte, []int) {
   106  	return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{0}
   107  }
   108  
   109  func (x *Model) GetName() string {
   110  	if x != nil {
   111  		return x.Name
   112  	}
   113  	return ""
   114  }
   115  
   116  func (x *Model) GetDescription() string {
   117  	if x != nil {
   118  		return x.Description
   119  	}
   120  	return ""
   121  }
   122  
   123  func (x *Model) GetDefaultVersion() *Version {
   124  	if x != nil {
   125  		return x.DefaultVersion
   126  	}
   127  	return nil
   128  }
   129  
   130  func (x *Model) GetRegions() []string {
   131  	if x != nil {
   132  		return x.Regions
   133  	}
   134  	return nil
   135  }
   136  
   137  func (x *Model) GetOnlinePredictionLogging() bool {
   138  	if x != nil {
   139  		return x.OnlinePredictionLogging
   140  	}
   141  	return false
   142  }
   143  
   144  // Represents a version of the model.
   145  //
   146  // Each version is a trained model deployed in the cloud, ready to handle
   147  // prediction requests. A model can have multiple versions. You can get
   148  // information about all of the versions of a given model by calling
   149  // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list).
   150  type Version struct {
   151  	state         protoimpl.MessageState
   152  	sizeCache     protoimpl.SizeCache
   153  	unknownFields protoimpl.UnknownFields
   154  
   155  	// Required.The name specified for the version when it was created.
   156  	//
   157  	// The version name must be unique within the model it is created in.
   158  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   159  	// Optional. The description specified for the version when it was created.
   160  	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
   161  	// Output only. If true, this version will be used to handle prediction
   162  	// requests that do not specify a version.
   163  	//
   164  	// You can change the default version by calling
   165  	// [projects.methods.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault).
   166  	IsDefault bool `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
   167  	// Required. The Google Cloud Storage location of the trained model used to
   168  	// create the version. See the
   169  	// [overview of model deployment](/ml/docs/concepts/deployment-overview) for
   170  	// more informaiton.
   171  	//
   172  	// When passing Version to
   173  	// [projects.models.versions.create](/ml/reference/rest/v1/projects.models.versions/create)
   174  	// the model service uses the specified location as the source of the model.
   175  	// Once deployed, the model version is hosted by the prediction service, so
   176  	// this location is useful only as a historical record.
   177  	DeploymentUri string `protobuf:"bytes,4,opt,name=deployment_uri,json=deploymentUri,proto3" json:"deployment_uri,omitempty"`
   178  	// Output only. The time the version was created.
   179  	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
   180  	// Output only. The time the version was last used for prediction.
   181  	LastUseTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_use_time,json=lastUseTime,proto3" json:"last_use_time,omitempty"`
   182  	// Optional. The Google Cloud ML runtime version to use for this deployment.
   183  	// If not set, Google Cloud ML will choose a version.
   184  	RuntimeVersion string `protobuf:"bytes,8,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"`
   185  	// Optional. Manually select the number of nodes to use for serving the
   186  	// model. If unset (i.e., by default), the number of nodes used to serve
   187  	// the model automatically scales with traffic. However, care should be
   188  	// taken to ramp up traffic according to the model's ability to scale. If
   189  	// your model needs to handle bursts of traffic beyond it's ability to
   190  	// scale, it is recommended you set this field appropriately.
   191  	ManualScaling *ManualScaling `protobuf:"bytes,9,opt,name=manual_scaling,json=manualScaling,proto3" json:"manual_scaling,omitempty"`
   192  }
   193  
   194  func (x *Version) Reset() {
   195  	*x = Version{}
   196  	if protoimpl.UnsafeEnabled {
   197  		mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[1]
   198  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   199  		ms.StoreMessageInfo(mi)
   200  	}
   201  }
   202  
   203  func (x *Version) String() string {
   204  	return protoimpl.X.MessageStringOf(x)
   205  }
   206  
   207  func (*Version) ProtoMessage() {}
   208  
   209  func (x *Version) ProtoReflect() protoreflect.Message {
   210  	mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[1]
   211  	if protoimpl.UnsafeEnabled && x != nil {
   212  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   213  		if ms.LoadMessageInfo() == nil {
   214  			ms.StoreMessageInfo(mi)
   215  		}
   216  		return ms
   217  	}
   218  	return mi.MessageOf(x)
   219  }
   220  
   221  // Deprecated: Use Version.ProtoReflect.Descriptor instead.
   222  func (*Version) Descriptor() ([]byte, []int) {
   223  	return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{1}
   224  }
   225  
   226  func (x *Version) GetName() string {
   227  	if x != nil {
   228  		return x.Name
   229  	}
   230  	return ""
   231  }
   232  
   233  func (x *Version) GetDescription() string {
   234  	if x != nil {
   235  		return x.Description
   236  	}
   237  	return ""
   238  }
   239  
   240  func (x *Version) GetIsDefault() bool {
   241  	if x != nil {
   242  		return x.IsDefault
   243  	}
   244  	return false
   245  }
   246  
   247  func (x *Version) GetDeploymentUri() string {
   248  	if x != nil {
   249  		return x.DeploymentUri
   250  	}
   251  	return ""
   252  }
   253  
   254  func (x *Version) GetCreateTime() *timestamppb.Timestamp {
   255  	if x != nil {
   256  		return x.CreateTime
   257  	}
   258  	return nil
   259  }
   260  
   261  func (x *Version) GetLastUseTime() *timestamppb.Timestamp {
   262  	if x != nil {
   263  		return x.LastUseTime
   264  	}
   265  	return nil
   266  }
   267  
   268  func (x *Version) GetRuntimeVersion() string {
   269  	if x != nil {
   270  		return x.RuntimeVersion
   271  	}
   272  	return ""
   273  }
   274  
   275  func (x *Version) GetManualScaling() *ManualScaling {
   276  	if x != nil {
   277  		return x.ManualScaling
   278  	}
   279  	return nil
   280  }
   281  
   282  // Options for manually scaling a model.
   283  type ManualScaling struct {
   284  	state         protoimpl.MessageState
   285  	sizeCache     protoimpl.SizeCache
   286  	unknownFields protoimpl.UnknownFields
   287  
   288  	// The number of nodes to allocate for this model. These nodes are always up,
   289  	// starting from the time the model is deployed, so the cost of operating
   290  	// this model will be proportional to nodes * number of hours since
   291  	// deployment.
   292  	Nodes int32 `protobuf:"varint,1,opt,name=nodes,proto3" json:"nodes,omitempty"`
   293  }
   294  
   295  func (x *ManualScaling) Reset() {
   296  	*x = ManualScaling{}
   297  	if protoimpl.UnsafeEnabled {
   298  		mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[2]
   299  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   300  		ms.StoreMessageInfo(mi)
   301  	}
   302  }
   303  
   304  func (x *ManualScaling) String() string {
   305  	return protoimpl.X.MessageStringOf(x)
   306  }
   307  
   308  func (*ManualScaling) ProtoMessage() {}
   309  
   310  func (x *ManualScaling) ProtoReflect() protoreflect.Message {
   311  	mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[2]
   312  	if protoimpl.UnsafeEnabled && x != nil {
   313  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   314  		if ms.LoadMessageInfo() == nil {
   315  			ms.StoreMessageInfo(mi)
   316  		}
   317  		return ms
   318  	}
   319  	return mi.MessageOf(x)
   320  }
   321  
   322  // Deprecated: Use ManualScaling.ProtoReflect.Descriptor instead.
   323  func (*ManualScaling) Descriptor() ([]byte, []int) {
   324  	return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{2}
   325  }
   326  
   327  func (x *ManualScaling) GetNodes() int32 {
   328  	if x != nil {
   329  		return x.Nodes
   330  	}
   331  	return 0
   332  }
   333  
   334  // Request message for the CreateModel method.
   335  type CreateModelRequest struct {
   336  	state         protoimpl.MessageState
   337  	sizeCache     protoimpl.SizeCache
   338  	unknownFields protoimpl.UnknownFields
   339  
   340  	// Required. The project name.
   341  	//
   342  	// Authorization: requires `Editor` role on the specified project.
   343  	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
   344  	// Required. The model to create.
   345  	Model *Model `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
   346  }
   347  
   348  func (x *CreateModelRequest) Reset() {
   349  	*x = CreateModelRequest{}
   350  	if protoimpl.UnsafeEnabled {
   351  		mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[3]
   352  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   353  		ms.StoreMessageInfo(mi)
   354  	}
   355  }
   356  
   357  func (x *CreateModelRequest) String() string {
   358  	return protoimpl.X.MessageStringOf(x)
   359  }
   360  
   361  func (*CreateModelRequest) ProtoMessage() {}
   362  
   363  func (x *CreateModelRequest) ProtoReflect() protoreflect.Message {
   364  	mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[3]
   365  	if protoimpl.UnsafeEnabled && x != nil {
   366  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   367  		if ms.LoadMessageInfo() == nil {
   368  			ms.StoreMessageInfo(mi)
   369  		}
   370  		return ms
   371  	}
   372  	return mi.MessageOf(x)
   373  }
   374  
   375  // Deprecated: Use CreateModelRequest.ProtoReflect.Descriptor instead.
   376  func (*CreateModelRequest) Descriptor() ([]byte, []int) {
   377  	return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{3}
   378  }
   379  
   380  func (x *CreateModelRequest) GetParent() string {
   381  	if x != nil {
   382  		return x.Parent
   383  	}
   384  	return ""
   385  }
   386  
   387  func (x *CreateModelRequest) GetModel() *Model {
   388  	if x != nil {
   389  		return x.Model
   390  	}
   391  	return nil
   392  }
   393  
   394  // Request message for the ListModels method.
   395  type ListModelsRequest struct {
   396  	state         protoimpl.MessageState
   397  	sizeCache     protoimpl.SizeCache
   398  	unknownFields protoimpl.UnknownFields
   399  
   400  	// Required. The name of the project whose models are to be listed.
   401  	//
   402  	// Authorization: requires `Viewer` role on the specified project.
   403  	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
   404  	// Optional. A page token to request the next page of results.
   405  	//
   406  	// You get the token from the `next_page_token` field of the response from
   407  	// the previous call.
   408  	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
   409  	// Optional. The number of models to retrieve per "page" of results. If there
   410  	// are more remaining results than this number, the response message will
   411  	// contain a valid value in the `next_page_token` field.
   412  	//
   413  	// The default value is 20, and the maximum page size is 100.
   414  	PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
   415  }
   416  
   417  func (x *ListModelsRequest) Reset() {
   418  	*x = ListModelsRequest{}
   419  	if protoimpl.UnsafeEnabled {
   420  		mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[4]
   421  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   422  		ms.StoreMessageInfo(mi)
   423  	}
   424  }
   425  
   426  func (x *ListModelsRequest) String() string {
   427  	return protoimpl.X.MessageStringOf(x)
   428  }
   429  
   430  func (*ListModelsRequest) ProtoMessage() {}
   431  
   432  func (x *ListModelsRequest) ProtoReflect() protoreflect.Message {
   433  	mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[4]
   434  	if protoimpl.UnsafeEnabled && x != nil {
   435  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   436  		if ms.LoadMessageInfo() == nil {
   437  			ms.StoreMessageInfo(mi)
   438  		}
   439  		return ms
   440  	}
   441  	return mi.MessageOf(x)
   442  }
   443  
   444  // Deprecated: Use ListModelsRequest.ProtoReflect.Descriptor instead.
   445  func (*ListModelsRequest) Descriptor() ([]byte, []int) {
   446  	return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{4}
   447  }
   448  
   449  func (x *ListModelsRequest) GetParent() string {
   450  	if x != nil {
   451  		return x.Parent
   452  	}
   453  	return ""
   454  }
   455  
   456  func (x *ListModelsRequest) GetPageToken() string {
   457  	if x != nil {
   458  		return x.PageToken
   459  	}
   460  	return ""
   461  }
   462  
   463  func (x *ListModelsRequest) GetPageSize() int32 {
   464  	if x != nil {
   465  		return x.PageSize
   466  	}
   467  	return 0
   468  }
   469  
   470  // Response message for the ListModels method.
   471  type ListModelsResponse struct {
   472  	state         protoimpl.MessageState
   473  	sizeCache     protoimpl.SizeCache
   474  	unknownFields protoimpl.UnknownFields
   475  
   476  	// The list of models.
   477  	Models []*Model `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"`
   478  	// Optional. Pass this token as the `page_token` field of the request for a
   479  	// subsequent call.
   480  	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
   481  }
   482  
   483  func (x *ListModelsResponse) Reset() {
   484  	*x = ListModelsResponse{}
   485  	if protoimpl.UnsafeEnabled {
   486  		mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[5]
   487  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   488  		ms.StoreMessageInfo(mi)
   489  	}
   490  }
   491  
   492  func (x *ListModelsResponse) String() string {
   493  	return protoimpl.X.MessageStringOf(x)
   494  }
   495  
   496  func (*ListModelsResponse) ProtoMessage() {}
   497  
   498  func (x *ListModelsResponse) ProtoReflect() protoreflect.Message {
   499  	mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[5]
   500  	if protoimpl.UnsafeEnabled && x != nil {
   501  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   502  		if ms.LoadMessageInfo() == nil {
   503  			ms.StoreMessageInfo(mi)
   504  		}
   505  		return ms
   506  	}
   507  	return mi.MessageOf(x)
   508  }
   509  
   510  // Deprecated: Use ListModelsResponse.ProtoReflect.Descriptor instead.
   511  func (*ListModelsResponse) Descriptor() ([]byte, []int) {
   512  	return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{5}
   513  }
   514  
   515  func (x *ListModelsResponse) GetModels() []*Model {
   516  	if x != nil {
   517  		return x.Models
   518  	}
   519  	return nil
   520  }
   521  
   522  func (x *ListModelsResponse) GetNextPageToken() string {
   523  	if x != nil {
   524  		return x.NextPageToken
   525  	}
   526  	return ""
   527  }
   528  
   529  // Request message for the GetModel method.
   530  type GetModelRequest struct {
   531  	state         protoimpl.MessageState
   532  	sizeCache     protoimpl.SizeCache
   533  	unknownFields protoimpl.UnknownFields
   534  
   535  	// Required. The name of the model.
   536  	//
   537  	// Authorization: requires `Viewer` role on the parent project.
   538  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   539  }
   540  
   541  func (x *GetModelRequest) Reset() {
   542  	*x = GetModelRequest{}
   543  	if protoimpl.UnsafeEnabled {
   544  		mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[6]
   545  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   546  		ms.StoreMessageInfo(mi)
   547  	}
   548  }
   549  
   550  func (x *GetModelRequest) String() string {
   551  	return protoimpl.X.MessageStringOf(x)
   552  }
   553  
   554  func (*GetModelRequest) ProtoMessage() {}
   555  
   556  func (x *GetModelRequest) ProtoReflect() protoreflect.Message {
   557  	mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[6]
   558  	if protoimpl.UnsafeEnabled && x != nil {
   559  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   560  		if ms.LoadMessageInfo() == nil {
   561  			ms.StoreMessageInfo(mi)
   562  		}
   563  		return ms
   564  	}
   565  	return mi.MessageOf(x)
   566  }
   567  
   568  // Deprecated: Use GetModelRequest.ProtoReflect.Descriptor instead.
   569  func (*GetModelRequest) Descriptor() ([]byte, []int) {
   570  	return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{6}
   571  }
   572  
   573  func (x *GetModelRequest) GetName() string {
   574  	if x != nil {
   575  		return x.Name
   576  	}
   577  	return ""
   578  }
   579  
   580  // Request message for the DeleteModel method.
   581  type DeleteModelRequest struct {
   582  	state         protoimpl.MessageState
   583  	sizeCache     protoimpl.SizeCache
   584  	unknownFields protoimpl.UnknownFields
   585  
   586  	// Required. The name of the model.
   587  	//
   588  	// Authorization: requires `Editor` role on the parent project.
   589  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   590  }
   591  
   592  func (x *DeleteModelRequest) Reset() {
   593  	*x = DeleteModelRequest{}
   594  	if protoimpl.UnsafeEnabled {
   595  		mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[7]
   596  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   597  		ms.StoreMessageInfo(mi)
   598  	}
   599  }
   600  
   601  func (x *DeleteModelRequest) String() string {
   602  	return protoimpl.X.MessageStringOf(x)
   603  }
   604  
   605  func (*DeleteModelRequest) ProtoMessage() {}
   606  
   607  func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message {
   608  	mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[7]
   609  	if protoimpl.UnsafeEnabled && x != nil {
   610  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   611  		if ms.LoadMessageInfo() == nil {
   612  			ms.StoreMessageInfo(mi)
   613  		}
   614  		return ms
   615  	}
   616  	return mi.MessageOf(x)
   617  }
   618  
   619  // Deprecated: Use DeleteModelRequest.ProtoReflect.Descriptor instead.
   620  func (*DeleteModelRequest) Descriptor() ([]byte, []int) {
   621  	return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{7}
   622  }
   623  
   624  func (x *DeleteModelRequest) GetName() string {
   625  	if x != nil {
   626  		return x.Name
   627  	}
   628  	return ""
   629  }
   630  
   631  // Uploads the provided trained model version to Cloud Machine Learning.
   632  type CreateVersionRequest struct {
   633  	state         protoimpl.MessageState
   634  	sizeCache     protoimpl.SizeCache
   635  	unknownFields protoimpl.UnknownFields
   636  
   637  	// Required. The name of the model.
   638  	//
   639  	// Authorization: requires `Editor` role on the parent project.
   640  	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
   641  	// Required. The version details.
   642  	Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
   643  }
   644  
   645  func (x *CreateVersionRequest) Reset() {
   646  	*x = CreateVersionRequest{}
   647  	if protoimpl.UnsafeEnabled {
   648  		mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[8]
   649  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   650  		ms.StoreMessageInfo(mi)
   651  	}
   652  }
   653  
   654  func (x *CreateVersionRequest) String() string {
   655  	return protoimpl.X.MessageStringOf(x)
   656  }
   657  
   658  func (*CreateVersionRequest) ProtoMessage() {}
   659  
   660  func (x *CreateVersionRequest) ProtoReflect() protoreflect.Message {
   661  	mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[8]
   662  	if protoimpl.UnsafeEnabled && x != nil {
   663  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   664  		if ms.LoadMessageInfo() == nil {
   665  			ms.StoreMessageInfo(mi)
   666  		}
   667  		return ms
   668  	}
   669  	return mi.MessageOf(x)
   670  }
   671  
   672  // Deprecated: Use CreateVersionRequest.ProtoReflect.Descriptor instead.
   673  func (*CreateVersionRequest) Descriptor() ([]byte, []int) {
   674  	return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{8}
   675  }
   676  
   677  func (x *CreateVersionRequest) GetParent() string {
   678  	if x != nil {
   679  		return x.Parent
   680  	}
   681  	return ""
   682  }
   683  
   684  func (x *CreateVersionRequest) GetVersion() *Version {
   685  	if x != nil {
   686  		return x.Version
   687  	}
   688  	return nil
   689  }
   690  
   691  // Request message for the ListVersions method.
   692  type ListVersionsRequest struct {
   693  	state         protoimpl.MessageState
   694  	sizeCache     protoimpl.SizeCache
   695  	unknownFields protoimpl.UnknownFields
   696  
   697  	// Required. The name of the model for which to list the version.
   698  	//
   699  	// Authorization: requires `Viewer` role on the parent project.
   700  	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
   701  	// Optional. A page token to request the next page of results.
   702  	//
   703  	// You get the token from the `next_page_token` field of the response from
   704  	// the previous call.
   705  	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
   706  	// Optional. The number of versions to retrieve per "page" of results. If
   707  	// there are more remaining results than this number, the response message
   708  	// will contain a valid value in the `next_page_token` field.
   709  	//
   710  	// The default value is 20, and the maximum page size is 100.
   711  	PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
   712  }
   713  
   714  func (x *ListVersionsRequest) Reset() {
   715  	*x = ListVersionsRequest{}
   716  	if protoimpl.UnsafeEnabled {
   717  		mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[9]
   718  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   719  		ms.StoreMessageInfo(mi)
   720  	}
   721  }
   722  
   723  func (x *ListVersionsRequest) String() string {
   724  	return protoimpl.X.MessageStringOf(x)
   725  }
   726  
   727  func (*ListVersionsRequest) ProtoMessage() {}
   728  
   729  func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message {
   730  	mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[9]
   731  	if protoimpl.UnsafeEnabled && x != nil {
   732  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   733  		if ms.LoadMessageInfo() == nil {
   734  			ms.StoreMessageInfo(mi)
   735  		}
   736  		return ms
   737  	}
   738  	return mi.MessageOf(x)
   739  }
   740  
   741  // Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.
   742  func (*ListVersionsRequest) Descriptor() ([]byte, []int) {
   743  	return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{9}
   744  }
   745  
   746  func (x *ListVersionsRequest) GetParent() string {
   747  	if x != nil {
   748  		return x.Parent
   749  	}
   750  	return ""
   751  }
   752  
   753  func (x *ListVersionsRequest) GetPageToken() string {
   754  	if x != nil {
   755  		return x.PageToken
   756  	}
   757  	return ""
   758  }
   759  
   760  func (x *ListVersionsRequest) GetPageSize() int32 {
   761  	if x != nil {
   762  		return x.PageSize
   763  	}
   764  	return 0
   765  }
   766  
   767  // Response message for the ListVersions method.
   768  type ListVersionsResponse struct {
   769  	state         protoimpl.MessageState
   770  	sizeCache     protoimpl.SizeCache
   771  	unknownFields protoimpl.UnknownFields
   772  
   773  	// The list of versions.
   774  	Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
   775  	// Optional. Pass this token as the `page_token` field of the request for a
   776  	// subsequent call.
   777  	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
   778  }
   779  
   780  func (x *ListVersionsResponse) Reset() {
   781  	*x = ListVersionsResponse{}
   782  	if protoimpl.UnsafeEnabled {
   783  		mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[10]
   784  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   785  		ms.StoreMessageInfo(mi)
   786  	}
   787  }
   788  
   789  func (x *ListVersionsResponse) String() string {
   790  	return protoimpl.X.MessageStringOf(x)
   791  }
   792  
   793  func (*ListVersionsResponse) ProtoMessage() {}
   794  
   795  func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message {
   796  	mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[10]
   797  	if protoimpl.UnsafeEnabled && x != nil {
   798  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   799  		if ms.LoadMessageInfo() == nil {
   800  			ms.StoreMessageInfo(mi)
   801  		}
   802  		return ms
   803  	}
   804  	return mi.MessageOf(x)
   805  }
   806  
   807  // Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.
   808  func (*ListVersionsResponse) Descriptor() ([]byte, []int) {
   809  	return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{10}
   810  }
   811  
   812  func (x *ListVersionsResponse) GetVersions() []*Version {
   813  	if x != nil {
   814  		return x.Versions
   815  	}
   816  	return nil
   817  }
   818  
   819  func (x *ListVersionsResponse) GetNextPageToken() string {
   820  	if x != nil {
   821  		return x.NextPageToken
   822  	}
   823  	return ""
   824  }
   825  
   826  // Request message for the GetVersion method.
   827  type GetVersionRequest struct {
   828  	state         protoimpl.MessageState
   829  	sizeCache     protoimpl.SizeCache
   830  	unknownFields protoimpl.UnknownFields
   831  
   832  	// Required. The name of the version.
   833  	//
   834  	// Authorization: requires `Viewer` role on the parent project.
   835  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   836  }
   837  
   838  func (x *GetVersionRequest) Reset() {
   839  	*x = GetVersionRequest{}
   840  	if protoimpl.UnsafeEnabled {
   841  		mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[11]
   842  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   843  		ms.StoreMessageInfo(mi)
   844  	}
   845  }
   846  
   847  func (x *GetVersionRequest) String() string {
   848  	return protoimpl.X.MessageStringOf(x)
   849  }
   850  
   851  func (*GetVersionRequest) ProtoMessage() {}
   852  
   853  func (x *GetVersionRequest) ProtoReflect() protoreflect.Message {
   854  	mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[11]
   855  	if protoimpl.UnsafeEnabled && x != nil {
   856  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   857  		if ms.LoadMessageInfo() == nil {
   858  			ms.StoreMessageInfo(mi)
   859  		}
   860  		return ms
   861  	}
   862  	return mi.MessageOf(x)
   863  }
   864  
   865  // Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
   866  func (*GetVersionRequest) Descriptor() ([]byte, []int) {
   867  	return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{11}
   868  }
   869  
   870  func (x *GetVersionRequest) GetName() string {
   871  	if x != nil {
   872  		return x.Name
   873  	}
   874  	return ""
   875  }
   876  
   877  // Request message for the DeleteVerionRequest method.
   878  type DeleteVersionRequest struct {
   879  	state         protoimpl.MessageState
   880  	sizeCache     protoimpl.SizeCache
   881  	unknownFields protoimpl.UnknownFields
   882  
   883  	// Required. The name of the version. You can get the names of all the
   884  	// versions of a model by calling
   885  	// [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list).
   886  	//
   887  	// Authorization: requires `Editor` role on the parent project.
   888  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   889  }
   890  
   891  func (x *DeleteVersionRequest) Reset() {
   892  	*x = DeleteVersionRequest{}
   893  	if protoimpl.UnsafeEnabled {
   894  		mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[12]
   895  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   896  		ms.StoreMessageInfo(mi)
   897  	}
   898  }
   899  
   900  func (x *DeleteVersionRequest) String() string {
   901  	return protoimpl.X.MessageStringOf(x)
   902  }
   903  
   904  func (*DeleteVersionRequest) ProtoMessage() {}
   905  
   906  func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message {
   907  	mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[12]
   908  	if protoimpl.UnsafeEnabled && x != nil {
   909  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   910  		if ms.LoadMessageInfo() == nil {
   911  			ms.StoreMessageInfo(mi)
   912  		}
   913  		return ms
   914  	}
   915  	return mi.MessageOf(x)
   916  }
   917  
   918  // Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.
   919  func (*DeleteVersionRequest) Descriptor() ([]byte, []int) {
   920  	return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{12}
   921  }
   922  
   923  func (x *DeleteVersionRequest) GetName() string {
   924  	if x != nil {
   925  		return x.Name
   926  	}
   927  	return ""
   928  }
   929  
   930  // Request message for the SetDefaultVersion request.
   931  type SetDefaultVersionRequest struct {
   932  	state         protoimpl.MessageState
   933  	sizeCache     protoimpl.SizeCache
   934  	unknownFields protoimpl.UnknownFields
   935  
   936  	// Required. The name of the version to make the default for the model. You
   937  	// can get the names of all the versions of a model by calling
   938  	// [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list).
   939  	//
   940  	// Authorization: requires `Editor` role on the parent project.
   941  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   942  }
   943  
   944  func (x *SetDefaultVersionRequest) Reset() {
   945  	*x = SetDefaultVersionRequest{}
   946  	if protoimpl.UnsafeEnabled {
   947  		mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[13]
   948  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   949  		ms.StoreMessageInfo(mi)
   950  	}
   951  }
   952  
   953  func (x *SetDefaultVersionRequest) String() string {
   954  	return protoimpl.X.MessageStringOf(x)
   955  }
   956  
   957  func (*SetDefaultVersionRequest) ProtoMessage() {}
   958  
   959  func (x *SetDefaultVersionRequest) ProtoReflect() protoreflect.Message {
   960  	mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[13]
   961  	if protoimpl.UnsafeEnabled && x != nil {
   962  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   963  		if ms.LoadMessageInfo() == nil {
   964  			ms.StoreMessageInfo(mi)
   965  		}
   966  		return ms
   967  	}
   968  	return mi.MessageOf(x)
   969  }
   970  
   971  // Deprecated: Use SetDefaultVersionRequest.ProtoReflect.Descriptor instead.
   972  func (*SetDefaultVersionRequest) Descriptor() ([]byte, []int) {
   973  	return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{13}
   974  }
   975  
   976  func (x *SetDefaultVersionRequest) GetName() string {
   977  	if x != nil {
   978  		return x.Name
   979  	}
   980  	return ""
   981  }
   982  
   983  var File_google_cloud_ml_v1_model_service_proto protoreflect.FileDescriptor
   984  
   985  var file_google_cloud_ml_v1_model_service_proto_rawDesc = []byte{
   986  	0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6d,
   987  	0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
   988  	0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   989  	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f,
   990  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
   991  	0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x67, 0x6f, 0x6f, 0x67,
   992  	0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   993  	0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75,
   994  	0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   995  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
   996  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
   997  	0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd9, 0x01, 0x0a, 0x05, 0x4d, 0x6f, 0x64, 0x65,
   998  	0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   999  	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
  1000  	0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
  1001  	0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75,
  1002  	0x6c, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
  1003  	0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
  1004  	0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x64,
  1005  	0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a,
  1006  	0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07,
  1007  	0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x6f, 0x6e, 0x6c, 0x69, 0x6e,
  1008  	0x65, 0x5f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x6f, 0x67,
  1009  	0x67, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x6f, 0x6e, 0x6c, 0x69,
  1010  	0x6e, 0x65, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, 0x67,
  1011  	0x69, 0x6e, 0x67, 0x22, 0xf5, 0x02, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
  1012  	0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  1013  	0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
  1014  	0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
  1015  	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x61,
  1016  	0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65, 0x66,
  1017  	0x61, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65,
  1018  	0x6e, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65,
  1019  	0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x72, 0x69, 0x12, 0x3b, 0x0a, 0x0b, 0x63,
  1020  	0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
  1021  	0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  1022  	0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72,
  1023  	0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74,
  1024  	0x5f, 0x75, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1025  	0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  1026  	0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61, 0x73,
  1027  	0x74, 0x55, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x75, 0x6e, 0x74,
  1028  	0x69, 0x6d, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28,
  1029  	0x09, 0x52, 0x0e, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
  1030  	0x6e, 0x12, 0x48, 0x0a, 0x0e, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x61, 0x6c,
  1031  	0x69, 0x6e, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  1032  	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d,
  1033  	0x61, 0x6e, 0x75, 0x61, 0x6c, 0x53, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x0d, 0x6d, 0x61,
  1034  	0x6e, 0x75, 0x61, 0x6c, 0x53, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x22, 0x25, 0x0a, 0x0d, 0x4d,
  1035  	0x61, 0x6e, 0x75, 0x61, 0x6c, 0x53, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05,
  1036  	0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6e, 0x6f, 0x64,
  1037  	0x65, 0x73, 0x22, 0x5d, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65,
  1038  	0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
  1039  	0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
  1040  	0x12, 0x2f, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1041  	0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d,
  1042  	0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65,
  1043  	0x6c, 0x22, 0x67, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52,
  1044  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
  1045  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1d,
  1046  	0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01,
  1047  	0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a,
  1048  	0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05,
  1049  	0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x6f, 0x0a, 0x12, 0x4c, 0x69,
  1050  	0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1051  	0x12, 0x31, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  1052  	0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
  1053  	0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64,
  1054  	0x65, 0x6c, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65,
  1055  	0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65,
  1056  	0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x25, 0x0a, 0x0f, 0x47,
  1057  	0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
  1058  	0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  1059  	0x6d, 0x65, 0x22, 0x28, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65,
  1060  	0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  1061  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x65, 0x0a, 0x14,
  1062  	0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
  1063  	0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01,
  1064  	0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x07,
  1065  	0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
  1066  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e,
  1067  	0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73,
  1068  	0x69, 0x6f, 0x6e, 0x22, 0x69, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69,
  1069  	0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61,
  1070  	0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
  1071  	0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
  1072  	0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,
  1073  	0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05,
  1074  	0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x77,
  1075  	0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,
  1076  	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
  1077  	0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  1078  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65,
  1079  	0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12,
  1080  	0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b,
  1081  	0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61,
  1082  	0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x27, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x65,
  1083  	0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04,
  1084  	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  1085  	0x22, 0x2a, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
  1086  	0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  1087  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2e, 0x0a, 0x18,
  1088  	0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
  1089  	0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  1090  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xeb, 0x09, 0x0a,
  1091  	0x0c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7f, 0x0a,
  1092  	0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x26, 0x2e, 0x67,
  1093  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76,
  1094  	0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71,
  1095  	0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
  1096  	0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x22,
  1097  	0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61,
  1098  	0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d,
  1099  	0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x3a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x83,
  1100  	0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x25, 0x2e,
  1101  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e,
  1102  	0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71,
  1103  	0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
  1104  	0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f,
  1105  	0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3,
  1106  	0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,
  1107  	0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6d, 0x6f,
  1108  	0x64, 0x65, 0x6c, 0x73, 0x12, 0x72, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c,
  1109  	0x12, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
  1110  	0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65,
  1111  	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
  1112  	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c,
  1113  	0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
  1114  	0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6d,
  1115  	0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7c, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65,
  1116  	0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  1117  	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c,
  1118  	0x65, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  1119  	0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e,
  1120  	0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x26,
  1121  	0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x2a, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
  1122  	0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64,
  1123  	0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x94, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74,
  1124  	0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  1125  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72,
  1126  	0x65, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
  1127  	0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67,
  1128  	0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1129  	0x6e, 0x22, 0x3a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x22, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
  1130  	0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
  1131  	0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x76, 0x65, 0x72, 0x73,
  1132  	0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x94, 0x01,
  1133  	0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27,
  1134  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c,
  1135  	0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73,
  1136  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  1137  	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,
  1138  	0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  1139  	0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
  1140  	0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
  1141  	0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x76, 0x65, 0x72, 0x73,
  1142  	0x69, 0x6f, 0x6e, 0x73, 0x12, 0x83, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73,
  1143  	0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
  1144  	0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73,
  1145  	0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f,
  1146  	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e,
  1147  	0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12,
  1148  	0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
  1149  	0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x2f, 0x76,
  1150  	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8b, 0x01, 0x0a, 0x0d, 0x44,
  1151  	0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x67,
  1152  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76,
  1153  	0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52,
  1154  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  1155  	0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72,
  1156  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x2a, 0x29, 0x2f,
  1157  	0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
  1158  	0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x2f, 0x76, 0x65, 0x72,
  1159  	0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x9f, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x74,
  1160  	0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c,
  1161  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c,
  1162  	0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x65,
  1163  	0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67,
  1164  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76,
  1165  	0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02,
  1166  	0x39, 0x22, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,
  1167  	0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a,
  1168  	0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74,
  1169  	0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x3a, 0x01, 0x2a, 0x42, 0x67, 0x0a, 0x1a, 0x63, 0x6f,
  1170  	0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d,
  1171  	0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x53,
  1172  	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67,
  1173  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67,
  1174  	0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  1175  	0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6d, 0x6c, 0x2f, 0x76, 0x31,
  1176  	0x3b, 0x6d, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1177  }
  1178  
  1179  var (
  1180  	file_google_cloud_ml_v1_model_service_proto_rawDescOnce sync.Once
  1181  	file_google_cloud_ml_v1_model_service_proto_rawDescData = file_google_cloud_ml_v1_model_service_proto_rawDesc
  1182  )
  1183  
  1184  func file_google_cloud_ml_v1_model_service_proto_rawDescGZIP() []byte {
  1185  	file_google_cloud_ml_v1_model_service_proto_rawDescOnce.Do(func() {
  1186  		file_google_cloud_ml_v1_model_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_ml_v1_model_service_proto_rawDescData)
  1187  	})
  1188  	return file_google_cloud_ml_v1_model_service_proto_rawDescData
  1189  }
  1190  
  1191  var file_google_cloud_ml_v1_model_service_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
  1192  var file_google_cloud_ml_v1_model_service_proto_goTypes = []interface{}{
  1193  	(*Model)(nil),                    // 0: google.cloud.ml.v1.Model
  1194  	(*Version)(nil),                  // 1: google.cloud.ml.v1.Version
  1195  	(*ManualScaling)(nil),            // 2: google.cloud.ml.v1.ManualScaling
  1196  	(*CreateModelRequest)(nil),       // 3: google.cloud.ml.v1.CreateModelRequest
  1197  	(*ListModelsRequest)(nil),        // 4: google.cloud.ml.v1.ListModelsRequest
  1198  	(*ListModelsResponse)(nil),       // 5: google.cloud.ml.v1.ListModelsResponse
  1199  	(*GetModelRequest)(nil),          // 6: google.cloud.ml.v1.GetModelRequest
  1200  	(*DeleteModelRequest)(nil),       // 7: google.cloud.ml.v1.DeleteModelRequest
  1201  	(*CreateVersionRequest)(nil),     // 8: google.cloud.ml.v1.CreateVersionRequest
  1202  	(*ListVersionsRequest)(nil),      // 9: google.cloud.ml.v1.ListVersionsRequest
  1203  	(*ListVersionsResponse)(nil),     // 10: google.cloud.ml.v1.ListVersionsResponse
  1204  	(*GetVersionRequest)(nil),        // 11: google.cloud.ml.v1.GetVersionRequest
  1205  	(*DeleteVersionRequest)(nil),     // 12: google.cloud.ml.v1.DeleteVersionRequest
  1206  	(*SetDefaultVersionRequest)(nil), // 13: google.cloud.ml.v1.SetDefaultVersionRequest
  1207  	(*timestamppb.Timestamp)(nil),    // 14: google.protobuf.Timestamp
  1208  	(*longrunning.Operation)(nil),    // 15: google.longrunning.Operation
  1209  }
  1210  var file_google_cloud_ml_v1_model_service_proto_depIdxs = []int32{
  1211  	1,  // 0: google.cloud.ml.v1.Model.default_version:type_name -> google.cloud.ml.v1.Version
  1212  	14, // 1: google.cloud.ml.v1.Version.create_time:type_name -> google.protobuf.Timestamp
  1213  	14, // 2: google.cloud.ml.v1.Version.last_use_time:type_name -> google.protobuf.Timestamp
  1214  	2,  // 3: google.cloud.ml.v1.Version.manual_scaling:type_name -> google.cloud.ml.v1.ManualScaling
  1215  	0,  // 4: google.cloud.ml.v1.CreateModelRequest.model:type_name -> google.cloud.ml.v1.Model
  1216  	0,  // 5: google.cloud.ml.v1.ListModelsResponse.models:type_name -> google.cloud.ml.v1.Model
  1217  	1,  // 6: google.cloud.ml.v1.CreateVersionRequest.version:type_name -> google.cloud.ml.v1.Version
  1218  	1,  // 7: google.cloud.ml.v1.ListVersionsResponse.versions:type_name -> google.cloud.ml.v1.Version
  1219  	3,  // 8: google.cloud.ml.v1.ModelService.CreateModel:input_type -> google.cloud.ml.v1.CreateModelRequest
  1220  	4,  // 9: google.cloud.ml.v1.ModelService.ListModels:input_type -> google.cloud.ml.v1.ListModelsRequest
  1221  	6,  // 10: google.cloud.ml.v1.ModelService.GetModel:input_type -> google.cloud.ml.v1.GetModelRequest
  1222  	7,  // 11: google.cloud.ml.v1.ModelService.DeleteModel:input_type -> google.cloud.ml.v1.DeleteModelRequest
  1223  	8,  // 12: google.cloud.ml.v1.ModelService.CreateVersion:input_type -> google.cloud.ml.v1.CreateVersionRequest
  1224  	9,  // 13: google.cloud.ml.v1.ModelService.ListVersions:input_type -> google.cloud.ml.v1.ListVersionsRequest
  1225  	11, // 14: google.cloud.ml.v1.ModelService.GetVersion:input_type -> google.cloud.ml.v1.GetVersionRequest
  1226  	12, // 15: google.cloud.ml.v1.ModelService.DeleteVersion:input_type -> google.cloud.ml.v1.DeleteVersionRequest
  1227  	13, // 16: google.cloud.ml.v1.ModelService.SetDefaultVersion:input_type -> google.cloud.ml.v1.SetDefaultVersionRequest
  1228  	0,  // 17: google.cloud.ml.v1.ModelService.CreateModel:output_type -> google.cloud.ml.v1.Model
  1229  	5,  // 18: google.cloud.ml.v1.ModelService.ListModels:output_type -> google.cloud.ml.v1.ListModelsResponse
  1230  	0,  // 19: google.cloud.ml.v1.ModelService.GetModel:output_type -> google.cloud.ml.v1.Model
  1231  	15, // 20: google.cloud.ml.v1.ModelService.DeleteModel:output_type -> google.longrunning.Operation
  1232  	15, // 21: google.cloud.ml.v1.ModelService.CreateVersion:output_type -> google.longrunning.Operation
  1233  	10, // 22: google.cloud.ml.v1.ModelService.ListVersions:output_type -> google.cloud.ml.v1.ListVersionsResponse
  1234  	1,  // 23: google.cloud.ml.v1.ModelService.GetVersion:output_type -> google.cloud.ml.v1.Version
  1235  	15, // 24: google.cloud.ml.v1.ModelService.DeleteVersion:output_type -> google.longrunning.Operation
  1236  	1,  // 25: google.cloud.ml.v1.ModelService.SetDefaultVersion:output_type -> google.cloud.ml.v1.Version
  1237  	17, // [17:26] is the sub-list for method output_type
  1238  	8,  // [8:17] is the sub-list for method input_type
  1239  	8,  // [8:8] is the sub-list for extension type_name
  1240  	8,  // [8:8] is the sub-list for extension extendee
  1241  	0,  // [0:8] is the sub-list for field type_name
  1242  }
  1243  
  1244  func init() { file_google_cloud_ml_v1_model_service_proto_init() }
  1245  func file_google_cloud_ml_v1_model_service_proto_init() {
  1246  	if File_google_cloud_ml_v1_model_service_proto != nil {
  1247  		return
  1248  	}
  1249  	if !protoimpl.UnsafeEnabled {
  1250  		file_google_cloud_ml_v1_model_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1251  			switch v := v.(*Model); i {
  1252  			case 0:
  1253  				return &v.state
  1254  			case 1:
  1255  				return &v.sizeCache
  1256  			case 2:
  1257  				return &v.unknownFields
  1258  			default:
  1259  				return nil
  1260  			}
  1261  		}
  1262  		file_google_cloud_ml_v1_model_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1263  			switch v := v.(*Version); i {
  1264  			case 0:
  1265  				return &v.state
  1266  			case 1:
  1267  				return &v.sizeCache
  1268  			case 2:
  1269  				return &v.unknownFields
  1270  			default:
  1271  				return nil
  1272  			}
  1273  		}
  1274  		file_google_cloud_ml_v1_model_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1275  			switch v := v.(*ManualScaling); i {
  1276  			case 0:
  1277  				return &v.state
  1278  			case 1:
  1279  				return &v.sizeCache
  1280  			case 2:
  1281  				return &v.unknownFields
  1282  			default:
  1283  				return nil
  1284  			}
  1285  		}
  1286  		file_google_cloud_ml_v1_model_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1287  			switch v := v.(*CreateModelRequest); i {
  1288  			case 0:
  1289  				return &v.state
  1290  			case 1:
  1291  				return &v.sizeCache
  1292  			case 2:
  1293  				return &v.unknownFields
  1294  			default:
  1295  				return nil
  1296  			}
  1297  		}
  1298  		file_google_cloud_ml_v1_model_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1299  			switch v := v.(*ListModelsRequest); i {
  1300  			case 0:
  1301  				return &v.state
  1302  			case 1:
  1303  				return &v.sizeCache
  1304  			case 2:
  1305  				return &v.unknownFields
  1306  			default:
  1307  				return nil
  1308  			}
  1309  		}
  1310  		file_google_cloud_ml_v1_model_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1311  			switch v := v.(*ListModelsResponse); i {
  1312  			case 0:
  1313  				return &v.state
  1314  			case 1:
  1315  				return &v.sizeCache
  1316  			case 2:
  1317  				return &v.unknownFields
  1318  			default:
  1319  				return nil
  1320  			}
  1321  		}
  1322  		file_google_cloud_ml_v1_model_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1323  			switch v := v.(*GetModelRequest); i {
  1324  			case 0:
  1325  				return &v.state
  1326  			case 1:
  1327  				return &v.sizeCache
  1328  			case 2:
  1329  				return &v.unknownFields
  1330  			default:
  1331  				return nil
  1332  			}
  1333  		}
  1334  		file_google_cloud_ml_v1_model_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1335  			switch v := v.(*DeleteModelRequest); i {
  1336  			case 0:
  1337  				return &v.state
  1338  			case 1:
  1339  				return &v.sizeCache
  1340  			case 2:
  1341  				return &v.unknownFields
  1342  			default:
  1343  				return nil
  1344  			}
  1345  		}
  1346  		file_google_cloud_ml_v1_model_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1347  			switch v := v.(*CreateVersionRequest); i {
  1348  			case 0:
  1349  				return &v.state
  1350  			case 1:
  1351  				return &v.sizeCache
  1352  			case 2:
  1353  				return &v.unknownFields
  1354  			default:
  1355  				return nil
  1356  			}
  1357  		}
  1358  		file_google_cloud_ml_v1_model_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1359  			switch v := v.(*ListVersionsRequest); i {
  1360  			case 0:
  1361  				return &v.state
  1362  			case 1:
  1363  				return &v.sizeCache
  1364  			case 2:
  1365  				return &v.unknownFields
  1366  			default:
  1367  				return nil
  1368  			}
  1369  		}
  1370  		file_google_cloud_ml_v1_model_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1371  			switch v := v.(*ListVersionsResponse); i {
  1372  			case 0:
  1373  				return &v.state
  1374  			case 1:
  1375  				return &v.sizeCache
  1376  			case 2:
  1377  				return &v.unknownFields
  1378  			default:
  1379  				return nil
  1380  			}
  1381  		}
  1382  		file_google_cloud_ml_v1_model_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1383  			switch v := v.(*GetVersionRequest); i {
  1384  			case 0:
  1385  				return &v.state
  1386  			case 1:
  1387  				return &v.sizeCache
  1388  			case 2:
  1389  				return &v.unknownFields
  1390  			default:
  1391  				return nil
  1392  			}
  1393  		}
  1394  		file_google_cloud_ml_v1_model_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1395  			switch v := v.(*DeleteVersionRequest); i {
  1396  			case 0:
  1397  				return &v.state
  1398  			case 1:
  1399  				return &v.sizeCache
  1400  			case 2:
  1401  				return &v.unknownFields
  1402  			default:
  1403  				return nil
  1404  			}
  1405  		}
  1406  		file_google_cloud_ml_v1_model_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1407  			switch v := v.(*SetDefaultVersionRequest); i {
  1408  			case 0:
  1409  				return &v.state
  1410  			case 1:
  1411  				return &v.sizeCache
  1412  			case 2:
  1413  				return &v.unknownFields
  1414  			default:
  1415  				return nil
  1416  			}
  1417  		}
  1418  	}
  1419  	type x struct{}
  1420  	out := protoimpl.TypeBuilder{
  1421  		File: protoimpl.DescBuilder{
  1422  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1423  			RawDescriptor: file_google_cloud_ml_v1_model_service_proto_rawDesc,
  1424  			NumEnums:      0,
  1425  			NumMessages:   14,
  1426  			NumExtensions: 0,
  1427  			NumServices:   1,
  1428  		},
  1429  		GoTypes:           file_google_cloud_ml_v1_model_service_proto_goTypes,
  1430  		DependencyIndexes: file_google_cloud_ml_v1_model_service_proto_depIdxs,
  1431  		MessageInfos:      file_google_cloud_ml_v1_model_service_proto_msgTypes,
  1432  	}.Build()
  1433  	File_google_cloud_ml_v1_model_service_proto = out.File
  1434  	file_google_cloud_ml_v1_model_service_proto_rawDesc = nil
  1435  	file_google_cloud_ml_v1_model_service_proto_goTypes = nil
  1436  	file_google_cloud_ml_v1_model_service_proto_depIdxs = nil
  1437  }
  1438  
  1439  // Reference imports to suppress errors if they are not otherwise used.
  1440  var _ context.Context
  1441  var _ grpc.ClientConnInterface
  1442  
  1443  // This is a compile-time assertion to ensure that this generated file
  1444  // is compatible with the grpc package it is being compiled against.
  1445  const _ = grpc.SupportPackageIsVersion6
  1446  
  1447  // ModelServiceClient is the client API for ModelService service.
  1448  //
  1449  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1450  type ModelServiceClient interface {
  1451  	// Creates a model which will later contain one or more versions.
  1452  	//
  1453  	// You must add at least one version before you can request predictions from
  1454  	// the model. Add versions by calling
  1455  	// [projects.models.versions.create](/ml/reference/rest/v1/projects.models.versions/create).
  1456  	CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*Model, error)
  1457  	// Lists the models in a project.
  1458  	//
  1459  	// Each project can contain multiple models, and each model can have multiple
  1460  	// versions.
  1461  	ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error)
  1462  	// Gets information about a model, including its name, the description (if
  1463  	// set), and the default version (if at least one version of the model has
  1464  	// been deployed).
  1465  	GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error)
  1466  	// Deletes a model.
  1467  	//
  1468  	// You can only delete a model if there are no versions in it. You can delete
  1469  	// versions by calling
  1470  	// [projects.models.versions.delete](/ml/reference/rest/v1/projects.models.versions/delete).
  1471  	DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1472  	// Creates a new version of a model from a trained TensorFlow model.
  1473  	//
  1474  	// If the version created in the cloud by this call is the first deployed
  1475  	// version of the specified model, it will be made the default version of the
  1476  	// model. When you add a version to a model that already has one or more
  1477  	// versions, the default version does not automatically change. If you want a
  1478  	// new version to be the default, you must call
  1479  	// [projects.models.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault).
  1480  	CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1481  	// Gets basic information about all the versions of a model.
  1482  	//
  1483  	// If you expect that a model has a lot of versions, or if you need to handle
  1484  	// only a limited number of results at a time, you can request that the list
  1485  	// be retrieved in batches (called pages):
  1486  	ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error)
  1487  	// Gets information about a model version.
  1488  	//
  1489  	// Models can have multiple versions. You can call
  1490  	// [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list)
  1491  	// to get the same information that this method returns for all of the
  1492  	// versions of a model.
  1493  	GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error)
  1494  	// Deletes a model version.
  1495  	//
  1496  	// Each model can have multiple versions deployed and in use at any given
  1497  	// time. Use this method to remove a single version.
  1498  	//
  1499  	// Note: You cannot delete the version that is set as the default version
  1500  	// of the model unless it is the only remaining version.
  1501  	DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1502  	// Designates a version to be the default for the model.
  1503  	//
  1504  	// The default version is used for prediction requests made against the model
  1505  	// that don't specify a version.
  1506  	//
  1507  	// The first version to be created for a model is automatically set as the
  1508  	// default. You must make any subsequent changes to the default version
  1509  	// setting manually using this method.
  1510  	SetDefaultVersion(ctx context.Context, in *SetDefaultVersionRequest, opts ...grpc.CallOption) (*Version, error)
  1511  }
  1512  
  1513  type modelServiceClient struct {
  1514  	cc grpc.ClientConnInterface
  1515  }
  1516  
  1517  func NewModelServiceClient(cc grpc.ClientConnInterface) ModelServiceClient {
  1518  	return &modelServiceClient{cc}
  1519  }
  1520  
  1521  func (c *modelServiceClient) CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*Model, error) {
  1522  	out := new(Model)
  1523  	err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/CreateModel", in, out, opts...)
  1524  	if err != nil {
  1525  		return nil, err
  1526  	}
  1527  	return out, nil
  1528  }
  1529  
  1530  func (c *modelServiceClient) ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) {
  1531  	out := new(ListModelsResponse)
  1532  	err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/ListModels", in, out, opts...)
  1533  	if err != nil {
  1534  		return nil, err
  1535  	}
  1536  	return out, nil
  1537  }
  1538  
  1539  func (c *modelServiceClient) GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) {
  1540  	out := new(Model)
  1541  	err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/GetModel", in, out, opts...)
  1542  	if err != nil {
  1543  		return nil, err
  1544  	}
  1545  	return out, nil
  1546  }
  1547  
  1548  func (c *modelServiceClient) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1549  	out := new(longrunning.Operation)
  1550  	err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/DeleteModel", in, out, opts...)
  1551  	if err != nil {
  1552  		return nil, err
  1553  	}
  1554  	return out, nil
  1555  }
  1556  
  1557  func (c *modelServiceClient) CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1558  	out := new(longrunning.Operation)
  1559  	err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/CreateVersion", in, out, opts...)
  1560  	if err != nil {
  1561  		return nil, err
  1562  	}
  1563  	return out, nil
  1564  }
  1565  
  1566  func (c *modelServiceClient) ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) {
  1567  	out := new(ListVersionsResponse)
  1568  	err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/ListVersions", in, out, opts...)
  1569  	if err != nil {
  1570  		return nil, err
  1571  	}
  1572  	return out, nil
  1573  }
  1574  
  1575  func (c *modelServiceClient) GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) {
  1576  	out := new(Version)
  1577  	err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/GetVersion", in, out, opts...)
  1578  	if err != nil {
  1579  		return nil, err
  1580  	}
  1581  	return out, nil
  1582  }
  1583  
  1584  func (c *modelServiceClient) DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1585  	out := new(longrunning.Operation)
  1586  	err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/DeleteVersion", in, out, opts...)
  1587  	if err != nil {
  1588  		return nil, err
  1589  	}
  1590  	return out, nil
  1591  }
  1592  
  1593  func (c *modelServiceClient) SetDefaultVersion(ctx context.Context, in *SetDefaultVersionRequest, opts ...grpc.CallOption) (*Version, error) {
  1594  	out := new(Version)
  1595  	err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/SetDefaultVersion", in, out, opts...)
  1596  	if err != nil {
  1597  		return nil, err
  1598  	}
  1599  	return out, nil
  1600  }
  1601  
  1602  // ModelServiceServer is the server API for ModelService service.
  1603  type ModelServiceServer interface {
  1604  	// Creates a model which will later contain one or more versions.
  1605  	//
  1606  	// You must add at least one version before you can request predictions from
  1607  	// the model. Add versions by calling
  1608  	// [projects.models.versions.create](/ml/reference/rest/v1/projects.models.versions/create).
  1609  	CreateModel(context.Context, *CreateModelRequest) (*Model, error)
  1610  	// Lists the models in a project.
  1611  	//
  1612  	// Each project can contain multiple models, and each model can have multiple
  1613  	// versions.
  1614  	ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
  1615  	// Gets information about a model, including its name, the description (if
  1616  	// set), and the default version (if at least one version of the model has
  1617  	// been deployed).
  1618  	GetModel(context.Context, *GetModelRequest) (*Model, error)
  1619  	// Deletes a model.
  1620  	//
  1621  	// You can only delete a model if there are no versions in it. You can delete
  1622  	// versions by calling
  1623  	// [projects.models.versions.delete](/ml/reference/rest/v1/projects.models.versions/delete).
  1624  	DeleteModel(context.Context, *DeleteModelRequest) (*longrunning.Operation, error)
  1625  	// Creates a new version of a model from a trained TensorFlow model.
  1626  	//
  1627  	// If the version created in the cloud by this call is the first deployed
  1628  	// version of the specified model, it will be made the default version of the
  1629  	// model. When you add a version to a model that already has one or more
  1630  	// versions, the default version does not automatically change. If you want a
  1631  	// new version to be the default, you must call
  1632  	// [projects.models.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault).
  1633  	CreateVersion(context.Context, *CreateVersionRequest) (*longrunning.Operation, error)
  1634  	// Gets basic information about all the versions of a model.
  1635  	//
  1636  	// If you expect that a model has a lot of versions, or if you need to handle
  1637  	// only a limited number of results at a time, you can request that the list
  1638  	// be retrieved in batches (called pages):
  1639  	ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
  1640  	// Gets information about a model version.
  1641  	//
  1642  	// Models can have multiple versions. You can call
  1643  	// [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list)
  1644  	// to get the same information that this method returns for all of the
  1645  	// versions of a model.
  1646  	GetVersion(context.Context, *GetVersionRequest) (*Version, error)
  1647  	// Deletes a model version.
  1648  	//
  1649  	// Each model can have multiple versions deployed and in use at any given
  1650  	// time. Use this method to remove a single version.
  1651  	//
  1652  	// Note: You cannot delete the version that is set as the default version
  1653  	// of the model unless it is the only remaining version.
  1654  	DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunning.Operation, error)
  1655  	// Designates a version to be the default for the model.
  1656  	//
  1657  	// The default version is used for prediction requests made against the model
  1658  	// that don't specify a version.
  1659  	//
  1660  	// The first version to be created for a model is automatically set as the
  1661  	// default. You must make any subsequent changes to the default version
  1662  	// setting manually using this method.
  1663  	SetDefaultVersion(context.Context, *SetDefaultVersionRequest) (*Version, error)
  1664  }
  1665  
  1666  // UnimplementedModelServiceServer can be embedded to have forward compatible implementations.
  1667  type UnimplementedModelServiceServer struct {
  1668  }
  1669  
  1670  func (*UnimplementedModelServiceServer) CreateModel(context.Context, *CreateModelRequest) (*Model, error) {
  1671  	return nil, status.Errorf(codes.Unimplemented, "method CreateModel not implemented")
  1672  }
  1673  func (*UnimplementedModelServiceServer) ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) {
  1674  	return nil, status.Errorf(codes.Unimplemented, "method ListModels not implemented")
  1675  }
  1676  func (*UnimplementedModelServiceServer) GetModel(context.Context, *GetModelRequest) (*Model, error) {
  1677  	return nil, status.Errorf(codes.Unimplemented, "method GetModel not implemented")
  1678  }
  1679  func (*UnimplementedModelServiceServer) DeleteModel(context.Context, *DeleteModelRequest) (*longrunning.Operation, error) {
  1680  	return nil, status.Errorf(codes.Unimplemented, "method DeleteModel not implemented")
  1681  }
  1682  func (*UnimplementedModelServiceServer) CreateVersion(context.Context, *CreateVersionRequest) (*longrunning.Operation, error) {
  1683  	return nil, status.Errorf(codes.Unimplemented, "method CreateVersion not implemented")
  1684  }
  1685  func (*UnimplementedModelServiceServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error) {
  1686  	return nil, status.Errorf(codes.Unimplemented, "method ListVersions not implemented")
  1687  }
  1688  func (*UnimplementedModelServiceServer) GetVersion(context.Context, *GetVersionRequest) (*Version, error) {
  1689  	return nil, status.Errorf(codes.Unimplemented, "method GetVersion not implemented")
  1690  }
  1691  func (*UnimplementedModelServiceServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunning.Operation, error) {
  1692  	return nil, status.Errorf(codes.Unimplemented, "method DeleteVersion not implemented")
  1693  }
  1694  func (*UnimplementedModelServiceServer) SetDefaultVersion(context.Context, *SetDefaultVersionRequest) (*Version, error) {
  1695  	return nil, status.Errorf(codes.Unimplemented, "method SetDefaultVersion not implemented")
  1696  }
  1697  
  1698  func RegisterModelServiceServer(s *grpc.Server, srv ModelServiceServer) {
  1699  	s.RegisterService(&_ModelService_serviceDesc, srv)
  1700  }
  1701  
  1702  func _ModelService_CreateModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1703  	in := new(CreateModelRequest)
  1704  	if err := dec(in); err != nil {
  1705  		return nil, err
  1706  	}
  1707  	if interceptor == nil {
  1708  		return srv.(ModelServiceServer).CreateModel(ctx, in)
  1709  	}
  1710  	info := &grpc.UnaryServerInfo{
  1711  		Server:     srv,
  1712  		FullMethod: "/google.cloud.ml.v1.ModelService/CreateModel",
  1713  	}
  1714  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1715  		return srv.(ModelServiceServer).CreateModel(ctx, req.(*CreateModelRequest))
  1716  	}
  1717  	return interceptor(ctx, in, info, handler)
  1718  }
  1719  
  1720  func _ModelService_ListModels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1721  	in := new(ListModelsRequest)
  1722  	if err := dec(in); err != nil {
  1723  		return nil, err
  1724  	}
  1725  	if interceptor == nil {
  1726  		return srv.(ModelServiceServer).ListModels(ctx, in)
  1727  	}
  1728  	info := &grpc.UnaryServerInfo{
  1729  		Server:     srv,
  1730  		FullMethod: "/google.cloud.ml.v1.ModelService/ListModels",
  1731  	}
  1732  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1733  		return srv.(ModelServiceServer).ListModels(ctx, req.(*ListModelsRequest))
  1734  	}
  1735  	return interceptor(ctx, in, info, handler)
  1736  }
  1737  
  1738  func _ModelService_GetModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1739  	in := new(GetModelRequest)
  1740  	if err := dec(in); err != nil {
  1741  		return nil, err
  1742  	}
  1743  	if interceptor == nil {
  1744  		return srv.(ModelServiceServer).GetModel(ctx, in)
  1745  	}
  1746  	info := &grpc.UnaryServerInfo{
  1747  		Server:     srv,
  1748  		FullMethod: "/google.cloud.ml.v1.ModelService/GetModel",
  1749  	}
  1750  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1751  		return srv.(ModelServiceServer).GetModel(ctx, req.(*GetModelRequest))
  1752  	}
  1753  	return interceptor(ctx, in, info, handler)
  1754  }
  1755  
  1756  func _ModelService_DeleteModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1757  	in := new(DeleteModelRequest)
  1758  	if err := dec(in); err != nil {
  1759  		return nil, err
  1760  	}
  1761  	if interceptor == nil {
  1762  		return srv.(ModelServiceServer).DeleteModel(ctx, in)
  1763  	}
  1764  	info := &grpc.UnaryServerInfo{
  1765  		Server:     srv,
  1766  		FullMethod: "/google.cloud.ml.v1.ModelService/DeleteModel",
  1767  	}
  1768  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1769  		return srv.(ModelServiceServer).DeleteModel(ctx, req.(*DeleteModelRequest))
  1770  	}
  1771  	return interceptor(ctx, in, info, handler)
  1772  }
  1773  
  1774  func _ModelService_CreateVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1775  	in := new(CreateVersionRequest)
  1776  	if err := dec(in); err != nil {
  1777  		return nil, err
  1778  	}
  1779  	if interceptor == nil {
  1780  		return srv.(ModelServiceServer).CreateVersion(ctx, in)
  1781  	}
  1782  	info := &grpc.UnaryServerInfo{
  1783  		Server:     srv,
  1784  		FullMethod: "/google.cloud.ml.v1.ModelService/CreateVersion",
  1785  	}
  1786  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1787  		return srv.(ModelServiceServer).CreateVersion(ctx, req.(*CreateVersionRequest))
  1788  	}
  1789  	return interceptor(ctx, in, info, handler)
  1790  }
  1791  
  1792  func _ModelService_ListVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1793  	in := new(ListVersionsRequest)
  1794  	if err := dec(in); err != nil {
  1795  		return nil, err
  1796  	}
  1797  	if interceptor == nil {
  1798  		return srv.(ModelServiceServer).ListVersions(ctx, in)
  1799  	}
  1800  	info := &grpc.UnaryServerInfo{
  1801  		Server:     srv,
  1802  		FullMethod: "/google.cloud.ml.v1.ModelService/ListVersions",
  1803  	}
  1804  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1805  		return srv.(ModelServiceServer).ListVersions(ctx, req.(*ListVersionsRequest))
  1806  	}
  1807  	return interceptor(ctx, in, info, handler)
  1808  }
  1809  
  1810  func _ModelService_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1811  	in := new(GetVersionRequest)
  1812  	if err := dec(in); err != nil {
  1813  		return nil, err
  1814  	}
  1815  	if interceptor == nil {
  1816  		return srv.(ModelServiceServer).GetVersion(ctx, in)
  1817  	}
  1818  	info := &grpc.UnaryServerInfo{
  1819  		Server:     srv,
  1820  		FullMethod: "/google.cloud.ml.v1.ModelService/GetVersion",
  1821  	}
  1822  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1823  		return srv.(ModelServiceServer).GetVersion(ctx, req.(*GetVersionRequest))
  1824  	}
  1825  	return interceptor(ctx, in, info, handler)
  1826  }
  1827  
  1828  func _ModelService_DeleteVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1829  	in := new(DeleteVersionRequest)
  1830  	if err := dec(in); err != nil {
  1831  		return nil, err
  1832  	}
  1833  	if interceptor == nil {
  1834  		return srv.(ModelServiceServer).DeleteVersion(ctx, in)
  1835  	}
  1836  	info := &grpc.UnaryServerInfo{
  1837  		Server:     srv,
  1838  		FullMethod: "/google.cloud.ml.v1.ModelService/DeleteVersion",
  1839  	}
  1840  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1841  		return srv.(ModelServiceServer).DeleteVersion(ctx, req.(*DeleteVersionRequest))
  1842  	}
  1843  	return interceptor(ctx, in, info, handler)
  1844  }
  1845  
  1846  func _ModelService_SetDefaultVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1847  	in := new(SetDefaultVersionRequest)
  1848  	if err := dec(in); err != nil {
  1849  		return nil, err
  1850  	}
  1851  	if interceptor == nil {
  1852  		return srv.(ModelServiceServer).SetDefaultVersion(ctx, in)
  1853  	}
  1854  	info := &grpc.UnaryServerInfo{
  1855  		Server:     srv,
  1856  		FullMethod: "/google.cloud.ml.v1.ModelService/SetDefaultVersion",
  1857  	}
  1858  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1859  		return srv.(ModelServiceServer).SetDefaultVersion(ctx, req.(*SetDefaultVersionRequest))
  1860  	}
  1861  	return interceptor(ctx, in, info, handler)
  1862  }
  1863  
  1864  var _ModelService_serviceDesc = grpc.ServiceDesc{
  1865  	ServiceName: "google.cloud.ml.v1.ModelService",
  1866  	HandlerType: (*ModelServiceServer)(nil),
  1867  	Methods: []grpc.MethodDesc{
  1868  		{
  1869  			MethodName: "CreateModel",
  1870  			Handler:    _ModelService_CreateModel_Handler,
  1871  		},
  1872  		{
  1873  			MethodName: "ListModels",
  1874  			Handler:    _ModelService_ListModels_Handler,
  1875  		},
  1876  		{
  1877  			MethodName: "GetModel",
  1878  			Handler:    _ModelService_GetModel_Handler,
  1879  		},
  1880  		{
  1881  			MethodName: "DeleteModel",
  1882  			Handler:    _ModelService_DeleteModel_Handler,
  1883  		},
  1884  		{
  1885  			MethodName: "CreateVersion",
  1886  			Handler:    _ModelService_CreateVersion_Handler,
  1887  		},
  1888  		{
  1889  			MethodName: "ListVersions",
  1890  			Handler:    _ModelService_ListVersions_Handler,
  1891  		},
  1892  		{
  1893  			MethodName: "GetVersion",
  1894  			Handler:    _ModelService_GetVersion_Handler,
  1895  		},
  1896  		{
  1897  			MethodName: "DeleteVersion",
  1898  			Handler:    _ModelService_DeleteVersion_Handler,
  1899  		},
  1900  		{
  1901  			MethodName: "SetDefaultVersion",
  1902  			Handler:    _ModelService_SetDefaultVersion_Handler,
  1903  		},
  1904  	},
  1905  	Streams:  []grpc.StreamDesc{},
  1906  	Metadata: "google/cloud/ml/v1/model_service.proto",
  1907  }
  1908  

View as plain text