選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

123 行
3.9 KiB

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