common.pb.go 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: common.proto
  3. package common
  4. import (
  5. fmt "fmt"
  6. proto "github.com/golang/protobuf/proto"
  7. math "math"
  8. )
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  18. type User struct {
  19. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  20. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  21. XXX_unrecognized []byte `json:"-"`
  22. XXX_sizecache int32 `json:"-"`
  23. }
  24. func (m *User) Reset() { *m = User{} }
  25. func (m *User) String() string { return proto.CompactTextString(m) }
  26. func (*User) ProtoMessage() {}
  27. func (*User) Descriptor() ([]byte, []int) {
  28. return fileDescriptor_555bd8c177793206, []int{0}
  29. }
  30. func (m *User) XXX_Unmarshal(b []byte) error {
  31. return xxx_messageInfo_User.Unmarshal(m, b)
  32. }
  33. func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  34. return xxx_messageInfo_User.Marshal(b, m, deterministic)
  35. }
  36. func (m *User) XXX_Merge(src proto.Message) {
  37. xxx_messageInfo_User.Merge(m, src)
  38. }
  39. func (m *User) XXX_Size() int {
  40. return xxx_messageInfo_User.Size(m)
  41. }
  42. func (m *User) XXX_DiscardUnknown() {
  43. xxx_messageInfo_User.DiscardUnknown(m)
  44. }
  45. var xxx_messageInfo_User proto.InternalMessageInfo
  46. func (m *User) GetName() string {
  47. if m != nil {
  48. return m.Name
  49. }
  50. return ""
  51. }
  52. func init() {
  53. proto.RegisterType((*User)(nil), "common.User")
  54. }
  55. func init() { proto.RegisterFile("common.proto", fileDescriptor_555bd8c177793206) }
  56. var fileDescriptor_555bd8c177793206 = []byte{
  57. // 72 bytes of a gzipped FileDescriptorProto
  58. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x49, 0xce, 0xcf, 0xcd,
  59. 0xcd, 0xcf, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x83, 0xf0, 0x94, 0xa4, 0xb8, 0x58,
  60. 0x42, 0x8b, 0x53, 0x8b, 0x84, 0x84, 0xb8, 0x58, 0xf2, 0x12, 0x73, 0x53, 0x25, 0x18, 0x15, 0x18,
  61. 0x35, 0x38, 0x83, 0xc0, 0xec, 0x24, 0x36, 0xb0, 0x52, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff,
  62. 0x2c, 0x6d, 0x58, 0x59, 0x3a, 0x00, 0x00, 0x00,
  63. }