ggclassefity.pb.go 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: ggclassefity.proto
  3. //声明 包名
  4. package proto
  5. import (
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. math "math"
  9. )
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  19. //分类请求结构体
  20. type ClfReq struct {
  21. Item []float32 `protobuf:"fixed32,1,rep,packed,name=item,proto3" json:"item,omitempty"`
  22. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  23. XXX_unrecognized []byte `json:"-"`
  24. XXX_sizecache int32 `json:"-"`
  25. }
  26. func (m *ClfReq) Reset() { *m = ClfReq{} }
  27. func (m *ClfReq) String() string { return proto.CompactTextString(m) }
  28. func (*ClfReq) ProtoMessage() {}
  29. func (*ClfReq) Descriptor() ([]byte, []int) {
  30. return fileDescriptor_5b0d598141a86c23, []int{0}
  31. }
  32. func (m *ClfReq) XXX_Unmarshal(b []byte) error {
  33. return xxx_messageInfo_ClfReq.Unmarshal(m, b)
  34. }
  35. func (m *ClfReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  36. return xxx_messageInfo_ClfReq.Marshal(b, m, deterministic)
  37. }
  38. func (m *ClfReq) XXX_Merge(src proto.Message) {
  39. xxx_messageInfo_ClfReq.Merge(m, src)
  40. }
  41. func (m *ClfReq) XXX_Size() int {
  42. return xxx_messageInfo_ClfReq.Size(m)
  43. }
  44. func (m *ClfReq) XXX_DiscardUnknown() {
  45. xxx_messageInfo_ClfReq.DiscardUnknown(m)
  46. }
  47. var xxx_messageInfo_ClfReq proto.InternalMessageInfo
  48. func (m *ClfReq) GetItem() []float32 {
  49. if m != nil {
  50. return m.Item
  51. }
  52. return nil
  53. }
  54. type ClfResp struct {
  55. Item []int32 `protobuf:"varint,1,rep,packed,name=item,proto3" json:"item,omitempty"`
  56. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  57. XXX_unrecognized []byte `json:"-"`
  58. XXX_sizecache int32 `json:"-"`
  59. }
  60. func (m *ClfResp) Reset() { *m = ClfResp{} }
  61. func (m *ClfResp) String() string { return proto.CompactTextString(m) }
  62. func (*ClfResp) ProtoMessage() {}
  63. func (*ClfResp) Descriptor() ([]byte, []int) {
  64. return fileDescriptor_5b0d598141a86c23, []int{1}
  65. }
  66. func (m *ClfResp) XXX_Unmarshal(b []byte) error {
  67. return xxx_messageInfo_ClfResp.Unmarshal(m, b)
  68. }
  69. func (m *ClfResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  70. return xxx_messageInfo_ClfResp.Marshal(b, m, deterministic)
  71. }
  72. func (m *ClfResp) XXX_Merge(src proto.Message) {
  73. xxx_messageInfo_ClfResp.Merge(m, src)
  74. }
  75. func (m *ClfResp) XXX_Size() int {
  76. return xxx_messageInfo_ClfResp.Size(m)
  77. }
  78. func (m *ClfResp) XXX_DiscardUnknown() {
  79. xxx_messageInfo_ClfResp.DiscardUnknown(m)
  80. }
  81. var xxx_messageInfo_ClfResp proto.InternalMessageInfo
  82. func (m *ClfResp) GetItem() []int32 {
  83. if m != nil {
  84. return m.Item
  85. }
  86. return nil
  87. }
  88. func init() {
  89. proto.RegisterType((*ClfReq)(nil), "proto.ClfReq")
  90. proto.RegisterType((*ClfResp)(nil), "proto.ClfResp")
  91. }
  92. func init() {
  93. proto.RegisterFile("ggclassefity.proto", fileDescriptor_5b0d598141a86c23)
  94. }
  95. var fileDescriptor_5b0d598141a86c23 = []byte{
  96. // 92 bytes of a gzipped FileDescriptorProto
  97. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4a, 0x4f, 0x4f, 0xce,
  98. 0x49, 0x2c, 0x2e, 0x4e, 0x4d, 0xcb, 0x2c, 0xa9, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62,
  99. 0x05, 0x53, 0x4a, 0x32, 0x5c, 0x6c, 0xce, 0x39, 0x69, 0x41, 0xa9, 0x85, 0x42, 0x42, 0x5c, 0x2c,
  100. 0x99, 0x25, 0xa9, 0xb9, 0x12, 0x8c, 0x0a, 0xcc, 0x1a, 0x4c, 0x41, 0x60, 0xb6, 0x92, 0x2c, 0x17,
  101. 0x3b, 0x58, 0xb6, 0xb8, 0x00, 0x45, 0x9a, 0x15, 0x22, 0x9d, 0xc4, 0x06, 0x36, 0xc3, 0x18, 0x10,
  102. 0x00, 0x00, 0xff, 0xff, 0x0d, 0x91, 0xe5, 0xf9, 0x60, 0x00, 0x00, 0x00,
  103. }