// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.22.0 // protoc v3.12.2 // source: google/cloud/ml/v1/model_service.proto package ml import ( context "context" reflect "reflect" sync "sync" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" _ "google.golang.org/genproto/googleapis/api/serviceconfig" longrunning "google.golang.org/genproto/googleapis/longrunning" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // This is a compile-time assertion that a sufficiently up-to-date version // of the legacy proto package is being used. const _ = proto.ProtoPackageIsVersion4 // Represents a machine learning solution. // // A model can have multiple versions, each of which is a deployed, trained // model ready to receive prediction requests. The model itself is just a // container. type Model struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The name specified for the model when it was created. // // The model name must be unique within the project it is created in. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The description specified for the model when it was created. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Output only. The default version of the model. This version will be used to // handle prediction requests that do not specify a version. // // You can change the default version by calling // [projects.methods.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault). DefaultVersion *Version `protobuf:"bytes,3,opt,name=default_version,json=defaultVersion,proto3" json:"default_version,omitempty"` // Optional. The list of regions where the model is going to be deployed. // Currently only one region per model is supported. // Defaults to 'us-central1' if nothing is set. Regions []string `protobuf:"bytes,4,rep,name=regions,proto3" json:"regions,omitempty"` // Optional. If true, enables StackDriver Logging for online prediction. // Default is false. OnlinePredictionLogging bool `protobuf:"varint,5,opt,name=online_prediction_logging,json=onlinePredictionLogging,proto3" json:"online_prediction_logging,omitempty"` } func (x *Model) Reset() { *x = Model{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Model) String() string { return protoimpl.X.MessageStringOf(x) } func (*Model) ProtoMessage() {} func (x *Model) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Model.ProtoReflect.Descriptor instead. func (*Model) Descriptor() ([]byte, []int) { return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{0} } func (x *Model) GetName() string { if x != nil { return x.Name } return "" } func (x *Model) GetDescription() string { if x != nil { return x.Description } return "" } func (x *Model) GetDefaultVersion() *Version { if x != nil { return x.DefaultVersion } return nil } func (x *Model) GetRegions() []string { if x != nil { return x.Regions } return nil } func (x *Model) GetOnlinePredictionLogging() bool { if x != nil { return x.OnlinePredictionLogging } return false } // Represents a version of the model. // // Each version is a trained model deployed in the cloud, ready to handle // prediction requests. A model can have multiple versions. You can get // information about all of the versions of a given model by calling // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list). type Version struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required.The name specified for the version when it was created. // // The version name must be unique within the model it is created in. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The description specified for the version when it was created. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Output only. If true, this version will be used to handle prediction // requests that do not specify a version. // // You can change the default version by calling // [projects.methods.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault). IsDefault bool `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // Required. The Google Cloud Storage location of the trained model used to // create the version. See the // [overview of model deployment](/ml/docs/concepts/deployment-overview) for // more informaiton. // // When passing Version to // [projects.models.versions.create](/ml/reference/rest/v1/projects.models.versions/create) // the model service uses the specified location as the source of the model. // Once deployed, the model version is hosted by the prediction service, so // this location is useful only as a historical record. DeploymentUri string `protobuf:"bytes,4,opt,name=deployment_uri,json=deploymentUri,proto3" json:"deployment_uri,omitempty"` // Output only. The time the version was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the version was last used for prediction. LastUseTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=last_use_time,json=lastUseTime,proto3" json:"last_use_time,omitempty"` // Optional. The Google Cloud ML runtime version to use for this deployment. // If not set, Google Cloud ML will choose a version. RuntimeVersion string `protobuf:"bytes,8,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"` // Optional. Manually select the number of nodes to use for serving the // model. If unset (i.e., by default), the number of nodes used to serve // the model automatically scales with traffic. However, care should be // taken to ramp up traffic according to the model's ability to scale. If // your model needs to handle bursts of traffic beyond it's ability to // scale, it is recommended you set this field appropriately. ManualScaling *ManualScaling `protobuf:"bytes,9,opt,name=manual_scaling,json=manualScaling,proto3" json:"manual_scaling,omitempty"` } func (x *Version) Reset() { *x = Version{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Version) String() string { return protoimpl.X.MessageStringOf(x) } func (*Version) ProtoMessage() {} func (x *Version) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Version.ProtoReflect.Descriptor instead. func (*Version) Descriptor() ([]byte, []int) { return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{1} } func (x *Version) GetName() string { if x != nil { return x.Name } return "" } func (x *Version) GetDescription() string { if x != nil { return x.Description } return "" } func (x *Version) GetIsDefault() bool { if x != nil { return x.IsDefault } return false } func (x *Version) GetDeploymentUri() string { if x != nil { return x.DeploymentUri } return "" } func (x *Version) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } func (x *Version) GetLastUseTime() *timestamp.Timestamp { if x != nil { return x.LastUseTime } return nil } func (x *Version) GetRuntimeVersion() string { if x != nil { return x.RuntimeVersion } return "" } func (x *Version) GetManualScaling() *ManualScaling { if x != nil { return x.ManualScaling } return nil } // Options for manually scaling a model. type ManualScaling struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The number of nodes to allocate for this model. These nodes are always up, // starting from the time the model is deployed, so the cost of operating // this model will be proportional to nodes * number of hours since // deployment. Nodes int32 `protobuf:"varint,1,opt,name=nodes,proto3" json:"nodes,omitempty"` } func (x *ManualScaling) Reset() { *x = ManualScaling{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ManualScaling) String() string { return protoimpl.X.MessageStringOf(x) } func (*ManualScaling) ProtoMessage() {} func (x *ManualScaling) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ManualScaling.ProtoReflect.Descriptor instead. func (*ManualScaling) Descriptor() ([]byte, []int) { return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{2} } func (x *ManualScaling) GetNodes() int32 { if x != nil { return x.Nodes } return 0 } // Request message for the CreateModel method. type CreateModelRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The project name. // // Authorization: requires `Editor` role on the specified project. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The model to create. Model *Model `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` } func (x *CreateModelRequest) Reset() { *x = CreateModelRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateModelRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateModelRequest) ProtoMessage() {} func (x *CreateModelRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateModelRequest.ProtoReflect.Descriptor instead. func (*CreateModelRequest) Descriptor() ([]byte, []int) { return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{3} } func (x *CreateModelRequest) GetParent() string { if x != nil { return x.Parent } return "" } func (x *CreateModelRequest) GetModel() *Model { if x != nil { return x.Model } return nil } // Request message for the ListModels method. type ListModelsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The name of the project whose models are to be listed. // // Authorization: requires `Viewer` role on the specified project. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. A page token to request the next page of results. // // You get the token from the `next_page_token` field of the response from // the previous call. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. The number of models to retrieve per "page" of results. If there // are more remaining results than this number, the response message will // contain a valid value in the `next_page_token` field. // // The default value is 20, and the maximum page size is 100. PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` } func (x *ListModelsRequest) Reset() { *x = ListModelsRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListModelsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListModelsRequest) ProtoMessage() {} func (x *ListModelsRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListModelsRequest.ProtoReflect.Descriptor instead. func (*ListModelsRequest) Descriptor() ([]byte, []int) { return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{4} } func (x *ListModelsRequest) GetParent() string { if x != nil { return x.Parent } return "" } func (x *ListModelsRequest) GetPageToken() string { if x != nil { return x.PageToken } return "" } func (x *ListModelsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } // Response message for the ListModels method. type ListModelsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The list of models. Models []*Model `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"` // Optional. Pass this token as the `page_token` field of the request for a // subsequent call. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } func (x *ListModelsResponse) Reset() { *x = ListModelsResponse{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListModelsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListModelsResponse) ProtoMessage() {} func (x *ListModelsResponse) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListModelsResponse.ProtoReflect.Descriptor instead. func (*ListModelsResponse) Descriptor() ([]byte, []int) { return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{5} } func (x *ListModelsResponse) GetModels() []*Model { if x != nil { return x.Models } return nil } func (x *ListModelsResponse) GetNextPageToken() string { if x != nil { return x.NextPageToken } return "" } // Request message for the GetModel method. type GetModelRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The name of the model. // // Authorization: requires `Viewer` role on the parent project. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *GetModelRequest) Reset() { *x = GetModelRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetModelRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetModelRequest) ProtoMessage() {} func (x *GetModelRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetModelRequest.ProtoReflect.Descriptor instead. func (*GetModelRequest) Descriptor() ([]byte, []int) { return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{6} } func (x *GetModelRequest) GetName() string { if x != nil { return x.Name } return "" } // Request message for the DeleteModel method. type DeleteModelRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The name of the model. // // Authorization: requires `Editor` role on the parent project. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *DeleteModelRequest) Reset() { *x = DeleteModelRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteModelRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteModelRequest) ProtoMessage() {} func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteModelRequest.ProtoReflect.Descriptor instead. func (*DeleteModelRequest) Descriptor() ([]byte, []int) { return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{7} } func (x *DeleteModelRequest) GetName() string { if x != nil { return x.Name } return "" } // Uploads the provided trained model version to Cloud Machine Learning. type CreateVersionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The name of the model. // // Authorization: requires `Editor` role on the parent project. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The version details. Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` } func (x *CreateVersionRequest) Reset() { *x = CreateVersionRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateVersionRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateVersionRequest) ProtoMessage() {} func (x *CreateVersionRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateVersionRequest.ProtoReflect.Descriptor instead. func (*CreateVersionRequest) Descriptor() ([]byte, []int) { return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{8} } func (x *CreateVersionRequest) GetParent() string { if x != nil { return x.Parent } return "" } func (x *CreateVersionRequest) GetVersion() *Version { if x != nil { return x.Version } return nil } // Request message for the ListVersions method. type ListVersionsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The name of the model for which to list the version. // // Authorization: requires `Viewer` role on the parent project. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. A page token to request the next page of results. // // You get the token from the `next_page_token` field of the response from // the previous call. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. The number of versions to retrieve per "page" of results. If // there are more remaining results than this number, the response message // will contain a valid value in the `next_page_token` field. // // The default value is 20, and the maximum page size is 100. PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` } func (x *ListVersionsRequest) Reset() { *x = ListVersionsRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListVersionsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListVersionsRequest) ProtoMessage() {} func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead. func (*ListVersionsRequest) Descriptor() ([]byte, []int) { return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{9} } func (x *ListVersionsRequest) GetParent() string { if x != nil { return x.Parent } return "" } func (x *ListVersionsRequest) GetPageToken() string { if x != nil { return x.PageToken } return "" } func (x *ListVersionsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } // Response message for the ListVersions method. type ListVersionsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The list of versions. Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` // Optional. Pass this token as the `page_token` field of the request for a // subsequent call. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } func (x *ListVersionsResponse) Reset() { *x = ListVersionsResponse{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListVersionsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListVersionsResponse) ProtoMessage() {} func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead. func (*ListVersionsResponse) Descriptor() ([]byte, []int) { return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{10} } func (x *ListVersionsResponse) GetVersions() []*Version { if x != nil { return x.Versions } return nil } func (x *ListVersionsResponse) GetNextPageToken() string { if x != nil { return x.NextPageToken } return "" } // Request message for the GetVersion method. type GetVersionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The name of the version. // // Authorization: requires `Viewer` role on the parent project. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *GetVersionRequest) Reset() { *x = GetVersionRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetVersionRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetVersionRequest) ProtoMessage() {} func (x *GetVersionRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead. func (*GetVersionRequest) Descriptor() ([]byte, []int) { return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{11} } func (x *GetVersionRequest) GetName() string { if x != nil { return x.Name } return "" } // Request message for the DeleteVerionRequest method. type DeleteVersionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The name of the version. You can get the names of all the // versions of a model by calling // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list). // // Authorization: requires `Editor` role on the parent project. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *DeleteVersionRequest) Reset() { *x = DeleteVersionRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteVersionRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteVersionRequest) ProtoMessage() {} func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead. func (*DeleteVersionRequest) Descriptor() ([]byte, []int) { return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{12} } func (x *DeleteVersionRequest) GetName() string { if x != nil { return x.Name } return "" } // Request message for the SetDefaultVersion request. type SetDefaultVersionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The name of the version to make the default for the model. You // can get the names of all the versions of a model by calling // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list). // // Authorization: requires `Editor` role on the parent project. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *SetDefaultVersionRequest) Reset() { *x = SetDefaultVersionRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SetDefaultVersionRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetDefaultVersionRequest) ProtoMessage() {} func (x *SetDefaultVersionRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_ml_v1_model_service_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetDefaultVersionRequest.ProtoReflect.Descriptor instead. func (*SetDefaultVersionRequest) Descriptor() ([]byte, []int) { return file_google_cloud_ml_v1_model_service_proto_rawDescGZIP(), []int{13} } func (x *SetDefaultVersionRequest) GetName() string { if x != nil { return x.Name } return "" } var File_google_cloud_ml_v1_model_service_proto protoreflect.FileDescriptor var file_google_cloud_ml_v1_model_service_proto_rawDesc = []byte{ 0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd9, 0x01, 0x0a, 0x05, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xf5, 0x02, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x72, 0x69, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x0e, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x53, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x0d, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x53, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x22, 0x25, 0x0a, 0x0d, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x53, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x5d, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x67, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x6f, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x25, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x28, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x65, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x69, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x77, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x27, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2a, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2e, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xeb, 0x09, 0x0a, 0x0c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7f, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x3a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x83, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x72, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7c, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x2a, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x94, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x22, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x94, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x83, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8b, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x2a, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x9f, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x3a, 0x01, 0x2a, 0x42, 0x67, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_google_cloud_ml_v1_model_service_proto_rawDescOnce sync.Once file_google_cloud_ml_v1_model_service_proto_rawDescData = file_google_cloud_ml_v1_model_service_proto_rawDesc ) func file_google_cloud_ml_v1_model_service_proto_rawDescGZIP() []byte { file_google_cloud_ml_v1_model_service_proto_rawDescOnce.Do(func() { file_google_cloud_ml_v1_model_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_ml_v1_model_service_proto_rawDescData) }) return file_google_cloud_ml_v1_model_service_proto_rawDescData } var file_google_cloud_ml_v1_model_service_proto_msgTypes = make([]protoimpl.MessageInfo, 14) var file_google_cloud_ml_v1_model_service_proto_goTypes = []interface{}{ (*Model)(nil), // 0: google.cloud.ml.v1.Model (*Version)(nil), // 1: google.cloud.ml.v1.Version (*ManualScaling)(nil), // 2: google.cloud.ml.v1.ManualScaling (*CreateModelRequest)(nil), // 3: google.cloud.ml.v1.CreateModelRequest (*ListModelsRequest)(nil), // 4: google.cloud.ml.v1.ListModelsRequest (*ListModelsResponse)(nil), // 5: google.cloud.ml.v1.ListModelsResponse (*GetModelRequest)(nil), // 6: google.cloud.ml.v1.GetModelRequest (*DeleteModelRequest)(nil), // 7: google.cloud.ml.v1.DeleteModelRequest (*CreateVersionRequest)(nil), // 8: google.cloud.ml.v1.CreateVersionRequest (*ListVersionsRequest)(nil), // 9: google.cloud.ml.v1.ListVersionsRequest (*ListVersionsResponse)(nil), // 10: google.cloud.ml.v1.ListVersionsResponse (*GetVersionRequest)(nil), // 11: google.cloud.ml.v1.GetVersionRequest (*DeleteVersionRequest)(nil), // 12: google.cloud.ml.v1.DeleteVersionRequest (*SetDefaultVersionRequest)(nil), // 13: google.cloud.ml.v1.SetDefaultVersionRequest (*timestamp.Timestamp)(nil), // 14: google.protobuf.Timestamp (*longrunning.Operation)(nil), // 15: google.longrunning.Operation } var file_google_cloud_ml_v1_model_service_proto_depIdxs = []int32{ 1, // 0: google.cloud.ml.v1.Model.default_version:type_name -> google.cloud.ml.v1.Version 14, // 1: google.cloud.ml.v1.Version.create_time:type_name -> google.protobuf.Timestamp 14, // 2: google.cloud.ml.v1.Version.last_use_time:type_name -> google.protobuf.Timestamp 2, // 3: google.cloud.ml.v1.Version.manual_scaling:type_name -> google.cloud.ml.v1.ManualScaling 0, // 4: google.cloud.ml.v1.CreateModelRequest.model:type_name -> google.cloud.ml.v1.Model 0, // 5: google.cloud.ml.v1.ListModelsResponse.models:type_name -> google.cloud.ml.v1.Model 1, // 6: google.cloud.ml.v1.CreateVersionRequest.version:type_name -> google.cloud.ml.v1.Version 1, // 7: google.cloud.ml.v1.ListVersionsResponse.versions:type_name -> google.cloud.ml.v1.Version 3, // 8: google.cloud.ml.v1.ModelService.CreateModel:input_type -> google.cloud.ml.v1.CreateModelRequest 4, // 9: google.cloud.ml.v1.ModelService.ListModels:input_type -> google.cloud.ml.v1.ListModelsRequest 6, // 10: google.cloud.ml.v1.ModelService.GetModel:input_type -> google.cloud.ml.v1.GetModelRequest 7, // 11: google.cloud.ml.v1.ModelService.DeleteModel:input_type -> google.cloud.ml.v1.DeleteModelRequest 8, // 12: google.cloud.ml.v1.ModelService.CreateVersion:input_type -> google.cloud.ml.v1.CreateVersionRequest 9, // 13: google.cloud.ml.v1.ModelService.ListVersions:input_type -> google.cloud.ml.v1.ListVersionsRequest 11, // 14: google.cloud.ml.v1.ModelService.GetVersion:input_type -> google.cloud.ml.v1.GetVersionRequest 12, // 15: google.cloud.ml.v1.ModelService.DeleteVersion:input_type -> google.cloud.ml.v1.DeleteVersionRequest 13, // 16: google.cloud.ml.v1.ModelService.SetDefaultVersion:input_type -> google.cloud.ml.v1.SetDefaultVersionRequest 0, // 17: google.cloud.ml.v1.ModelService.CreateModel:output_type -> google.cloud.ml.v1.Model 5, // 18: google.cloud.ml.v1.ModelService.ListModels:output_type -> google.cloud.ml.v1.ListModelsResponse 0, // 19: google.cloud.ml.v1.ModelService.GetModel:output_type -> google.cloud.ml.v1.Model 15, // 20: google.cloud.ml.v1.ModelService.DeleteModel:output_type -> google.longrunning.Operation 15, // 21: google.cloud.ml.v1.ModelService.CreateVersion:output_type -> google.longrunning.Operation 10, // 22: google.cloud.ml.v1.ModelService.ListVersions:output_type -> google.cloud.ml.v1.ListVersionsResponse 1, // 23: google.cloud.ml.v1.ModelService.GetVersion:output_type -> google.cloud.ml.v1.Version 15, // 24: google.cloud.ml.v1.ModelService.DeleteVersion:output_type -> google.longrunning.Operation 1, // 25: google.cloud.ml.v1.ModelService.SetDefaultVersion:output_type -> google.cloud.ml.v1.Version 17, // [17:26] is the sub-list for method output_type 8, // [8:17] is the sub-list for method input_type 8, // [8:8] is the sub-list for extension type_name 8, // [8:8] is the sub-list for extension extendee 0, // [0:8] is the sub-list for field type_name } func init() { file_google_cloud_ml_v1_model_service_proto_init() } func file_google_cloud_ml_v1_model_service_proto_init() { if File_google_cloud_ml_v1_model_service_proto != nil { return } if !protoimpl.UnsafeEnabled { file_google_cloud_ml_v1_model_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Model); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_ml_v1_model_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Version); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_ml_v1_model_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ManualScaling); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_ml_v1_model_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateModelRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_ml_v1_model_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListModelsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_ml_v1_model_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListModelsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_ml_v1_model_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetModelRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_ml_v1_model_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteModelRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_ml_v1_model_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateVersionRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_ml_v1_model_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListVersionsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_ml_v1_model_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListVersionsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_ml_v1_model_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetVersionRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_ml_v1_model_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteVersionRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_ml_v1_model_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SetDefaultVersionRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_google_cloud_ml_v1_model_service_proto_rawDesc, NumEnums: 0, NumMessages: 14, NumExtensions: 0, NumServices: 1, }, GoTypes: file_google_cloud_ml_v1_model_service_proto_goTypes, DependencyIndexes: file_google_cloud_ml_v1_model_service_proto_depIdxs, MessageInfos: file_google_cloud_ml_v1_model_service_proto_msgTypes, }.Build() File_google_cloud_ml_v1_model_service_proto = out.File file_google_cloud_ml_v1_model_service_proto_rawDesc = nil file_google_cloud_ml_v1_model_service_proto_goTypes = nil file_google_cloud_ml_v1_model_service_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // ModelServiceClient is the client API for ModelService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type ModelServiceClient interface { // Creates a model which will later contain one or more versions. // // You must add at least one version before you can request predictions from // the model. Add versions by calling // [projects.models.versions.create](/ml/reference/rest/v1/projects.models.versions/create). CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*Model, error) // Lists the models in a project. // // Each project can contain multiple models, and each model can have multiple // versions. ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) // Gets information about a model, including its name, the description (if // set), and the default version (if at least one version of the model has // been deployed). GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) // Deletes a model. // // You can only delete a model if there are no versions in it. You can delete // versions by calling // [projects.models.versions.delete](/ml/reference/rest/v1/projects.models.versions/delete). DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Creates a new version of a model from a trained TensorFlow model. // // If the version created in the cloud by this call is the first deployed // version of the specified model, it will be made the default version of the // model. When you add a version to a model that already has one or more // versions, the default version does not automatically change. If you want a // new version to be the default, you must call // [projects.models.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault). CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Gets basic information about all the versions of a model. // // If you expect that a model has a lot of versions, or if you need to handle // only a limited number of results at a time, you can request that the list // be retrieved in batches (called pages): ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) // Gets information about a model version. // // Models can have multiple versions. You can call // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list) // to get the same information that this method returns for all of the // versions of a model. GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) // Deletes a model version. // // Each model can have multiple versions deployed and in use at any given // time. Use this method to remove a single version. // // Note: You cannot delete the version that is set as the default version // of the model unless it is the only remaining version. DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Designates a version to be the default for the model. // // The default version is used for prediction requests made against the model // that don't specify a version. // // The first version to be created for a model is automatically set as the // default. You must make any subsequent changes to the default version // setting manually using this method. SetDefaultVersion(ctx context.Context, in *SetDefaultVersionRequest, opts ...grpc.CallOption) (*Version, error) } type modelServiceClient struct { cc grpc.ClientConnInterface } func NewModelServiceClient(cc grpc.ClientConnInterface) ModelServiceClient { return &modelServiceClient{cc} } func (c *modelServiceClient) CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*Model, error) { out := new(Model) err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/CreateModel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *modelServiceClient) ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) { out := new(ListModelsResponse) err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/ListModels", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *modelServiceClient) GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) { out := new(Model) err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/GetModel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *modelServiceClient) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { out := new(longrunning.Operation) err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/DeleteModel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *modelServiceClient) CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { out := new(longrunning.Operation) err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/CreateVersion", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *modelServiceClient) ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) { out := new(ListVersionsResponse) err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/ListVersions", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *modelServiceClient) GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) { out := new(Version) err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/GetVersion", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *modelServiceClient) DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { out := new(longrunning.Operation) err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/DeleteVersion", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *modelServiceClient) SetDefaultVersion(ctx context.Context, in *SetDefaultVersionRequest, opts ...grpc.CallOption) (*Version, error) { out := new(Version) err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/SetDefaultVersion", in, out, opts...) if err != nil { return nil, err } return out, nil } // ModelServiceServer is the server API for ModelService service. type ModelServiceServer interface { // Creates a model which will later contain one or more versions. // // You must add at least one version before you can request predictions from // the model. Add versions by calling // [projects.models.versions.create](/ml/reference/rest/v1/projects.models.versions/create). CreateModel(context.Context, *CreateModelRequest) (*Model, error) // Lists the models in a project. // // Each project can contain multiple models, and each model can have multiple // versions. ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) // Gets information about a model, including its name, the description (if // set), and the default version (if at least one version of the model has // been deployed). GetModel(context.Context, *GetModelRequest) (*Model, error) // Deletes a model. // // You can only delete a model if there are no versions in it. You can delete // versions by calling // [projects.models.versions.delete](/ml/reference/rest/v1/projects.models.versions/delete). DeleteModel(context.Context, *DeleteModelRequest) (*longrunning.Operation, error) // Creates a new version of a model from a trained TensorFlow model. // // If the version created in the cloud by this call is the first deployed // version of the specified model, it will be made the default version of the // model. When you add a version to a model that already has one or more // versions, the default version does not automatically change. If you want a // new version to be the default, you must call // [projects.models.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault). CreateVersion(context.Context, *CreateVersionRequest) (*longrunning.Operation, error) // Gets basic information about all the versions of a model. // // If you expect that a model has a lot of versions, or if you need to handle // only a limited number of results at a time, you can request that the list // be retrieved in batches (called pages): ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error) // Gets information about a model version. // // Models can have multiple versions. You can call // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list) // to get the same information that this method returns for all of the // versions of a model. GetVersion(context.Context, *GetVersionRequest) (*Version, error) // Deletes a model version. // // Each model can have multiple versions deployed and in use at any given // time. Use this method to remove a single version. // // Note: You cannot delete the version that is set as the default version // of the model unless it is the only remaining version. DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunning.Operation, error) // Designates a version to be the default for the model. // // The default version is used for prediction requests made against the model // that don't specify a version. // // The first version to be created for a model is automatically set as the // default. You must make any subsequent changes to the default version // setting manually using this method. SetDefaultVersion(context.Context, *SetDefaultVersionRequest) (*Version, error) } // UnimplementedModelServiceServer can be embedded to have forward compatible implementations. type UnimplementedModelServiceServer struct { } func (*UnimplementedModelServiceServer) CreateModel(context.Context, *CreateModelRequest) (*Model, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateModel not implemented") } func (*UnimplementedModelServiceServer) ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListModels not implemented") } func (*UnimplementedModelServiceServer) GetModel(context.Context, *GetModelRequest) (*Model, error) { return nil, status.Errorf(codes.Unimplemented, "method GetModel not implemented") } func (*UnimplementedModelServiceServer) DeleteModel(context.Context, *DeleteModelRequest) (*longrunning.Operation, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteModel not implemented") } func (*UnimplementedModelServiceServer) CreateVersion(context.Context, *CreateVersionRequest) (*longrunning.Operation, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateVersion not implemented") } func (*UnimplementedModelServiceServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListVersions not implemented") } func (*UnimplementedModelServiceServer) GetVersion(context.Context, *GetVersionRequest) (*Version, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVersion not implemented") } func (*UnimplementedModelServiceServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunning.Operation, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteVersion not implemented") } func (*UnimplementedModelServiceServer) SetDefaultVersion(context.Context, *SetDefaultVersionRequest) (*Version, error) { return nil, status.Errorf(codes.Unimplemented, "method SetDefaultVersion not implemented") } func RegisterModelServiceServer(s *grpc.Server, srv ModelServiceServer) { s.RegisterService(&_ModelService_serviceDesc, srv) } func _ModelService_CreateModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateModelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ModelServiceServer).CreateModel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.ml.v1.ModelService/CreateModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ModelServiceServer).CreateModel(ctx, req.(*CreateModelRequest)) } return interceptor(ctx, in, info, handler) } func _ModelService_ListModels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListModelsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ModelServiceServer).ListModels(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.ml.v1.ModelService/ListModels", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ModelServiceServer).ListModels(ctx, req.(*ListModelsRequest)) } return interceptor(ctx, in, info, handler) } func _ModelService_GetModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetModelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ModelServiceServer).GetModel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.ml.v1.ModelService/GetModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ModelServiceServer).GetModel(ctx, req.(*GetModelRequest)) } return interceptor(ctx, in, info, handler) } func _ModelService_DeleteModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteModelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ModelServiceServer).DeleteModel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.ml.v1.ModelService/DeleteModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ModelServiceServer).DeleteModel(ctx, req.(*DeleteModelRequest)) } return interceptor(ctx, in, info, handler) } func _ModelService_CreateVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateVersionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ModelServiceServer).CreateVersion(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.ml.v1.ModelService/CreateVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ModelServiceServer).CreateVersion(ctx, req.(*CreateVersionRequest)) } return interceptor(ctx, in, info, handler) } func _ModelService_ListVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListVersionsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ModelServiceServer).ListVersions(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.ml.v1.ModelService/ListVersions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ModelServiceServer).ListVersions(ctx, req.(*ListVersionsRequest)) } return interceptor(ctx, in, info, handler) } func _ModelService_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetVersionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ModelServiceServer).GetVersion(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.ml.v1.ModelService/GetVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ModelServiceServer).GetVersion(ctx, req.(*GetVersionRequest)) } return interceptor(ctx, in, info, handler) } func _ModelService_DeleteVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteVersionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ModelServiceServer).DeleteVersion(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.ml.v1.ModelService/DeleteVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ModelServiceServer).DeleteVersion(ctx, req.(*DeleteVersionRequest)) } return interceptor(ctx, in, info, handler) } func _ModelService_SetDefaultVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SetDefaultVersionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ModelServiceServer).SetDefaultVersion(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.ml.v1.ModelService/SetDefaultVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ModelServiceServer).SetDefaultVersion(ctx, req.(*SetDefaultVersionRequest)) } return interceptor(ctx, in, info, handler) } var _ModelService_serviceDesc = grpc.ServiceDesc{ ServiceName: "google.cloud.ml.v1.ModelService", HandlerType: (*ModelServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateModel", Handler: _ModelService_CreateModel_Handler, }, { MethodName: "ListModels", Handler: _ModelService_ListModels_Handler, }, { MethodName: "GetModel", Handler: _ModelService_GetModel_Handler, }, { MethodName: "DeleteModel", Handler: _ModelService_DeleteModel_Handler, }, { MethodName: "CreateVersion", Handler: _ModelService_CreateVersion_Handler, }, { MethodName: "ListVersions", Handler: _ModelService_ListVersions_Handler, }, { MethodName: "GetVersion", Handler: _ModelService_GetVersion_Handler, }, { MethodName: "DeleteVersion", Handler: _ModelService_DeleteVersion_Handler, }, { MethodName: "SetDefaultVersion", Handler: _ModelService_SetDefaultVersion_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/cloud/ml/v1/model_service.proto", }