diff --git a/core/configure/proto/general_model_config.pb.go b/core/configure/proto/general_model_config.pb.go deleted file mode 100644 index 1b5ca4133c125b5fec540692d0bebd0923071cbd..0000000000000000000000000000000000000000 --- a/core/configure/proto/general_model_config.pb.go +++ /dev/null @@ -1,227 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: general_model_config.proto - -package baidu_paddle_serving_configure - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -type FeedVar struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - AliasName *string `protobuf:"bytes,2,opt,name=alias_name,json=aliasName" json:"alias_name,omitempty"` - IsLodTensor *bool `protobuf:"varint,3,opt,name=is_lod_tensor,json=isLodTensor,def=0" json:"is_lod_tensor,omitempty"` - FeedType *int32 `protobuf:"varint,4,opt,name=feed_type,json=feedType,def=0" json:"feed_type,omitempty"` - Shape []int32 `protobuf:"varint,5,rep,name=shape" json:"shape,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedVar) Reset() { *m = FeedVar{} } -func (m *FeedVar) String() string { return proto.CompactTextString(m) } -func (*FeedVar) ProtoMessage() {} -func (*FeedVar) Descriptor() ([]byte, []int) { - return fileDescriptor_efa52beffa29d37a, []int{0} -} - -func (m *FeedVar) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedVar.Unmarshal(m, b) -} -func (m *FeedVar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedVar.Marshal(b, m, deterministic) -} -func (m *FeedVar) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedVar.Merge(m, src) -} -func (m *FeedVar) XXX_Size() int { - return xxx_messageInfo_FeedVar.Size(m) -} -func (m *FeedVar) XXX_DiscardUnknown() { - xxx_messageInfo_FeedVar.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedVar proto.InternalMessageInfo - -const Default_FeedVar_IsLodTensor bool = false -const Default_FeedVar_FeedType int32 = 0 - -func (m *FeedVar) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *FeedVar) GetAliasName() string { - if m != nil && m.AliasName != nil { - return *m.AliasName - } - return "" -} - -func (m *FeedVar) GetIsLodTensor() bool { - if m != nil && m.IsLodTensor != nil { - return *m.IsLodTensor - } - return Default_FeedVar_IsLodTensor -} - -func (m *FeedVar) GetFeedType() int32 { - if m != nil && m.FeedType != nil { - return *m.FeedType - } - return Default_FeedVar_FeedType -} - -func (m *FeedVar) GetShape() []int32 { - if m != nil { - return m.Shape - } - return nil -} - -type FetchVar struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - AliasName *string `protobuf:"bytes,2,opt,name=alias_name,json=aliasName" json:"alias_name,omitempty"` - Shape []int32 `protobuf:"varint,3,rep,name=shape" json:"shape,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FetchVar) Reset() { *m = FetchVar{} } -func (m *FetchVar) String() string { return proto.CompactTextString(m) } -func (*FetchVar) ProtoMessage() {} -func (*FetchVar) Descriptor() ([]byte, []int) { - return fileDescriptor_efa52beffa29d37a, []int{1} -} - -func (m *FetchVar) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FetchVar.Unmarshal(m, b) -} -func (m *FetchVar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FetchVar.Marshal(b, m, deterministic) -} -func (m *FetchVar) XXX_Merge(src proto.Message) { - xxx_messageInfo_FetchVar.Merge(m, src) -} -func (m *FetchVar) XXX_Size() int { - return xxx_messageInfo_FetchVar.Size(m) -} -func (m *FetchVar) XXX_DiscardUnknown() { - xxx_messageInfo_FetchVar.DiscardUnknown(m) -} - -var xxx_messageInfo_FetchVar proto.InternalMessageInfo - -func (m *FetchVar) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *FetchVar) GetAliasName() string { - if m != nil && m.AliasName != nil { - return *m.AliasName - } - return "" -} - -func (m *FetchVar) GetShape() []int32 { - if m != nil { - return m.Shape - } - return nil -} - -type GeneralModelConfig struct { - FeedVar []*FeedVar `protobuf:"bytes,1,rep,name=feed_var,json=feedVar" json:"feed_var,omitempty"` - FetchVar []*FetchVar `protobuf:"bytes,2,rep,name=fetch_var,json=fetchVar" json:"fetch_var,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GeneralModelConfig) Reset() { *m = GeneralModelConfig{} } -func (m *GeneralModelConfig) String() string { return proto.CompactTextString(m) } -func (*GeneralModelConfig) ProtoMessage() {} -func (*GeneralModelConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_efa52beffa29d37a, []int{2} -} - -func (m *GeneralModelConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GeneralModelConfig.Unmarshal(m, b) -} -func (m *GeneralModelConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GeneralModelConfig.Marshal(b, m, deterministic) -} -func (m *GeneralModelConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeneralModelConfig.Merge(m, src) -} -func (m *GeneralModelConfig) XXX_Size() int { - return xxx_messageInfo_GeneralModelConfig.Size(m) -} -func (m *GeneralModelConfig) XXX_DiscardUnknown() { - xxx_messageInfo_GeneralModelConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_GeneralModelConfig proto.InternalMessageInfo - -func (m *GeneralModelConfig) GetFeedVar() []*FeedVar { - if m != nil { - return m.FeedVar - } - return nil -} - -func (m *GeneralModelConfig) GetFetchVar() []*FetchVar { - if m != nil { - return m.FetchVar - } - return nil -} - -func init() { - proto.RegisterType((*FeedVar)(nil), "baidu.paddle_serving.configure.FeedVar") - proto.RegisterType((*FetchVar)(nil), "baidu.paddle_serving.configure.FetchVar") - proto.RegisterType((*GeneralModelConfig)(nil), "baidu.paddle_serving.configure.GeneralModelConfig") -} - -func init() { proto.RegisterFile("general_model_config.proto", fileDescriptor_efa52beffa29d37a) } - -var fileDescriptor_efa52beffa29d37a = []byte{ - // 282 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x90, 0x41, 0x4b, 0xc3, 0x30, - 0x14, 0xc7, 0xc9, 0xba, 0xb2, 0xf5, 0x0d, 0x2f, 0xc1, 0x43, 0x11, 0x1c, 0x65, 0x17, 0xe3, 0xa5, - 0x88, 0xc7, 0x1d, 0x15, 0xe7, 0x45, 0x3d, 0xd4, 0xe1, 0x35, 0x3c, 0x9b, 0xd7, 0x36, 0x90, 0x35, - 0x25, 0xe9, 0x06, 0xfb, 0x30, 0xe2, 0x57, 0x95, 0xa6, 0x43, 0x3c, 0x29, 0x78, 0x7b, 0x79, 0xff, - 0xf0, 0xe3, 0xfd, 0x7f, 0x70, 0x51, 0x53, 0x4b, 0x0e, 0x8d, 0xdc, 0x59, 0x45, 0x46, 0x96, 0xb6, - 0xad, 0x74, 0x9d, 0x77, 0xce, 0xf6, 0x96, 0x2f, 0xdf, 0x51, 0xab, 0x7d, 0xde, 0xa1, 0x52, 0x86, - 0xa4, 0x27, 0x77, 0xd0, 0x6d, 0x9d, 0x8f, 0x5f, 0xf6, 0x8e, 0x56, 0x1f, 0x0c, 0x66, 0x1b, 0x22, - 0xf5, 0x86, 0x8e, 0x73, 0x98, 0xb6, 0xb8, 0xa3, 0x94, 0x65, 0x4c, 0x24, 0x45, 0x98, 0xf9,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