diff --git a/app/mltraining/v1/ml_training.pb.go b/app/mltraining/v1/ml_training.pb.go index 987f43cb5..4543d9da1 100644 --- a/app/mltraining/v1/ml_training.pb.go +++ b/app/mltraining/v1/ml_training.pb.go @@ -325,132 +325,6 @@ func (x *SubmitTrainingJobResponse) GetId() string { return "" } -type SubmitCustomTrainingJobRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id" bson:"dataset_id"` - RegistryItemId string `protobuf:"bytes,2,opt,name=registry_item_id,json=registryItemId,proto3" json:"registry_item_id" bson:"registry_item_id"` - OrganizationId string `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id" bson:"organization_id"` - ModelName string `protobuf:"bytes,4,opt,name=model_name,json=modelName,proto3" json:"model_name" bson:"model_name"` - ModelVersion string `protobuf:"bytes,5,opt,name=model_version,json=modelVersion,proto3" json:"model_version" bson:"model_version"` -} - -func (x *SubmitCustomTrainingJobRequest) Reset() { - *x = SubmitCustomTrainingJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SubmitCustomTrainingJobRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubmitCustomTrainingJobRequest) ProtoMessage() {} - -func (x *SubmitCustomTrainingJobRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_mltraining_v1_ml_training_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 SubmitCustomTrainingJobRequest.ProtoReflect.Descriptor instead. -func (*SubmitCustomTrainingJobRequest) Descriptor() ([]byte, []int) { - return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{2} -} - -func (x *SubmitCustomTrainingJobRequest) GetDatasetId() string { - if x != nil { - return x.DatasetId - } - return "" -} - -func (x *SubmitCustomTrainingJobRequest) GetRegistryItemId() string { - if x != nil { - return x.RegistryItemId - } - return "" -} - -func (x *SubmitCustomTrainingJobRequest) GetOrganizationId() string { - if x != nil { - return x.OrganizationId - } - return "" -} - -func (x *SubmitCustomTrainingJobRequest) GetModelName() string { - if x != nil { - return x.ModelName - } - return "" -} - -func (x *SubmitCustomTrainingJobRequest) GetModelVersion() string { - if x != nil { - return x.ModelVersion - } - return "" -} - -type SubmitCustomTrainingJobResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *SubmitCustomTrainingJobResponse) Reset() { - *x = SubmitCustomTrainingJobResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SubmitCustomTrainingJobResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubmitCustomTrainingJobResponse) ProtoMessage() {} - -func (x *SubmitCustomTrainingJobResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_mltraining_v1_ml_training_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 SubmitCustomTrainingJobResponse.ProtoReflect.Descriptor instead. -func (*SubmitCustomTrainingJobResponse) Descriptor() ([]byte, []int) { - return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{3} -} - -func (x *SubmitCustomTrainingJobResponse) GetId() string { - if x != nil { - return x.Id - } - return "" -} - type GetTrainingJobRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -462,7 +336,7 @@ type GetTrainingJobRequest struct { func (x *GetTrainingJobRequest) Reset() { *x = GetTrainingJobRequest{} if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[4] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -475,7 +349,7 @@ func (x *GetTrainingJobRequest) String() string { func (*GetTrainingJobRequest) ProtoMessage() {} func (x *GetTrainingJobRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[4] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -488,7 +362,7 @@ func (x *GetTrainingJobRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTrainingJobRequest.ProtoReflect.Descriptor instead. func (*GetTrainingJobRequest) Descriptor() ([]byte, []int) { - return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{4} + return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{2} } func (x *GetTrainingJobRequest) GetId() string { @@ -509,7 +383,7 @@ type GetTrainingJobResponse struct { func (x *GetTrainingJobResponse) Reset() { *x = GetTrainingJobResponse{} if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[5] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -522,7 +396,7 @@ func (x *GetTrainingJobResponse) String() string { func (*GetTrainingJobResponse) ProtoMessage() {} func (x *GetTrainingJobResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[5] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -535,7 +409,7 @@ func (x *GetTrainingJobResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTrainingJobResponse.ProtoReflect.Descriptor instead. func (*GetTrainingJobResponse) Descriptor() ([]byte, []int) { - return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{5} + return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{3} } func (x *GetTrainingJobResponse) GetMetadata() *TrainingJobMetadata { @@ -557,7 +431,7 @@ type ListTrainingJobsRequest struct { func (x *ListTrainingJobsRequest) Reset() { *x = ListTrainingJobsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[6] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -570,7 +444,7 @@ func (x *ListTrainingJobsRequest) String() string { func (*ListTrainingJobsRequest) ProtoMessage() {} func (x *ListTrainingJobsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[6] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -583,7 +457,7 @@ func (x *ListTrainingJobsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListTrainingJobsRequest.ProtoReflect.Descriptor instead. func (*ListTrainingJobsRequest) Descriptor() ([]byte, []int) { - return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{6} + return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{4} } func (x *ListTrainingJobsRequest) GetOrganizationId() string { @@ -611,7 +485,7 @@ type ListTrainingJobsResponse struct { func (x *ListTrainingJobsResponse) Reset() { *x = ListTrainingJobsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[7] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -624,7 +498,7 @@ func (x *ListTrainingJobsResponse) String() string { func (*ListTrainingJobsResponse) ProtoMessage() {} func (x *ListTrainingJobsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[7] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -637,7 +511,7 @@ func (x *ListTrainingJobsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListTrainingJobsResponse.ProtoReflect.Descriptor instead. func (*ListTrainingJobsResponse) Descriptor() ([]byte, []int) { - return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{7} + return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{5} } func (x *ListTrainingJobsResponse) GetJobs() []*TrainingJobMetadata { @@ -659,9 +533,6 @@ type TrainingJobMetadata struct { ModelName string `protobuf:"bytes,13,opt,name=model_name,json=modelName,proto3" json:"model_name" bson:"model_name"` ModelVersion string `protobuf:"bytes,14,opt,name=model_version,json=modelVersion,proto3" json:"model_version" bson:"model_version"` ModelType ModelType `protobuf:"varint,15,opt,name=model_type,json=modelType,proto3,enum=viam.app.mltraining.v1.ModelType" json:"model_type" bson:"model_type"` - ModelFramework ModelFramework `protobuf:"varint,17,opt,name=model_framework,json=modelFramework,proto3,enum=viam.app.mltraining.v1.ModelFramework" json:"model_framework" bson:"model_framework"` - IsCustomJob bool `protobuf:"varint,18,opt,name=is_custom_job,json=isCustomJob,proto3" json:"is_custom_job" bson:"is_custom_job"` - RegistryItemId string `protobuf:"bytes,19,opt,name=registry_item_id,json=registryItemId,proto3" json:"registry_item_id" bson:"registry_item_id"` Status TrainingStatus `protobuf:"varint,2,opt,name=status,proto3,enum=viam.app.mltraining.v1.TrainingStatus" json:"status" bson:"status"` ErrorStatus *status.Status `protobuf:"bytes,8,opt,name=error_status,json=errorStatus,proto3" json:"error_status" bson:"error_status"` CreatedOn *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_on,json=createdOn,proto3" json:"created_on" bson:"created_on"` @@ -675,7 +546,7 @@ type TrainingJobMetadata struct { func (x *TrainingJobMetadata) Reset() { *x = TrainingJobMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[8] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -688,7 +559,7 @@ func (x *TrainingJobMetadata) String() string { func (*TrainingJobMetadata) ProtoMessage() {} func (x *TrainingJobMetadata) ProtoReflect() protoreflect.Message { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[8] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -701,7 +572,7 @@ func (x *TrainingJobMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use TrainingJobMetadata.ProtoReflect.Descriptor instead. func (*TrainingJobMetadata) Descriptor() ([]byte, []int) { - return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{8} + return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{6} } func (x *TrainingJobMetadata) GetRequest() *SubmitTrainingJobRequest { @@ -753,27 +624,6 @@ func (x *TrainingJobMetadata) GetModelType() ModelType { return ModelType_MODEL_TYPE_UNSPECIFIED } -func (x *TrainingJobMetadata) GetModelFramework() ModelFramework { - if x != nil { - return x.ModelFramework - } - return ModelFramework_MODEL_FRAMEWORK_UNSPECIFIED -} - -func (x *TrainingJobMetadata) GetIsCustomJob() bool { - if x != nil { - return x.IsCustomJob - } - return false -} - -func (x *TrainingJobMetadata) GetRegistryItemId() string { - if x != nil { - return x.RegistryItemId - } - return "" -} - func (x *TrainingJobMetadata) GetStatus() TrainingStatus { if x != nil { return x.Status @@ -841,7 +691,7 @@ type CancelTrainingJobRequest struct { func (x *CancelTrainingJobRequest) Reset() { *x = CancelTrainingJobRequest{} if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[9] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -854,7 +704,7 @@ func (x *CancelTrainingJobRequest) String() string { func (*CancelTrainingJobRequest) ProtoMessage() {} func (x *CancelTrainingJobRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[9] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -867,7 +717,7 @@ func (x *CancelTrainingJobRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CancelTrainingJobRequest.ProtoReflect.Descriptor instead. func (*CancelTrainingJobRequest) Descriptor() ([]byte, []int) { - return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{9} + return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{7} } func (x *CancelTrainingJobRequest) GetId() string { @@ -886,7 +736,7 @@ type CancelTrainingJobResponse struct { func (x *CancelTrainingJobResponse) Reset() { *x = CancelTrainingJobResponse{} if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[10] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -899,7 +749,7 @@ func (x *CancelTrainingJobResponse) String() string { func (*CancelTrainingJobResponse) ProtoMessage() {} func (x *CancelTrainingJobResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[10] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -912,7 +762,7 @@ func (x *CancelTrainingJobResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CancelTrainingJobResponse.ProtoReflect.Descriptor instead. func (*CancelTrainingJobResponse) Descriptor() ([]byte, []int) { - return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{10} + return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{8} } type DeleteCompletedTrainingJobRequest struct { @@ -926,7 +776,7 @@ type DeleteCompletedTrainingJobRequest struct { func (x *DeleteCompletedTrainingJobRequest) Reset() { *x = DeleteCompletedTrainingJobRequest{} if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[11] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -939,7 +789,7 @@ func (x *DeleteCompletedTrainingJobRequest) String() string { func (*DeleteCompletedTrainingJobRequest) ProtoMessage() {} func (x *DeleteCompletedTrainingJobRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[11] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -952,7 +802,7 @@ func (x *DeleteCompletedTrainingJobRequest) ProtoReflect() protoreflect.Message // Deprecated: Use DeleteCompletedTrainingJobRequest.ProtoReflect.Descriptor instead. func (*DeleteCompletedTrainingJobRequest) Descriptor() ([]byte, []int) { - return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{11} + return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{9} } func (x *DeleteCompletedTrainingJobRequest) GetId() string { @@ -971,7 +821,7 @@ type DeleteCompletedTrainingJobResponse struct { func (x *DeleteCompletedTrainingJobResponse) Reset() { *x = DeleteCompletedTrainingJobResponse{} if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[12] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -984,7 +834,7 @@ func (x *DeleteCompletedTrainingJobResponse) String() string { func (*DeleteCompletedTrainingJobResponse) ProtoMessage() {} func (x *DeleteCompletedTrainingJobResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[12] + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -997,7 +847,7 @@ func (x *DeleteCompletedTrainingJobResponse) ProtoReflect() protoreflect.Message // Deprecated: Use DeleteCompletedTrainingJobResponse.ProtoReflect.Descriptor instead. func (*DeleteCompletedTrainingJobResponse) Descriptor() ([]byte, []int) { - return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{12} + return file_app_mltraining_v1_ml_training_proto_rawDescGZIP(), []int{10} } var File_app_mltraining_v1_ml_training_proto protoreflect.FileDescriptor @@ -1047,268 +897,208 @@ var file_app_mltraining_v1_ml_training_proto_rawDesc = []byte{ 0x08, 0x01, 0x10, 0x02, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x2b, 0x0a, 0x19, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xc4, 0x03, 0x0a, 0x1e, 0x53, 0x75, - 0x62, 0x6d, 0x69, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, - 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x0a, - 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x28, 0x9a, 0x84, 0x9e, 0x03, 0x23, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x64, 0x61, 0x74, - 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x5e, 0x0a, 0x10, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x34, 0x9a, 0x84, 0x9e, 0x03, 0x2f, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5f, 0x69, 0x74, 0x65, - 0x6d, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, - 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x5b, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, - 0x9a, 0x84, 0x9e, 0x03, 0x2d, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, - 0x3a, 0x22, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x22, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x12, 0x47, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0x9a, 0x84, 0x9e, 0x03, 0x23, 0x62, 0x73, 0x6f, - 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x6a, - 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x0d, 0x6d, - 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x2e, 0x9a, 0x84, 0x9e, 0x03, 0x29, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, - 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x6a, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x22, 0x52, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x22, 0x31, 0x0a, 0x1f, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, - 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x22, 0x27, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, - 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x61, 0x0a, 0x16, - 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, - 0x31, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, - 0x82, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, - 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, - 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x22, 0x5b, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x69, - 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x3f, 0x0a, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x27, 0x0a, 0x15, 0x47, 0x65, 0x74, + 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x22, 0x61, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, + 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, - 0x4a, 0x6f, 0x62, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x04, 0x6a, 0x6f, 0x62, - 0x73, 0x22, 0xd3, 0x0d, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, - 0x62, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x6e, 0x0a, 0x07, 0x72, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, - 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x22, 0x9a, 0x84, - 0x9e, 0x03, 0x1d, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, - 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0x9a, 0x84, 0x9e, 0x03, 0x1e, 0x62, 0x73, 0x6f, 0x6e, - 0x3a, 0x22, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x2c, - 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x52, 0x02, 0x69, 0x64, 0x12, 0x47, - 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x28, 0x9a, 0x84, 0x9e, 0x03, 0x23, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, - 0x22, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x09, 0x64, 0x61, - 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x5b, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x32, 0x9a, 0x84, 0x9e, 0x03, 0x2d, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x69, 0x64, 0x22, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x47, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0x9a, 0x84, 0x9e, 0x03, 0x23, 0x62, - 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x22, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, - 0x0d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0x9a, 0x84, 0x9e, 0x03, 0x29, 0x62, 0x73, 0x6f, 0x6e, 0x3a, - 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x20, - 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x22, 0x52, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x6a, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x42, 0x28, 0x9a, 0x84, 0x9e, 0x03, 0x23, - 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x22, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x83, - 0x01, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, - 0x72, 0x6b, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, - 0x42, 0x32, 0x9a, 0x84, 0x9e, 0x03, 0x2d, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x20, 0x6a, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, - 0x6f, 0x72, 0x6b, 0x22, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, - 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x52, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, - 0x6d, 0x5f, 0x6a, 0x6f, 0x62, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x42, 0x2e, 0x9a, 0x84, 0x9e, - 0x03, 0x29, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x73, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, - 0x6d, 0x5f, 0x6a, 0x6f, 0x62, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x73, 0x5f, - 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x6a, 0x6f, 0x62, 0x22, 0x52, 0x0b, 0x69, 0x73, 0x43, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4a, 0x6f, 0x62, 0x12, 0x5e, 0x0a, 0x10, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x13, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x34, 0x9a, 0x84, 0x9e, 0x03, 0x2f, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x22, - 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5f, - 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x60, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, - 0x31, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x42, 0x20, 0x9a, 0x84, 0x9e, 0x03, 0x1b, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x22, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x63, 0x0a, 0x0c, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x42, 0x2c, 0x9a, 0x84, 0x9e, 0x03, 0x27, 0x62, 0x73, 0x6f, 0x6e, 0x3a, - 0x22, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x20, 0x6a, - 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x22, 0x52, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x63, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, 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, 0x42, - 0x28, 0x9a, 0x84, 0x9e, 0x03, 0x23, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x6f, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, - 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x04, 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, 0x42, 0x2e, 0x9a, 0x84, 0x9e, 0x03, 0x29, 0x62, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, - 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, - 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x22, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, - 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x7b, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, - 0x67, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x09, 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, 0x42, 0x34, 0x9a, 0x84, 0x9e, - 0x03, 0x2f, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, - 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, - 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, - 0x22, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x72, 0x74, - 0x65, 0x64, 0x12, 0x73, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x65, - 0x6e, 0x64, 0x65, 0x64, 0x18, 0x0a, 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, 0x42, 0x30, 0x9a, 0x84, 0x9e, 0x03, 0x2b, 0x62, 0x73, 0x6f, - 0x6e, 0x3a, 0x22, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x6e, 0x64, 0x65, - 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, - 0x67, 0x5f, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x22, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, - 0x6e, 0x67, 0x45, 0x6e, 0x64, 0x65, 0x64, 0x12, 0x5a, 0x0a, 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x65, - 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x32, 0x9a, 0x84, 0x9e, 0x03, 0x2d, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x79, 0x6e, - 0x63, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x5f, 0x69, 0x64, 0x22, 0x52, 0x0d, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x65, - 0x6c, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, - 0x09, 0x42, 0x1c, 0x9a, 0x84, 0x9e, 0x03, 0x17, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x74, 0x61, - 0x67, 0x73, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x74, 0x61, 0x67, 0x73, 0x22, 0x52, - 0x04, 0x74, 0x61, 0x67, 0x73, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x52, 0x0a, 0x75, 0x73, 0x65, - 0x72, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x2a, 0x0a, 0x18, 0x43, 0x61, 0x6e, 0x63, 0x65, - 0x6c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, - 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x33, 0x0a, 0x21, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, - 0x74, 0x65, 0x64, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x24, 0x0a, 0x22, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, - 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, - 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x9f, 0x01, 0x0a, 0x09, - 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x4f, 0x44, - 0x45, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, - 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x2a, 0x0a, 0x26, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, - 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, - 0x01, 0x12, 0x29, 0x0a, 0x25, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x43, 0x4c, 0x41, 0x53, - 0x53, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, - 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x42, 0x4a, 0x45, 0x43, - 0x54, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x2a, 0xa4, 0x01, - 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, - 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, - 0x4f, 0x52, 0x4b, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, - 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x54, 0x46, 0x4c, 0x49, 0x54, 0x45, 0x10, 0x01, 0x12, 0x1e, 0x0a, - 0x1a, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, - 0x5f, 0x54, 0x45, 0x4e, 0x53, 0x4f, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x1b, 0x0a, - 0x17, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, - 0x5f, 0x50, 0x59, 0x54, 0x4f, 0x52, 0x43, 0x48, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x4f, - 0x44, 0x45, 0x4c, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x4f, 0x4e, - 0x4e, 0x58, 0x10, 0x04, 0x2a, 0xe7, 0x01, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, - 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x52, 0x41, 0x49, 0x4e, - 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x52, 0x41, 0x49, - 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x50, 0x45, 0x4e, 0x44, - 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, - 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, - 0x52, 0x45, 0x53, 0x53, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x49, - 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, - 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, - 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, - 0x04, 0x12, 0x1c, 0x0a, 0x18, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, - 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, - 0x1d, 0x0a, 0x19, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x55, 0x53, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x32, 0x92, - 0x06, 0x0a, 0x11, 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x78, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x54, 0x72, - 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, - 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, - 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, - 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8a, - 0x01, 0x0a, 0x17, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, - 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x12, 0x36, 0x2e, 0x76, 0x69, 0x61, + 0x4a, 0x6f, 0x62, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x82, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, + 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x5b, 0x0a, 0x18, 0x4c, 0x69, + 0x73, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, + 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x52, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x22, 0x99, 0x0b, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x69, + 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x6e, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, + 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, - 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, - 0x69, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, - 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x0e, 0x47, - 0x65, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x12, 0x2d, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, - 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, - 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, + 0x73, 0x74, 0x42, 0x22, 0x9a, 0x84, 0x9e, 0x03, 0x1d, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x33, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0x9a, 0x84, 0x9e, + 0x03, 0x1e, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, + 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x2c, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x22, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x47, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0x9a, 0x84, 0x9e, 0x03, 0x23, 0x62, + 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x22, + 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, + 0x64, 0x22, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x5b, 0x0a, + 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0x9a, 0x84, 0x9e, 0x03, 0x2d, 0x62, 0x73, 0x6f, + 0x6e, 0x3a, 0x22, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x47, 0x0a, 0x0a, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, + 0x9a, 0x84, 0x9e, 0x03, 0x23, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x0d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0x9a, 0x84, 0x9e, 0x03, + 0x29, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x52, 0x0c, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x6a, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, + 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x42, + 0x28, 0x9a, 0x84, 0x9e, 0x03, 0x23, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x60, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, + 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x20, 0x9a, 0x84, + 0x9e, 0x03, 0x1b, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, + 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x63, 0x0a, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x42, 0x2c, 0x9a, 0x84, 0x9e, 0x03, 0x27, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, + 0x22, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x52, 0x0b, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x63, 0x0a, 0x0a, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, 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, 0x42, 0x28, 0x9a, 0x84, 0x9e, + 0x03, 0x23, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x6f, 0x6e, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4f, 0x6e, + 0x12, 0x6f, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, + 0x64, 0x18, 0x04, 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, 0x42, 0x2e, 0x9a, 0x84, 0x9e, 0x03, 0x29, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, + 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x22, 0x20, 0x6a, + 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, + 0x65, 0x64, 0x22, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, + 0x64, 0x12, 0x7b, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x09, 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, 0x42, 0x34, 0x9a, 0x84, 0x9e, 0x03, 0x2f, 0x62, 0x73, + 0x6f, 0x6e, 0x3a, 0x22, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x65, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x74, 0x72, 0x61, 0x69, + 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x22, 0x52, 0x0f, 0x74, + 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x73, + 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x6e, 0x64, 0x65, 0x64, + 0x18, 0x0a, 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, 0x42, 0x30, 0x9a, 0x84, 0x9e, 0x03, 0x2b, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x74, + 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x22, 0x20, 0x6a, + 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x6e, + 0x64, 0x65, 0x64, 0x22, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x45, 0x6e, + 0x64, 0x65, 0x64, 0x12, 0x5a, 0x0a, 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0x9a, 0x84, + 0x9e, 0x03, 0x2d, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x5f, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, + 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x22, + 0x52, 0x0d, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x64, 0x12, + 0x30, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x09, 0x42, 0x1c, 0x9a, + 0x84, 0x9e, 0x03, 0x17, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x74, 0x61, 0x67, 0x73, 0x22, 0x20, + 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x74, 0x61, 0x67, 0x73, 0x22, 0x52, 0x04, 0x74, 0x61, 0x67, + 0x73, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x6d, + 0x61, 0x69, 0x6c, 0x22, 0x2a, 0x0a, 0x18, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, + 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, + 0x1b, 0x0a, 0x19, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, + 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x0a, 0x21, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x54, + 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x22, 0x24, 0x0a, 0x22, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, + 0x65, 0x74, 0x65, 0x64, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x9f, 0x01, 0x0a, 0x09, 0x4d, 0x6f, 0x64, 0x65, + 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x2a, 0x0a, 0x26, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x43, 0x4c, 0x41, + 0x53, 0x53, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x29, 0x0a, + 0x25, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, + 0x49, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x49, 0x46, 0x49, + 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x4f, 0x44, 0x45, + 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x44, 0x45, + 0x54, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x2a, 0xa4, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1f, 0x0a, 0x1b, + 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, + 0x16, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, + 0x5f, 0x54, 0x46, 0x4c, 0x49, 0x54, 0x45, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x4f, 0x44, + 0x45, 0x4c, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x54, 0x45, 0x4e, + 0x53, 0x4f, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x4f, 0x44, + 0x45, 0x4c, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x50, 0x59, 0x54, + 0x4f, 0x52, 0x43, 0x48, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, + 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x4f, 0x4e, 0x4e, 0x58, 0x10, 0x04, + 0x2a, 0xe7, 0x01, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, + 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, + 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, + 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x1c, 0x0a, + 0x18, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, + 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1d, 0x0a, 0x19, 0x54, + 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, + 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x32, 0x85, 0x05, 0x0a, 0x11, 0x4d, + 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0x78, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, + 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x75, 0x62, 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, + 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x0e, 0x47, 0x65, + 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, - 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x10, - 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x73, - 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, + 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, + 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, + 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x10, 0x4c, + 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x73, 0x12, + 0x2f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, + 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, + 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, - 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, - 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, - 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a, 0x11, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, - 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, - 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, - 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x93, 0x01, - 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, - 0x64, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x12, 0x39, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, - 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, - 0x6c, 0x65, 0x74, 0x65, 0x64, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x78, 0x0a, 0x11, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x69, + 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, - 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x42, 0x23, 0x5a, 0x21, 0x67, 0x6f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x6d, 0x6c, 0x74, 0x72, 0x61, - 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, + 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, + 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x93, 0x01, 0x0a, + 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, + 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x12, 0x39, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, + 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, + 0x65, 0x74, 0x65, 0x64, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x54, + 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x42, 0x23, 0x5a, 0x21, 0x67, 0x6f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, + 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1324,58 +1114,53 @@ func file_app_mltraining_v1_ml_training_proto_rawDescGZIP() []byte { } var file_app_mltraining_v1_ml_training_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_app_mltraining_v1_ml_training_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_app_mltraining_v1_ml_training_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_app_mltraining_v1_ml_training_proto_goTypes = []interface{}{ (ModelType)(0), // 0: viam.app.mltraining.v1.ModelType (ModelFramework)(0), // 1: viam.app.mltraining.v1.ModelFramework (TrainingStatus)(0), // 2: viam.app.mltraining.v1.TrainingStatus (*SubmitTrainingJobRequest)(nil), // 3: viam.app.mltraining.v1.SubmitTrainingJobRequest (*SubmitTrainingJobResponse)(nil), // 4: viam.app.mltraining.v1.SubmitTrainingJobResponse - (*SubmitCustomTrainingJobRequest)(nil), // 5: viam.app.mltraining.v1.SubmitCustomTrainingJobRequest - (*SubmitCustomTrainingJobResponse)(nil), // 6: viam.app.mltraining.v1.SubmitCustomTrainingJobResponse - (*GetTrainingJobRequest)(nil), // 7: viam.app.mltraining.v1.GetTrainingJobRequest - (*GetTrainingJobResponse)(nil), // 8: viam.app.mltraining.v1.GetTrainingJobResponse - (*ListTrainingJobsRequest)(nil), // 9: viam.app.mltraining.v1.ListTrainingJobsRequest - (*ListTrainingJobsResponse)(nil), // 10: viam.app.mltraining.v1.ListTrainingJobsResponse - (*TrainingJobMetadata)(nil), // 11: viam.app.mltraining.v1.TrainingJobMetadata - (*CancelTrainingJobRequest)(nil), // 12: viam.app.mltraining.v1.CancelTrainingJobRequest - (*CancelTrainingJobResponse)(nil), // 13: viam.app.mltraining.v1.CancelTrainingJobResponse - (*DeleteCompletedTrainingJobRequest)(nil), // 14: viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest - (*DeleteCompletedTrainingJobResponse)(nil), // 15: viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse - (*status.Status)(nil), // 16: google.rpc.Status - (*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp + (*GetTrainingJobRequest)(nil), // 5: viam.app.mltraining.v1.GetTrainingJobRequest + (*GetTrainingJobResponse)(nil), // 6: viam.app.mltraining.v1.GetTrainingJobResponse + (*ListTrainingJobsRequest)(nil), // 7: viam.app.mltraining.v1.ListTrainingJobsRequest + (*ListTrainingJobsResponse)(nil), // 8: viam.app.mltraining.v1.ListTrainingJobsResponse + (*TrainingJobMetadata)(nil), // 9: viam.app.mltraining.v1.TrainingJobMetadata + (*CancelTrainingJobRequest)(nil), // 10: viam.app.mltraining.v1.CancelTrainingJobRequest + (*CancelTrainingJobResponse)(nil), // 11: viam.app.mltraining.v1.CancelTrainingJobResponse + (*DeleteCompletedTrainingJobRequest)(nil), // 12: viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest + (*DeleteCompletedTrainingJobResponse)(nil), // 13: viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse + (*status.Status)(nil), // 14: google.rpc.Status + (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp } var file_app_mltraining_v1_ml_training_proto_depIdxs = []int32{ 0, // 0: viam.app.mltraining.v1.SubmitTrainingJobRequest.model_type:type_name -> viam.app.mltraining.v1.ModelType - 11, // 1: viam.app.mltraining.v1.GetTrainingJobResponse.metadata:type_name -> viam.app.mltraining.v1.TrainingJobMetadata + 9, // 1: viam.app.mltraining.v1.GetTrainingJobResponse.metadata:type_name -> viam.app.mltraining.v1.TrainingJobMetadata 2, // 2: viam.app.mltraining.v1.ListTrainingJobsRequest.status:type_name -> viam.app.mltraining.v1.TrainingStatus - 11, // 3: viam.app.mltraining.v1.ListTrainingJobsResponse.jobs:type_name -> viam.app.mltraining.v1.TrainingJobMetadata + 9, // 3: viam.app.mltraining.v1.ListTrainingJobsResponse.jobs:type_name -> viam.app.mltraining.v1.TrainingJobMetadata 3, // 4: viam.app.mltraining.v1.TrainingJobMetadata.request:type_name -> viam.app.mltraining.v1.SubmitTrainingJobRequest 0, // 5: viam.app.mltraining.v1.TrainingJobMetadata.model_type:type_name -> viam.app.mltraining.v1.ModelType - 1, // 6: viam.app.mltraining.v1.TrainingJobMetadata.model_framework:type_name -> viam.app.mltraining.v1.ModelFramework - 2, // 7: viam.app.mltraining.v1.TrainingJobMetadata.status:type_name -> viam.app.mltraining.v1.TrainingStatus - 16, // 8: viam.app.mltraining.v1.TrainingJobMetadata.error_status:type_name -> google.rpc.Status - 17, // 9: viam.app.mltraining.v1.TrainingJobMetadata.created_on:type_name -> google.protobuf.Timestamp - 17, // 10: viam.app.mltraining.v1.TrainingJobMetadata.last_modified:type_name -> google.protobuf.Timestamp - 17, // 11: viam.app.mltraining.v1.TrainingJobMetadata.training_started:type_name -> google.protobuf.Timestamp - 17, // 12: viam.app.mltraining.v1.TrainingJobMetadata.training_ended:type_name -> google.protobuf.Timestamp - 3, // 13: viam.app.mltraining.v1.MLTrainingService.SubmitTrainingJob:input_type -> viam.app.mltraining.v1.SubmitTrainingJobRequest - 5, // 14: viam.app.mltraining.v1.MLTrainingService.SubmitCustomTrainingJob:input_type -> viam.app.mltraining.v1.SubmitCustomTrainingJobRequest - 7, // 15: viam.app.mltraining.v1.MLTrainingService.GetTrainingJob:input_type -> viam.app.mltraining.v1.GetTrainingJobRequest - 9, // 16: viam.app.mltraining.v1.MLTrainingService.ListTrainingJobs:input_type -> viam.app.mltraining.v1.ListTrainingJobsRequest - 12, // 17: viam.app.mltraining.v1.MLTrainingService.CancelTrainingJob:input_type -> viam.app.mltraining.v1.CancelTrainingJobRequest - 14, // 18: viam.app.mltraining.v1.MLTrainingService.DeleteCompletedTrainingJob:input_type -> viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest - 4, // 19: viam.app.mltraining.v1.MLTrainingService.SubmitTrainingJob:output_type -> viam.app.mltraining.v1.SubmitTrainingJobResponse - 6, // 20: viam.app.mltraining.v1.MLTrainingService.SubmitCustomTrainingJob:output_type -> viam.app.mltraining.v1.SubmitCustomTrainingJobResponse - 8, // 21: viam.app.mltraining.v1.MLTrainingService.GetTrainingJob:output_type -> viam.app.mltraining.v1.GetTrainingJobResponse - 10, // 22: viam.app.mltraining.v1.MLTrainingService.ListTrainingJobs:output_type -> viam.app.mltraining.v1.ListTrainingJobsResponse - 13, // 23: viam.app.mltraining.v1.MLTrainingService.CancelTrainingJob:output_type -> viam.app.mltraining.v1.CancelTrainingJobResponse - 15, // 24: viam.app.mltraining.v1.MLTrainingService.DeleteCompletedTrainingJob:output_type -> viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse - 19, // [19:25] is the sub-list for method output_type - 13, // [13:19] is the sub-list for method input_type - 13, // [13:13] is the sub-list for extension type_name - 13, // [13:13] is the sub-list for extension extendee - 0, // [0:13] is the sub-list for field type_name + 2, // 6: viam.app.mltraining.v1.TrainingJobMetadata.status:type_name -> viam.app.mltraining.v1.TrainingStatus + 14, // 7: viam.app.mltraining.v1.TrainingJobMetadata.error_status:type_name -> google.rpc.Status + 15, // 8: viam.app.mltraining.v1.TrainingJobMetadata.created_on:type_name -> google.protobuf.Timestamp + 15, // 9: viam.app.mltraining.v1.TrainingJobMetadata.last_modified:type_name -> google.protobuf.Timestamp + 15, // 10: viam.app.mltraining.v1.TrainingJobMetadata.training_started:type_name -> google.protobuf.Timestamp + 15, // 11: viam.app.mltraining.v1.TrainingJobMetadata.training_ended:type_name -> google.protobuf.Timestamp + 3, // 12: viam.app.mltraining.v1.MLTrainingService.SubmitTrainingJob:input_type -> viam.app.mltraining.v1.SubmitTrainingJobRequest + 5, // 13: viam.app.mltraining.v1.MLTrainingService.GetTrainingJob:input_type -> viam.app.mltraining.v1.GetTrainingJobRequest + 7, // 14: viam.app.mltraining.v1.MLTrainingService.ListTrainingJobs:input_type -> viam.app.mltraining.v1.ListTrainingJobsRequest + 10, // 15: viam.app.mltraining.v1.MLTrainingService.CancelTrainingJob:input_type -> viam.app.mltraining.v1.CancelTrainingJobRequest + 12, // 16: viam.app.mltraining.v1.MLTrainingService.DeleteCompletedTrainingJob:input_type -> viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest + 4, // 17: viam.app.mltraining.v1.MLTrainingService.SubmitTrainingJob:output_type -> viam.app.mltraining.v1.SubmitTrainingJobResponse + 6, // 18: viam.app.mltraining.v1.MLTrainingService.GetTrainingJob:output_type -> viam.app.mltraining.v1.GetTrainingJobResponse + 8, // 19: viam.app.mltraining.v1.MLTrainingService.ListTrainingJobs:output_type -> viam.app.mltraining.v1.ListTrainingJobsResponse + 11, // 20: viam.app.mltraining.v1.MLTrainingService.CancelTrainingJob:output_type -> viam.app.mltraining.v1.CancelTrainingJobResponse + 13, // 21: viam.app.mltraining.v1.MLTrainingService.DeleteCompletedTrainingJob:output_type -> viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse + 17, // [17:22] is the sub-list for method output_type + 12, // [12:17] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name } func init() { file_app_mltraining_v1_ml_training_proto_init() } @@ -1409,30 +1194,6 @@ func file_app_mltraining_v1_ml_training_proto_init() { } } file_app_mltraining_v1_ml_training_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubmitCustomTrainingJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubmitCustomTrainingJobResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTrainingJobRequest); i { case 0: return &v.state @@ -1444,7 +1205,7 @@ func file_app_mltraining_v1_ml_training_proto_init() { return nil } } - file_app_mltraining_v1_ml_training_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_app_mltraining_v1_ml_training_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTrainingJobResponse); i { case 0: return &v.state @@ -1456,7 +1217,7 @@ func file_app_mltraining_v1_ml_training_proto_init() { return nil } } - file_app_mltraining_v1_ml_training_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_app_mltraining_v1_ml_training_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListTrainingJobsRequest); i { case 0: return &v.state @@ -1468,7 +1229,7 @@ func file_app_mltraining_v1_ml_training_proto_init() { return nil } } - file_app_mltraining_v1_ml_training_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_app_mltraining_v1_ml_training_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListTrainingJobsResponse); i { case 0: return &v.state @@ -1480,7 +1241,7 @@ func file_app_mltraining_v1_ml_training_proto_init() { return nil } } - file_app_mltraining_v1_ml_training_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_app_mltraining_v1_ml_training_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TrainingJobMetadata); i { case 0: return &v.state @@ -1492,7 +1253,7 @@ func file_app_mltraining_v1_ml_training_proto_init() { return nil } } - file_app_mltraining_v1_ml_training_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_app_mltraining_v1_ml_training_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CancelTrainingJobRequest); i { case 0: return &v.state @@ -1504,7 +1265,7 @@ func file_app_mltraining_v1_ml_training_proto_init() { return nil } } - file_app_mltraining_v1_ml_training_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_app_mltraining_v1_ml_training_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CancelTrainingJobResponse); i { case 0: return &v.state @@ -1516,7 +1277,7 @@ func file_app_mltraining_v1_ml_training_proto_init() { return nil } } - file_app_mltraining_v1_ml_training_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_app_mltraining_v1_ml_training_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteCompletedTrainingJobRequest); i { case 0: return &v.state @@ -1528,7 +1289,7 @@ func file_app_mltraining_v1_ml_training_proto_init() { return nil } } - file_app_mltraining_v1_ml_training_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_app_mltraining_v1_ml_training_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteCompletedTrainingJobResponse); i { case 0: return &v.state @@ -1547,7 +1308,7 @@ func file_app_mltraining_v1_ml_training_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_app_mltraining_v1_ml_training_proto_rawDesc, NumEnums: 3, - NumMessages: 13, + NumMessages: 11, NumExtensions: 0, NumServices: 1, }, diff --git a/app/mltraining/v1/ml_training.pb.gw.go b/app/mltraining/v1/ml_training.pb.gw.go index 637e38c29..9779dc084 100644 --- a/app/mltraining/v1/ml_training.pb.gw.go +++ b/app/mltraining/v1/ml_training.pb.gw.go @@ -65,40 +65,6 @@ func local_request_MLTrainingService_SubmitTrainingJob_0(ctx context.Context, ma } -func request_MLTrainingService_SubmitCustomTrainingJob_0(ctx context.Context, marshaler runtime.Marshaler, client MLTrainingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SubmitCustomTrainingJobRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.SubmitCustomTrainingJob(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_MLTrainingService_SubmitCustomTrainingJob_0(ctx context.Context, marshaler runtime.Marshaler, server MLTrainingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SubmitCustomTrainingJobRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.SubmitCustomTrainingJob(ctx, &protoReq) - return msg, metadata, err - -} - func request_MLTrainingService_GetTrainingJob_0(ctx context.Context, marshaler runtime.Marshaler, client MLTrainingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetTrainingJobRequest var metadata runtime.ServerMetadata @@ -266,31 +232,6 @@ func RegisterMLTrainingServiceHandlerServer(ctx context.Context, mux *runtime.Se }) - mux.Handle("POST", pattern_MLTrainingService_SubmitCustomTrainingJob_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - var err error - var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/viam.app.mltraining.v1.MLTrainingService/SubmitCustomTrainingJob", runtime.WithHTTPPathPattern("/viam.app.mltraining.v1.MLTrainingService/SubmitCustomTrainingJob")) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_MLTrainingService_SubmitCustomTrainingJob_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) - if err != nil { - runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) - return - } - - forward_MLTrainingService_SubmitCustomTrainingJob_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("POST", pattern_MLTrainingService_GetTrainingJob_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -454,28 +395,6 @@ func RegisterMLTrainingServiceHandlerClient(ctx context.Context, mux *runtime.Se }) - mux.Handle("POST", pattern_MLTrainingService_SubmitCustomTrainingJob_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - var err error - var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/viam.app.mltraining.v1.MLTrainingService/SubmitCustomTrainingJob", runtime.WithHTTPPathPattern("/viam.app.mltraining.v1.MLTrainingService/SubmitCustomTrainingJob")) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_MLTrainingService_SubmitCustomTrainingJob_0(annotatedContext, inboundMarshaler, client, req, pathParams) - annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) - if err != nil { - runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) - return - } - - forward_MLTrainingService_SubmitCustomTrainingJob_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("POST", pattern_MLTrainingService_GetTrainingJob_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -570,8 +489,6 @@ func RegisterMLTrainingServiceHandlerClient(ctx context.Context, mux *runtime.Se var ( pattern_MLTrainingService_SubmitTrainingJob_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.mltraining.v1.MLTrainingService", "SubmitTrainingJob"}, "")) - pattern_MLTrainingService_SubmitCustomTrainingJob_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.mltraining.v1.MLTrainingService", "SubmitCustomTrainingJob"}, "")) - pattern_MLTrainingService_GetTrainingJob_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.mltraining.v1.MLTrainingService", "GetTrainingJob"}, "")) pattern_MLTrainingService_ListTrainingJobs_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.mltraining.v1.MLTrainingService", "ListTrainingJobs"}, "")) @@ -584,8 +501,6 @@ var ( var ( forward_MLTrainingService_SubmitTrainingJob_0 = runtime.ForwardResponseMessage - forward_MLTrainingService_SubmitCustomTrainingJob_0 = runtime.ForwardResponseMessage - forward_MLTrainingService_GetTrainingJob_0 = runtime.ForwardResponseMessage forward_MLTrainingService_ListTrainingJobs_0 = runtime.ForwardResponseMessage diff --git a/app/mltraining/v1/ml_training_grpc.pb.go b/app/mltraining/v1/ml_training_grpc.pb.go index 1b5086411..d25cf7aae 100644 --- a/app/mltraining/v1/ml_training_grpc.pb.go +++ b/app/mltraining/v1/ml_training_grpc.pb.go @@ -24,8 +24,6 @@ const _ = grpc.SupportPackageIsVersion7 type MLTrainingServiceClient interface { // SubmitTrainingJob submits a training job request. SubmitTrainingJob(ctx context.Context, in *SubmitTrainingJobRequest, opts ...grpc.CallOption) (*SubmitTrainingJobResponse, error) - // SubmitCustomTrainingJob submits a custom training job request. - SubmitCustomTrainingJob(ctx context.Context, in *SubmitCustomTrainingJobRequest, opts ...grpc.CallOption) (*SubmitCustomTrainingJobResponse, error) // GetTrainingJob retrieves a training job by its ID. GetTrainingJob(ctx context.Context, in *GetTrainingJobRequest, opts ...grpc.CallOption) (*GetTrainingJobResponse, error) // ListTrainingJobs lists training jobs for a given organization ID and training status. @@ -53,15 +51,6 @@ func (c *mLTrainingServiceClient) SubmitTrainingJob(ctx context.Context, in *Sub return out, nil } -func (c *mLTrainingServiceClient) SubmitCustomTrainingJob(ctx context.Context, in *SubmitCustomTrainingJobRequest, opts ...grpc.CallOption) (*SubmitCustomTrainingJobResponse, error) { - out := new(SubmitCustomTrainingJobResponse) - err := c.cc.Invoke(ctx, "/viam.app.mltraining.v1.MLTrainingService/SubmitCustomTrainingJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *mLTrainingServiceClient) GetTrainingJob(ctx context.Context, in *GetTrainingJobRequest, opts ...grpc.CallOption) (*GetTrainingJobResponse, error) { out := new(GetTrainingJobResponse) err := c.cc.Invoke(ctx, "/viam.app.mltraining.v1.MLTrainingService/GetTrainingJob", in, out, opts...) @@ -104,8 +93,6 @@ func (c *mLTrainingServiceClient) DeleteCompletedTrainingJob(ctx context.Context type MLTrainingServiceServer interface { // SubmitTrainingJob submits a training job request. SubmitTrainingJob(context.Context, *SubmitTrainingJobRequest) (*SubmitTrainingJobResponse, error) - // SubmitCustomTrainingJob submits a custom training job request. - SubmitCustomTrainingJob(context.Context, *SubmitCustomTrainingJobRequest) (*SubmitCustomTrainingJobResponse, error) // GetTrainingJob retrieves a training job by its ID. GetTrainingJob(context.Context, *GetTrainingJobRequest) (*GetTrainingJobResponse, error) // ListTrainingJobs lists training jobs for a given organization ID and training status. @@ -124,9 +111,6 @@ type UnimplementedMLTrainingServiceServer struct { func (UnimplementedMLTrainingServiceServer) SubmitTrainingJob(context.Context, *SubmitTrainingJobRequest) (*SubmitTrainingJobResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SubmitTrainingJob not implemented") } -func (UnimplementedMLTrainingServiceServer) SubmitCustomTrainingJob(context.Context, *SubmitCustomTrainingJobRequest) (*SubmitCustomTrainingJobResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubmitCustomTrainingJob not implemented") -} func (UnimplementedMLTrainingServiceServer) GetTrainingJob(context.Context, *GetTrainingJobRequest) (*GetTrainingJobResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTrainingJob not implemented") } @@ -170,24 +154,6 @@ func _MLTrainingService_SubmitTrainingJob_Handler(srv interface{}, ctx context.C return interceptor(ctx, in, info, handler) } -func _MLTrainingService_SubmitCustomTrainingJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SubmitCustomTrainingJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MLTrainingServiceServer).SubmitCustomTrainingJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/viam.app.mltraining.v1.MLTrainingService/SubmitCustomTrainingJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MLTrainingServiceServer).SubmitCustomTrainingJob(ctx, req.(*SubmitCustomTrainingJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _MLTrainingService_GetTrainingJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetTrainingJobRequest) if err := dec(in); err != nil { @@ -271,10 +237,6 @@ var MLTrainingService_ServiceDesc = grpc.ServiceDesc{ MethodName: "SubmitTrainingJob", Handler: _MLTrainingService_SubmitTrainingJob_Handler, }, - { - MethodName: "SubmitCustomTrainingJob", - Handler: _MLTrainingService_SubmitCustomTrainingJob_Handler, - }, { MethodName: "GetTrainingJob", Handler: _MLTrainingService_GetTrainingJob_Handler, diff --git a/gen/js/app/mltraining/v1/ml_training_grpc_web_pb.js b/gen/js/app/mltraining/v1/ml_training_grpc_web_pb.js index f106fd52e..314785249 100644 --- a/gen/js/app/mltraining/v1/ml_training_grpc_web_pb.js +++ b/gen/js/app/mltraining/v1/ml_training_grpc_web_pb.js @@ -144,67 +144,6 @@ proto.viam.app.mltraining.v1.MLTrainingServicePromiseClient.prototype.submitTrai }; -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest, - * !proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse>} - */ -const methodDescriptor_MLTrainingService_SubmitCustomTrainingJob = new grpc.web.MethodDescriptor( - '/viam.app.mltraining.v1.MLTrainingService/SubmitCustomTrainingJob', - grpc.web.MethodType.UNARY, - proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest, - proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse, - /** - * @param {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.deserializeBinary -); - - -/** - * @param {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.viam.app.mltraining.v1.MLTrainingServiceClient.prototype.submitCustomTrainingJob = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/viam.app.mltraining.v1.MLTrainingService/SubmitCustomTrainingJob', - request, - metadata || {}, - methodDescriptor_MLTrainingService_SubmitCustomTrainingJob, - callback); -}; - - -/** - * @param {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.viam.app.mltraining.v1.MLTrainingServicePromiseClient.prototype.submitCustomTrainingJob = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/viam.app.mltraining.v1.MLTrainingService/SubmitCustomTrainingJob', - request, - metadata || {}, - methodDescriptor_MLTrainingService_SubmitCustomTrainingJob); -}; - - /** * @const * @type {!grpc.web.MethodDescriptor< diff --git a/gen/js/app/mltraining/v1/ml_training_pb.d.ts b/gen/js/app/mltraining/v1/ml_training_pb.d.ts index 2219e9f7e..829022727 100644 --- a/gen/js/app/mltraining/v1/ml_training_pb.d.ts +++ b/gen/js/app/mltraining/v1/ml_training_pb.d.ts @@ -68,62 +68,6 @@ export namespace SubmitTrainingJobResponse { } } -export class SubmitCustomTrainingJobRequest extends jspb.Message { - getDatasetId(): string; - setDatasetId(value: string): void; - - getRegistryItemId(): string; - setRegistryItemId(value: string): void; - - getOrganizationId(): string; - setOrganizationId(value: string): void; - - getModelName(): string; - setModelName(value: string): void; - - getModelVersion(): string; - setModelVersion(value: string): void; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): SubmitCustomTrainingJobRequest.AsObject; - static toObject(includeInstance: boolean, msg: SubmitCustomTrainingJobRequest): SubmitCustomTrainingJobRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: SubmitCustomTrainingJobRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): SubmitCustomTrainingJobRequest; - static deserializeBinaryFromReader(message: SubmitCustomTrainingJobRequest, reader: jspb.BinaryReader): SubmitCustomTrainingJobRequest; -} - -export namespace SubmitCustomTrainingJobRequest { - export type AsObject = { - datasetId: string, - registryItemId: string, - organizationId: string, - modelName: string, - modelVersion: string, - } -} - -export class SubmitCustomTrainingJobResponse extends jspb.Message { - getId(): string; - setId(value: string): void; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): SubmitCustomTrainingJobResponse.AsObject; - static toObject(includeInstance: boolean, msg: SubmitCustomTrainingJobResponse): SubmitCustomTrainingJobResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: SubmitCustomTrainingJobResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): SubmitCustomTrainingJobResponse; - static deserializeBinaryFromReader(message: SubmitCustomTrainingJobResponse, reader: jspb.BinaryReader): SubmitCustomTrainingJobResponse; -} - -export namespace SubmitCustomTrainingJobResponse { - export type AsObject = { - id: string, - } -} - export class GetTrainingJobRequest extends jspb.Message { getId(): string; setId(value: string): void; @@ -236,15 +180,6 @@ export class TrainingJobMetadata extends jspb.Message { getModelType(): ModelTypeMap[keyof ModelTypeMap]; setModelType(value: ModelTypeMap[keyof ModelTypeMap]): void; - getModelFramework(): ModelFrameworkMap[keyof ModelFrameworkMap]; - setModelFramework(value: ModelFrameworkMap[keyof ModelFrameworkMap]): void; - - getIsCustomJob(): boolean; - setIsCustomJob(value: boolean): void; - - getRegistryItemId(): string; - setRegistryItemId(value: string): void; - getStatus(): TrainingStatusMap[keyof TrainingStatusMap]; setStatus(value: TrainingStatusMap[keyof TrainingStatusMap]): void; @@ -300,9 +235,6 @@ export namespace TrainingJobMetadata { modelName: string, modelVersion: string, modelType: ModelTypeMap[keyof ModelTypeMap], - modelFramework: ModelFrameworkMap[keyof ModelFrameworkMap], - isCustomJob: boolean, - registryItemId: string, status: TrainingStatusMap[keyof TrainingStatusMap], errorStatus?: google_rpc_status_pb.Status.AsObject, createdOn?: google_protobuf_timestamp_pb.Timestamp.AsObject, diff --git a/gen/js/app/mltraining/v1/ml_training_pb.js b/gen/js/app/mltraining/v1/ml_training_pb.js index 9c3dbb274..965f54ec8 100644 --- a/gen/js/app/mltraining/v1/ml_training_pb.js +++ b/gen/js/app/mltraining/v1/ml_training_pb.js @@ -31,8 +31,6 @@ goog.exportSymbol('proto.viam.app.mltraining.v1.ListTrainingJobsRequest', null, goog.exportSymbol('proto.viam.app.mltraining.v1.ListTrainingJobsResponse', null, global); goog.exportSymbol('proto.viam.app.mltraining.v1.ModelFramework', null, global); goog.exportSymbol('proto.viam.app.mltraining.v1.ModelType', null, global); -goog.exportSymbol('proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest', null, global); -goog.exportSymbol('proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse', null, global); goog.exportSymbol('proto.viam.app.mltraining.v1.SubmitTrainingJobRequest', null, global); goog.exportSymbol('proto.viam.app.mltraining.v1.SubmitTrainingJobResponse', null, global); goog.exportSymbol('proto.viam.app.mltraining.v1.TrainingJobMetadata', null, global); @@ -79,48 +77,6 @@ if (goog.DEBUG && !COMPILED) { */ proto.viam.app.mltraining.v1.SubmitTrainingJobResponse.displayName = 'proto.viam.app.mltraining.v1.SubmitTrainingJobResponse'; } -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.displayName = 'proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.displayName = 'proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse'; -} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -749,386 +705,6 @@ proto.viam.app.mltraining.v1.SubmitTrainingJobResponse.prototype.setId = functio -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.toObject = function(opt_includeInstance) { - return proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.toObject = function(includeInstance, msg) { - var f, obj = { - datasetId: jspb.Message.getFieldWithDefault(msg, 1, ""), - registryItemId: jspb.Message.getFieldWithDefault(msg, 2, ""), - organizationId: jspb.Message.getFieldWithDefault(msg, 3, ""), - modelName: jspb.Message.getFieldWithDefault(msg, 4, ""), - modelVersion: jspb.Message.getFieldWithDefault(msg, 5, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest} - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest; - return proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest} - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setDatasetId(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setRegistryItemId(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setOrganizationId(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setModelName(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setModelVersion(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getDatasetId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getRegistryItemId(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getOrganizationId(); - if (f.length > 0) { - writer.writeString( - 3, - f - ); - } - f = message.getModelName(); - if (f.length > 0) { - writer.writeString( - 4, - f - ); - } - f = message.getModelVersion(); - if (f.length > 0) { - writer.writeString( - 5, - f - ); - } -}; - - -/** - * optional string dataset_id = 1; - * @return {string} - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.getDatasetId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest} returns this - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.setDatasetId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string registry_item_id = 2; - * @return {string} - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.getRegistryItemId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest} returns this - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.setRegistryItemId = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional string organization_id = 3; - * @return {string} - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.getOrganizationId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - - -/** - * @param {string} value - * @return {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest} returns this - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.setOrganizationId = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); -}; - - -/** - * optional string model_name = 4; - * @return {string} - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.getModelName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - - -/** - * @param {string} value - * @return {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest} returns this - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.setModelName = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); -}; - - -/** - * optional string model_version = 5; - * @return {string} - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.getModelVersion = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - - -/** - * @param {string} value - * @return {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest} returns this - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.setModelVersion = function(value) { - return jspb.Message.setProto3StringField(this, 5, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.prototype.toObject = function(opt_includeInstance) { - return proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse} - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse; - return proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse} - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setId(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - - -/** - * optional string id = 1; - * @return {string} - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse} returns this - */ -proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - - - - if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. @@ -1773,9 +1349,6 @@ proto.viam.app.mltraining.v1.TrainingJobMetadata.toObject = function(includeInst modelName: jspb.Message.getFieldWithDefault(msg, 13, ""), modelVersion: jspb.Message.getFieldWithDefault(msg, 14, ""), modelType: jspb.Message.getFieldWithDefault(msg, 15, 0), - modelFramework: jspb.Message.getFieldWithDefault(msg, 17, 0), - isCustomJob: jspb.Message.getBooleanFieldWithDefault(msg, 18, false), - registryItemId: jspb.Message.getFieldWithDefault(msg, 19, ""), status: jspb.Message.getFieldWithDefault(msg, 2, 0), errorStatus: (f = msg.getErrorStatus()) && google_rpc_status_pb.Status.toObject(includeInstance, f), createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), @@ -1849,18 +1422,6 @@ proto.viam.app.mltraining.v1.TrainingJobMetadata.deserializeBinaryFromReader = f var value = /** @type {!proto.viam.app.mltraining.v1.ModelType} */ (reader.readEnum()); msg.setModelType(value); break; - case 17: - var value = /** @type {!proto.viam.app.mltraining.v1.ModelFramework} */ (reader.readEnum()); - msg.setModelFramework(value); - break; - case 18: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsCustomJob(value); - break; - case 19: - var value = /** @type {string} */ (reader.readString()); - msg.setRegistryItemId(value); - break; case 2: var value = /** @type {!proto.viam.app.mltraining.v1.TrainingStatus} */ (reader.readEnum()); msg.setStatus(value); @@ -1977,27 +1538,6 @@ proto.viam.app.mltraining.v1.TrainingJobMetadata.serializeBinaryToWriter = funct f ); } - f = message.getModelFramework(); - if (f !== 0.0) { - writer.writeEnum( - 17, - f - ); - } - f = message.getIsCustomJob(); - if (f) { - writer.writeBool( - 18, - f - ); - } - f = message.getRegistryItemId(); - if (f.length > 0) { - writer.writeString( - 19, - f - ); - } f = message.getStatus(); if (f !== 0.0) { writer.writeEnum( @@ -2207,60 +1747,6 @@ proto.viam.app.mltraining.v1.TrainingJobMetadata.prototype.setModelType = functi }; -/** - * optional ModelFramework model_framework = 17; - * @return {!proto.viam.app.mltraining.v1.ModelFramework} - */ -proto.viam.app.mltraining.v1.TrainingJobMetadata.prototype.getModelFramework = function() { - return /** @type {!proto.viam.app.mltraining.v1.ModelFramework} */ (jspb.Message.getFieldWithDefault(this, 17, 0)); -}; - - -/** - * @param {!proto.viam.app.mltraining.v1.ModelFramework} value - * @return {!proto.viam.app.mltraining.v1.TrainingJobMetadata} returns this - */ -proto.viam.app.mltraining.v1.TrainingJobMetadata.prototype.setModelFramework = function(value) { - return jspb.Message.setProto3EnumField(this, 17, value); -}; - - -/** - * optional bool is_custom_job = 18; - * @return {boolean} - */ -proto.viam.app.mltraining.v1.TrainingJobMetadata.prototype.getIsCustomJob = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 18, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.viam.app.mltraining.v1.TrainingJobMetadata} returns this - */ -proto.viam.app.mltraining.v1.TrainingJobMetadata.prototype.setIsCustomJob = function(value) { - return jspb.Message.setProto3BooleanField(this, 18, value); -}; - - -/** - * optional string registry_item_id = 19; - * @return {string} - */ -proto.viam.app.mltraining.v1.TrainingJobMetadata.prototype.getRegistryItemId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, "")); -}; - - -/** - * @param {string} value - * @return {!proto.viam.app.mltraining.v1.TrainingJobMetadata} returns this - */ -proto.viam.app.mltraining.v1.TrainingJobMetadata.prototype.setRegistryItemId = function(value) { - return jspb.Message.setProto3StringField(this, 19, value); -}; - - /** * optional TrainingStatus status = 2; * @return {!proto.viam.app.mltraining.v1.TrainingStatus} diff --git a/gen/js/app/mltraining/v1/ml_training_pb_service.d.ts b/gen/js/app/mltraining/v1/ml_training_pb_service.d.ts index 734c40fcb..2bc72a0cf 100644 --- a/gen/js/app/mltraining/v1/ml_training_pb_service.d.ts +++ b/gen/js/app/mltraining/v1/ml_training_pb_service.d.ts @@ -13,15 +13,6 @@ type MLTrainingServiceSubmitTrainingJob = { readonly responseType: typeof app_mltraining_v1_ml_training_pb.SubmitTrainingJobResponse; }; -type MLTrainingServiceSubmitCustomTrainingJob = { - readonly methodName: string; - readonly service: typeof MLTrainingService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof app_mltraining_v1_ml_training_pb.SubmitCustomTrainingJobRequest; - readonly responseType: typeof app_mltraining_v1_ml_training_pb.SubmitCustomTrainingJobResponse; -}; - type MLTrainingServiceGetTrainingJob = { readonly methodName: string; readonly service: typeof MLTrainingService; @@ -61,7 +52,6 @@ type MLTrainingServiceDeleteCompletedTrainingJob = { export class MLTrainingService { static readonly serviceName: string; static readonly SubmitTrainingJob: MLTrainingServiceSubmitTrainingJob; - static readonly SubmitCustomTrainingJob: MLTrainingServiceSubmitCustomTrainingJob; static readonly GetTrainingJob: MLTrainingServiceGetTrainingJob; static readonly ListTrainingJobs: MLTrainingServiceListTrainingJobs; static readonly CancelTrainingJob: MLTrainingServiceCancelTrainingJob; @@ -109,15 +99,6 @@ export class MLTrainingServiceClient { requestMessage: app_mltraining_v1_ml_training_pb.SubmitTrainingJobRequest, callback: (error: ServiceError|null, responseMessage: app_mltraining_v1_ml_training_pb.SubmitTrainingJobResponse|null) => void ): UnaryResponse; - submitCustomTrainingJob( - requestMessage: app_mltraining_v1_ml_training_pb.SubmitCustomTrainingJobRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: app_mltraining_v1_ml_training_pb.SubmitCustomTrainingJobResponse|null) => void - ): UnaryResponse; - submitCustomTrainingJob( - requestMessage: app_mltraining_v1_ml_training_pb.SubmitCustomTrainingJobRequest, - callback: (error: ServiceError|null, responseMessage: app_mltraining_v1_ml_training_pb.SubmitCustomTrainingJobResponse|null) => void - ): UnaryResponse; getTrainingJob( requestMessage: app_mltraining_v1_ml_training_pb.GetTrainingJobRequest, metadata: grpc.Metadata, diff --git a/gen/js/app/mltraining/v1/ml_training_pb_service.js b/gen/js/app/mltraining/v1/ml_training_pb_service.js index f06876394..bc45976db 100644 --- a/gen/js/app/mltraining/v1/ml_training_pb_service.js +++ b/gen/js/app/mltraining/v1/ml_training_pb_service.js @@ -19,15 +19,6 @@ MLTrainingService.SubmitTrainingJob = { responseType: app_mltraining_v1_ml_training_pb.SubmitTrainingJobResponse }; -MLTrainingService.SubmitCustomTrainingJob = { - methodName: "SubmitCustomTrainingJob", - service: MLTrainingService, - requestStream: false, - responseStream: false, - requestType: app_mltraining_v1_ml_training_pb.SubmitCustomTrainingJobRequest, - responseType: app_mltraining_v1_ml_training_pb.SubmitCustomTrainingJobResponse -}; - MLTrainingService.GetTrainingJob = { methodName: "GetTrainingJob", service: MLTrainingService, @@ -102,37 +93,6 @@ MLTrainingServiceClient.prototype.submitTrainingJob = function submitTrainingJob }; }; -MLTrainingServiceClient.prototype.submitCustomTrainingJob = function submitCustomTrainingJob(requestMessage, metadata, callback) { - if (arguments.length === 2) { - callback = arguments[1]; - } - var client = grpc.unary(MLTrainingService.SubmitCustomTrainingJob, { - request: requestMessage, - host: this.serviceHost, - metadata: metadata, - transport: this.options.transport, - debug: this.options.debug, - onEnd: function (response) { - if (callback) { - if (response.status !== grpc.Code.OK) { - var err = new Error(response.statusMessage); - err.code = response.status; - err.metadata = response.trailers; - callback(err, null); - } else { - callback(null, response.message); - } - } - } - }); - return { - cancel: function () { - callback = null; - client.close(); - } - }; -}; - MLTrainingServiceClient.prototype.getTrainingJob = function getTrainingJob(requestMessage, metadata, callback) { if (arguments.length === 2) { callback = arguments[1]; diff --git a/service/slam/v1/slam.pb.gw.go b/service/slam/v1/slam.pb.gw.go index afa099e21..48ac2664d 100644 --- a/service/slam/v1/slam.pb.gw.go +++ b/service/slam/v1/slam.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -220,7 +220,7 @@ var ( ) func request_SLAMService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client SLAMServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -253,7 +253,7 @@ func request_SLAMService_DoCommand_0(ctx context.Context, marshaler runtime.Mars } func local_request_SLAMService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server SLAMServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var (