diff --git a/gen/csharp/Asgt/Modelregistry/V1/ModelRegistry.cs b/gen/csharp/Asgt/Modelregistry/V1/ModelRegistry.cs
index 577defc1..34f75d45 100644
--- a/gen/csharp/Asgt/Modelregistry/V1/ModelRegistry.cs
+++ b/gen/csharp/Asgt/Modelregistry/V1/ModelRegistry.cs
@@ -30,7 +30,7 @@ static ModelRegistryReflection() {
"dHlwZS9tb2RlbC5wcm90bxoaYXNndC90eXBlL3ByZWRpY3Rpb24ucHJvdG8a",
"GGFzZ3QvdHlwZS9yZXZpc2lvbi5wcm90bxoeYXNndC90eXBlL3RhcmdldF9t",
"ZXRyaWNzLnByb3RvGiBhc2d0L3R5cGUvdHJhaW5fc3RhdGlzdGljcy5wcm90",
- "bxobZ29vZ2xlL3Byb3RvYnVmL2VtcHR5LnByb3RvIskGChRSZWdpc3Rlck1v",
+ "bxobZ29vZ2xlL3Byb3RvYnVmL2VtcHR5LnByb3RvIvAGChRSZWdpc3Rlck1v",
"ZGVsUmVxdWVzdBIsCgdkYXRhc2V0GAEgASgLMhIuYXNndC50eXBlLkRhdGFz",
"ZXRSB2RhdGFzZXQSLwoIcmV2aXNpb24YAiABKAsyEy5hc2d0LnR5cGUuUmV2",
"aXNpb25SCHJldmlzaW9uEiMKDW1vZGVsX3ZlcnNpb24YAyABKANSDG1vZGVs",
@@ -45,31 +45,32 @@ static ModelRegistryReflection() {
"aWNzEpQBCh90YXJnZXRfdG9fY29uZmlkZW5jZV90aHJlc2hvbGRzGAogAygL",
"Mk0uYXNndC5tb2RlbHJlZ2lzdHJ5LnYxLlJlZ2lzdGVyTW9kZWxSZXF1ZXN0",
"LlRhcmdldFRvQ29uZmlkZW5jZVRocmVzaG9sZHNFbnRyeVIcdGFyZ2V0VG9D",
- "b25maWRlbmNlVGhyZXNob2xkcxo6CgxNZXRyaWNzRW50cnkSEAoDa2V5GAEg",
- "ASgJUgNrZXkSFAoFdmFsdWUYAiABKAVSBXZhbHVlOgI4ARpwCiFUYXJnZXRU",
- "b0NvbmZpZGVuY2VUaHJlc2hvbGRzRW50cnkSEAoDa2V5GAEgASgJUgNrZXkS",
- "NQoFdmFsdWUYAiABKAsyHy5hc2d0LnR5cGUuQ29uZmlkZW5jZVRocmVzaG9s",
- "ZHNSBXZhbHVlOgI4AUoECAkQCiJGChZHZXRDdXJyZW50TW9kZWxSZXF1ZXN0",
- "EiwKB2RhdGFzZXQYASABKAsyEi5hc2d0LnR5cGUuRGF0YXNldFIHZGF0YXNl",
- "dCJBChdHZXRDdXJyZW50TW9kZWxSZXNwb25zZRImCgVtb2RlbBgBIAEoCzIQ",
- "LmFzZ3QudHlwZS5Nb2RlbFIFbW9kZWwyzQIKDU1vZGVsUmVnaXN0cnkSVAoN",
- "UmVnaXN0ZXJNb2RlbBIrLmFzZ3QubW9kZWxyZWdpc3RyeS52MS5SZWdpc3Rl",
- "ck1vZGVsUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJwCg9HZXRD",
- "dXJyZW50TW9kZWwSLS5hc2d0Lm1vZGVscmVnaXN0cnkudjEuR2V0Q3VycmVu",
- "dE1vZGVsUmVxdWVzdBouLmFzZ3QubW9kZWxyZWdpc3RyeS52MS5HZXRDdXJy",
- "ZW50TW9kZWxSZXNwb25zZRJ0ChNHZXRDdXJyZW50RnVsbE1vZGVsEi0uYXNn",
- "dC5tb2RlbHJlZ2lzdHJ5LnYxLkdldEN1cnJlbnRNb2RlbFJlcXVlc3QaLi5h",
- "c2d0Lm1vZGVscmVnaXN0cnkudjEuR2V0Q3VycmVudE1vZGVsUmVzcG9uc2VC",
- "8wEKHmFpLnZpc21hLmFzZ3QubW9kZWxyZWdpc3RyeS52MUISTW9kZWxSZWdp",
- "c3RyeVByb3RvUAFaR2dpdGh1Yi5jb20vZS1jb25vbWljL3ZtbGFwaXMvZ2Vu",
- "L2dvL2FzZ3QvbW9kZWxyZWdpc3RyeS92MTttb2RlbHJlZ2lzdHJ5ogIDQU1Y",
- "qgIVQXNndC5Nb2RlbHJlZ2lzdHJ5LlYxygIVQXNndFxNb2RlbHJlZ2lzdHJ5",
- "XFYx4gIhQXNndFxNb2RlbHJlZ2lzdHJ5XFYxXEdQQk1ldGFkYXRh6gIXQXNn",
- "dDo6TW9kZWxyZWdpc3RyeTo6VjFiBnByb3RvMw=="));
+ "b25maWRlbmNlVGhyZXNob2xkcxIlCg5tZXRyaWNfdmVyc2lvbhgLIAEoCVIN",
+ "bWV0cmljVmVyc2lvbho6CgxNZXRyaWNzRW50cnkSEAoDa2V5GAEgASgJUgNr",
+ "ZXkSFAoFdmFsdWUYAiABKAVSBXZhbHVlOgI4ARpwCiFUYXJnZXRUb0NvbmZp",
+ "ZGVuY2VUaHJlc2hvbGRzRW50cnkSEAoDa2V5GAEgASgJUgNrZXkSNQoFdmFs",
+ "dWUYAiABKAsyHy5hc2d0LnR5cGUuQ29uZmlkZW5jZVRocmVzaG9sZHNSBXZh",
+ "bHVlOgI4AUoECAkQCiJGChZHZXRDdXJyZW50TW9kZWxSZXF1ZXN0EiwKB2Rh",
+ "dGFzZXQYASABKAsyEi5hc2d0LnR5cGUuRGF0YXNldFIHZGF0YXNldCJBChdH",
+ "ZXRDdXJyZW50TW9kZWxSZXNwb25zZRImCgVtb2RlbBgBIAEoCzIQLmFzZ3Qu",
+ "dHlwZS5Nb2RlbFIFbW9kZWwyzQIKDU1vZGVsUmVnaXN0cnkSVAoNUmVnaXN0",
+ "ZXJNb2RlbBIrLmFzZ3QubW9kZWxyZWdpc3RyeS52MS5SZWdpc3Rlck1vZGVs",
+ "UmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJwCg9HZXRDdXJyZW50",
+ "TW9kZWwSLS5hc2d0Lm1vZGVscmVnaXN0cnkudjEuR2V0Q3VycmVudE1vZGVs",
+ "UmVxdWVzdBouLmFzZ3QubW9kZWxyZWdpc3RyeS52MS5HZXRDdXJyZW50TW9k",
+ "ZWxSZXNwb25zZRJ0ChNHZXRDdXJyZW50RnVsbE1vZGVsEi0uYXNndC5tb2Rl",
+ "bHJlZ2lzdHJ5LnYxLkdldEN1cnJlbnRNb2RlbFJlcXVlc3QaLi5hc2d0Lm1v",
+ "ZGVscmVnaXN0cnkudjEuR2V0Q3VycmVudE1vZGVsUmVzcG9uc2VC8wEKHmFp",
+ "LnZpc21hLmFzZ3QubW9kZWxyZWdpc3RyeS52MUISTW9kZWxSZWdpc3RyeVBy",
+ "b3RvUAFaR2dpdGh1Yi5jb20vZS1jb25vbWljL3ZtbGFwaXMvZ2VuL2dvL2Fz",
+ "Z3QvbW9kZWxyZWdpc3RyeS92MTttb2RlbHJlZ2lzdHJ5ogIDQU1YqgIVQXNn",
+ "dC5Nb2RlbHJlZ2lzdHJ5LlYxygIVQXNndFxNb2RlbHJlZ2lzdHJ5XFYx4gIh",
+ "QXNndFxNb2RlbHJlZ2lzdHJ5XFYxXEdQQk1ldGFkYXRh6gIXQXNndDo6TW9k",
+ "ZWxyZWdpc3RyeTo6VjFiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Asgt.Type.DatasetReflection.Descriptor, global::Asgt.Type.DatasetStatisticsReflection.Descriptor, global::Asgt.Type.ModelReflection.Descriptor, global::Asgt.Type.PredictionReflection.Descriptor, global::Asgt.Type.RevisionReflection.Descriptor, global::Asgt.Type.TargetMetricsReflection.Descriptor, global::Asgt.Type.TrainStatisticsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Asgt.Modelregistry.V1.RegisterModelRequest), global::Asgt.Modelregistry.V1.RegisterModelRequest.Parser, new[]{ "Dataset", "Revision", "ModelVersion", "Metrics", "TargetMetrics", "InputType", "TrainStatistics", "DatasetStatistics", "TargetToConfidenceThresholds" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, }),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Asgt.Modelregistry.V1.RegisterModelRequest), global::Asgt.Modelregistry.V1.RegisterModelRequest.Parser, new[]{ "Dataset", "Revision", "ModelVersion", "Metrics", "TargetMetrics", "InputType", "TrainStatistics", "DatasetStatistics", "TargetToConfidenceThresholds", "MetricVersion" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, }),
new pbr::GeneratedClrTypeInfo(typeof(global::Asgt.Modelregistry.V1.GetCurrentModelRequest), global::Asgt.Modelregistry.V1.GetCurrentModelRequest.Parser, new[]{ "Dataset" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Asgt.Modelregistry.V1.GetCurrentModelResponse), global::Asgt.Modelregistry.V1.GetCurrentModelResponse.Parser, new[]{ "Model" }, null, null, null, null)
}));
@@ -121,6 +122,7 @@ public RegisterModelRequest(RegisterModelRequest other) : this() {
trainStatistics_ = other.trainStatistics_ != null ? other.trainStatistics_.Clone() : null;
datasetStatistics_ = other.datasetStatistics_ != null ? other.datasetStatistics_.Clone() : null;
targetToConfidenceThresholds_ = other.targetToConfidenceThresholds_.Clone();
+ metricVersion_ = other.metricVersion_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -235,6 +237,18 @@ public long ModelVersion {
get { return targetToConfidenceThresholds_; }
}
+ /// Field number for the "metric_version" field.
+ public const int MetricVersionFieldNumber = 11;
+ private string metricVersion_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string MetricVersion {
+ get { return metricVersion_; }
+ set {
+ metricVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
@@ -259,6 +273,7 @@ public bool Equals(RegisterModelRequest other) {
if (!object.Equals(TrainStatistics, other.TrainStatistics)) return false;
if (!object.Equals(DatasetStatistics, other.DatasetStatistics)) return false;
if (!TargetToConfidenceThresholds.Equals(other.TargetToConfidenceThresholds)) return false;
+ if (MetricVersion != other.MetricVersion) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -275,6 +290,7 @@ public override int GetHashCode() {
if (trainStatistics_ != null) hash ^= TrainStatistics.GetHashCode();
if (datasetStatistics_ != null) hash ^= DatasetStatistics.GetHashCode();
hash ^= TargetToConfidenceThresholds.GetHashCode();
+ if (MetricVersion.Length != 0) hash ^= MetricVersion.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -320,6 +336,10 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteMessage(DatasetStatistics);
}
targetToConfidenceThresholds_.WriteTo(output, _map_targetToConfidenceThresholds_codec);
+ if (MetricVersion.Length != 0) {
+ output.WriteRawTag(90);
+ output.WriteString(MetricVersion);
+ }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
@@ -357,6 +377,10 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteMessage(DatasetStatistics);
}
targetToConfidenceThresholds_.WriteTo(ref output, _map_targetToConfidenceThresholds_codec);
+ if (MetricVersion.Length != 0) {
+ output.WriteRawTag(90);
+ output.WriteString(MetricVersion);
+ }
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
@@ -388,6 +412,9 @@ public int CalculateSize() {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DatasetStatistics);
}
size += targetToConfidenceThresholds_.CalculateSize(_map_targetToConfidenceThresholds_codec);
+ if (MetricVersion.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(MetricVersion);
+ }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
@@ -433,6 +460,9 @@ public void MergeFrom(RegisterModelRequest other) {
DatasetStatistics.MergeFrom(other.DatasetStatistics);
}
targetToConfidenceThresholds_.MergeFrom(other.targetToConfidenceThresholds_);
+ if (other.MetricVersion.Length != 0) {
+ MetricVersion = other.MetricVersion;
+ }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -496,6 +526,10 @@ public void MergeFrom(pb::CodedInputStream input) {
targetToConfidenceThresholds_.AddEntriesFrom(input, _map_targetToConfidenceThresholds_codec);
break;
}
+ case 90: {
+ MetricVersion = input.ReadString();
+ break;
+ }
}
}
#endif
@@ -559,6 +593,10 @@ public void MergeFrom(pb::CodedInputStream input) {
targetToConfidenceThresholds_.AddEntriesFrom(ref input, _map_targetToConfidenceThresholds_codec);
break;
}
+ case 90: {
+ MetricVersion = input.ReadString();
+ break;
+ }
}
}
}
diff --git a/gen/go/asgt/modelregistry/v1/model_registry.pb.go b/gen/go/asgt/modelregistry/v1/model_registry.pb.go
index bb308311..ba5a8702 100644
--- a/gen/go/asgt/modelregistry/v1/model_registry.pb.go
+++ b/gen/go/asgt/modelregistry/v1/model_registry.pb.go
@@ -36,6 +36,7 @@ type RegisterModelRequest struct {
TrainStatistics *_type.TrainStatistics `protobuf:"bytes,7,opt,name=train_statistics,json=trainStatistics,proto3" json:"train_statistics,omitempty"`
DatasetStatistics *_type.DatasetStatistics `protobuf:"bytes,8,opt,name=dataset_statistics,json=datasetStatistics,proto3" json:"dataset_statistics,omitempty"`
TargetToConfidenceThresholds map[string]*_type.ConfidenceThresholds `protobuf:"bytes,10,rep,name=target_to_confidence_thresholds,json=targetToConfidenceThresholds,proto3" json:"target_to_confidence_thresholds,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ MetricVersion string `protobuf:"bytes,11,opt,name=metric_version,json=metricVersion,proto3" json:"metric_version,omitempty"`
}
func (x *RegisterModelRequest) Reset() {
@@ -133,6 +134,13 @@ func (x *RegisterModelRequest) GetTargetToConfidenceThresholds() map[string]*_ty
return nil
}
+func (x *RegisterModelRequest) GetMetricVersion() string {
+ if x != nil {
+ return x.MetricVersion
+ }
+ return ""
+}
+
type GetCurrentModelRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -248,7 +256,7 @@ var file_asgt_modelregistry_v1_model_registry_proto_rawDesc = []byte{
0x73, 0x67, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x5f, 0x73,
0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x06, 0x0a,
+ 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf0, 0x06, 0x0a,
0x14, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x74, 0x79,
@@ -290,64 +298,66 @@ var file_asgt_modelregistry_v1_model_registry_proto_rawDesc = []byte{
0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64,
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x1c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x6f,
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68,
- 0x6f, 0x6c, 0x64, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45,
- 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
- 0x1a, 0x70, 0x0a, 0x21, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x6f, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73,
- 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x74, 0x79,
- 0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72,
- 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
- 0x38, 0x01, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0x46, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43,
- 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e,
- 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74,
- 0x22, 0x41, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4d, 0x6f,
- 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x6d,
- 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x73, 0x67,
- 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f,
- 0x64, 0x65, 0x6c, 0x32, 0xcd, 0x02, 0x0a, 0x0d, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x67,
- 0x69, 0x73, 0x74, 0x72, 0x79, 0x12, 0x54, 0x0a, 0x0d, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65,
- 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x2b, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x6d, 0x6f,
- 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x52,
- 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x70, 0x0a, 0x0f, 0x47,
- 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x2d,
- 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69, 0x73,
- 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e,
- 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e,
+ 0x6f, 0x6c, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x76,
+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x65,
+ 0x74, 0x72, 0x69, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x3a, 0x0a, 0x0c, 0x4d,
+ 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
+ 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
+ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61,
+ 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x70, 0x0a, 0x21, 0x54, 0x61, 0x72, 0x67, 0x65,
+ 0x74, 0x54, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72,
+ 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
+ 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35,
+ 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
+ 0x61, 0x73, 0x67, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64,
+ 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x52, 0x05,
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x22,
+ 0x46, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64,
+ 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x07, 0x64, 0x61, 0x74,
+ 0x61, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x61, 0x73, 0x67,
+ 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x07,
+ 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x22, 0x41, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x75,
+ 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4d, 0x6f,
+ 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x32, 0xcd, 0x02, 0x0a, 0x0d, 0x4d,
+ 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x12, 0x54, 0x0a, 0x0d,
+ 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x2b, 0x2e,
0x61, 0x73, 0x67, 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
- 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74,
- 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a,
- 0x13, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x4d,
- 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x2d, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x65,
+ 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x6f,
+ 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
+ 0x74, 0x79, 0x12, 0x70, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74,
+ 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x2d, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x6d, 0x6f, 0x64,
+ 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
+ 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x65,
0x6c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
- 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
- 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43,
- 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x42, 0xf3, 0x01, 0x0a, 0x1e, 0x61, 0x69, 0x2e, 0x76, 0x69, 0x73, 0x6d, 0x61,
- 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69, 0x73,
- 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x12, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x67,
- 0x69, 0x73, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x67, 0x69,
- 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x2d, 0x63, 0x6f, 0x6e, 0x6f, 0x6d,
- 0x69, 0x63, 0x2f, 0x76, 0x6d, 0x6c, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67,
- 0x6f, 0x2f, 0x61, 0x73, 0x67, 0x74, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69,
- 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67,
- 0x69, 0x73, 0x74, 0x72, 0x79, 0xa2, 0x02, 0x03, 0x41, 0x4d, 0x58, 0xaa, 0x02, 0x15, 0x41, 0x73,
- 0x67, 0x74, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
- 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x41, 0x73, 0x67, 0x74, 0x5c, 0x4d, 0x6f, 0x64, 0x65, 0x6c,
- 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x21, 0x41, 0x73,
- 0x67, 0x74, 0x5c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
- 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea,
- 0x02, 0x17, 0x41, 0x73, 0x67, 0x74, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67,
- 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x33,
+ 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65,
+ 0x6e, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x2d, 0x2e, 0x61, 0x73,
+ 0x67, 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
+ 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4d, 0x6f,
+ 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x61, 0x73, 0x67,
+ 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e,
+ 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64,
+ 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xf3, 0x01, 0x0a, 0x1e, 0x61,
+ 0x69, 0x2e, 0x76, 0x69, 0x73, 0x6d, 0x61, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x6d, 0x6f, 0x64,
+ 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x12, 0x4d,
+ 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
+ 0x65, 0x2d, 0x63, 0x6f, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x2f, 0x76, 0x6d, 0x6c, 0x61, 0x70, 0x69,
+ 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x73, 0x67, 0x74, 0x2f, 0x6d, 0x6f,
+ 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x3b, 0x6d,
+ 0x6f, 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0xa2, 0x02, 0x03, 0x41,
+ 0x4d, 0x58, 0xaa, 0x02, 0x15, 0x41, 0x73, 0x67, 0x74, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x72,
+ 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x41, 0x73, 0x67,
+ 0x74, 0x5c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c,
+ 0x56, 0x31, 0xe2, 0x02, 0x21, 0x41, 0x73, 0x67, 0x74, 0x5c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x72,
+ 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65,
+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x17, 0x41, 0x73, 0x67, 0x74, 0x3a, 0x3a, 0x4d,
+ 0x6f, 0x64, 0x65, 0x6c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31,
+ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/gen/java/ai/visma/asgt/modelregistry/v1/ModelRegistryProto.java b/gen/java/ai/visma/asgt/modelregistry/v1/ModelRegistryProto.java
index 4c513b8f..b7547d44 100644
--- a/gen/java/ai/visma/asgt/modelregistry/v1/ModelRegistryProto.java
+++ b/gen/java/ai/visma/asgt/modelregistry/v1/ModelRegistryProto.java
@@ -55,7 +55,7 @@ public static void registerAllExtensions(
"pe/prediction.proto\032\030asgt/type/revision." +
"proto\032\036asgt/type/target_metrics.proto\032 a" +
"sgt/type/train_statistics.proto\032\033google/" +
- "protobuf/empty.proto\"\311\006\n\024RegisterModelRe" +
+ "protobuf/empty.proto\"\360\006\n\024RegisterModelRe" +
"quest\022,\n\007dataset\030\001 \001(\0132\022.asgt.type.Datas" +
"etR\007dataset\022/\n\010revision\030\002 \001(\0132\023.asgt.typ" +
"e.RevisionR\010revision\022#\n\rmodel_version\030\003 " +
@@ -72,29 +72,30 @@ public static void registerAllExtensions(
"hresholds\030\n \003(\0132M.asgt.modelregistry.v1." +
"RegisterModelRequest.TargetToConfidenceT" +
"hresholdsEntryR\034targetToConfidenceThresh" +
- "olds\032:\n\014MetricsEntry\022\020\n\003key\030\001 \001(\tR\003key\022\024" +
- "\n\005value\030\002 \001(\005R\005value:\0028\001\032p\n!TargetToConf" +
- "idenceThresholdsEntry\022\020\n\003key\030\001 \001(\tR\003key\022" +
- "5\n\005value\030\002 \001(\0132\037.asgt.type.ConfidenceThr" +
- "esholdsR\005value:\0028\001J\004\010\t\020\n\"F\n\026GetCurrentMo" +
- "delRequest\022,\n\007dataset\030\001 \001(\0132\022.asgt.type." +
- "DatasetR\007dataset\"A\n\027GetCurrentModelRespo" +
- "nse\022&\n\005model\030\001 \001(\0132\020.asgt.type.ModelR\005mo" +
- "del2\315\002\n\rModelRegistry\022T\n\rRegisterModel\022+" +
- ".asgt.modelregistry.v1.RegisterModelRequ" +
- "est\032\026.google.protobuf.Empty\022p\n\017GetCurren" +
- "tModel\022-.asgt.modelregistry.v1.GetCurren" +
- "tModelRequest\032..asgt.modelregistry.v1.Ge" +
- "tCurrentModelResponse\022t\n\023GetCurrentFullM" +
- "odel\022-.asgt.modelregistry.v1.GetCurrentM" +
- "odelRequest\032..asgt.modelregistry.v1.GetC" +
- "urrentModelResponseB\363\001\n\036ai.visma.asgt.mo" +
- "delregistry.v1B\022ModelRegistryProtoP\001ZGgi" +
- "thub.com/e-conomic/vmlapis/gen/go/asgt/m" +
- "odelregistry/v1;modelregistry\242\002\003AMX\252\002\025As" +
- "gt.Modelregistry.V1\312\002\025Asgt\\Modelregistry" +
- "\\V1\342\002!Asgt\\Modelregistry\\V1\\GPBMetadata\352" +
- "\002\027Asgt::Modelregistry::V1b\006proto3"
+ "olds\022%\n\016metric_version\030\013 \001(\tR\rmetricVers" +
+ "ion\032:\n\014MetricsEntry\022\020\n\003key\030\001 \001(\tR\003key\022\024\n" +
+ "\005value\030\002 \001(\005R\005value:\0028\001\032p\n!TargetToConfi" +
+ "denceThresholdsEntry\022\020\n\003key\030\001 \001(\tR\003key\0225" +
+ "\n\005value\030\002 \001(\0132\037.asgt.type.ConfidenceThre" +
+ "sholdsR\005value:\0028\001J\004\010\t\020\n\"F\n\026GetCurrentMod" +
+ "elRequest\022,\n\007dataset\030\001 \001(\0132\022.asgt.type.D" +
+ "atasetR\007dataset\"A\n\027GetCurrentModelRespon" +
+ "se\022&\n\005model\030\001 \001(\0132\020.asgt.type.ModelR\005mod" +
+ "el2\315\002\n\rModelRegistry\022T\n\rRegisterModel\022+." +
+ "asgt.modelregistry.v1.RegisterModelReque" +
+ "st\032\026.google.protobuf.Empty\022p\n\017GetCurrent" +
+ "Model\022-.asgt.modelregistry.v1.GetCurrent" +
+ "ModelRequest\032..asgt.modelregistry.v1.Get" +
+ "CurrentModelResponse\022t\n\023GetCurrentFullMo" +
+ "del\022-.asgt.modelregistry.v1.GetCurrentMo" +
+ "delRequest\032..asgt.modelregistry.v1.GetCu" +
+ "rrentModelResponseB\363\001\n\036ai.visma.asgt.mod" +
+ "elregistry.v1B\022ModelRegistryProtoP\001ZGgit" +
+ "hub.com/e-conomic/vmlapis/gen/go/asgt/mo" +
+ "delregistry/v1;modelregistry\242\002\003AMX\252\002\025Asg" +
+ "t.Modelregistry.V1\312\002\025Asgt\\Modelregistry\\" +
+ "V1\342\002!Asgt\\Modelregistry\\V1\\GPBMetadata\352\002" +
+ "\027Asgt::Modelregistry::V1b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -113,7 +114,7 @@ public static void registerAllExtensions(
internal_static_asgt_modelregistry_v1_RegisterModelRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_asgt_modelregistry_v1_RegisterModelRequest_descriptor,
- new java.lang.String[] { "Dataset", "Revision", "ModelVersion", "Metrics", "TargetMetrics", "InputType", "TrainStatistics", "DatasetStatistics", "TargetToConfidenceThresholds", });
+ new java.lang.String[] { "Dataset", "Revision", "ModelVersion", "Metrics", "TargetMetrics", "InputType", "TrainStatistics", "DatasetStatistics", "TargetToConfidenceThresholds", "MetricVersion", });
internal_static_asgt_modelregistry_v1_RegisterModelRequest_MetricsEntry_descriptor =
internal_static_asgt_modelregistry_v1_RegisterModelRequest_descriptor.getNestedTypes().get(0);
internal_static_asgt_modelregistry_v1_RegisterModelRequest_MetricsEntry_fieldAccessorTable = new
diff --git a/gen/java/ai/visma/asgt/modelregistry/v1/RegisterModelRequest.java b/gen/java/ai/visma/asgt/modelregistry/v1/RegisterModelRequest.java
index d451e111..2aa28aa1 100644
--- a/gen/java/ai/visma/asgt/modelregistry/v1/RegisterModelRequest.java
+++ b/gen/java/ai/visma/asgt/modelregistry/v1/RegisterModelRequest.java
@@ -18,6 +18,7 @@ private RegisterModelRequest(com.google.protobuf.GeneratedMessageV3.Builder> b
private RegisterModelRequest() {
targetMetrics_ = java.util.Collections.emptyList();
inputType_ = 0;
+ metricVersion_ = "";
}
@java.lang.Override
@@ -384,6 +385,45 @@ public ai.visma.asgt.type.ConfidenceThresholds getTargetToConfidenceThresholdsOr
return map.get(key);
}
+ public static final int METRIC_VERSION_FIELD_NUMBER = 11;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object metricVersion_ = "";
+ /**
+ * string metric_version = 11 [json_name = "metricVersion"];
+ * @return The metricVersion.
+ */
+ @java.lang.Override
+ public java.lang.String getMetricVersion() {
+ java.lang.Object ref = metricVersion_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ metricVersion_ = s;
+ return s;
+ }
+ }
+ /**
+ * string metric_version = 11 [json_name = "metricVersion"];
+ * @return The bytes for metricVersion.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getMetricVersionBytes() {
+ java.lang.Object ref = metricVersion_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ metricVersion_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -431,6 +471,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
internalGetTargetToConfidenceThresholds(),
TargetToConfidenceThresholdsDefaultEntryHolder.defaultEntry,
10);
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricVersion_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 11, metricVersion_);
+ }
getUnknownFields().writeTo(output);
}
@@ -488,6 +531,9 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, targetToConfidenceThresholds__);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricVersion_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, metricVersion_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -532,6 +578,8 @@ public boolean equals(final java.lang.Object obj) {
}
if (!internalGetTargetToConfidenceThresholds().equals(
other.internalGetTargetToConfidenceThresholds())) return false;
+ if (!getMetricVersion()
+ .equals(other.getMetricVersion())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -576,6 +624,8 @@ public int hashCode() {
hash = (37 * hash) + TARGET_TO_CONFIDENCE_THRESHOLDS_FIELD_NUMBER;
hash = (53 * hash) + internalGetTargetToConfidenceThresholds().hashCode();
}
+ hash = (37 * hash) + METRIC_VERSION_FIELD_NUMBER;
+ hash = (53 * hash) + getMetricVersion().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -764,6 +814,7 @@ public Builder clear() {
datasetStatisticsBuilder_ = null;
}
internalGetMutableTargetToConfidenceThresholds().clear();
+ metricVersion_ = "";
return this;
}
@@ -844,6 +895,9 @@ private void buildPartial0(ai.visma.asgt.modelregistry.v1.RegisterModelRequest r
result.targetToConfidenceThresholds_ = internalGetTargetToConfidenceThresholds();
result.targetToConfidenceThresholds_.makeImmutable();
}
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.metricVersion_ = metricVersion_;
+ }
}
@java.lang.Override
@@ -940,6 +994,11 @@ public Builder mergeFrom(ai.visma.asgt.modelregistry.v1.RegisterModelRequest oth
internalGetMutableTargetToConfidenceThresholds().mergeFrom(
other.internalGetTargetToConfidenceThresholds());
bitField0_ |= 0x00000100;
+ if (!other.getMetricVersion().isEmpty()) {
+ metricVersion_ = other.metricVersion_;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -1035,6 +1094,11 @@ public Builder mergeFrom(
bitField0_ |= 0x00000100;
break;
} // case 82
+ case 90: {
+ metricVersion_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 90
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
@@ -2104,6 +2168,78 @@ public Builder putAllTargetToConfidenceThresholds(
bitField0_ |= 0x00000100;
return this;
}
+
+ private java.lang.Object metricVersion_ = "";
+ /**
+ * string metric_version = 11 [json_name = "metricVersion"];
+ * @return The metricVersion.
+ */
+ public java.lang.String getMetricVersion() {
+ java.lang.Object ref = metricVersion_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ metricVersion_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string metric_version = 11 [json_name = "metricVersion"];
+ * @return The bytes for metricVersion.
+ */
+ public com.google.protobuf.ByteString
+ getMetricVersionBytes() {
+ java.lang.Object ref = metricVersion_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ metricVersion_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string metric_version = 11 [json_name = "metricVersion"];
+ * @param value The metricVersion to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMetricVersion(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ metricVersion_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ * string metric_version = 11 [json_name = "metricVersion"];
+ * @return This builder for chaining.
+ */
+ public Builder clearMetricVersion() {
+ metricVersion_ = getDefaultInstance().getMetricVersion();
+ bitField0_ = (bitField0_ & ~0x00000200);
+ onChanged();
+ return this;
+ }
+ /**
+ * string metric_version = 11 [json_name = "metricVersion"];
+ * @param value The bytes for metricVersion to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMetricVersionBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ metricVersion_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
diff --git a/gen/java/ai/visma/asgt/modelregistry/v1/RegisterModelRequestOrBuilder.java b/gen/java/ai/visma/asgt/modelregistry/v1/RegisterModelRequestOrBuilder.java
index e25d931b..84bb54f3 100644
--- a/gen/java/ai/visma/asgt/modelregistry/v1/RegisterModelRequestOrBuilder.java
+++ b/gen/java/ai/visma/asgt/modelregistry/v1/RegisterModelRequestOrBuilder.java
@@ -173,4 +173,16 @@ ai.visma.asgt.type.ConfidenceThresholds getTargetToConfidenceThresholdsOrDefault
*/
ai.visma.asgt.type.ConfidenceThresholds getTargetToConfidenceThresholdsOrThrow(
java.lang.String key);
+
+ /**
+ * string metric_version = 11 [json_name = "metricVersion"];
+ * @return The metricVersion.
+ */
+ java.lang.String getMetricVersion();
+ /**
+ * string metric_version = 11 [json_name = "metricVersion"];
+ * @return The bytes for metricVersion.
+ */
+ com.google.protobuf.ByteString
+ getMetricVersionBytes();
}
diff --git a/gen/js/asgt/modelregistry/v1/model_registry_pb.d.ts b/gen/js/asgt/modelregistry/v1/model_registry_pb.d.ts
index 3373a6c3..f4323a06 100644
--- a/gen/js/asgt/modelregistry/v1/model_registry_pb.d.ts
+++ b/gen/js/asgt/modelregistry/v1/model_registry_pb.d.ts
@@ -48,6 +48,9 @@ export class RegisterModelRequest extends jspb.Message {
getTargetToConfidenceThresholdsMap(): jspb.Map;
clearTargetToConfidenceThresholdsMap(): RegisterModelRequest;
+ getMetricVersion(): string;
+ setMetricVersion(value: string): RegisterModelRequest;
+
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RegisterModelRequest.AsObject;
static toObject(includeInstance: boolean, msg: RegisterModelRequest): RegisterModelRequest.AsObject;
@@ -67,6 +70,7 @@ export namespace RegisterModelRequest {
trainStatistics?: asgt_type_train_statistics_pb.TrainStatistics.AsObject,
datasetStatistics?: asgt_type_dataset_statistics_pb.DatasetStatistics.AsObject,
targetToConfidenceThresholdsMap: Array<[string, asgt_type_model_pb.ConfidenceThresholds.AsObject]>,
+ metricVersion: string,
}
}
diff --git a/gen/js/asgt/modelregistry/v1/model_registry_pb.js b/gen/js/asgt/modelregistry/v1/model_registry_pb.js
index 9db58bda..9f9ed47a 100644
--- a/gen/js/asgt/modelregistry/v1/model_registry_pb.js
+++ b/gen/js/asgt/modelregistry/v1/model_registry_pb.js
@@ -151,7 +151,8 @@ proto.asgt.modelregistry.v1.RegisterModelRequest.toObject = function(includeInst
inputType: jspb.Message.getFieldWithDefault(msg, 6, 0),
trainStatistics: (f = msg.getTrainStatistics()) && asgt_type_train_statistics_pb.TrainStatistics.toObject(includeInstance, f),
datasetStatistics: (f = msg.getDatasetStatistics()) && asgt_type_dataset_statistics_pb.DatasetStatistics.toObject(includeInstance, f),
- targetToConfidenceThresholdsMap: (f = msg.getTargetToConfidenceThresholdsMap()) ? f.toObject(includeInstance, proto.asgt.type.ConfidenceThresholds.toObject) : []
+ targetToConfidenceThresholdsMap: (f = msg.getTargetToConfidenceThresholdsMap()) ? f.toObject(includeInstance, proto.asgt.type.ConfidenceThresholds.toObject) : [],
+ metricVersion: jspb.Message.getFieldWithDefault(msg, 11, "")
};
if (includeInstance) {
@@ -233,6 +234,10 @@ proto.asgt.modelregistry.v1.RegisterModelRequest.deserializeBinaryFromReader = f
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.asgt.type.ConfidenceThresholds.deserializeBinaryFromReader, "", new proto.asgt.type.ConfidenceThresholds());
});
break;
+ case 11:
+ var value = /** @type {string} */ (reader.readString());
+ msg.setMetricVersion(value);
+ break;
default:
reader.skipField();
break;
@@ -324,6 +329,13 @@ proto.asgt.modelregistry.v1.RegisterModelRequest.serializeBinaryToWriter = funct
if (f && f.getLength() > 0) {
f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.asgt.type.ConfidenceThresholds.serializeBinaryToWriter);
}
+ f = message.getMetricVersion();
+ if (f.length > 0) {
+ writer.writeString(
+ 11,
+ f
+ );
+ }
};
@@ -595,6 +607,24 @@ proto.asgt.modelregistry.v1.RegisterModelRequest.prototype.clearTargetToConfiden
};
+/**
+ * optional string metric_version = 11;
+ * @return {string}
+ */
+proto.asgt.modelregistry.v1.RegisterModelRequest.prototype.getMetricVersion = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.asgt.modelregistry.v1.RegisterModelRequest} returns this
+ */
+proto.asgt.modelregistry.v1.RegisterModelRequest.prototype.setMetricVersion = function(value) {
+ return jspb.Message.setProto3StringField(this, 11, value);
+};
+
+
diff --git a/gen/python/asgt/modelregistry/v1/model_registry_pb2.py b/gen/python/asgt/modelregistry/v1/model_registry_pb2.py
index e3adede0..5dda2b75 100644
--- a/gen/python/asgt/modelregistry/v1/model_registry_pb2.py
+++ b/gen/python/asgt/modelregistry/v1/model_registry_pb2.py
@@ -21,7 +21,7 @@
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
-DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*asgt/modelregistry/v1/model_registry.proto\x12\x15\x61sgt.modelregistry.v1\x1a\x17\x61sgt/type/dataset.proto\x1a\"asgt/type/dataset_statistics.proto\x1a\x15\x61sgt/type/model.proto\x1a\x1a\x61sgt/type/prediction.proto\x1a\x18\x61sgt/type/revision.proto\x1a\x1e\x61sgt/type/target_metrics.proto\x1a asgt/type/train_statistics.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xc9\x06\n\x14RegisterModelRequest\x12,\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x12.asgt.type.DatasetR\x07\x64\x61taset\x12/\n\x08revision\x18\x02 \x01(\x0b\x32\x13.asgt.type.RevisionR\x08revision\x12#\n\rmodel_version\x18\x03 \x01(\x03R\x0cmodelVersion\x12R\n\x07metrics\x18\x04 \x03(\x0b\x32\x38.asgt.modelregistry.v1.RegisterModelRequest.MetricsEntryR\x07metrics\x12?\n\x0etarget_metrics\x18\x05 \x03(\x0b\x32\x18.asgt.type.TargetMetricsR\rtargetMetrics\x12\x39\n\ninput_type\x18\x06 \x01(\x0e\x32\x1a.asgt.type.Model.InputTypeR\tinputType\x12\x45\n\x10train_statistics\x18\x07 \x01(\x0b\x32\x1a.asgt.type.TrainStatisticsR\x0ftrainStatistics\x12K\n\x12\x64\x61taset_statistics\x18\x08 \x01(\x0b\x32\x1c.asgt.type.DatasetStatisticsR\x11\x64\x61tasetStatistics\x12\x94\x01\n\x1ftarget_to_confidence_thresholds\x18\n \x03(\x0b\x32M.asgt.modelregistry.v1.RegisterModelRequest.TargetToConfidenceThresholdsEntryR\x1ctargetToConfidenceThresholds\x1a:\n\x0cMetricsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\x1ap\n!TargetToConfidenceThresholdsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32\x1f.asgt.type.ConfidenceThresholdsR\x05value:\x02\x38\x01J\x04\x08\t\x10\n\"F\n\x16GetCurrentModelRequest\x12,\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x12.asgt.type.DatasetR\x07\x64\x61taset\"A\n\x17GetCurrentModelResponse\x12&\n\x05model\x18\x01 \x01(\x0b\x32\x10.asgt.type.ModelR\x05model2\xcd\x02\n\rModelRegistry\x12T\n\rRegisterModel\x12+.asgt.modelregistry.v1.RegisterModelRequest\x1a\x16.google.protobuf.Empty\x12p\n\x0fGetCurrentModel\x12-.asgt.modelregistry.v1.GetCurrentModelRequest\x1a..asgt.modelregistry.v1.GetCurrentModelResponse\x12t\n\x13GetCurrentFullModel\x12-.asgt.modelregistry.v1.GetCurrentModelRequest\x1a..asgt.modelregistry.v1.GetCurrentModelResponseBIZGgithub.com/e-conomic/vmlapis/gen/go/asgt/modelregistry/v1;modelregistryb\x06proto3')
+DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*asgt/modelregistry/v1/model_registry.proto\x12\x15\x61sgt.modelregistry.v1\x1a\x17\x61sgt/type/dataset.proto\x1a\"asgt/type/dataset_statistics.proto\x1a\x15\x61sgt/type/model.proto\x1a\x1a\x61sgt/type/prediction.proto\x1a\x18\x61sgt/type/revision.proto\x1a\x1e\x61sgt/type/target_metrics.proto\x1a asgt/type/train_statistics.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xf0\x06\n\x14RegisterModelRequest\x12,\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x12.asgt.type.DatasetR\x07\x64\x61taset\x12/\n\x08revision\x18\x02 \x01(\x0b\x32\x13.asgt.type.RevisionR\x08revision\x12#\n\rmodel_version\x18\x03 \x01(\x03R\x0cmodelVersion\x12R\n\x07metrics\x18\x04 \x03(\x0b\x32\x38.asgt.modelregistry.v1.RegisterModelRequest.MetricsEntryR\x07metrics\x12?\n\x0etarget_metrics\x18\x05 \x03(\x0b\x32\x18.asgt.type.TargetMetricsR\rtargetMetrics\x12\x39\n\ninput_type\x18\x06 \x01(\x0e\x32\x1a.asgt.type.Model.InputTypeR\tinputType\x12\x45\n\x10train_statistics\x18\x07 \x01(\x0b\x32\x1a.asgt.type.TrainStatisticsR\x0ftrainStatistics\x12K\n\x12\x64\x61taset_statistics\x18\x08 \x01(\x0b\x32\x1c.asgt.type.DatasetStatisticsR\x11\x64\x61tasetStatistics\x12\x94\x01\n\x1ftarget_to_confidence_thresholds\x18\n \x03(\x0b\x32M.asgt.modelregistry.v1.RegisterModelRequest.TargetToConfidenceThresholdsEntryR\x1ctargetToConfidenceThresholds\x12%\n\x0emetric_version\x18\x0b \x01(\tR\rmetricVersion\x1a:\n\x0cMetricsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\x1ap\n!TargetToConfidenceThresholdsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32\x1f.asgt.type.ConfidenceThresholdsR\x05value:\x02\x38\x01J\x04\x08\t\x10\n\"F\n\x16GetCurrentModelRequest\x12,\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x12.asgt.type.DatasetR\x07\x64\x61taset\"A\n\x17GetCurrentModelResponse\x12&\n\x05model\x18\x01 \x01(\x0b\x32\x10.asgt.type.ModelR\x05model2\xcd\x02\n\rModelRegistry\x12T\n\rRegisterModel\x12+.asgt.modelregistry.v1.RegisterModelRequest\x1a\x16.google.protobuf.Empty\x12p\n\x0fGetCurrentModel\x12-.asgt.modelregistry.v1.GetCurrentModelRequest\x1a..asgt.modelregistry.v1.GetCurrentModelResponse\x12t\n\x13GetCurrentFullModel\x12-.asgt.modelregistry.v1.GetCurrentModelRequest\x1a..asgt.modelregistry.v1.GetCurrentModelResponseBIZGgithub.com/e-conomic/vmlapis/gen/go/asgt/modelregistry/v1;modelregistryb\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -35,15 +35,15 @@
_REGISTERMODELREQUEST_TARGETTOCONFIDENCETHRESHOLDSENTRY._options = None
_REGISTERMODELREQUEST_TARGETTOCONFIDENCETHRESHOLDSENTRY._serialized_options = b'8\001'
_globals['_REGISTERMODELREQUEST']._serialized_start=303
- _globals['_REGISTERMODELREQUEST']._serialized_end=1144
- _globals['_REGISTERMODELREQUEST_METRICSENTRY']._serialized_start=966
- _globals['_REGISTERMODELREQUEST_METRICSENTRY']._serialized_end=1024
- _globals['_REGISTERMODELREQUEST_TARGETTOCONFIDENCETHRESHOLDSENTRY']._serialized_start=1026
- _globals['_REGISTERMODELREQUEST_TARGETTOCONFIDENCETHRESHOLDSENTRY']._serialized_end=1138
- _globals['_GETCURRENTMODELREQUEST']._serialized_start=1146
- _globals['_GETCURRENTMODELREQUEST']._serialized_end=1216
- _globals['_GETCURRENTMODELRESPONSE']._serialized_start=1218
- _globals['_GETCURRENTMODELRESPONSE']._serialized_end=1283
- _globals['_MODELREGISTRY']._serialized_start=1286
- _globals['_MODELREGISTRY']._serialized_end=1619
+ _globals['_REGISTERMODELREQUEST']._serialized_end=1183
+ _globals['_REGISTERMODELREQUEST_METRICSENTRY']._serialized_start=1005
+ _globals['_REGISTERMODELREQUEST_METRICSENTRY']._serialized_end=1063
+ _globals['_REGISTERMODELREQUEST_TARGETTOCONFIDENCETHRESHOLDSENTRY']._serialized_start=1065
+ _globals['_REGISTERMODELREQUEST_TARGETTOCONFIDENCETHRESHOLDSENTRY']._serialized_end=1177
+ _globals['_GETCURRENTMODELREQUEST']._serialized_start=1185
+ _globals['_GETCURRENTMODELREQUEST']._serialized_end=1255
+ _globals['_GETCURRENTMODELRESPONSE']._serialized_start=1257
+ _globals['_GETCURRENTMODELRESPONSE']._serialized_end=1322
+ _globals['_MODELREGISTRY']._serialized_start=1325
+ _globals['_MODELREGISTRY']._serialized_end=1658
# @@protoc_insertion_point(module_scope)
diff --git a/gen/python/asgt/modelregistry/v1/model_registry_pb2.pyi b/gen/python/asgt/modelregistry/v1/model_registry_pb2.pyi
index 1920130a..e065b51b 100644
--- a/gen/python/asgt/modelregistry/v1/model_registry_pb2.pyi
+++ b/gen/python/asgt/modelregistry/v1/model_registry_pb2.pyi
@@ -14,7 +14,7 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map
DESCRIPTOR: _descriptor.FileDescriptor
class RegisterModelRequest(_message.Message):
- __slots__ = ["dataset", "revision", "model_version", "metrics", "target_metrics", "input_type", "train_statistics", "dataset_statistics", "target_to_confidence_thresholds"]
+ __slots__ = ["dataset", "revision", "model_version", "metrics", "target_metrics", "input_type", "train_statistics", "dataset_statistics", "target_to_confidence_thresholds", "metric_version"]
class MetricsEntry(_message.Message):
__slots__ = ["key", "value"]
KEY_FIELD_NUMBER: _ClassVar[int]
@@ -38,6 +38,7 @@ class RegisterModelRequest(_message.Message):
TRAIN_STATISTICS_FIELD_NUMBER: _ClassVar[int]
DATASET_STATISTICS_FIELD_NUMBER: _ClassVar[int]
TARGET_TO_CONFIDENCE_THRESHOLDS_FIELD_NUMBER: _ClassVar[int]
+ METRIC_VERSION_FIELD_NUMBER: _ClassVar[int]
dataset: _dataset_pb2.Dataset
revision: _revision_pb2.Revision
model_version: int
@@ -47,7 +48,8 @@ class RegisterModelRequest(_message.Message):
train_statistics: _train_statistics_pb2.TrainStatistics
dataset_statistics: _dataset_statistics_pb2.DatasetStatistics
target_to_confidence_thresholds: _containers.MessageMap[str, _model_pb2.ConfidenceThresholds]
- def __init__(self, dataset: _Optional[_Union[_dataset_pb2.Dataset, _Mapping]] = ..., revision: _Optional[_Union[_revision_pb2.Revision, _Mapping]] = ..., model_version: _Optional[int] = ..., metrics: _Optional[_Mapping[str, int]] = ..., target_metrics: _Optional[_Iterable[_Union[_target_metrics_pb2.TargetMetrics, _Mapping]]] = ..., input_type: _Optional[_Union[_model_pb2.Model.InputType, str]] = ..., train_statistics: _Optional[_Union[_train_statistics_pb2.TrainStatistics, _Mapping]] = ..., dataset_statistics: _Optional[_Union[_dataset_statistics_pb2.DatasetStatistics, _Mapping]] = ..., target_to_confidence_thresholds: _Optional[_Mapping[str, _model_pb2.ConfidenceThresholds]] = ...) -> None: ...
+ metric_version: str
+ def __init__(self, dataset: _Optional[_Union[_dataset_pb2.Dataset, _Mapping]] = ..., revision: _Optional[_Union[_revision_pb2.Revision, _Mapping]] = ..., model_version: _Optional[int] = ..., metrics: _Optional[_Mapping[str, int]] = ..., target_metrics: _Optional[_Iterable[_Union[_target_metrics_pb2.TargetMetrics, _Mapping]]] = ..., input_type: _Optional[_Union[_model_pb2.Model.InputType, str]] = ..., train_statistics: _Optional[_Union[_train_statistics_pb2.TrainStatistics, _Mapping]] = ..., dataset_statistics: _Optional[_Union[_dataset_statistics_pb2.DatasetStatistics, _Mapping]] = ..., target_to_confidence_thresholds: _Optional[_Mapping[str, _model_pb2.ConfidenceThresholds]] = ..., metric_version: _Optional[str] = ...) -> None: ...
class GetCurrentModelRequest(_message.Message):
__slots__ = ["dataset"]
diff --git a/proto/asgt/modelregistry/v1/model_registry.proto b/proto/asgt/modelregistry/v1/model_registry.proto
index 66b37191..c0512aa9 100644
--- a/proto/asgt/modelregistry/v1/model_registry.proto
+++ b/proto/asgt/modelregistry/v1/model_registry.proto
@@ -36,6 +36,7 @@ message RegisterModelRequest {
asgt.type.TrainStatistics train_statistics = 7;
asgt.type.DatasetStatistics dataset_statistics = 8;
map target_to_confidence_thresholds = 10;
+ string metric_version = 11;
}
//message DeleteModelRequest {