/
get_model_metadata.pb.go
124 lines (107 loc) · 6.24 KB
/
get_model_metadata.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow_serving/apis/get_model_metadata.proto
package apis
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import google_protobuf1 "github.com/golang/protobuf/ptypes/any"
import tensorflow13 "github.com/kuberlab/tfservable-proxy/pkg/tensorflow/core/protobuf"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// Message returned for "signature_def" field.
type SignatureDefMap struct {
SignatureDef map[string]*tensorflow13.SignatureDef `protobuf:"bytes,1,rep,name=signature_def,json=signatureDef" json:"signature_def,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}
func (m *SignatureDefMap) Reset() { *m = SignatureDefMap{} }
func (m *SignatureDefMap) String() string { return proto.CompactTextString(m) }
func (*SignatureDefMap) ProtoMessage() {}
func (*SignatureDefMap) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (m *SignatureDefMap) GetSignatureDef() map[string]*tensorflow13.SignatureDef {
if m != nil {
return m.SignatureDef
}
return nil
}
type GetModelMetadataRequest struct {
// Model Specification indicating which model we are querying for metadata.
ModelSpec *ModelSpec `protobuf:"bytes,1,opt,name=model_spec,json=modelSpec" json:"model_spec,omitempty"`
// Metadata fields to get. Currently supported: "signature_def".
MetadataField []string `protobuf:"bytes,2,rep,name=metadata_field,json=metadataField" json:"metadata_field,omitempty"`
}
func (m *GetModelMetadataRequest) Reset() { *m = GetModelMetadataRequest{} }
func (m *GetModelMetadataRequest) String() string { return proto.CompactTextString(m) }
func (*GetModelMetadataRequest) ProtoMessage() {}
func (*GetModelMetadataRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
func (m *GetModelMetadataRequest) GetModelSpec() *ModelSpec {
if m != nil {
return m.ModelSpec
}
return nil
}
func (m *GetModelMetadataRequest) GetMetadataField() []string {
if m != nil {
return m.MetadataField
}
return nil
}
type GetModelMetadataResponse struct {
// Model Specification indicating which model this metadata belongs to.
ModelSpec *ModelSpec `protobuf:"bytes,1,opt,name=model_spec,json=modelSpec" json:"model_spec,omitempty"`
// Map of metadata field name to metadata field. The options for metadata
// field name are listed in GetModelMetadataRequest. Currently supported:
// "signature_def".
Metadata map[string]*google_protobuf1.Any `protobuf:"bytes,2,rep,name=metadata" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}
func (m *GetModelMetadataResponse) Reset() { *m = GetModelMetadataResponse{} }
func (m *GetModelMetadataResponse) String() string { return proto.CompactTextString(m) }
func (*GetModelMetadataResponse) ProtoMessage() {}
func (*GetModelMetadataResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
func (m *GetModelMetadataResponse) GetModelSpec() *ModelSpec {
if m != nil {
return m.ModelSpec
}
return nil
}
func (m *GetModelMetadataResponse) GetMetadata() map[string]*google_protobuf1.Any {
if m != nil {
return m.Metadata
}
return nil
}
func init() {
proto.RegisterType((*SignatureDefMap)(nil), "tensorflow.serving.SignatureDefMap")
proto.RegisterType((*GetModelMetadataRequest)(nil), "tensorflow.serving.GetModelMetadataRequest")
proto.RegisterType((*GetModelMetadataResponse)(nil), "tensorflow.serving.GetModelMetadataResponse")
}
func init() { proto.RegisterFile("tensorflow_serving/apis/get_model_metadata.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
// 405 bytes of a gzipped FileDescri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