multi3.pb.go 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: multi/multi3.proto
  3. package multitest
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. type Multi3_HatType int32
  12. const (
  13. Multi3_FEDORA Multi3_HatType = 1
  14. Multi3_FEZ Multi3_HatType = 2
  15. )
  16. var Multi3_HatType_name = map[int32]string{
  17. 1: "FEDORA",
  18. 2: "FEZ",
  19. }
  20. var Multi3_HatType_value = map[string]int32{
  21. "FEDORA": 1,
  22. "FEZ": 2,
  23. }
  24. func (x Multi3_HatType) Enum() *Multi3_HatType {
  25. p := new(Multi3_HatType)
  26. *p = x
  27. return p
  28. }
  29. func (x Multi3_HatType) String() string {
  30. return proto.EnumName(Multi3_HatType_name, int32(x))
  31. }
  32. func (x *Multi3_HatType) UnmarshalJSON(data []byte) error {
  33. value, err := proto.UnmarshalJSONEnum(Multi3_HatType_value, data, "Multi3_HatType")
  34. if err != nil {
  35. return err
  36. }
  37. *x = Multi3_HatType(value)
  38. return nil
  39. }
  40. func (Multi3_HatType) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{0, 0} }
  41. type Multi3 struct {
  42. HatType *Multi3_HatType `protobuf:"varint,1,opt,name=hat_type,json=hatType,enum=multitest.Multi3_HatType" json:"hat_type,omitempty"`
  43. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  44. XXX_unrecognized []byte `json:"-"`
  45. XXX_sizecache int32 `json:"-"`
  46. }
  47. func (m *Multi3) Reset() { *m = Multi3{} }
  48. func (m *Multi3) String() string { return proto.CompactTextString(m) }
  49. func (*Multi3) ProtoMessage() {}
  50. func (*Multi3) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
  51. func (m *Multi3) Unmarshal(b []byte) error {
  52. return xxx_messageInfo_Multi3.Unmarshal(m, b)
  53. }
  54. func (m *Multi3) Marshal(b []byte, deterministic bool) ([]byte, error) {
  55. return xxx_messageInfo_Multi3.Marshal(b, m, deterministic)
  56. }
  57. func (dst *Multi3) XXX_Merge(src proto.Message) {
  58. xxx_messageInfo_Multi3.Merge(dst, src)
  59. }
  60. func (m *Multi3) XXX_Size() int {
  61. return xxx_messageInfo_Multi3.Size(m)
  62. }
  63. func (m *Multi3) XXX_DiscardUnknown() {
  64. xxx_messageInfo_Multi3.DiscardUnknown(m)
  65. }
  66. var xxx_messageInfo_Multi3 proto.InternalMessageInfo
  67. func (m *Multi3) GetHatType() Multi3_HatType {
  68. if m != nil && m.HatType != nil {
  69. return *m.HatType
  70. }
  71. return Multi3_FEDORA
  72. }
  73. func init() {
  74. proto.RegisterType((*Multi3)(nil), "multitest.Multi3")
  75. proto.RegisterEnum("multitest.Multi3_HatType", Multi3_HatType_name, Multi3_HatType_value)
  76. }
  77. func init() { proto.RegisterFile("multi/multi3.proto", fileDescriptor2) }
  78. var fileDescriptor2 = []byte{
  79. // 170 bytes of a gzipped FileDescriptorProto
  80. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xca, 0x2d, 0xcd, 0x29,
  81. 0xc9, 0xd4, 0x07, 0x93, 0xc6, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x9c, 0x60, 0x5e, 0x49,
  82. 0x6a, 0x71, 0x89, 0x52, 0x1c, 0x17, 0x9b, 0x2f, 0x58, 0x4a, 0xc8, 0x84, 0x8b, 0x23, 0x23, 0xb1,
  83. 0x24, 0xbe, 0xa4, 0xb2, 0x20, 0x55, 0x82, 0x51, 0x81, 0x51, 0x83, 0xcf, 0x48, 0x52, 0x0f, 0xae,
  84. 0x4e, 0x0f, 0xa2, 0x48, 0xcf, 0x23, 0xb1, 0x24, 0xa4, 0xb2, 0x20, 0x35, 0x88, 0x3d, 0x03, 0xc2,
  85. 0x50, 0x92, 0xe3, 0x62, 0x87, 0x8a, 0x09, 0x71, 0x71, 0xb1, 0xb9, 0xb9, 0xba, 0xf8, 0x07, 0x39,
  86. 0x0a, 0x30, 0x0a, 0xb1, 0x73, 0x31, 0xbb, 0xb9, 0x46, 0x09, 0x30, 0x39, 0x39, 0x47, 0x39, 0xa6,
  87. 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5,
  88. 0xeb, 0x83, 0x5d, 0x91, 0x54, 0x9a, 0x06, 0x61, 0x24, 0xeb, 0xa6, 0xa7, 0xe6, 0xe9, 0xa6, 0xe7,
  89. 0xeb, 0x83, 0x2c, 0x4a, 0x49, 0x2c, 0x49, 0x84, 0x38, 0xd6, 0x1a, 0x6e, 0x39, 0x20, 0x00, 0x00,
  90. 0xff, 0xff, 0xd5, 0xa4, 0x1a, 0x0e, 0xc4, 0x00, 0x00, 0x00,
  91. }