Parameters {
+ get { return parameters_; }
+ }
+
+ /// Field number for the "contents" field.
+ public const int ContentsFieldNumber = 5;
+ private global::Ssn.Predictservice.V1.InferTensorContents contents_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Ssn.Predictservice.V1.InferTensorContents Contents {
+ get { return contents_; }
+ set {
+ contents_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as InferOutputTensor);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(InferOutputTensor other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Name != other.Name) return false;
+ if (Datatype != other.Datatype) return false;
+ if(!shape_.Equals(other.shape_)) return false;
+ if (!Parameters.Equals(other.Parameters)) return false;
+ if (!object.Equals(Contents, other.Contents)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Name.Length != 0) hash ^= Name.GetHashCode();
+ if (Datatype.Length != 0) hash ^= Datatype.GetHashCode();
+ hash ^= shape_.GetHashCode();
+ hash ^= Parameters.GetHashCode();
+ if (contents_ != null) hash ^= Contents.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Name.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Name);
+ }
+ if (Datatype.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Datatype);
+ }
+ shape_.WriteTo(output, _repeated_shape_codec);
+ parameters_.WriteTo(output, _map_parameters_codec);
+ if (contents_ != null) {
+ output.WriteRawTag(42);
+ output.WriteMessage(Contents);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Name.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Name);
+ }
+ if (Datatype.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Datatype);
+ }
+ shape_.WriteTo(ref output, _repeated_shape_codec);
+ parameters_.WriteTo(ref output, _map_parameters_codec);
+ if (contents_ != null) {
+ output.WriteRawTag(42);
+ output.WriteMessage(Contents);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Name.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
+ }
+ if (Datatype.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Datatype);
+ }
+ size += shape_.CalculateSize(_repeated_shape_codec);
+ size += parameters_.CalculateSize(_map_parameters_codec);
+ if (contents_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Contents);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(InferOutputTensor other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Name.Length != 0) {
+ Name = other.Name;
+ }
+ if (other.Datatype.Length != 0) {
+ Datatype = other.Datatype;
+ }
+ shape_.Add(other.shape_);
+ parameters_.MergeFrom(other.parameters_);
+ if (other.contents_ != null) {
+ if (contents_ == null) {
+ Contents = new global::Ssn.Predictservice.V1.InferTensorContents();
+ }
+ Contents.MergeFrom(other.Contents);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ if ((tag & 7) == 4) {
+ // Abort on any end group tag.
+ return;
+ }
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Name = input.ReadString();
+ break;
+ }
+ case 18: {
+ Datatype = input.ReadString();
+ break;
+ }
+ case 26:
+ case 24: {
+ shape_.AddEntriesFrom(input, _repeated_shape_codec);
+ break;
+ }
+ case 34: {
+ parameters_.AddEntriesFrom(input, _map_parameters_codec);
+ break;
+ }
+ case 42: {
+ if (contents_ == null) {
+ Contents = new global::Ssn.Predictservice.V1.InferTensorContents();
+ }
+ input.ReadMessage(Contents);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ if ((tag & 7) == 4) {
+ // Abort on any end group tag.
+ return;
+ }
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Name = input.ReadString();
+ break;
+ }
+ case 18: {
+ Datatype = input.ReadString();
+ break;
+ }
+ case 26:
+ case 24: {
+ shape_.AddEntriesFrom(ref input, _repeated_shape_codec);
+ break;
+ }
+ case 34: {
+ parameters_.AddEntriesFrom(ref input, _map_parameters_codec);
+ break;
+ }
+ case 42: {
+ if (contents_ == null) {
+ Contents = new global::Ssn.Predictservice.V1.InferTensorContents();
+ }
+ input.ReadMessage(Contents);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ }
+ #endregion
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/gen/go/ssn/predictservice/v1/predictservice.pb.go b/gen/go/ssn/predictservice/v1/predictservice.pb.go
new file mode 100644
index 00000000..be38922a
--- /dev/null
+++ b/gen/go/ssn/predictservice/v1/predictservice.pb.go
@@ -0,0 +1,1003 @@
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.33.0
+// protoc (unknown)
+// source: ssn/predictservice/v1/predictservice.proto
+
+package predictservice
+
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
+
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
+
+// https://github.com/triton-inference-server/common/blob/main/protobuf/grpc_service.proto
+type InferParameter struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Types that are assignable to ParameterChoice:
+ //
+ // *InferParameter_BoolParam
+ // *InferParameter_Int64Param
+ // *InferParameter_StringParam
+ // *InferParameter_DoubleParam
+ // *InferParameter_Uint64Param
+ ParameterChoice isInferParameter_ParameterChoice `protobuf_oneof:"parameter_choice"`
+}
+
+func (x *InferParameter) Reset() {
+ *x = InferParameter{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ssn_predictservice_v1_predictservice_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *InferParameter) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*InferParameter) ProtoMessage() {}
+
+func (x *InferParameter) ProtoReflect() protoreflect.Message {
+ mi := &file_ssn_predictservice_v1_predictservice_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use InferParameter.ProtoReflect.Descriptor instead.
+func (*InferParameter) Descriptor() ([]byte, []int) {
+ return file_ssn_predictservice_v1_predictservice_proto_rawDescGZIP(), []int{0}
+}
+
+func (m *InferParameter) GetParameterChoice() isInferParameter_ParameterChoice {
+ if m != nil {
+ return m.ParameterChoice
+ }
+ return nil
+}
+
+func (x *InferParameter) GetBoolParam() bool {
+ if x, ok := x.GetParameterChoice().(*InferParameter_BoolParam); ok {
+ return x.BoolParam
+ }
+ return false
+}
+
+func (x *InferParameter) GetInt64Param() int64 {
+ if x, ok := x.GetParameterChoice().(*InferParameter_Int64Param); ok {
+ return x.Int64Param
+ }
+ return 0
+}
+
+func (x *InferParameter) GetStringParam() string {
+ if x, ok := x.GetParameterChoice().(*InferParameter_StringParam); ok {
+ return x.StringParam
+ }
+ return ""
+}
+
+func (x *InferParameter) GetDoubleParam() float64 {
+ if x, ok := x.GetParameterChoice().(*InferParameter_DoubleParam); ok {
+ return x.DoubleParam
+ }
+ return 0
+}
+
+func (x *InferParameter) GetUint64Param() uint64 {
+ if x, ok := x.GetParameterChoice().(*InferParameter_Uint64Param); ok {
+ return x.Uint64Param
+ }
+ return 0
+}
+
+type isInferParameter_ParameterChoice interface {
+ isInferParameter_ParameterChoice()
+}
+
+type InferParameter_BoolParam struct {
+ BoolParam bool `protobuf:"varint,1,opt,name=bool_param,json=boolParam,proto3,oneof"`
+}
+
+type InferParameter_Int64Param struct {
+ Int64Param int64 `protobuf:"varint,2,opt,name=int64_param,json=int64Param,proto3,oneof"`
+}
+
+type InferParameter_StringParam struct {
+ StringParam string `protobuf:"bytes,3,opt,name=string_param,json=stringParam,proto3,oneof"`
+}
+
+type InferParameter_DoubleParam struct {
+ DoubleParam float64 `protobuf:"fixed64,4,opt,name=double_param,json=doubleParam,proto3,oneof"`
+}
+
+type InferParameter_Uint64Param struct {
+ Uint64Param uint64 `protobuf:"varint,5,opt,name=uint64_param,json=uint64Param,proto3,oneof"`
+}
+
+func (*InferParameter_BoolParam) isInferParameter_ParameterChoice() {}
+
+func (*InferParameter_Int64Param) isInferParameter_ParameterChoice() {}
+
+func (*InferParameter_StringParam) isInferParameter_ParameterChoice() {}
+
+func (*InferParameter_DoubleParam) isInferParameter_ParameterChoice() {}
+
+func (*InferParameter_Uint64Param) isInferParameter_ParameterChoice() {}
+
+type InferTensorContents struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ BoolContents []bool `protobuf:"varint,1,rep,packed,name=bool_contents,json=boolContents,proto3" json:"bool_contents,omitempty"`
+ IntContents []int32 `protobuf:"varint,2,rep,packed,name=int_contents,json=intContents,proto3" json:"int_contents,omitempty"`
+ Int64Contents []int64 `protobuf:"varint,3,rep,packed,name=int64_contents,json=int64Contents,proto3" json:"int64_contents,omitempty"`
+ UintContents []uint32 `protobuf:"varint,4,rep,packed,name=uint_contents,json=uintContents,proto3" json:"uint_contents,omitempty"`
+ Uint64Contents []uint64 `protobuf:"varint,5,rep,packed,name=uint64_contents,json=uint64Contents,proto3" json:"uint64_contents,omitempty"`
+ Fp32Contents []float32 `protobuf:"fixed32,6,rep,packed,name=fp32_contents,json=fp32Contents,proto3" json:"fp32_contents,omitempty"`
+ Fp64Contents []float64 `protobuf:"fixed64,7,rep,packed,name=fp64_contents,json=fp64Contents,proto3" json:"fp64_contents,omitempty"`
+ BytesContents [][]byte `protobuf:"bytes,8,rep,name=bytes_contents,json=bytesContents,proto3" json:"bytes_contents,omitempty"`
+}
+
+func (x *InferTensorContents) Reset() {
+ *x = InferTensorContents{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ssn_predictservice_v1_predictservice_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *InferTensorContents) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*InferTensorContents) ProtoMessage() {}
+
+func (x *InferTensorContents) ProtoReflect() protoreflect.Message {
+ mi := &file_ssn_predictservice_v1_predictservice_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use InferTensorContents.ProtoReflect.Descriptor instead.
+func (*InferTensorContents) Descriptor() ([]byte, []int) {
+ return file_ssn_predictservice_v1_predictservice_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *InferTensorContents) GetBoolContents() []bool {
+ if x != nil {
+ return x.BoolContents
+ }
+ return nil
+}
+
+func (x *InferTensorContents) GetIntContents() []int32 {
+ if x != nil {
+ return x.IntContents
+ }
+ return nil
+}
+
+func (x *InferTensorContents) GetInt64Contents() []int64 {
+ if x != nil {
+ return x.Int64Contents
+ }
+ return nil
+}
+
+func (x *InferTensorContents) GetUintContents() []uint32 {
+ if x != nil {
+ return x.UintContents
+ }
+ return nil
+}
+
+func (x *InferTensorContents) GetUint64Contents() []uint64 {
+ if x != nil {
+ return x.Uint64Contents
+ }
+ return nil
+}
+
+func (x *InferTensorContents) GetFp32Contents() []float32 {
+ if x != nil {
+ return x.Fp32Contents
+ }
+ return nil
+}
+
+func (x *InferTensorContents) GetFp64Contents() []float64 {
+ if x != nil {
+ return x.Fp64Contents
+ }
+ return nil
+}
+
+func (x *InferTensorContents) GetBytesContents() [][]byte {
+ if x != nil {
+ return x.BytesContents
+ }
+ return nil
+}
+
+type ModelInferRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ModelName string `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"`
+ ModelVersion string `protobuf:"bytes,2,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"`
+ Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
+ Parameters map[string]*InferParameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Inputs []*ModelInferRequest_InferInputTensor `protobuf:"bytes,5,rep,name=inputs,proto3" json:"inputs,omitempty"`
+ Outputs []*ModelInferRequest_InferRequestedOutputTensor `protobuf:"bytes,6,rep,name=outputs,proto3" json:"outputs,omitempty"`
+ RawInputContents [][]byte `protobuf:"bytes,7,rep,name=raw_input_contents,json=rawInputContents,proto3" json:"raw_input_contents,omitempty"`
+}
+
+func (x *ModelInferRequest) Reset() {
+ *x = ModelInferRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ssn_predictservice_v1_predictservice_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ModelInferRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ModelInferRequest) ProtoMessage() {}
+
+func (x *ModelInferRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_ssn_predictservice_v1_predictservice_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 ModelInferRequest.ProtoReflect.Descriptor instead.
+func (*ModelInferRequest) Descriptor() ([]byte, []int) {
+ return file_ssn_predictservice_v1_predictservice_proto_rawDescGZIP(), []int{2}
+}
+
+func (x *ModelInferRequest) GetModelName() string {
+ if x != nil {
+ return x.ModelName
+ }
+ return ""
+}
+
+func (x *ModelInferRequest) GetModelVersion() string {
+ if x != nil {
+ return x.ModelVersion
+ }
+ return ""
+}
+
+func (x *ModelInferRequest) GetId() string {
+ if x != nil {
+ return x.Id
+ }
+ return ""
+}
+
+func (x *ModelInferRequest) GetParameters() map[string]*InferParameter {
+ if x != nil {
+ return x.Parameters
+ }
+ return nil
+}
+
+func (x *ModelInferRequest) GetInputs() []*ModelInferRequest_InferInputTensor {
+ if x != nil {
+ return x.Inputs
+ }
+ return nil
+}
+
+func (x *ModelInferRequest) GetOutputs() []*ModelInferRequest_InferRequestedOutputTensor {
+ if x != nil {
+ return x.Outputs
+ }
+ return nil
+}
+
+func (x *ModelInferRequest) GetRawInputContents() [][]byte {
+ if x != nil {
+ return x.RawInputContents
+ }
+ return nil
+}
+
+type ModelInferResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ModelName string `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"`
+ ModelVersion string `protobuf:"bytes,2,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"`
+ Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
+ Parameters map[string]*InferParameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Outputs []*ModelInferResponse_InferOutputTensor `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty"`
+ RawOutputContents [][]byte `protobuf:"bytes,6,rep,name=raw_output_contents,json=rawOutputContents,proto3" json:"raw_output_contents,omitempty"`
+}
+
+func (x *ModelInferResponse) Reset() {
+ *x = ModelInferResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ssn_predictservice_v1_predictservice_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ModelInferResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ModelInferResponse) ProtoMessage() {}
+
+func (x *ModelInferResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_ssn_predictservice_v1_predictservice_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 ModelInferResponse.ProtoReflect.Descriptor instead.
+func (*ModelInferResponse) Descriptor() ([]byte, []int) {
+ return file_ssn_predictservice_v1_predictservice_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *ModelInferResponse) GetModelName() string {
+ if x != nil {
+ return x.ModelName
+ }
+ return ""
+}
+
+func (x *ModelInferResponse) GetModelVersion() string {
+ if x != nil {
+ return x.ModelVersion
+ }
+ return ""
+}
+
+func (x *ModelInferResponse) GetId() string {
+ if x != nil {
+ return x.Id
+ }
+ return ""
+}
+
+func (x *ModelInferResponse) GetParameters() map[string]*InferParameter {
+ if x != nil {
+ return x.Parameters
+ }
+ return nil
+}
+
+func (x *ModelInferResponse) GetOutputs() []*ModelInferResponse_InferOutputTensor {
+ if x != nil {
+ return x.Outputs
+ }
+ return nil
+}
+
+func (x *ModelInferResponse) GetRawOutputContents() [][]byte {
+ if x != nil {
+ return x.RawOutputContents
+ }
+ return nil
+}
+
+type ModelInferRequest_InferInputTensor struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ Datatype string `protobuf:"bytes,2,opt,name=datatype,proto3" json:"datatype,omitempty"`
+ Shape []int64 `protobuf:"varint,3,rep,packed,name=shape,proto3" json:"shape,omitempty"`
+ Parameters map[string]*InferParameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Contents *InferTensorContents `protobuf:"bytes,5,opt,name=contents,proto3" json:"contents,omitempty"`
+}
+
+func (x *ModelInferRequest_InferInputTensor) Reset() {
+ *x = ModelInferRequest_InferInputTensor{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ssn_predictservice_v1_predictservice_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ModelInferRequest_InferInputTensor) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ModelInferRequest_InferInputTensor) ProtoMessage() {}
+
+func (x *ModelInferRequest_InferInputTensor) ProtoReflect() protoreflect.Message {
+ mi := &file_ssn_predictservice_v1_predictservice_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ModelInferRequest_InferInputTensor.ProtoReflect.Descriptor instead.
+func (*ModelInferRequest_InferInputTensor) Descriptor() ([]byte, []int) {
+ return file_ssn_predictservice_v1_predictservice_proto_rawDescGZIP(), []int{2, 0}
+}
+
+func (x *ModelInferRequest_InferInputTensor) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *ModelInferRequest_InferInputTensor) GetDatatype() string {
+ if x != nil {
+ return x.Datatype
+ }
+ return ""
+}
+
+func (x *ModelInferRequest_InferInputTensor) GetShape() []int64 {
+ if x != nil {
+ return x.Shape
+ }
+ return nil
+}
+
+func (x *ModelInferRequest_InferInputTensor) GetParameters() map[string]*InferParameter {
+ if x != nil {
+ return x.Parameters
+ }
+ return nil
+}
+
+func (x *ModelInferRequest_InferInputTensor) GetContents() *InferTensorContents {
+ if x != nil {
+ return x.Contents
+ }
+ return nil
+}
+
+type ModelInferRequest_InferRequestedOutputTensor struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ Parameters map[string]*InferParameter `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+}
+
+func (x *ModelInferRequest_InferRequestedOutputTensor) Reset() {
+ *x = ModelInferRequest_InferRequestedOutputTensor{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ssn_predictservice_v1_predictservice_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ModelInferRequest_InferRequestedOutputTensor) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ModelInferRequest_InferRequestedOutputTensor) ProtoMessage() {}
+
+func (x *ModelInferRequest_InferRequestedOutputTensor) ProtoReflect() protoreflect.Message {
+ mi := &file_ssn_predictservice_v1_predictservice_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ModelInferRequest_InferRequestedOutputTensor.ProtoReflect.Descriptor instead.
+func (*ModelInferRequest_InferRequestedOutputTensor) Descriptor() ([]byte, []int) {
+ return file_ssn_predictservice_v1_predictservice_proto_rawDescGZIP(), []int{2, 1}
+}
+
+func (x *ModelInferRequest_InferRequestedOutputTensor) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *ModelInferRequest_InferRequestedOutputTensor) GetParameters() map[string]*InferParameter {
+ if x != nil {
+ return x.Parameters
+ }
+ return nil
+}
+
+type ModelInferResponse_InferOutputTensor struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ Datatype string `protobuf:"bytes,2,opt,name=datatype,proto3" json:"datatype,omitempty"`
+ Shape []int64 `protobuf:"varint,3,rep,packed,name=shape,proto3" json:"shape,omitempty"`
+ Parameters map[string]*InferParameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Contents *InferTensorContents `protobuf:"bytes,5,opt,name=contents,proto3" json:"contents,omitempty"`
+}
+
+func (x *ModelInferResponse_InferOutputTensor) Reset() {
+ *x = ModelInferResponse_InferOutputTensor{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ssn_predictservice_v1_predictservice_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ModelInferResponse_InferOutputTensor) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ModelInferResponse_InferOutputTensor) ProtoMessage() {}
+
+func (x *ModelInferResponse_InferOutputTensor) ProtoReflect() protoreflect.Message {
+ mi := &file_ssn_predictservice_v1_predictservice_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ModelInferResponse_InferOutputTensor.ProtoReflect.Descriptor instead.
+func (*ModelInferResponse_InferOutputTensor) Descriptor() ([]byte, []int) {
+ return file_ssn_predictservice_v1_predictservice_proto_rawDescGZIP(), []int{3, 0}
+}
+
+func (x *ModelInferResponse_InferOutputTensor) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *ModelInferResponse_InferOutputTensor) GetDatatype() string {
+ if x != nil {
+ return x.Datatype
+ }
+ return ""
+}
+
+func (x *ModelInferResponse_InferOutputTensor) GetShape() []int64 {
+ if x != nil {
+ return x.Shape
+ }
+ return nil
+}
+
+func (x *ModelInferResponse_InferOutputTensor) GetParameters() map[string]*InferParameter {
+ if x != nil {
+ return x.Parameters
+ }
+ return nil
+}
+
+func (x *ModelInferResponse_InferOutputTensor) GetContents() *InferTensorContents {
+ if x != nil {
+ return x.Contents
+ }
+ return nil
+}
+
+var File_ssn_predictservice_v1_predictservice_proto protoreflect.FileDescriptor
+
+var file_ssn_predictservice_v1_predictservice_proto_rawDesc = []byte{
+ 0x0a, 0x2a, 0x73, 0x73, 0x6e, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72,
+ 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73,
+ 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x73, 0x73,
+ 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
+ 0x2e, 0x76, 0x31, 0x22, 0xd7, 0x01, 0x0a, 0x0e, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x50, 0x61, 0x72,
+ 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x70,
+ 0x61, 0x72, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f,
+ 0x6f, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x21, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x36, 0x34,
+ 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0a,
+ 0x69, 0x6e, 0x74, 0x36, 0x34, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74,
+ 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
+ 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12,
+ 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18,
+ 0x04, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x50,
+ 0x61, 0x72, 0x61, 0x6d, 0x12, 0x23, 0x0a, 0x0c, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x70,
+ 0x61, 0x72, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b, 0x75, 0x69,
+ 0x6e, 0x74, 0x36, 0x34, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x12, 0x0a, 0x10, 0x70, 0x61, 0x72,
+ 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x22, 0xc3, 0x02,
+ 0x0a, 0x13, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x43, 0x6f, 0x6e,
+ 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x63, 0x6f,
+ 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x0c, 0x62, 0x6f,
+ 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e,
+ 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05,
+ 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x25, 0x0a,
+ 0x0e, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18,
+ 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x43, 0x6f, 0x6e, 0x74,
+ 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x75, 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e,
+ 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x75, 0x69, 0x6e,
+ 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x69, 0x6e,
+ 0x74, 0x36, 0x34, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03,
+ 0x28, 0x04, 0x52, 0x0e, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
+ 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x70, 0x33, 0x32, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65,
+ 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x0c, 0x66, 0x70, 0x33, 0x32, 0x43,
+ 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x70, 0x36, 0x34, 0x5f,
+ 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0c,
+ 0x66, 0x70, 0x36, 0x34, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x25, 0x0a, 0x0e,
+ 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x08,
+ 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0d, 0x62, 0x79, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65,
+ 0x6e, 0x74, 0x73, 0x22, 0x89, 0x09, 0x0a, 0x11, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x6e, 0x66,
+ 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x64,
+ 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d,
+ 0x6f, 0x64, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x6f, 0x64, 0x65,
+ 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a,
+ 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x58, 0x0a,
+ 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x38, 0x2e, 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73,
+ 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x49,
+ 0x6e, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61,
+ 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72,
+ 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x51, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74,
+ 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72,
+ 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x2e, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x65, 0x6e, 0x73,
+ 0x6f, 0x72, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x5d, 0x0a, 0x07, 0x6f, 0x75,
+ 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x73, 0x73,
+ 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x65, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72,
+ 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x61, 0x77,
+ 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18,
+ 0x07, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x10, 0x72, 0x61, 0x77, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43,
+ 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0xf1, 0x02, 0x0a, 0x10, 0x49, 0x6e, 0x66, 0x65,
+ 0x72, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04,
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
+ 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05,
+ 0x73, 0x68, 0x61, 0x70, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x05, 0x73, 0x68, 0x61,
+ 0x70, 0x65, 0x12, 0x69, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73,
+ 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x49, 0x2e, 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72, 0x65,
+ 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d,
+ 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x2e, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x65, 0x6e, 0x73, 0x6f,
+ 0x72, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72,
+ 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x46, 0x0a,
+ 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x2a, 0x2e, 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72,
+ 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x54, 0x65, 0x6e,
+ 0x73, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x08, 0x63, 0x6f, 0x6e,
+ 0x74, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x64, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
+ 0x65, 0x72, 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, 0x3b, 0x0a, 0x05, 0x76, 0x61,
+ 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x73, 0x6e, 0x2e,
+ 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72,
+ 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x8b, 0x02, 0x0a, 0x1a,
+ 0x49, 0x6e, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4f, 0x75,
+ 0x74, 0x70, 0x75, 0x74, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
+ 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x73,
+ 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x53, 0x2e, 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
+ 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c,
+ 0x49, 0x6e, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x66,
+ 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75,
+ 0x74, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65,
+ 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
+ 0x65, 0x72, 0x73, 0x1a, 0x64, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72,
+ 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, 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
+ 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72,
+ 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x49, 0x6e, 0x66, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x05,
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x64, 0x0a, 0x0f, 0x50, 0x61, 0x72,
+ 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 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, 0x3b,
+ 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e,
+ 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69,
+ 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d,
+ 0x65, 0x74, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
+ 0xa7, 0x06, 0x0a, 0x12, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f,
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65,
+ 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x76,
+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x6f,
+ 0x64, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x59, 0x0a, 0x0a, 0x70, 0x61,
+ 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39,
+ 0x2e, 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76,
+ 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x65,
+ 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65,
+ 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d,
+ 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x55, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73,
+ 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72, 0x65,
+ 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d,
+ 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x2e, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x54, 0x65, 0x6e,
+ 0x73, 0x6f, 0x72, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x13,
+ 0x72, 0x61, 0x77, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65,
+ 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x11, 0x72, 0x61, 0x77, 0x4f, 0x75,
+ 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0xf4, 0x02, 0x0a,
+ 0x11, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x54, 0x65, 0x6e, 0x73,
+ 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79,
+ 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79,
+ 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x70, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28,
+ 0x03, 0x52, 0x05, 0x73, 0x68, 0x61, 0x70, 0x65, 0x12, 0x6b, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61,
+ 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x73,
+ 0x73, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x4f, 0x75, 0x74,
+ 0x70, 0x75, 0x74, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65,
+ 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d,
+ 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x46, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
+ 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72,
+ 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x49, 0x6e, 0x66, 0x65, 0x72, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65,
+ 0x6e, 0x74, 0x73, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x64, 0x0a,
+ 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 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, 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73,
+ 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x50,
+ 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
+ 0x02, 0x38, 0x01, 0x1a, 0x64, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72,
+ 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, 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
+ 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72,
+ 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x49, 0x6e, 0x66, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x05,
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0x70, 0x0a, 0x0e, 0x50, 0x72, 0x65,
+ 0x64, 0x69, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x07, 0x50,
+ 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x12, 0x28, 0x2e, 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72, 0x65,
+ 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d,
+ 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x29, 0x2e, 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65,
+ 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x6e,
+ 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xf5, 0x01, 0x0a, 0x1e,
+ 0x61, 0x69, 0x2e, 0x76, 0x69, 0x73, 0x6d, 0x61, 0x2e, 0x73, 0x73, 0x6e, 0x2e, 0x70, 0x72, 0x65,
+ 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x13,
+ 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 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, 0x73, 0x73, 0x6e, 0x2f, 0x70,
+ 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31,
+ 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xa2,
+ 0x02, 0x03, 0x53, 0x50, 0x58, 0xaa, 0x02, 0x15, 0x53, 0x73, 0x6e, 0x2e, 0x50, 0x72, 0x65, 0x64,
+ 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15,
+ 0x53, 0x73, 0x6e, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69,
+ 0x63, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x21, 0x53, 0x73, 0x6e, 0x5c, 0x50, 0x72, 0x65, 0x64,
+ 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50,
+ 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x17, 0x53, 0x73, 0x6e, 0x3a,
+ 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a,
+ 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+}
+
+var (
+ file_ssn_predictservice_v1_predictservice_proto_rawDescOnce sync.Once
+ file_ssn_predictservice_v1_predictservice_proto_rawDescData = file_ssn_predictservice_v1_predictservice_proto_rawDesc
+)
+
+func file_ssn_predictservice_v1_predictservice_proto_rawDescGZIP() []byte {
+ file_ssn_predictservice_v1_predictservice_proto_rawDescOnce.Do(func() {
+ file_ssn_predictservice_v1_predictservice_proto_rawDescData = protoimpl.X.CompressGZIP(file_ssn_predictservice_v1_predictservice_proto_rawDescData)
+ })
+ return file_ssn_predictservice_v1_predictservice_proto_rawDescData
+}
+
+var file_ssn_predictservice_v1_predictservice_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
+var file_ssn_predictservice_v1_predictservice_proto_goTypes = []interface{}{
+ (*InferParameter)(nil), // 0: ssn.predictservice.v1.InferParameter
+ (*InferTensorContents)(nil), // 1: ssn.predictservice.v1.InferTensorContents
+ (*ModelInferRequest)(nil), // 2: ssn.predictservice.v1.ModelInferRequest
+ (*ModelInferResponse)(nil), // 3: ssn.predictservice.v1.ModelInferResponse
+ (*ModelInferRequest_InferInputTensor)(nil), // 4: ssn.predictservice.v1.ModelInferRequest.InferInputTensor
+ (*ModelInferRequest_InferRequestedOutputTensor)(nil), // 5: ssn.predictservice.v1.ModelInferRequest.InferRequestedOutputTensor
+ nil, // 6: ssn.predictservice.v1.ModelInferRequest.ParametersEntry
+ nil, // 7: ssn.predictservice.v1.ModelInferRequest.InferInputTensor.ParametersEntry
+ nil, // 8: ssn.predictservice.v1.ModelInferRequest.InferRequestedOutputTensor.ParametersEntry
+ (*ModelInferResponse_InferOutputTensor)(nil), // 9: ssn.predictservice.v1.ModelInferResponse.InferOutputTensor
+ nil, // 10: ssn.predictservice.v1.ModelInferResponse.ParametersEntry
+ nil, // 11: ssn.predictservice.v1.ModelInferResponse.InferOutputTensor.ParametersEntry
+}
+var file_ssn_predictservice_v1_predictservice_proto_depIdxs = []int32{
+ 6, // 0: ssn.predictservice.v1.ModelInferRequest.parameters:type_name -> ssn.predictservice.v1.ModelInferRequest.ParametersEntry
+ 4, // 1: ssn.predictservice.v1.ModelInferRequest.inputs:type_name -> ssn.predictservice.v1.ModelInferRequest.InferInputTensor
+ 5, // 2: ssn.predictservice.v1.ModelInferRequest.outputs:type_name -> ssn.predictservice.v1.ModelInferRequest.InferRequestedOutputTensor
+ 10, // 3: ssn.predictservice.v1.ModelInferResponse.parameters:type_name -> ssn.predictservice.v1.ModelInferResponse.ParametersEntry
+ 9, // 4: ssn.predictservice.v1.ModelInferResponse.outputs:type_name -> ssn.predictservice.v1.ModelInferResponse.InferOutputTensor
+ 7, // 5: ssn.predictservice.v1.ModelInferRequest.InferInputTensor.parameters:type_name -> ssn.predictservice.v1.ModelInferRequest.InferInputTensor.ParametersEntry
+ 1, // 6: ssn.predictservice.v1.ModelInferRequest.InferInputTensor.contents:type_name -> ssn.predictservice.v1.InferTensorContents
+ 8, // 7: ssn.predictservice.v1.ModelInferRequest.InferRequestedOutputTensor.parameters:type_name -> ssn.predictservice.v1.ModelInferRequest.InferRequestedOutputTensor.ParametersEntry
+ 0, // 8: ssn.predictservice.v1.ModelInferRequest.ParametersEntry.value:type_name -> ssn.predictservice.v1.InferParameter
+ 0, // 9: ssn.predictservice.v1.ModelInferRequest.InferInputTensor.ParametersEntry.value:type_name -> ssn.predictservice.v1.InferParameter
+ 0, // 10: ssn.predictservice.v1.ModelInferRequest.InferRequestedOutputTensor.ParametersEntry.value:type_name -> ssn.predictservice.v1.InferParameter
+ 11, // 11: ssn.predictservice.v1.ModelInferResponse.InferOutputTensor.parameters:type_name -> ssn.predictservice.v1.ModelInferResponse.InferOutputTensor.ParametersEntry
+ 1, // 12: ssn.predictservice.v1.ModelInferResponse.InferOutputTensor.contents:type_name -> ssn.predictservice.v1.InferTensorContents
+ 0, // 13: ssn.predictservice.v1.ModelInferResponse.ParametersEntry.value:type_name -> ssn.predictservice.v1.InferParameter
+ 0, // 14: ssn.predictservice.v1.ModelInferResponse.InferOutputTensor.ParametersEntry.value:type_name -> ssn.predictservice.v1.InferParameter
+ 2, // 15: ssn.predictservice.v1.PredictService.Predict:input_type -> ssn.predictservice.v1.ModelInferRequest
+ 3, // 16: ssn.predictservice.v1.PredictService.Predict:output_type -> ssn.predictservice.v1.ModelInferResponse
+ 16, // [16:17] is the sub-list for method output_type
+ 15, // [15:16] is the sub-list for method input_type
+ 15, // [15:15] is the sub-list for extension type_name
+ 15, // [15:15] is the sub-list for extension extendee
+ 0, // [0:15] is the sub-list for field type_name
+}
+
+func init() { file_ssn_predictservice_v1_predictservice_proto_init() }
+func file_ssn_predictservice_v1_predictservice_proto_init() {
+ if File_ssn_predictservice_v1_predictservice_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_ssn_predictservice_v1_predictservice_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*InferParameter); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ssn_predictservice_v1_predictservice_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*InferTensorContents); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ssn_predictservice_v1_predictservice_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ModelInferRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ssn_predictservice_v1_predictservice_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ModelInferResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ssn_predictservice_v1_predictservice_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ModelInferRequest_InferInputTensor); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ssn_predictservice_v1_predictservice_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ModelInferRequest_InferRequestedOutputTensor); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ssn_predictservice_v1_predictservice_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ModelInferResponse_InferOutputTensor); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ file_ssn_predictservice_v1_predictservice_proto_msgTypes[0].OneofWrappers = []interface{}{
+ (*InferParameter_BoolParam)(nil),
+ (*InferParameter_Int64Param)(nil),
+ (*InferParameter_StringParam)(nil),
+ (*InferParameter_DoubleParam)(nil),
+ (*InferParameter_Uint64Param)(nil),
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_ssn_predictservice_v1_predictservice_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 12,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_ssn_predictservice_v1_predictservice_proto_goTypes,
+ DependencyIndexes: file_ssn_predictservice_v1_predictservice_proto_depIdxs,
+ MessageInfos: file_ssn_predictservice_v1_predictservice_proto_msgTypes,
+ }.Build()
+ File_ssn_predictservice_v1_predictservice_proto = out.File
+ file_ssn_predictservice_v1_predictservice_proto_rawDesc = nil
+ file_ssn_predictservice_v1_predictservice_proto_goTypes = nil
+ file_ssn_predictservice_v1_predictservice_proto_depIdxs = nil
+}
diff --git a/gen/go/ssn/predictservice/v1/predictservice_grpc.pb.go b/gen/go/ssn/predictservice/v1/predictservice_grpc.pb.go
new file mode 100644
index 00000000..38662196
--- /dev/null
+++ b/gen/go/ssn/predictservice/v1/predictservice_grpc.pb.go
@@ -0,0 +1,107 @@
+// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
+// versions:
+// - protoc-gen-go-grpc v1.3.0
+// - protoc (unknown)
+// source: ssn/predictservice/v1/predictservice.proto
+
+package predictservice
+
+import (
+ context "context"
+ grpc "google.golang.org/grpc"
+ codes "google.golang.org/grpc/codes"
+ status "google.golang.org/grpc/status"
+)
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the grpc package it is being compiled against.
+// Requires gRPC-Go v1.32.0 or later.
+const _ = grpc.SupportPackageIsVersion7
+
+const (
+ PredictService_Predict_FullMethodName = "/ssn.predictservice.v1.PredictService/Predict"
+)
+
+// PredictServiceClient is the client API for PredictService service.
+//
+// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
+type PredictServiceClient interface {
+ Predict(ctx context.Context, in *ModelInferRequest, opts ...grpc.CallOption) (*ModelInferResponse, error)
+}
+
+type predictServiceClient struct {
+ cc grpc.ClientConnInterface
+}
+
+func NewPredictServiceClient(cc grpc.ClientConnInterface) PredictServiceClient {
+ return &predictServiceClient{cc}
+}
+
+func (c *predictServiceClient) Predict(ctx context.Context, in *ModelInferRequest, opts ...grpc.CallOption) (*ModelInferResponse, error) {
+ out := new(ModelInferResponse)
+ err := c.cc.Invoke(ctx, PredictService_Predict_FullMethodName, in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+// PredictServiceServer is the server API for PredictService service.
+// All implementations should embed UnimplementedPredictServiceServer
+// for forward compatibility
+type PredictServiceServer interface {
+ Predict(context.Context, *ModelInferRequest) (*ModelInferResponse, error)
+}
+
+// UnimplementedPredictServiceServer should be embedded to have forward compatible implementations.
+type UnimplementedPredictServiceServer struct {
+}
+
+func (UnimplementedPredictServiceServer) Predict(context.Context, *ModelInferRequest) (*ModelInferResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method Predict not implemented")
+}
+
+// UnsafePredictServiceServer may be embedded to opt out of forward compatibility for this service.
+// Use of this interface is not recommended, as added methods to PredictServiceServer will
+// result in compilation errors.
+type UnsafePredictServiceServer interface {
+ mustEmbedUnimplementedPredictServiceServer()
+}
+
+func RegisterPredictServiceServer(s grpc.ServiceRegistrar, srv PredictServiceServer) {
+ s.RegisterService(&PredictService_ServiceDesc, srv)
+}
+
+func _PredictService_Predict_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(ModelInferRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(PredictServiceServer).Predict(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: PredictService_Predict_FullMethodName,
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(PredictServiceServer).Predict(ctx, req.(*ModelInferRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+// PredictService_ServiceDesc is the grpc.ServiceDesc for PredictService service.
+// It's only intended for direct use with grpc.RegisterService,
+// and not to be introspected or modified (even as a copy)
+var PredictService_ServiceDesc = grpc.ServiceDesc{
+ ServiceName: "ssn.predictservice.v1.PredictService",
+ HandlerType: (*PredictServiceServer)(nil),
+ Methods: []grpc.MethodDesc{
+ {
+ MethodName: "Predict",
+ Handler: _PredictService_Predict_Handler,
+ },
+ },
+ Streams: []grpc.StreamDesc{},
+ Metadata: "ssn/predictservice/v1/predictservice.proto",
+}
diff --git a/gen/java/ai/visma/ssn/predictservice/v1/InferParameter.java b/gen/java/ai/visma/ssn/predictservice/v1/InferParameter.java
new file mode 100644
index 00000000..43c287f0
--- /dev/null
+++ b/gen/java/ai/visma/ssn/predictservice/v1/InferParameter.java
@@ -0,0 +1,990 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: ssn/predictservice/v1/predictservice.proto
+// Protobuf Java Version: 4.29.3
+
+package ai.visma.ssn.predictservice.v1;
+
+/**
+ *
+ * https://github.com/triton-inference-server/common/blob/main/protobuf/grpc_service.proto
+ *
+ *
+ * Protobuf type {@code ssn.predictservice.v1.InferParameter}
+ */
+public final class InferParameter extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:ssn.predictservice.v1.InferParameter)
+ InferParameterOrBuilder {
+private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 29,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ InferParameter.class.getName());
+ }
+ // Use InferParameter.newBuilder() to construct.
+ private InferParameter(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private InferParameter() {
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_InferParameter_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_InferParameter_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ ai.visma.ssn.predictservice.v1.InferParameter.class, ai.visma.ssn.predictservice.v1.InferParameter.Builder.class);
+ }
+
+ private int parameterChoiceCase_ = 0;
+ @SuppressWarnings("serial")
+ private java.lang.Object parameterChoice_;
+ public enum ParameterChoiceCase
+ implements com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
+ BOOL_PARAM(1),
+ INT64_PARAM(2),
+ STRING_PARAM(3),
+ DOUBLE_PARAM(4),
+ UINT64_PARAM(5),
+ PARAMETERCHOICE_NOT_SET(0);
+ private final int value;
+ private ParameterChoiceCase(int value) {
+ this.value = value;
+ }
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static ParameterChoiceCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static ParameterChoiceCase forNumber(int value) {
+ switch (value) {
+ case 1: return BOOL_PARAM;
+ case 2: return INT64_PARAM;
+ case 3: return STRING_PARAM;
+ case 4: return DOUBLE_PARAM;
+ case 5: return UINT64_PARAM;
+ case 0: return PARAMETERCHOICE_NOT_SET;
+ default: return null;
+ }
+ }
+ public int getNumber() {
+ return this.value;
+ }
+ };
+
+ public ParameterChoiceCase
+ getParameterChoiceCase() {
+ return ParameterChoiceCase.forNumber(
+ parameterChoiceCase_);
+ }
+
+ public static final int BOOL_PARAM_FIELD_NUMBER = 1;
+ /**
+ * bool bool_param = 1 [json_name = "boolParam"];
+ * @return Whether the boolParam field is set.
+ */
+ @java.lang.Override
+ public boolean hasBoolParam() {
+ return parameterChoiceCase_ == 1;
+ }
+ /**
+ * bool bool_param = 1 [json_name = "boolParam"];
+ * @return The boolParam.
+ */
+ @java.lang.Override
+ public boolean getBoolParam() {
+ if (parameterChoiceCase_ == 1) {
+ return (java.lang.Boolean) parameterChoice_;
+ }
+ return false;
+ }
+
+ public static final int INT64_PARAM_FIELD_NUMBER = 2;
+ /**
+ * int64 int64_param = 2 [json_name = "int64Param"];
+ * @return Whether the int64Param field is set.
+ */
+ @java.lang.Override
+ public boolean hasInt64Param() {
+ return parameterChoiceCase_ == 2;
+ }
+ /**
+ * int64 int64_param = 2 [json_name = "int64Param"];
+ * @return The int64Param.
+ */
+ @java.lang.Override
+ public long getInt64Param() {
+ if (parameterChoiceCase_ == 2) {
+ return (java.lang.Long) parameterChoice_;
+ }
+ return 0L;
+ }
+
+ public static final int STRING_PARAM_FIELD_NUMBER = 3;
+ /**
+ * string string_param = 3 [json_name = "stringParam"];
+ * @return Whether the stringParam field is set.
+ */
+ public boolean hasStringParam() {
+ return parameterChoiceCase_ == 3;
+ }
+ /**
+ * string string_param = 3 [json_name = "stringParam"];
+ * @return The stringParam.
+ */
+ public java.lang.String getStringParam() {
+ java.lang.Object ref = "";
+ if (parameterChoiceCase_ == 3) {
+ ref = parameterChoice_;
+ }
+ 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();
+ if (parameterChoiceCase_ == 3) {
+ parameterChoice_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * string string_param = 3 [json_name = "stringParam"];
+ * @return The bytes for stringParam.
+ */
+ public com.google.protobuf.ByteString
+ getStringParamBytes() {
+ java.lang.Object ref = "";
+ if (parameterChoiceCase_ == 3) {
+ ref = parameterChoice_;
+ }
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ if (parameterChoiceCase_ == 3) {
+ parameterChoice_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DOUBLE_PARAM_FIELD_NUMBER = 4;
+ /**
+ * double double_param = 4 [json_name = "doubleParam"];
+ * @return Whether the doubleParam field is set.
+ */
+ @java.lang.Override
+ public boolean hasDoubleParam() {
+ return parameterChoiceCase_ == 4;
+ }
+ /**
+ * double double_param = 4 [json_name = "doubleParam"];
+ * @return The doubleParam.
+ */
+ @java.lang.Override
+ public double getDoubleParam() {
+ if (parameterChoiceCase_ == 4) {
+ return (java.lang.Double) parameterChoice_;
+ }
+ return 0D;
+ }
+
+ public static final int UINT64_PARAM_FIELD_NUMBER = 5;
+ /**
+ * uint64 uint64_param = 5 [json_name = "uint64Param"];
+ * @return Whether the uint64Param field is set.
+ */
+ @java.lang.Override
+ public boolean hasUint64Param() {
+ return parameterChoiceCase_ == 5;
+ }
+ /**
+ * uint64 uint64_param = 5 [json_name = "uint64Param"];
+ * @return The uint64Param.
+ */
+ @java.lang.Override
+ public long getUint64Param() {
+ if (parameterChoiceCase_ == 5) {
+ return (java.lang.Long) parameterChoice_;
+ }
+ return 0L;
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (parameterChoiceCase_ == 1) {
+ output.writeBool(
+ 1, (boolean)((java.lang.Boolean) parameterChoice_));
+ }
+ if (parameterChoiceCase_ == 2) {
+ output.writeInt64(
+ 2, (long)((java.lang.Long) parameterChoice_));
+ }
+ if (parameterChoiceCase_ == 3) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 3, parameterChoice_);
+ }
+ if (parameterChoiceCase_ == 4) {
+ output.writeDouble(
+ 4, (double)((java.lang.Double) parameterChoice_));
+ }
+ if (parameterChoiceCase_ == 5) {
+ output.writeUInt64(
+ 5, (long)((java.lang.Long) parameterChoice_));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (parameterChoiceCase_ == 1) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(
+ 1, (boolean)((java.lang.Boolean) parameterChoice_));
+ }
+ if (parameterChoiceCase_ == 2) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(
+ 2, (long)((java.lang.Long) parameterChoice_));
+ }
+ if (parameterChoiceCase_ == 3) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(3, parameterChoice_);
+ }
+ if (parameterChoiceCase_ == 4) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeDoubleSize(
+ 4, (double)((java.lang.Double) parameterChoice_));
+ }
+ if (parameterChoiceCase_ == 5) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(
+ 5, (long)((java.lang.Long) parameterChoice_));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof ai.visma.ssn.predictservice.v1.InferParameter)) {
+ return super.equals(obj);
+ }
+ ai.visma.ssn.predictservice.v1.InferParameter other = (ai.visma.ssn.predictservice.v1.InferParameter) obj;
+
+ if (!getParameterChoiceCase().equals(other.getParameterChoiceCase())) return false;
+ switch (parameterChoiceCase_) {
+ case 1:
+ if (getBoolParam()
+ != other.getBoolParam()) return false;
+ break;
+ case 2:
+ if (getInt64Param()
+ != other.getInt64Param()) return false;
+ break;
+ case 3:
+ if (!getStringParam()
+ .equals(other.getStringParam())) return false;
+ break;
+ case 4:
+ if (java.lang.Double.doubleToLongBits(getDoubleParam())
+ != java.lang.Double.doubleToLongBits(
+ other.getDoubleParam())) return false;
+ break;
+ case 5:
+ if (getUint64Param()
+ != other.getUint64Param()) return false;
+ break;
+ case 0:
+ default:
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ switch (parameterChoiceCase_) {
+ case 1:
+ hash = (37 * hash) + BOOL_PARAM_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getBoolParam());
+ break;
+ case 2:
+ hash = (37 * hash) + INT64_PARAM_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getInt64Param());
+ break;
+ case 3:
+ hash = (37 * hash) + STRING_PARAM_FIELD_NUMBER;
+ hash = (53 * hash) + getStringParam().hashCode();
+ break;
+ case 4:
+ hash = (37 * hash) + DOUBLE_PARAM_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ java.lang.Double.doubleToLongBits(getDoubleParam()));
+ break;
+ case 5:
+ hash = (37 * hash) + UINT64_PARAM_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getUint64Param());
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static ai.visma.ssn.predictservice.v1.InferParameter parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferParameter parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferParameter parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferParameter parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferParameter parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferParameter parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferParameter parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferParameter parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static ai.visma.ssn.predictservice.v1.InferParameter parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static ai.visma.ssn.predictservice.v1.InferParameter parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferParameter parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferParameter parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(ai.visma.ssn.predictservice.v1.InferParameter prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ * https://github.com/triton-inference-server/common/blob/main/protobuf/grpc_service.proto
+ *
+ *
+ * Protobuf type {@code ssn.predictservice.v1.InferParameter}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder implements
+ // @@protoc_insertion_point(builder_implements:ssn.predictservice.v1.InferParameter)
+ ai.visma.ssn.predictservice.v1.InferParameterOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_InferParameter_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_InferParameter_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ ai.visma.ssn.predictservice.v1.InferParameter.class, ai.visma.ssn.predictservice.v1.InferParameter.Builder.class);
+ }
+
+ // Construct using ai.visma.ssn.predictservice.v1.InferParameter.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ parameterChoiceCase_ = 0;
+ parameterChoice_ = null;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_InferParameter_descriptor;
+ }
+
+ @java.lang.Override
+ public ai.visma.ssn.predictservice.v1.InferParameter getDefaultInstanceForType() {
+ return ai.visma.ssn.predictservice.v1.InferParameter.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public ai.visma.ssn.predictservice.v1.InferParameter build() {
+ ai.visma.ssn.predictservice.v1.InferParameter result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public ai.visma.ssn.predictservice.v1.InferParameter buildPartial() {
+ ai.visma.ssn.predictservice.v1.InferParameter result = new ai.visma.ssn.predictservice.v1.InferParameter(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ buildPartialOneofs(result);
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(ai.visma.ssn.predictservice.v1.InferParameter result) {
+ int from_bitField0_ = bitField0_;
+ }
+
+ private void buildPartialOneofs(ai.visma.ssn.predictservice.v1.InferParameter result) {
+ result.parameterChoiceCase_ = parameterChoiceCase_;
+ result.parameterChoice_ = this.parameterChoice_;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof ai.visma.ssn.predictservice.v1.InferParameter) {
+ return mergeFrom((ai.visma.ssn.predictservice.v1.InferParameter)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(ai.visma.ssn.predictservice.v1.InferParameter other) {
+ if (other == ai.visma.ssn.predictservice.v1.InferParameter.getDefaultInstance()) return this;
+ switch (other.getParameterChoiceCase()) {
+ case BOOL_PARAM: {
+ setBoolParam(other.getBoolParam());
+ break;
+ }
+ case INT64_PARAM: {
+ setInt64Param(other.getInt64Param());
+ break;
+ }
+ case STRING_PARAM: {
+ parameterChoiceCase_ = 3;
+ parameterChoice_ = other.parameterChoice_;
+ onChanged();
+ break;
+ }
+ case DOUBLE_PARAM: {
+ setDoubleParam(other.getDoubleParam());
+ break;
+ }
+ case UINT64_PARAM: {
+ setUint64Param(other.getUint64Param());
+ break;
+ }
+ case PARAMETERCHOICE_NOT_SET: {
+ break;
+ }
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8: {
+ parameterChoice_ = input.readBool();
+ parameterChoiceCase_ = 1;
+ break;
+ } // case 8
+ case 16: {
+ parameterChoice_ = input.readInt64();
+ parameterChoiceCase_ = 2;
+ break;
+ } // case 16
+ case 26: {
+ java.lang.String s = input.readStringRequireUtf8();
+ parameterChoiceCase_ = 3;
+ parameterChoice_ = s;
+ break;
+ } // case 26
+ case 33: {
+ parameterChoice_ = input.readDouble();
+ parameterChoiceCase_ = 4;
+ break;
+ } // case 33
+ case 40: {
+ parameterChoice_ = input.readUInt64();
+ parameterChoiceCase_ = 5;
+ break;
+ } // case 40
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int parameterChoiceCase_ = 0;
+ private java.lang.Object parameterChoice_;
+ public ParameterChoiceCase
+ getParameterChoiceCase() {
+ return ParameterChoiceCase.forNumber(
+ parameterChoiceCase_);
+ }
+
+ public Builder clearParameterChoice() {
+ parameterChoiceCase_ = 0;
+ parameterChoice_ = null;
+ onChanged();
+ return this;
+ }
+
+ private int bitField0_;
+
+ /**
+ * bool bool_param = 1 [json_name = "boolParam"];
+ * @return Whether the boolParam field is set.
+ */
+ public boolean hasBoolParam() {
+ return parameterChoiceCase_ == 1;
+ }
+ /**
+ * bool bool_param = 1 [json_name = "boolParam"];
+ * @return The boolParam.
+ */
+ public boolean getBoolParam() {
+ if (parameterChoiceCase_ == 1) {
+ return (java.lang.Boolean) parameterChoice_;
+ }
+ return false;
+ }
+ /**
+ * bool bool_param = 1 [json_name = "boolParam"];
+ * @param value The boolParam to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBoolParam(boolean value) {
+
+ parameterChoiceCase_ = 1;
+ parameterChoice_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool bool_param = 1 [json_name = "boolParam"];
+ * @return This builder for chaining.
+ */
+ public Builder clearBoolParam() {
+ if (parameterChoiceCase_ == 1) {
+ parameterChoiceCase_ = 0;
+ parameterChoice_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ * int64 int64_param = 2 [json_name = "int64Param"];
+ * @return Whether the int64Param field is set.
+ */
+ public boolean hasInt64Param() {
+ return parameterChoiceCase_ == 2;
+ }
+ /**
+ * int64 int64_param = 2 [json_name = "int64Param"];
+ * @return The int64Param.
+ */
+ public long getInt64Param() {
+ if (parameterChoiceCase_ == 2) {
+ return (java.lang.Long) parameterChoice_;
+ }
+ return 0L;
+ }
+ /**
+ * int64 int64_param = 2 [json_name = "int64Param"];
+ * @param value The int64Param to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInt64Param(long value) {
+
+ parameterChoiceCase_ = 2;
+ parameterChoice_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 int64_param = 2 [json_name = "int64Param"];
+ * @return This builder for chaining.
+ */
+ public Builder clearInt64Param() {
+ if (parameterChoiceCase_ == 2) {
+ parameterChoiceCase_ = 0;
+ parameterChoice_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ * string string_param = 3 [json_name = "stringParam"];
+ * @return Whether the stringParam field is set.
+ */
+ @java.lang.Override
+ public boolean hasStringParam() {
+ return parameterChoiceCase_ == 3;
+ }
+ /**
+ * string string_param = 3 [json_name = "stringParam"];
+ * @return The stringParam.
+ */
+ @java.lang.Override
+ public java.lang.String getStringParam() {
+ java.lang.Object ref = "";
+ if (parameterChoiceCase_ == 3) {
+ ref = parameterChoice_;
+ }
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (parameterChoiceCase_ == 3) {
+ parameterChoice_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string string_param = 3 [json_name = "stringParam"];
+ * @return The bytes for stringParam.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getStringParamBytes() {
+ java.lang.Object ref = "";
+ if (parameterChoiceCase_ == 3) {
+ ref = parameterChoice_;
+ }
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ if (parameterChoiceCase_ == 3) {
+ parameterChoice_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string string_param = 3 [json_name = "stringParam"];
+ * @param value The stringParam to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStringParam(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ parameterChoiceCase_ = 3;
+ parameterChoice_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * string string_param = 3 [json_name = "stringParam"];
+ * @return This builder for chaining.
+ */
+ public Builder clearStringParam() {
+ if (parameterChoiceCase_ == 3) {
+ parameterChoiceCase_ = 0;
+ parameterChoice_ = null;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * string string_param = 3 [json_name = "stringParam"];
+ * @param value The bytes for stringParam to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStringParamBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ parameterChoiceCase_ = 3;
+ parameterChoice_ = value;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * double double_param = 4 [json_name = "doubleParam"];
+ * @return Whether the doubleParam field is set.
+ */
+ public boolean hasDoubleParam() {
+ return parameterChoiceCase_ == 4;
+ }
+ /**
+ * double double_param = 4 [json_name = "doubleParam"];
+ * @return The doubleParam.
+ */
+ public double getDoubleParam() {
+ if (parameterChoiceCase_ == 4) {
+ return (java.lang.Double) parameterChoice_;
+ }
+ return 0D;
+ }
+ /**
+ * double double_param = 4 [json_name = "doubleParam"];
+ * @param value The doubleParam to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDoubleParam(double value) {
+
+ parameterChoiceCase_ = 4;
+ parameterChoice_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * double double_param = 4 [json_name = "doubleParam"];
+ * @return This builder for chaining.
+ */
+ public Builder clearDoubleParam() {
+ if (parameterChoiceCase_ == 4) {
+ parameterChoiceCase_ = 0;
+ parameterChoice_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ * uint64 uint64_param = 5 [json_name = "uint64Param"];
+ * @return Whether the uint64Param field is set.
+ */
+ public boolean hasUint64Param() {
+ return parameterChoiceCase_ == 5;
+ }
+ /**
+ * uint64 uint64_param = 5 [json_name = "uint64Param"];
+ * @return The uint64Param.
+ */
+ public long getUint64Param() {
+ if (parameterChoiceCase_ == 5) {
+ return (java.lang.Long) parameterChoice_;
+ }
+ return 0L;
+ }
+ /**
+ * uint64 uint64_param = 5 [json_name = "uint64Param"];
+ * @param value The uint64Param to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUint64Param(long value) {
+
+ parameterChoiceCase_ = 5;
+ parameterChoice_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 uint64_param = 5 [json_name = "uint64Param"];
+ * @return This builder for chaining.
+ */
+ public Builder clearUint64Param() {
+ if (parameterChoiceCase_ == 5) {
+ parameterChoiceCase_ = 0;
+ parameterChoice_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:ssn.predictservice.v1.InferParameter)
+ }
+
+ // @@protoc_insertion_point(class_scope:ssn.predictservice.v1.InferParameter)
+ private static final ai.visma.ssn.predictservice.v1.InferParameter DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new ai.visma.ssn.predictservice.v1.InferParameter();
+ }
+
+ public static ai.visma.ssn.predictservice.v1.InferParameter getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public InferParameter parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public ai.visma.ssn.predictservice.v1.InferParameter getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/gen/java/ai/visma/ssn/predictservice/v1/InferParameterOrBuilder.java b/gen/java/ai/visma/ssn/predictservice/v1/InferParameterOrBuilder.java
new file mode 100644
index 00000000..3985ccd6
--- /dev/null
+++ b/gen/java/ai/visma/ssn/predictservice/v1/InferParameterOrBuilder.java
@@ -0,0 +1,74 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: ssn/predictservice/v1/predictservice.proto
+// Protobuf Java Version: 4.29.3
+
+package ai.visma.ssn.predictservice.v1;
+
+public interface InferParameterOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:ssn.predictservice.v1.InferParameter)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * bool bool_param = 1 [json_name = "boolParam"];
+ * @return Whether the boolParam field is set.
+ */
+ boolean hasBoolParam();
+ /**
+ * bool bool_param = 1 [json_name = "boolParam"];
+ * @return The boolParam.
+ */
+ boolean getBoolParam();
+
+ /**
+ * int64 int64_param = 2 [json_name = "int64Param"];
+ * @return Whether the int64Param field is set.
+ */
+ boolean hasInt64Param();
+ /**
+ * int64 int64_param = 2 [json_name = "int64Param"];
+ * @return The int64Param.
+ */
+ long getInt64Param();
+
+ /**
+ * string string_param = 3 [json_name = "stringParam"];
+ * @return Whether the stringParam field is set.
+ */
+ boolean hasStringParam();
+ /**
+ * string string_param = 3 [json_name = "stringParam"];
+ * @return The stringParam.
+ */
+ java.lang.String getStringParam();
+ /**
+ * string string_param = 3 [json_name = "stringParam"];
+ * @return The bytes for stringParam.
+ */
+ com.google.protobuf.ByteString
+ getStringParamBytes();
+
+ /**
+ * double double_param = 4 [json_name = "doubleParam"];
+ * @return Whether the doubleParam field is set.
+ */
+ boolean hasDoubleParam();
+ /**
+ * double double_param = 4 [json_name = "doubleParam"];
+ * @return The doubleParam.
+ */
+ double getDoubleParam();
+
+ /**
+ * uint64 uint64_param = 5 [json_name = "uint64Param"];
+ * @return Whether the uint64Param field is set.
+ */
+ boolean hasUint64Param();
+ /**
+ * uint64 uint64_param = 5 [json_name = "uint64Param"];
+ * @return The uint64Param.
+ */
+ long getUint64Param();
+
+ ai.visma.ssn.predictservice.v1.InferParameter.ParameterChoiceCase getParameterChoiceCase();
+}
diff --git a/gen/java/ai/visma/ssn/predictservice/v1/InferTensorContents.java b/gen/java/ai/visma/ssn/predictservice/v1/InferTensorContents.java
new file mode 100644
index 00000000..d41cb8c3
--- /dev/null
+++ b/gen/java/ai/visma/ssn/predictservice/v1/InferTensorContents.java
@@ -0,0 +1,1750 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: ssn/predictservice/v1/predictservice.proto
+// Protobuf Java Version: 4.29.3
+
+package ai.visma.ssn.predictservice.v1;
+
+/**
+ * Protobuf type {@code ssn.predictservice.v1.InferTensorContents}
+ */
+public final class InferTensorContents extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:ssn.predictservice.v1.InferTensorContents)
+ InferTensorContentsOrBuilder {
+private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 29,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ InferTensorContents.class.getName());
+ }
+ // Use InferTensorContents.newBuilder() to construct.
+ private InferTensorContents(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private InferTensorContents() {
+ boolContents_ = emptyBooleanList();
+ intContents_ = emptyIntList();
+ int64Contents_ = emptyLongList();
+ uintContents_ = emptyIntList();
+ uint64Contents_ = emptyLongList();
+ fp32Contents_ = emptyFloatList();
+ fp64Contents_ = emptyDoubleList();
+ bytesContents_ = emptyList(com.google.protobuf.ByteString.class);
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_InferTensorContents_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_InferTensorContents_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ ai.visma.ssn.predictservice.v1.InferTensorContents.class, ai.visma.ssn.predictservice.v1.InferTensorContents.Builder.class);
+ }
+
+ public static final int BOOL_CONTENTS_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.BooleanList boolContents_ =
+ emptyBooleanList();
+ /**
+ * repeated bool bool_contents = 1 [json_name = "boolContents"];
+ * @return A list containing the boolContents.
+ */
+ @java.lang.Override
+ public java.util.List
+ getBoolContentsList() {
+ return boolContents_;
+ }
+ /**
+ * repeated bool bool_contents = 1 [json_name = "boolContents"];
+ * @return The count of boolContents.
+ */
+ public int getBoolContentsCount() {
+ return boolContents_.size();
+ }
+ /**
+ * repeated bool bool_contents = 1 [json_name = "boolContents"];
+ * @param index The index of the element to return.
+ * @return The boolContents at the given index.
+ */
+ public boolean getBoolContents(int index) {
+ return boolContents_.getBoolean(index);
+ }
+ private int boolContentsMemoizedSerializedSize = -1;
+
+ public static final int INT_CONTENTS_FIELD_NUMBER = 2;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.IntList intContents_ =
+ emptyIntList();
+ /**
+ * repeated int32 int_contents = 2 [json_name = "intContents"];
+ * @return A list containing the intContents.
+ */
+ @java.lang.Override
+ public java.util.List
+ getIntContentsList() {
+ return intContents_;
+ }
+ /**
+ * repeated int32 int_contents = 2 [json_name = "intContents"];
+ * @return The count of intContents.
+ */
+ public int getIntContentsCount() {
+ return intContents_.size();
+ }
+ /**
+ * repeated int32 int_contents = 2 [json_name = "intContents"];
+ * @param index The index of the element to return.
+ * @return The intContents at the given index.
+ */
+ public int getIntContents(int index) {
+ return intContents_.getInt(index);
+ }
+ private int intContentsMemoizedSerializedSize = -1;
+
+ public static final int INT64_CONTENTS_FIELD_NUMBER = 3;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.LongList int64Contents_ =
+ emptyLongList();
+ /**
+ * repeated int64 int64_contents = 3 [json_name = "int64Contents"];
+ * @return A list containing the int64Contents.
+ */
+ @java.lang.Override
+ public java.util.List
+ getInt64ContentsList() {
+ return int64Contents_;
+ }
+ /**
+ * repeated int64 int64_contents = 3 [json_name = "int64Contents"];
+ * @return The count of int64Contents.
+ */
+ public int getInt64ContentsCount() {
+ return int64Contents_.size();
+ }
+ /**
+ * repeated int64 int64_contents = 3 [json_name = "int64Contents"];
+ * @param index The index of the element to return.
+ * @return The int64Contents at the given index.
+ */
+ public long getInt64Contents(int index) {
+ return int64Contents_.getLong(index);
+ }
+ private int int64ContentsMemoizedSerializedSize = -1;
+
+ public static final int UINT_CONTENTS_FIELD_NUMBER = 4;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.IntList uintContents_ =
+ emptyIntList();
+ /**
+ * repeated uint32 uint_contents = 4 [json_name = "uintContents"];
+ * @return A list containing the uintContents.
+ */
+ @java.lang.Override
+ public java.util.List
+ getUintContentsList() {
+ return uintContents_;
+ }
+ /**
+ * repeated uint32 uint_contents = 4 [json_name = "uintContents"];
+ * @return The count of uintContents.
+ */
+ public int getUintContentsCount() {
+ return uintContents_.size();
+ }
+ /**
+ * repeated uint32 uint_contents = 4 [json_name = "uintContents"];
+ * @param index The index of the element to return.
+ * @return The uintContents at the given index.
+ */
+ public int getUintContents(int index) {
+ return uintContents_.getInt(index);
+ }
+ private int uintContentsMemoizedSerializedSize = -1;
+
+ public static final int UINT64_CONTENTS_FIELD_NUMBER = 5;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.LongList uint64Contents_ =
+ emptyLongList();
+ /**
+ * repeated uint64 uint64_contents = 5 [json_name = "uint64Contents"];
+ * @return A list containing the uint64Contents.
+ */
+ @java.lang.Override
+ public java.util.List
+ getUint64ContentsList() {
+ return uint64Contents_;
+ }
+ /**
+ * repeated uint64 uint64_contents = 5 [json_name = "uint64Contents"];
+ * @return The count of uint64Contents.
+ */
+ public int getUint64ContentsCount() {
+ return uint64Contents_.size();
+ }
+ /**
+ * repeated uint64 uint64_contents = 5 [json_name = "uint64Contents"];
+ * @param index The index of the element to return.
+ * @return The uint64Contents at the given index.
+ */
+ public long getUint64Contents(int index) {
+ return uint64Contents_.getLong(index);
+ }
+ private int uint64ContentsMemoizedSerializedSize = -1;
+
+ public static final int FP32_CONTENTS_FIELD_NUMBER = 6;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.FloatList fp32Contents_ =
+ emptyFloatList();
+ /**
+ * repeated float fp32_contents = 6 [json_name = "fp32Contents"];
+ * @return A list containing the fp32Contents.
+ */
+ @java.lang.Override
+ public java.util.List
+ getFp32ContentsList() {
+ return fp32Contents_;
+ }
+ /**
+ * repeated float fp32_contents = 6 [json_name = "fp32Contents"];
+ * @return The count of fp32Contents.
+ */
+ public int getFp32ContentsCount() {
+ return fp32Contents_.size();
+ }
+ /**
+ * repeated float fp32_contents = 6 [json_name = "fp32Contents"];
+ * @param index The index of the element to return.
+ * @return The fp32Contents at the given index.
+ */
+ public float getFp32Contents(int index) {
+ return fp32Contents_.getFloat(index);
+ }
+ private int fp32ContentsMemoizedSerializedSize = -1;
+
+ public static final int FP64_CONTENTS_FIELD_NUMBER = 7;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.DoubleList fp64Contents_ =
+ emptyDoubleList();
+ /**
+ * repeated double fp64_contents = 7 [json_name = "fp64Contents"];
+ * @return A list containing the fp64Contents.
+ */
+ @java.lang.Override
+ public java.util.List
+ getFp64ContentsList() {
+ return fp64Contents_;
+ }
+ /**
+ * repeated double fp64_contents = 7 [json_name = "fp64Contents"];
+ * @return The count of fp64Contents.
+ */
+ public int getFp64ContentsCount() {
+ return fp64Contents_.size();
+ }
+ /**
+ * repeated double fp64_contents = 7 [json_name = "fp64Contents"];
+ * @param index The index of the element to return.
+ * @return The fp64Contents at the given index.
+ */
+ public double getFp64Contents(int index) {
+ return fp64Contents_.getDouble(index);
+ }
+ private int fp64ContentsMemoizedSerializedSize = -1;
+
+ public static final int BYTES_CONTENTS_FIELD_NUMBER = 8;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.ProtobufList bytesContents_ =
+ emptyList(com.google.protobuf.ByteString.class);
+ /**
+ * repeated bytes bytes_contents = 8 [json_name = "bytesContents"];
+ * @return A list containing the bytesContents.
+ */
+ @java.lang.Override
+ public java.util.List
+ getBytesContentsList() {
+ return bytesContents_;
+ }
+ /**
+ * repeated bytes bytes_contents = 8 [json_name = "bytesContents"];
+ * @return The count of bytesContents.
+ */
+ public int getBytesContentsCount() {
+ return bytesContents_.size();
+ }
+ /**
+ * repeated bytes bytes_contents = 8 [json_name = "bytesContents"];
+ * @param index The index of the element to return.
+ * @return The bytesContents at the given index.
+ */
+ public com.google.protobuf.ByteString getBytesContents(int index) {
+ return bytesContents_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (getBoolContentsList().size() > 0) {
+ output.writeUInt32NoTag(10);
+ output.writeUInt32NoTag(boolContentsMemoizedSerializedSize);
+ }
+ for (int i = 0; i < boolContents_.size(); i++) {
+ output.writeBoolNoTag(boolContents_.getBoolean(i));
+ }
+ if (getIntContentsList().size() > 0) {
+ output.writeUInt32NoTag(18);
+ output.writeUInt32NoTag(intContentsMemoizedSerializedSize);
+ }
+ for (int i = 0; i < intContents_.size(); i++) {
+ output.writeInt32NoTag(intContents_.getInt(i));
+ }
+ if (getInt64ContentsList().size() > 0) {
+ output.writeUInt32NoTag(26);
+ output.writeUInt32NoTag(int64ContentsMemoizedSerializedSize);
+ }
+ for (int i = 0; i < int64Contents_.size(); i++) {
+ output.writeInt64NoTag(int64Contents_.getLong(i));
+ }
+ if (getUintContentsList().size() > 0) {
+ output.writeUInt32NoTag(34);
+ output.writeUInt32NoTag(uintContentsMemoizedSerializedSize);
+ }
+ for (int i = 0; i < uintContents_.size(); i++) {
+ output.writeUInt32NoTag(uintContents_.getInt(i));
+ }
+ if (getUint64ContentsList().size() > 0) {
+ output.writeUInt32NoTag(42);
+ output.writeUInt32NoTag(uint64ContentsMemoizedSerializedSize);
+ }
+ for (int i = 0; i < uint64Contents_.size(); i++) {
+ output.writeUInt64NoTag(uint64Contents_.getLong(i));
+ }
+ if (getFp32ContentsList().size() > 0) {
+ output.writeUInt32NoTag(50);
+ output.writeUInt32NoTag(fp32ContentsMemoizedSerializedSize);
+ }
+ for (int i = 0; i < fp32Contents_.size(); i++) {
+ output.writeFloatNoTag(fp32Contents_.getFloat(i));
+ }
+ if (getFp64ContentsList().size() > 0) {
+ output.writeUInt32NoTag(58);
+ output.writeUInt32NoTag(fp64ContentsMemoizedSerializedSize);
+ }
+ for (int i = 0; i < fp64Contents_.size(); i++) {
+ output.writeDoubleNoTag(fp64Contents_.getDouble(i));
+ }
+ for (int i = 0; i < bytesContents_.size(); i++) {
+ output.writeBytes(8, bytesContents_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ {
+ int dataSize = 0;
+ dataSize = 1 * getBoolContentsList().size();
+ size += dataSize;
+ if (!getBoolContentsList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ boolContentsMemoizedSerializedSize = dataSize;
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < intContents_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(intContents_.getInt(i));
+ }
+ size += dataSize;
+ if (!getIntContentsList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ intContentsMemoizedSerializedSize = dataSize;
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < int64Contents_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeInt64SizeNoTag(int64Contents_.getLong(i));
+ }
+ size += dataSize;
+ if (!getInt64ContentsList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ int64ContentsMemoizedSerializedSize = dataSize;
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < uintContents_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt32SizeNoTag(uintContents_.getInt(i));
+ }
+ size += dataSize;
+ if (!getUintContentsList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ uintContentsMemoizedSerializedSize = dataSize;
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < uint64Contents_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt64SizeNoTag(uint64Contents_.getLong(i));
+ }
+ size += dataSize;
+ if (!getUint64ContentsList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ uint64ContentsMemoizedSerializedSize = dataSize;
+ }
+ {
+ int dataSize = 0;
+ dataSize = 4 * getFp32ContentsList().size();
+ size += dataSize;
+ if (!getFp32ContentsList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ fp32ContentsMemoizedSerializedSize = dataSize;
+ }
+ {
+ int dataSize = 0;
+ dataSize = 8 * getFp64ContentsList().size();
+ size += dataSize;
+ if (!getFp64ContentsList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ fp64ContentsMemoizedSerializedSize = dataSize;
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < bytesContents_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeBytesSizeNoTag(bytesContents_.get(i));
+ }
+ size += dataSize;
+ size += 1 * getBytesContentsList().size();
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof ai.visma.ssn.predictservice.v1.InferTensorContents)) {
+ return super.equals(obj);
+ }
+ ai.visma.ssn.predictservice.v1.InferTensorContents other = (ai.visma.ssn.predictservice.v1.InferTensorContents) obj;
+
+ if (!getBoolContentsList()
+ .equals(other.getBoolContentsList())) return false;
+ if (!getIntContentsList()
+ .equals(other.getIntContentsList())) return false;
+ if (!getInt64ContentsList()
+ .equals(other.getInt64ContentsList())) return false;
+ if (!getUintContentsList()
+ .equals(other.getUintContentsList())) return false;
+ if (!getUint64ContentsList()
+ .equals(other.getUint64ContentsList())) return false;
+ if (!getFp32ContentsList()
+ .equals(other.getFp32ContentsList())) return false;
+ if (!getFp64ContentsList()
+ .equals(other.getFp64ContentsList())) return false;
+ if (!getBytesContentsList()
+ .equals(other.getBytesContentsList())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getBoolContentsCount() > 0) {
+ hash = (37 * hash) + BOOL_CONTENTS_FIELD_NUMBER;
+ hash = (53 * hash) + getBoolContentsList().hashCode();
+ }
+ if (getIntContentsCount() > 0) {
+ hash = (37 * hash) + INT_CONTENTS_FIELD_NUMBER;
+ hash = (53 * hash) + getIntContentsList().hashCode();
+ }
+ if (getInt64ContentsCount() > 0) {
+ hash = (37 * hash) + INT64_CONTENTS_FIELD_NUMBER;
+ hash = (53 * hash) + getInt64ContentsList().hashCode();
+ }
+ if (getUintContentsCount() > 0) {
+ hash = (37 * hash) + UINT_CONTENTS_FIELD_NUMBER;
+ hash = (53 * hash) + getUintContentsList().hashCode();
+ }
+ if (getUint64ContentsCount() > 0) {
+ hash = (37 * hash) + UINT64_CONTENTS_FIELD_NUMBER;
+ hash = (53 * hash) + getUint64ContentsList().hashCode();
+ }
+ if (getFp32ContentsCount() > 0) {
+ hash = (37 * hash) + FP32_CONTENTS_FIELD_NUMBER;
+ hash = (53 * hash) + getFp32ContentsList().hashCode();
+ }
+ if (getFp64ContentsCount() > 0) {
+ hash = (37 * hash) + FP64_CONTENTS_FIELD_NUMBER;
+ hash = (53 * hash) + getFp64ContentsList().hashCode();
+ }
+ if (getBytesContentsCount() > 0) {
+ hash = (37 * hash) + BYTES_CONTENTS_FIELD_NUMBER;
+ hash = (53 * hash) + getBytesContentsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static ai.visma.ssn.predictservice.v1.InferTensorContents parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferTensorContents parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferTensorContents parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferTensorContents parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferTensorContents parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferTensorContents parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferTensorContents parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferTensorContents parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static ai.visma.ssn.predictservice.v1.InferTensorContents parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static ai.visma.ssn.predictservice.v1.InferTensorContents parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferTensorContents parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static ai.visma.ssn.predictservice.v1.InferTensorContents parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(ai.visma.ssn.predictservice.v1.InferTensorContents prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code ssn.predictservice.v1.InferTensorContents}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder implements
+ // @@protoc_insertion_point(builder_implements:ssn.predictservice.v1.InferTensorContents)
+ ai.visma.ssn.predictservice.v1.InferTensorContentsOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_InferTensorContents_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_InferTensorContents_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ ai.visma.ssn.predictservice.v1.InferTensorContents.class, ai.visma.ssn.predictservice.v1.InferTensorContents.Builder.class);
+ }
+
+ // Construct using ai.visma.ssn.predictservice.v1.InferTensorContents.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ boolContents_ = emptyBooleanList();
+ intContents_ = emptyIntList();
+ int64Contents_ = emptyLongList();
+ uintContents_ = emptyIntList();
+ uint64Contents_ = emptyLongList();
+ fp32Contents_ = emptyFloatList();
+ fp64Contents_ = emptyDoubleList();
+ bytesContents_ = emptyList(com.google.protobuf.ByteString.class);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_InferTensorContents_descriptor;
+ }
+
+ @java.lang.Override
+ public ai.visma.ssn.predictservice.v1.InferTensorContents getDefaultInstanceForType() {
+ return ai.visma.ssn.predictservice.v1.InferTensorContents.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public ai.visma.ssn.predictservice.v1.InferTensorContents build() {
+ ai.visma.ssn.predictservice.v1.InferTensorContents result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public ai.visma.ssn.predictservice.v1.InferTensorContents buildPartial() {
+ ai.visma.ssn.predictservice.v1.InferTensorContents result = new ai.visma.ssn.predictservice.v1.InferTensorContents(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(ai.visma.ssn.predictservice.v1.InferTensorContents result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ boolContents_.makeImmutable();
+ result.boolContents_ = boolContents_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ intContents_.makeImmutable();
+ result.intContents_ = intContents_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ int64Contents_.makeImmutable();
+ result.int64Contents_ = int64Contents_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ uintContents_.makeImmutable();
+ result.uintContents_ = uintContents_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ uint64Contents_.makeImmutable();
+ result.uint64Contents_ = uint64Contents_;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ fp32Contents_.makeImmutable();
+ result.fp32Contents_ = fp32Contents_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ fp64Contents_.makeImmutable();
+ result.fp64Contents_ = fp64Contents_;
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ bytesContents_.makeImmutable();
+ result.bytesContents_ = bytesContents_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof ai.visma.ssn.predictservice.v1.InferTensorContents) {
+ return mergeFrom((ai.visma.ssn.predictservice.v1.InferTensorContents)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(ai.visma.ssn.predictservice.v1.InferTensorContents other) {
+ if (other == ai.visma.ssn.predictservice.v1.InferTensorContents.getDefaultInstance()) return this;
+ if (!other.boolContents_.isEmpty()) {
+ if (boolContents_.isEmpty()) {
+ boolContents_ = other.boolContents_;
+ boolContents_.makeImmutable();
+ bitField0_ |= 0x00000001;
+ } else {
+ ensureBoolContentsIsMutable();
+ boolContents_.addAll(other.boolContents_);
+ }
+ onChanged();
+ }
+ if (!other.intContents_.isEmpty()) {
+ if (intContents_.isEmpty()) {
+ intContents_ = other.intContents_;
+ intContents_.makeImmutable();
+ bitField0_ |= 0x00000002;
+ } else {
+ ensureIntContentsIsMutable();
+ intContents_.addAll(other.intContents_);
+ }
+ onChanged();
+ }
+ if (!other.int64Contents_.isEmpty()) {
+ if (int64Contents_.isEmpty()) {
+ int64Contents_ = other.int64Contents_;
+ int64Contents_.makeImmutable();
+ bitField0_ |= 0x00000004;
+ } else {
+ ensureInt64ContentsIsMutable();
+ int64Contents_.addAll(other.int64Contents_);
+ }
+ onChanged();
+ }
+ if (!other.uintContents_.isEmpty()) {
+ if (uintContents_.isEmpty()) {
+ uintContents_ = other.uintContents_;
+ uintContents_.makeImmutable();
+ bitField0_ |= 0x00000008;
+ } else {
+ ensureUintContentsIsMutable();
+ uintContents_.addAll(other.uintContents_);
+ }
+ onChanged();
+ }
+ if (!other.uint64Contents_.isEmpty()) {
+ if (uint64Contents_.isEmpty()) {
+ uint64Contents_ = other.uint64Contents_;
+ uint64Contents_.makeImmutable();
+ bitField0_ |= 0x00000010;
+ } else {
+ ensureUint64ContentsIsMutable();
+ uint64Contents_.addAll(other.uint64Contents_);
+ }
+ onChanged();
+ }
+ if (!other.fp32Contents_.isEmpty()) {
+ if (fp32Contents_.isEmpty()) {
+ fp32Contents_ = other.fp32Contents_;
+ fp32Contents_.makeImmutable();
+ bitField0_ |= 0x00000020;
+ } else {
+ ensureFp32ContentsIsMutable();
+ fp32Contents_.addAll(other.fp32Contents_);
+ }
+ onChanged();
+ }
+ if (!other.fp64Contents_.isEmpty()) {
+ if (fp64Contents_.isEmpty()) {
+ fp64Contents_ = other.fp64Contents_;
+ fp64Contents_.makeImmutable();
+ bitField0_ |= 0x00000040;
+ } else {
+ ensureFp64ContentsIsMutable();
+ fp64Contents_.addAll(other.fp64Contents_);
+ }
+ onChanged();
+ }
+ if (!other.bytesContents_.isEmpty()) {
+ if (bytesContents_.isEmpty()) {
+ bytesContents_ = other.bytesContents_;
+ bytesContents_.makeImmutable();
+ bitField0_ |= 0x00000080;
+ } else {
+ ensureBytesContentsIsMutable();
+ bytesContents_.addAll(other.bytesContents_);
+ }
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8: {
+ boolean v = input.readBool();
+ ensureBoolContentsIsMutable();
+ boolContents_.addBoolean(v);
+ break;
+ } // case 8
+ case 10: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ int alloc = length > 4096 ? 4096 : length;
+ ensureBoolContentsIsMutable(alloc / 1);
+ while (input.getBytesUntilLimit() > 0) {
+ boolContents_.addBoolean(input.readBool());
+ }
+ input.popLimit(limit);
+ break;
+ } // case 10
+ case 16: {
+ int v = input.readInt32();
+ ensureIntContentsIsMutable();
+ intContents_.addInt(v);
+ break;
+ } // case 16
+ case 18: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ ensureIntContentsIsMutable();
+ while (input.getBytesUntilLimit() > 0) {
+ intContents_.addInt(input.readInt32());
+ }
+ input.popLimit(limit);
+ break;
+ } // case 18
+ case 24: {
+ long v = input.readInt64();
+ ensureInt64ContentsIsMutable();
+ int64Contents_.addLong(v);
+ break;
+ } // case 24
+ case 26: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ ensureInt64ContentsIsMutable();
+ while (input.getBytesUntilLimit() > 0) {
+ int64Contents_.addLong(input.readInt64());
+ }
+ input.popLimit(limit);
+ break;
+ } // case 26
+ case 32: {
+ int v = input.readUInt32();
+ ensureUintContentsIsMutable();
+ uintContents_.addInt(v);
+ break;
+ } // case 32
+ case 34: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ ensureUintContentsIsMutable();
+ while (input.getBytesUntilLimit() > 0) {
+ uintContents_.addInt(input.readUInt32());
+ }
+ input.popLimit(limit);
+ break;
+ } // case 34
+ case 40: {
+ long v = input.readUInt64();
+ ensureUint64ContentsIsMutable();
+ uint64Contents_.addLong(v);
+ break;
+ } // case 40
+ case 42: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ ensureUint64ContentsIsMutable();
+ while (input.getBytesUntilLimit() > 0) {
+ uint64Contents_.addLong(input.readUInt64());
+ }
+ input.popLimit(limit);
+ break;
+ } // case 42
+ case 53: {
+ float v = input.readFloat();
+ ensureFp32ContentsIsMutable();
+ fp32Contents_.addFloat(v);
+ break;
+ } // case 53
+ case 50: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ int alloc = length > 4096 ? 4096 : length;
+ ensureFp32ContentsIsMutable(alloc / 4);
+ while (input.getBytesUntilLimit() > 0) {
+ fp32Contents_.addFloat(input.readFloat());
+ }
+ input.popLimit(limit);
+ break;
+ } // case 50
+ case 57: {
+ double v = input.readDouble();
+ ensureFp64ContentsIsMutable();
+ fp64Contents_.addDouble(v);
+ break;
+ } // case 57
+ case 58: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ int alloc = length > 4096 ? 4096 : length;
+ ensureFp64ContentsIsMutable(alloc / 8);
+ while (input.getBytesUntilLimit() > 0) {
+ fp64Contents_.addDouble(input.readDouble());
+ }
+ input.popLimit(limit);
+ break;
+ } // case 58
+ case 66: {
+ com.google.protobuf.ByteString v = input.readBytes();
+ ensureBytesContentsIsMutable();
+ bytesContents_.add(v);
+ break;
+ } // case 66
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private com.google.protobuf.Internal.BooleanList boolContents_ = emptyBooleanList();
+ private void ensureBoolContentsIsMutable() {
+ if (!boolContents_.isModifiable()) {
+ boolContents_ = makeMutableCopy(boolContents_);
+ }
+ bitField0_ |= 0x00000001;
+ }
+ private void ensureBoolContentsIsMutable(int capacity) {
+ if (!boolContents_.isModifiable()) {
+ boolContents_ = makeMutableCopy(boolContents_, capacity);
+ }
+ bitField0_ |= 0x00000001;
+ }
+ /**
+ * repeated bool bool_contents = 1 [json_name = "boolContents"];
+ * @return A list containing the boolContents.
+ */
+ public java.util.List
+ getBoolContentsList() {
+ boolContents_.makeImmutable();
+ return boolContents_;
+ }
+ /**
+ * repeated bool bool_contents = 1 [json_name = "boolContents"];
+ * @return The count of boolContents.
+ */
+ public int getBoolContentsCount() {
+ return boolContents_.size();
+ }
+ /**
+ * repeated bool bool_contents = 1 [json_name = "boolContents"];
+ * @param index The index of the element to return.
+ * @return The boolContents at the given index.
+ */
+ public boolean getBoolContents(int index) {
+ return boolContents_.getBoolean(index);
+ }
+ /**
+ * repeated bool bool_contents = 1 [json_name = "boolContents"];
+ * @param index The index to set the value at.
+ * @param value The boolContents to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBoolContents(
+ int index, boolean value) {
+
+ ensureBoolContentsIsMutable();
+ boolContents_.setBoolean(index, value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated bool bool_contents = 1 [json_name = "boolContents"];
+ * @param value The boolContents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addBoolContents(boolean value) {
+
+ ensureBoolContentsIsMutable();
+ boolContents_.addBoolean(value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated bool bool_contents = 1 [json_name = "boolContents"];
+ * @param values The boolContents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllBoolContents(
+ java.lang.Iterable extends java.lang.Boolean> values) {
+ ensureBoolContentsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, boolContents_);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated bool bool_contents = 1 [json_name = "boolContents"];
+ * @return This builder for chaining.
+ */
+ public Builder clearBoolContents() {
+ boolContents_ = emptyBooleanList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.IntList intContents_ = emptyIntList();
+ private void ensureIntContentsIsMutable() {
+ if (!intContents_.isModifiable()) {
+ intContents_ = makeMutableCopy(intContents_);
+ }
+ bitField0_ |= 0x00000002;
+ }
+ /**
+ * repeated int32 int_contents = 2 [json_name = "intContents"];
+ * @return A list containing the intContents.
+ */
+ public java.util.List
+ getIntContentsList() {
+ intContents_.makeImmutable();
+ return intContents_;
+ }
+ /**
+ * repeated int32 int_contents = 2 [json_name = "intContents"];
+ * @return The count of intContents.
+ */
+ public int getIntContentsCount() {
+ return intContents_.size();
+ }
+ /**
+ * repeated int32 int_contents = 2 [json_name = "intContents"];
+ * @param index The index of the element to return.
+ * @return The intContents at the given index.
+ */
+ public int getIntContents(int index) {
+ return intContents_.getInt(index);
+ }
+ /**
+ * repeated int32 int_contents = 2 [json_name = "intContents"];
+ * @param index The index to set the value at.
+ * @param value The intContents to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIntContents(
+ int index, int value) {
+
+ ensureIntContentsIsMutable();
+ intContents_.setInt(index, value);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated int32 int_contents = 2 [json_name = "intContents"];
+ * @param value The intContents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addIntContents(int value) {
+
+ ensureIntContentsIsMutable();
+ intContents_.addInt(value);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated int32 int_contents = 2 [json_name = "intContents"];
+ * @param values The intContents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllIntContents(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureIntContentsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, intContents_);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated int32 int_contents = 2 [json_name = "intContents"];
+ * @return This builder for chaining.
+ */
+ public Builder clearIntContents() {
+ intContents_ = emptyIntList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.LongList int64Contents_ = emptyLongList();
+ private void ensureInt64ContentsIsMutable() {
+ if (!int64Contents_.isModifiable()) {
+ int64Contents_ = makeMutableCopy(int64Contents_);
+ }
+ bitField0_ |= 0x00000004;
+ }
+ /**
+ * repeated int64 int64_contents = 3 [json_name = "int64Contents"];
+ * @return A list containing the int64Contents.
+ */
+ public java.util.List
+ getInt64ContentsList() {
+ int64Contents_.makeImmutable();
+ return int64Contents_;
+ }
+ /**
+ * repeated int64 int64_contents = 3 [json_name = "int64Contents"];
+ * @return The count of int64Contents.
+ */
+ public int getInt64ContentsCount() {
+ return int64Contents_.size();
+ }
+ /**
+ * repeated int64 int64_contents = 3 [json_name = "int64Contents"];
+ * @param index The index of the element to return.
+ * @return The int64Contents at the given index.
+ */
+ public long getInt64Contents(int index) {
+ return int64Contents_.getLong(index);
+ }
+ /**
+ * repeated int64 int64_contents = 3 [json_name = "int64Contents"];
+ * @param index The index to set the value at.
+ * @param value The int64Contents to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInt64Contents(
+ int index, long value) {
+
+ ensureInt64ContentsIsMutable();
+ int64Contents_.setLong(index, value);
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated int64 int64_contents = 3 [json_name = "int64Contents"];
+ * @param value The int64Contents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addInt64Contents(long value) {
+
+ ensureInt64ContentsIsMutable();
+ int64Contents_.addLong(value);
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated int64 int64_contents = 3 [json_name = "int64Contents"];
+ * @param values The int64Contents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllInt64Contents(
+ java.lang.Iterable extends java.lang.Long> values) {
+ ensureInt64ContentsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, int64Contents_);
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated int64 int64_contents = 3 [json_name = "int64Contents"];
+ * @return This builder for chaining.
+ */
+ public Builder clearInt64Contents() {
+ int64Contents_ = emptyLongList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.IntList uintContents_ = emptyIntList();
+ private void ensureUintContentsIsMutable() {
+ if (!uintContents_.isModifiable()) {
+ uintContents_ = makeMutableCopy(uintContents_);
+ }
+ bitField0_ |= 0x00000008;
+ }
+ /**
+ * repeated uint32 uint_contents = 4 [json_name = "uintContents"];
+ * @return A list containing the uintContents.
+ */
+ public java.util.List
+ getUintContentsList() {
+ uintContents_.makeImmutable();
+ return uintContents_;
+ }
+ /**
+ * repeated uint32 uint_contents = 4 [json_name = "uintContents"];
+ * @return The count of uintContents.
+ */
+ public int getUintContentsCount() {
+ return uintContents_.size();
+ }
+ /**
+ * repeated uint32 uint_contents = 4 [json_name = "uintContents"];
+ * @param index The index of the element to return.
+ * @return The uintContents at the given index.
+ */
+ public int getUintContents(int index) {
+ return uintContents_.getInt(index);
+ }
+ /**
+ * repeated uint32 uint_contents = 4 [json_name = "uintContents"];
+ * @param index The index to set the value at.
+ * @param value The uintContents to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUintContents(
+ int index, int value) {
+
+ ensureUintContentsIsMutable();
+ uintContents_.setInt(index, value);
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 uint_contents = 4 [json_name = "uintContents"];
+ * @param value The uintContents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addUintContents(int value) {
+
+ ensureUintContentsIsMutable();
+ uintContents_.addInt(value);
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 uint_contents = 4 [json_name = "uintContents"];
+ * @param values The uintContents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllUintContents(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureUintContentsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, uintContents_);
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 uint_contents = 4 [json_name = "uintContents"];
+ * @return This builder for chaining.
+ */
+ public Builder clearUintContents() {
+ uintContents_ = emptyIntList();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.LongList uint64Contents_ = emptyLongList();
+ private void ensureUint64ContentsIsMutable() {
+ if (!uint64Contents_.isModifiable()) {
+ uint64Contents_ = makeMutableCopy(uint64Contents_);
+ }
+ bitField0_ |= 0x00000010;
+ }
+ /**
+ * repeated uint64 uint64_contents = 5 [json_name = "uint64Contents"];
+ * @return A list containing the uint64Contents.
+ */
+ public java.util.List
+ getUint64ContentsList() {
+ uint64Contents_.makeImmutable();
+ return uint64Contents_;
+ }
+ /**
+ * repeated uint64 uint64_contents = 5 [json_name = "uint64Contents"];
+ * @return The count of uint64Contents.
+ */
+ public int getUint64ContentsCount() {
+ return uint64Contents_.size();
+ }
+ /**
+ * repeated uint64 uint64_contents = 5 [json_name = "uint64Contents"];
+ * @param index The index of the element to return.
+ * @return The uint64Contents at the given index.
+ */
+ public long getUint64Contents(int index) {
+ return uint64Contents_.getLong(index);
+ }
+ /**
+ * repeated uint64 uint64_contents = 5 [json_name = "uint64Contents"];
+ * @param index The index to set the value at.
+ * @param value The uint64Contents to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUint64Contents(
+ int index, long value) {
+
+ ensureUint64ContentsIsMutable();
+ uint64Contents_.setLong(index, value);
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint64 uint64_contents = 5 [json_name = "uint64Contents"];
+ * @param value The uint64Contents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addUint64Contents(long value) {
+
+ ensureUint64ContentsIsMutable();
+ uint64Contents_.addLong(value);
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint64 uint64_contents = 5 [json_name = "uint64Contents"];
+ * @param values The uint64Contents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllUint64Contents(
+ java.lang.Iterable extends java.lang.Long> values) {
+ ensureUint64ContentsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, uint64Contents_);
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint64 uint64_contents = 5 [json_name = "uint64Contents"];
+ * @return This builder for chaining.
+ */
+ public Builder clearUint64Contents() {
+ uint64Contents_ = emptyLongList();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.FloatList fp32Contents_ = emptyFloatList();
+ private void ensureFp32ContentsIsMutable() {
+ if (!fp32Contents_.isModifiable()) {
+ fp32Contents_ = makeMutableCopy(fp32Contents_);
+ }
+ bitField0_ |= 0x00000020;
+ }
+ private void ensureFp32ContentsIsMutable(int capacity) {
+ if (!fp32Contents_.isModifiable()) {
+ fp32Contents_ = makeMutableCopy(fp32Contents_, capacity);
+ }
+ bitField0_ |= 0x00000020;
+ }
+ /**
+ * repeated float fp32_contents = 6 [json_name = "fp32Contents"];
+ * @return A list containing the fp32Contents.
+ */
+ public java.util.List
+ getFp32ContentsList() {
+ fp32Contents_.makeImmutable();
+ return fp32Contents_;
+ }
+ /**
+ * repeated float fp32_contents = 6 [json_name = "fp32Contents"];
+ * @return The count of fp32Contents.
+ */
+ public int getFp32ContentsCount() {
+ return fp32Contents_.size();
+ }
+ /**
+ * repeated float fp32_contents = 6 [json_name = "fp32Contents"];
+ * @param index The index of the element to return.
+ * @return The fp32Contents at the given index.
+ */
+ public float getFp32Contents(int index) {
+ return fp32Contents_.getFloat(index);
+ }
+ /**
+ * repeated float fp32_contents = 6 [json_name = "fp32Contents"];
+ * @param index The index to set the value at.
+ * @param value The fp32Contents to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFp32Contents(
+ int index, float value) {
+
+ ensureFp32ContentsIsMutable();
+ fp32Contents_.setFloat(index, value);
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated float fp32_contents = 6 [json_name = "fp32Contents"];
+ * @param value The fp32Contents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addFp32Contents(float value) {
+
+ ensureFp32ContentsIsMutable();
+ fp32Contents_.addFloat(value);
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated float fp32_contents = 6 [json_name = "fp32Contents"];
+ * @param values The fp32Contents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllFp32Contents(
+ java.lang.Iterable extends java.lang.Float> values) {
+ ensureFp32ContentsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, fp32Contents_);
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated float fp32_contents = 6 [json_name = "fp32Contents"];
+ * @return This builder for chaining.
+ */
+ public Builder clearFp32Contents() {
+ fp32Contents_ = emptyFloatList();
+ bitField0_ = (bitField0_ & ~0x00000020);
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.DoubleList fp64Contents_ = emptyDoubleList();
+ private void ensureFp64ContentsIsMutable() {
+ if (!fp64Contents_.isModifiable()) {
+ fp64Contents_ = makeMutableCopy(fp64Contents_);
+ }
+ bitField0_ |= 0x00000040;
+ }
+ private void ensureFp64ContentsIsMutable(int capacity) {
+ if (!fp64Contents_.isModifiable()) {
+ fp64Contents_ = makeMutableCopy(fp64Contents_, capacity);
+ }
+ bitField0_ |= 0x00000040;
+ }
+ /**
+ * repeated double fp64_contents = 7 [json_name = "fp64Contents"];
+ * @return A list containing the fp64Contents.
+ */
+ public java.util.List
+ getFp64ContentsList() {
+ fp64Contents_.makeImmutable();
+ return fp64Contents_;
+ }
+ /**
+ * repeated double fp64_contents = 7 [json_name = "fp64Contents"];
+ * @return The count of fp64Contents.
+ */
+ public int getFp64ContentsCount() {
+ return fp64Contents_.size();
+ }
+ /**
+ * repeated double fp64_contents = 7 [json_name = "fp64Contents"];
+ * @param index The index of the element to return.
+ * @return The fp64Contents at the given index.
+ */
+ public double getFp64Contents(int index) {
+ return fp64Contents_.getDouble(index);
+ }
+ /**
+ * repeated double fp64_contents = 7 [json_name = "fp64Contents"];
+ * @param index The index to set the value at.
+ * @param value The fp64Contents to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFp64Contents(
+ int index, double value) {
+
+ ensureFp64ContentsIsMutable();
+ fp64Contents_.setDouble(index, value);
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated double fp64_contents = 7 [json_name = "fp64Contents"];
+ * @param value The fp64Contents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addFp64Contents(double value) {
+
+ ensureFp64ContentsIsMutable();
+ fp64Contents_.addDouble(value);
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated double fp64_contents = 7 [json_name = "fp64Contents"];
+ * @param values The fp64Contents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllFp64Contents(
+ java.lang.Iterable extends java.lang.Double> values) {
+ ensureFp64ContentsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, fp64Contents_);
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated double fp64_contents = 7 [json_name = "fp64Contents"];
+ * @return This builder for chaining.
+ */
+ public Builder clearFp64Contents() {
+ fp64Contents_ = emptyDoubleList();
+ bitField0_ = (bitField0_ & ~0x00000040);
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.ProtobufList bytesContents_ = emptyList(com.google.protobuf.ByteString.class);
+ private void ensureBytesContentsIsMutable() {
+ if (!bytesContents_.isModifiable()) {
+ bytesContents_ = makeMutableCopy(bytesContents_);
+ }
+ bitField0_ |= 0x00000080;
+ }
+ /**
+ * repeated bytes bytes_contents = 8 [json_name = "bytesContents"];
+ * @return A list containing the bytesContents.
+ */
+ public java.util.List
+ getBytesContentsList() {
+ bytesContents_.makeImmutable();
+ return bytesContents_;
+ }
+ /**
+ * repeated bytes bytes_contents = 8 [json_name = "bytesContents"];
+ * @return The count of bytesContents.
+ */
+ public int getBytesContentsCount() {
+ return bytesContents_.size();
+ }
+ /**
+ * repeated bytes bytes_contents = 8 [json_name = "bytesContents"];
+ * @param index The index of the element to return.
+ * @return The bytesContents at the given index.
+ */
+ public com.google.protobuf.ByteString getBytesContents(int index) {
+ return bytesContents_.get(index);
+ }
+ /**
+ * repeated bytes bytes_contents = 8 [json_name = "bytesContents"];
+ * @param index The index to set the value at.
+ * @param value The bytesContents to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBytesContents(
+ int index, com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ ensureBytesContentsIsMutable();
+ bytesContents_.set(index, value);
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated bytes bytes_contents = 8 [json_name = "bytesContents"];
+ * @param value The bytesContents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addBytesContents(com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ ensureBytesContentsIsMutable();
+ bytesContents_.add(value);
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated bytes bytes_contents = 8 [json_name = "bytesContents"];
+ * @param values The bytesContents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllBytesContents(
+ java.lang.Iterable extends com.google.protobuf.ByteString> values) {
+ ensureBytesContentsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, bytesContents_);
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated bytes bytes_contents = 8 [json_name = "bytesContents"];
+ * @return This builder for chaining.
+ */
+ public Builder clearBytesContents() {
+ bytesContents_ = emptyList(com.google.protobuf.ByteString.class);
+ bitField0_ = (bitField0_ & ~0x00000080);
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:ssn.predictservice.v1.InferTensorContents)
+ }
+
+ // @@protoc_insertion_point(class_scope:ssn.predictservice.v1.InferTensorContents)
+ private static final ai.visma.ssn.predictservice.v1.InferTensorContents DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new ai.visma.ssn.predictservice.v1.InferTensorContents();
+ }
+
+ public static ai.visma.ssn.predictservice.v1.InferTensorContents getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public InferTensorContents parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public ai.visma.ssn.predictservice.v1.InferTensorContents getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/gen/java/ai/visma/ssn/predictservice/v1/InferTensorContentsOrBuilder.java b/gen/java/ai/visma/ssn/predictservice/v1/InferTensorContentsOrBuilder.java
new file mode 100644
index 00000000..c18189e7
--- /dev/null
+++ b/gen/java/ai/visma/ssn/predictservice/v1/InferTensorContentsOrBuilder.java
@@ -0,0 +1,147 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: ssn/predictservice/v1/predictservice.proto
+// Protobuf Java Version: 4.29.3
+
+package ai.visma.ssn.predictservice.v1;
+
+public interface InferTensorContentsOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:ssn.predictservice.v1.InferTensorContents)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * repeated bool bool_contents = 1 [json_name = "boolContents"];
+ * @return A list containing the boolContents.
+ */
+ java.util.List getBoolContentsList();
+ /**
+ * repeated bool bool_contents = 1 [json_name = "boolContents"];
+ * @return The count of boolContents.
+ */
+ int getBoolContentsCount();
+ /**
+ * repeated bool bool_contents = 1 [json_name = "boolContents"];
+ * @param index The index of the element to return.
+ * @return The boolContents at the given index.
+ */
+ boolean getBoolContents(int index);
+
+ /**
+ * repeated int32 int_contents = 2 [json_name = "intContents"];
+ * @return A list containing the intContents.
+ */
+ java.util.List getIntContentsList();
+ /**
+ * repeated int32 int_contents = 2 [json_name = "intContents"];
+ * @return The count of intContents.
+ */
+ int getIntContentsCount();
+ /**
+ * repeated int32 int_contents = 2 [json_name = "intContents"];
+ * @param index The index of the element to return.
+ * @return The intContents at the given index.
+ */
+ int getIntContents(int index);
+
+ /**
+ * repeated int64 int64_contents = 3 [json_name = "int64Contents"];
+ * @return A list containing the int64Contents.
+ */
+ java.util.List getInt64ContentsList();
+ /**
+ * repeated int64 int64_contents = 3 [json_name = "int64Contents"];
+ * @return The count of int64Contents.
+ */
+ int getInt64ContentsCount();
+ /**
+ * repeated int64 int64_contents = 3 [json_name = "int64Contents"];
+ * @param index The index of the element to return.
+ * @return The int64Contents at the given index.
+ */
+ long getInt64Contents(int index);
+
+ /**
+ * repeated uint32 uint_contents = 4 [json_name = "uintContents"];
+ * @return A list containing the uintContents.
+ */
+ java.util.List getUintContentsList();
+ /**
+ * repeated uint32 uint_contents = 4 [json_name = "uintContents"];
+ * @return The count of uintContents.
+ */
+ int getUintContentsCount();
+ /**
+ * repeated uint32 uint_contents = 4 [json_name = "uintContents"];
+ * @param index The index of the element to return.
+ * @return The uintContents at the given index.
+ */
+ int getUintContents(int index);
+
+ /**
+ * repeated uint64 uint64_contents = 5 [json_name = "uint64Contents"];
+ * @return A list containing the uint64Contents.
+ */
+ java.util.List getUint64ContentsList();
+ /**
+ * repeated uint64 uint64_contents = 5 [json_name = "uint64Contents"];
+ * @return The count of uint64Contents.
+ */
+ int getUint64ContentsCount();
+ /**
+ * repeated uint64 uint64_contents = 5 [json_name = "uint64Contents"];
+ * @param index The index of the element to return.
+ * @return The uint64Contents at the given index.
+ */
+ long getUint64Contents(int index);
+
+ /**
+ * repeated float fp32_contents = 6 [json_name = "fp32Contents"];
+ * @return A list containing the fp32Contents.
+ */
+ java.util.List getFp32ContentsList();
+ /**
+ * repeated float fp32_contents = 6 [json_name = "fp32Contents"];
+ * @return The count of fp32Contents.
+ */
+ int getFp32ContentsCount();
+ /**
+ * repeated float fp32_contents = 6 [json_name = "fp32Contents"];
+ * @param index The index of the element to return.
+ * @return The fp32Contents at the given index.
+ */
+ float getFp32Contents(int index);
+
+ /**
+ * repeated double fp64_contents = 7 [json_name = "fp64Contents"];
+ * @return A list containing the fp64Contents.
+ */
+ java.util.List getFp64ContentsList();
+ /**
+ * repeated double fp64_contents = 7 [json_name = "fp64Contents"];
+ * @return The count of fp64Contents.
+ */
+ int getFp64ContentsCount();
+ /**
+ * repeated double fp64_contents = 7 [json_name = "fp64Contents"];
+ * @param index The index of the element to return.
+ * @return The fp64Contents at the given index.
+ */
+ double getFp64Contents(int index);
+
+ /**
+ * repeated bytes bytes_contents = 8 [json_name = "bytesContents"];
+ * @return A list containing the bytesContents.
+ */
+ java.util.List getBytesContentsList();
+ /**
+ * repeated bytes bytes_contents = 8 [json_name = "bytesContents"];
+ * @return The count of bytesContents.
+ */
+ int getBytesContentsCount();
+ /**
+ * repeated bytes bytes_contents = 8 [json_name = "bytesContents"];
+ * @param index The index of the element to return.
+ * @return The bytesContents at the given index.
+ */
+ com.google.protobuf.ByteString getBytesContents(int index);
+}
diff --git a/gen/java/ai/visma/ssn/predictservice/v1/ModelInferRequest.java b/gen/java/ai/visma/ssn/predictservice/v1/ModelInferRequest.java
new file mode 100644
index 00000000..5f2b7f2b
--- /dev/null
+++ b/gen/java/ai/visma/ssn/predictservice/v1/ModelInferRequest.java
@@ -0,0 +1,4185 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: ssn/predictservice/v1/predictservice.proto
+// Protobuf Java Version: 4.29.3
+
+package ai.visma.ssn.predictservice.v1;
+
+/**
+ * Protobuf type {@code ssn.predictservice.v1.ModelInferRequest}
+ */
+public final class ModelInferRequest extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:ssn.predictservice.v1.ModelInferRequest)
+ ModelInferRequestOrBuilder {
+private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 29,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ ModelInferRequest.class.getName());
+ }
+ // Use ModelInferRequest.newBuilder() to construct.
+ private ModelInferRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private ModelInferRequest() {
+ modelName_ = "";
+ modelVersion_ = "";
+ id_ = "";
+ inputs_ = java.util.Collections.emptyList();
+ outputs_ = java.util.Collections.emptyList();
+ rawInputContents_ = emptyList(com.google.protobuf.ByteString.class);
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_ModelInferRequest_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 4:
+ return internalGetParameters();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_ModelInferRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ ai.visma.ssn.predictservice.v1.ModelInferRequest.class, ai.visma.ssn.predictservice.v1.ModelInferRequest.Builder.class);
+ }
+
+ public interface InferInputTensorOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:ssn.predictservice.v1.ModelInferRequest.InferInputTensor)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * string name = 1 [json_name = "name"];
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ * string name = 1 [json_name = "name"];
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
+
+ /**
+ * string datatype = 2 [json_name = "datatype"];
+ * @return The datatype.
+ */
+ java.lang.String getDatatype();
+ /**
+ * string datatype = 2 [json_name = "datatype"];
+ * @return The bytes for datatype.
+ */
+ com.google.protobuf.ByteString
+ getDatatypeBytes();
+
+ /**
+ * repeated int64 shape = 3 [json_name = "shape"];
+ * @return A list containing the shape.
+ */
+ java.util.List getShapeList();
+ /**
+ * repeated int64 shape = 3 [json_name = "shape"];
+ * @return The count of shape.
+ */
+ int getShapeCount();
+ /**
+ * repeated int64 shape = 3 [json_name = "shape"];
+ * @param index The index of the element to return.
+ * @return The shape at the given index.
+ */
+ long getShape(int index);
+
+ /**
+ * map<string, .ssn.predictservice.v1.InferParameter> parameters = 4 [json_name = "parameters"];
+ */
+ int getParametersCount();
+ /**
+ * map<string, .ssn.predictservice.v1.InferParameter> parameters = 4 [json_name = "parameters"];
+ */
+ boolean containsParameters(
+ java.lang.String key);
+ /**
+ * Use {@link #getParametersMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getParameters();
+ /**
+ * map<string, .ssn.predictservice.v1.InferParameter> parameters = 4 [json_name = "parameters"];
+ */
+ java.util.Map
+ getParametersMap();
+ /**
+ * map<string, .ssn.predictservice.v1.InferParameter> parameters = 4 [json_name = "parameters"];
+ */
+ /* nullable */
+ai.visma.ssn.predictservice.v1.InferParameter getParametersOrDefault(
+ java.lang.String key,
+ /* nullable */
+ai.visma.ssn.predictservice.v1.InferParameter defaultValue);
+ /**
+ * map<string, .ssn.predictservice.v1.InferParameter> parameters = 4 [json_name = "parameters"];
+ */
+ ai.visma.ssn.predictservice.v1.InferParameter getParametersOrThrow(
+ java.lang.String key);
+
+ /**
+ * .ssn.predictservice.v1.InferTensorContents contents = 5 [json_name = "contents"];
+ * @return Whether the contents field is set.
+ */
+ boolean hasContents();
+ /**
+ * .ssn.predictservice.v1.InferTensorContents contents = 5 [json_name = "contents"];
+ * @return The contents.
+ */
+ ai.visma.ssn.predictservice.v1.InferTensorContents getContents();
+ /**
+ * .ssn.predictservice.v1.InferTensorContents contents = 5 [json_name = "contents"];
+ */
+ ai.visma.ssn.predictservice.v1.InferTensorContentsOrBuilder getContentsOrBuilder();
+ }
+ /**
+ * Protobuf type {@code ssn.predictservice.v1.ModelInferRequest.InferInputTensor}
+ */
+ public static final class InferInputTensor extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:ssn.predictservice.v1.ModelInferRequest.InferInputTensor)
+ InferInputTensorOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 29,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ InferInputTensor.class.getName());
+ }
+ // Use InferInputTensor.newBuilder() to construct.
+ private InferInputTensor(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private InferInputTensor() {
+ name_ = "";
+ datatype_ = "";
+ shape_ = emptyLongList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_ModelInferRequest_InferInputTensor_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 4:
+ return internalGetParameters();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_ModelInferRequest_InferInputTensor_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ ai.visma.ssn.predictservice.v1.ModelInferRequest.InferInputTensor.class, ai.visma.ssn.predictservice.v1.ModelInferRequest.InferInputTensor.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int NAME_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
+ /**
+ * string name = 1 [json_name = "name"];
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ 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();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ * string name = 1 [json_name = "name"];
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DATATYPE_FIELD_NUMBER = 2;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object datatype_ = "";
+ /**
+ * string datatype = 2 [json_name = "datatype"];
+ * @return The datatype.
+ */
+ @java.lang.Override
+ public java.lang.String getDatatype() {
+ java.lang.Object ref = datatype_;
+ 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();
+ datatype_ = s;
+ return s;
+ }
+ }
+ /**
+ * string datatype = 2 [json_name = "datatype"];
+ * @return The bytes for datatype.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getDatatypeBytes() {
+ java.lang.Object ref = datatype_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ datatype_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int SHAPE_FIELD_NUMBER = 3;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.LongList shape_ =
+ emptyLongList();
+ /**
+ * repeated int64 shape = 3 [json_name = "shape"];
+ * @return A list containing the shape.
+ */
+ @java.lang.Override
+ public java.util.List
+ getShapeList() {
+ return shape_;
+ }
+ /**
+ * repeated int64 shape = 3 [json_name = "shape"];
+ * @return The count of shape.
+ */
+ public int getShapeCount() {
+ return shape_.size();
+ }
+ /**
+ * repeated int64 shape = 3 [json_name = "shape"];
+ * @param index The index of the element to return.
+ * @return The shape at the given index.
+ */
+ public long getShape(int index) {
+ return shape_.getLong(index);
+ }
+ private int shapeMemoizedSerializedSize = -1;
+
+ public static final int PARAMETERS_FIELD_NUMBER = 4;
+ private static final class ParametersDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, ai.visma.ssn.predictservice.v1.InferParameter> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ ai.visma.ssn.predictservice.v1.PredictserviceProto.internal_static_ssn_predictservice_v1_ModelInferRequest_InferInputTensor_ParametersEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.MESSAGE,
+ ai.visma.ssn.predictservice.v1.InferParameter.getDefaultInstance());
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.String, ai.visma.ssn.predictservice.v1.InferParameter> parameters_;
+ private com.google.protobuf.MapField