123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: ggclassefity.proto
- //声明 包名
- package proto
- 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 ClfReq struct {
- Item []float32 `protobuf:"fixed32,1,rep,packed,name=item,proto3" json:"item,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ClfReq) Reset() { *m = ClfReq{} }
- func (m *ClfReq) String() string { return proto.CompactTextString(m) }
- func (*ClfReq) ProtoMessage() {}
- func (*ClfReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_5b0d598141a86c23, []int{0}
- }
- func (m *ClfReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ClfReq.Unmarshal(m, b)
- }
- func (m *ClfReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ClfReq.Marshal(b, m, deterministic)
- }
- func (m *ClfReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ClfReq.Merge(m, src)
- }
- func (m *ClfReq) XXX_Size() int {
- return xxx_messageInfo_ClfReq.Size(m)
- }
- func (m *ClfReq) XXX_DiscardUnknown() {
- xxx_messageInfo_ClfReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_ClfReq proto.InternalMessageInfo
- func (m *ClfReq) GetItem() []float32 {
- if m != nil {
- return m.Item
- }
- return nil
- }
- type ClfResp struct {
- Item []int32 `protobuf:"varint,1,rep,packed,name=item,proto3" json:"item,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ClfResp) Reset() { *m = ClfResp{} }
- func (m *ClfResp) String() string { return proto.CompactTextString(m) }
- func (*ClfResp) ProtoMessage() {}
- func (*ClfResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_5b0d598141a86c23, []int{1}
- }
- func (m *ClfResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ClfResp.Unmarshal(m, b)
- }
- func (m *ClfResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ClfResp.Marshal(b, m, deterministic)
- }
- func (m *ClfResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ClfResp.Merge(m, src)
- }
- func (m *ClfResp) XXX_Size() int {
- return xxx_messageInfo_ClfResp.Size(m)
- }
- func (m *ClfResp) XXX_DiscardUnknown() {
- xxx_messageInfo_ClfResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_ClfResp proto.InternalMessageInfo
- func (m *ClfResp) GetItem() []int32 {
- if m != nil {
- return m.Item
- }
- return nil
- }
- func init() {
- proto.RegisterType((*ClfReq)(nil), "proto.ClfReq")
- proto.RegisterType((*ClfResp)(nil), "proto.ClfResp")
- }
- func init() {
- proto.RegisterFile("ggclassefity.proto", fileDescriptor_5b0d598141a86c23)
- }
- var fileDescriptor_5b0d598141a86c23 = []byte{
- // 92 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4a, 0x4f, 0x4f, 0xce,
- 0x49, 0x2c, 0x2e, 0x4e, 0x4d, 0xcb, 0x2c, 0xa9, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62,
- 0x05, 0x53, 0x4a, 0x32, 0x5c, 0x6c, 0xce, 0x39, 0x69, 0x41, 0xa9, 0x85, 0x42, 0x42, 0x5c, 0x2c,
- 0x99, 0x25, 0xa9, 0xb9, 0x12, 0x8c, 0x0a, 0xcc, 0x1a, 0x4c, 0x41, 0x60, 0xb6, 0x92, 0x2c, 0x17,
- 0x3b, 0x58, 0xb6, 0xb8, 0x00, 0x45, 0x9a, 0x15, 0x22, 0x9d, 0xc4, 0x06, 0x36, 0xc3, 0x18, 0x10,
- 0x00, 0x00, 0xff, 0xff, 0x0d, 0x91, 0xe5, 0xf9, 0x60, 0x00, 0x00, 0x00,
- }
|