github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/golang/protobuf/proto/proto3_proto/proto3.pb.go (about)

     1  // Code generated by protoc-gen-go.
     2  // source: proto3_proto/proto3.proto
     3  // DO NOT EDIT!
     4  
     5  /*
     6  Package proto3_proto is a generated protocol buffer package.
     7  
     8  It is generated from these files:
     9  	proto3_proto/proto3.proto
    10  
    11  It has these top-level messages:
    12  	Message
    13  	Nested
    14  	MessageWithMap
    15  */
    16  package proto3_proto
    17  
    18  import proto "github.com/insionng/yougam/libraries/golang/protobuf/proto"
    19  import fmt "fmt"
    20  import math "math"
    21  import google_protobuf "github.com/insionng/yougam/libraries/golang/protobuf/ptypes/any"
    22  import testdata "github.com/insionng/yougam/libraries/golang/protobuf/proto/testdata"
    23  
    24  // Reference imports to suppress errors if they are not otherwise used.
    25  var _ = proto.Marshal
    26  var _ = fmt.Errorf
    27  var _ = math.Inf
    28  
    29  // This is a compile-time assertion to ensure that this generated file
    30  // is compatible with the proto package it is being compiled against.
    31  const _ = proto.ProtoPackageIsVersion1
    32  
    33  type Message_Humour int32
    34  
    35  const (
    36  	Message_UNKNOWN     Message_Humour = 0
    37  	Message_PUNS        Message_Humour = 1
    38  	Message_SLAPSTICK   Message_Humour = 2
    39  	Message_BILL_BAILEY Message_Humour = 3
    40  )
    41  
    42  var Message_Humour_name = map[int32]string{
    43  	0: "UNKNOWN",
    44  	1: "PUNS",
    45  	2: "SLAPSTICK",
    46  	3: "BILL_BAILEY",
    47  }
    48  var Message_Humour_value = map[string]int32{
    49  	"UNKNOWN":     0,
    50  	"PUNS":        1,
    51  	"SLAPSTICK":   2,
    52  	"BILL_BAILEY": 3,
    53  }
    54  
    55  func (x Message_Humour) String() string {
    56  	return proto.EnumName(Message_Humour_name, int32(x))
    57  }
    58  func (Message_Humour) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
    59  
    60  type Message struct {
    61  	Name         string                           `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    62  	Hilarity     Message_Humour                   `protobuf:"varint,2,opt,name=hilarity,enum=proto3_proto.Message_Humour" json:"hilarity,omitempty"`
    63  	HeightInCm   uint32                           `protobuf:"varint,3,opt,name=height_in_cm,json=heightInCm" json:"height_in_cm,omitempty"`
    64  	Data         []byte                           `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
    65  	ResultCount  int64                            `protobuf:"varint,7,opt,name=result_count,json=resultCount" json:"result_count,omitempty"`
    66  	TrueScotsman bool                             `protobuf:"varint,8,opt,name=true_scotsman,json=trueScotsman" json:"true_scotsman,omitempty"`
    67  	Score        float32                          `protobuf:"fixed32,9,opt,name=score" json:"score,omitempty"`
    68  	Key          []uint64                         `protobuf:"varint,5,rep,name=key" json:"key,omitempty"`
    69  	Nested       *Nested                          `protobuf:"bytes,6,opt,name=nested" json:"nested,omitempty"`
    70  	RFunny       []Message_Humour                 `protobuf:"varint,16,rep,name=r_funny,json=rFunny,enum=proto3_proto.Message_Humour" json:"r_funny,omitempty"`
    71  	Terrain      map[string]*Nested               `protobuf:"bytes,10,rep,name=terrain" json:"terrain,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
    72  	Proto2Field  *testdata.SubDefaults            `protobuf:"bytes,11,opt,name=proto2_field,json=proto2Field" json:"proto2_field,omitempty"`
    73  	Proto2Value  map[string]*testdata.SubDefaults `protobuf:"bytes,13,rep,name=proto2_value,json=proto2Value" json:"proto2_value,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
    74  	Anything     *google_protobuf.Any             `protobuf:"bytes,14,opt,name=anything" json:"anything,omitempty"`
    75  	ManyThings   []*google_protobuf.Any           `protobuf:"bytes,15,rep,name=many_things,json=manyThings" json:"many_things,omitempty"`
    76  }
    77  
    78  func (m *Message) Reset()                    { *m = Message{} }
    79  func (m *Message) String() string            { return proto.CompactTextString(m) }
    80  func (*Message) ProtoMessage()               {}
    81  func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
    82  
    83  func (m *Message) GetNested() *Nested {
    84  	if m != nil {
    85  		return m.Nested
    86  	}
    87  	return nil
    88  }
    89  
    90  func (m *Message) GetTerrain() map[string]*Nested {
    91  	if m != nil {
    92  		return m.Terrain
    93  	}
    94  	return nil
    95  }
    96  
    97  func (m *Message) GetProto2Field() *testdata.SubDefaults {
    98  	if m != nil {
    99  		return m.Proto2Field
   100  	}
   101  	return nil
   102  }
   103  
   104  func (m *Message) GetProto2Value() map[string]*testdata.SubDefaults {
   105  	if m != nil {
   106  		return m.Proto2Value
   107  	}
   108  	return nil
   109  }
   110  
   111  func (m *Message) GetAnything() *google_protobuf.Any {
   112  	if m != nil {
   113  		return m.Anything
   114  	}
   115  	return nil
   116  }
   117  
   118  func (m *Message) GetManyThings() []*google_protobuf.Any {
   119  	if m != nil {
   120  		return m.ManyThings
   121  	}
   122  	return nil
   123  }
   124  
   125  type Nested struct {
   126  	Bunny string `protobuf:"bytes,1,opt,name=bunny" json:"bunny,omitempty"`
   127  }
   128  
   129  func (m *Nested) Reset()                    { *m = Nested{} }
   130  func (m *Nested) String() string            { return proto.CompactTextString(m) }
   131  func (*Nested) ProtoMessage()               {}
   132  func (*Nested) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
   133  
   134  type MessageWithMap struct {
   135  	ByteMapping map[bool][]byte `protobuf:"bytes,1,rep,name=byte_mapping,json=byteMapping" json:"byte_mapping,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"`
   136  }
   137  
   138  func (m *MessageWithMap) Reset()                    { *m = MessageWithMap{} }
   139  func (m *MessageWithMap) String() string            { return proto.CompactTextString(m) }
   140  func (*MessageWithMap) ProtoMessage()               {}
   141  func (*MessageWithMap) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
   142  
   143  func (m *MessageWithMap) GetByteMapping() map[bool][]byte {
   144  	if m != nil {
   145  		return m.ByteMapping
   146  	}
   147  	return nil
   148  }
   149  
   150  func init() {
   151  	proto.RegisterType((*Message)(nil), "proto3_proto.Message")
   152  	proto.RegisterType((*Nested)(nil), "proto3_proto.Nested")
   153  	proto.RegisterType((*MessageWithMap)(nil), "proto3_proto.MessageWithMap")
   154  	proto.RegisterEnum("proto3_proto.Message_Humour", Message_Humour_name, Message_Humour_value)
   155  }
   156  
   157  var fileDescriptor0 = []byte{
   158  	// 617 bytes of a gzipped FileDescriptorProto
   159  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x92, 0x5d, 0x6b, 0xdb, 0x3c,
   160  	0x14, 0xc7, 0x1f, 0xc5, 0xa9, 0x93, 0x1e, 0x3b, 0xad, 0xd1, 0xd3, 0x81, 0x1a, 0xc6, 0xf0, 0x32,
   161  	0x18, 0x66, 0x2f, 0xee, 0xc8, 0x28, 0x94, 0x31, 0x36, 0xda, 0xae, 0x65, 0xa1, 0x69, 0x16, 0x9c,
   162  	0x76, 0x65, 0x57, 0x46, 0x49, 0x95, 0xc4, 0x2c, 0x96, 0x83, 0x2d, 0x0f, 0xfc, 0x75, 0xf6, 0x29,
   163  	0x77, 0x39, 0x24, 0x39, 0xa9, 0x5b, 0xb2, 0xed, 0xca, 0xd2, 0xf1, 0xef, 0xbc, 0xe8, 0xff, 0x3f,
   164  	0xb0, 0xbf, 0x4c, 0x13, 0x91, 0xbc, 0x0d, 0xd5, 0xe7, 0x40, 0x5f, 0x7c, 0xf5, 0xc1, 0x76, 0xf5,
   165  	0x57, 0x7b, 0x7f, 0x96, 0x24, 0xb3, 0x05, 0xd3, 0xc8, 0x38, 0x9f, 0x1e, 0x50, 0x5e, 0x68, 0xb0,
   166  	0xfd, 0xbf, 0x60, 0x99, 0xb8, 0xa5, 0x82, 0x1e, 0xc8, 0x83, 0x0e, 0x76, 0x7e, 0x99, 0xd0, 0xb8,
   167  	0x64, 0x59, 0x46, 0x67, 0x0c, 0x63, 0xa8, 0x73, 0x1a, 0x33, 0x82, 0x5c, 0xe4, 0x6d, 0x07, 0xea,
   168  	0x8c, 0x8f, 0xa0, 0x39, 0x8f, 0x16, 0x34, 0x8d, 0x44, 0x41, 0x6a, 0x2e, 0xf2, 0x76, 0xba, 0x8f,
   169  	0xfd, 0x6a, 0x43, 0xbf, 0x4c, 0xf6, 0x3f, 0xe7, 0x71, 0x92, 0xa7, 0xc1, 0x9a, 0xc6, 0x2e, 0xd8,
   170  	0x73, 0x16, 0xcd, 0xe6, 0x22, 0x8c, 0x78, 0x38, 0x89, 0x89, 0xe1, 0x22, 0xaf, 0x15, 0x80, 0x8e,
   171  	0xf5, 0xf8, 0x69, 0x2c, 0xfb, 0xc9, 0x71, 0x48, 0xdd, 0x45, 0x9e, 0x1d, 0xa8, 0x33, 0x7e, 0x0a,
   172  	0x76, 0xca, 0xb2, 0x7c, 0x21, 0xc2, 0x49, 0x92, 0x73, 0x41, 0x1a, 0x2e, 0xf2, 0x8c, 0xc0, 0xd2,
   173  	0xb1, 0x53, 0x19, 0xc2, 0xcf, 0xa0, 0x25, 0xd2, 0x9c, 0x85, 0xd9, 0x24, 0x11, 0x59, 0x4c, 0x39,
   174  	0x69, 0xba, 0xc8, 0x6b, 0x06, 0xb6, 0x0c, 0x8e, 0xca, 0x18, 0xde, 0x83, 0xad, 0x6c, 0x92, 0xa4,
   175  	0x8c, 0x6c, 0xbb, 0xc8, 0xab, 0x05, 0xfa, 0x82, 0x1d, 0x30, 0xbe, 0xb3, 0x82, 0x6c, 0xb9, 0x86,
   176  	0x57, 0x0f, 0xe4, 0x11, 0xbf, 0x02, 0x93, 0xb3, 0x4c, 0xb0, 0x5b, 0x62, 0xba, 0xc8, 0xb3, 0xba,
   177  	0x7b, 0xf7, 0x5f, 0x37, 0x50, 0xff, 0x82, 0x92, 0xc1, 0x87, 0xd0, 0x48, 0xc3, 0x69, 0xce, 0x79,
   178  	0x41, 0x1c, 0xd7, 0xf8, 0xa7, 0x18, 0x66, 0x7a, 0x2e, 0x59, 0xfc, 0x1e, 0x1a, 0x82, 0xa5, 0x29,
   179  	0x8d, 0x38, 0x01, 0xd7, 0xf0, 0xac, 0x6e, 0x67, 0x73, 0xda, 0x95, 0x86, 0xce, 0xb8, 0x48, 0x8b,
   180  	0x60, 0x95, 0x82, 0x8f, 0x40, 0x5b, 0xdc, 0x0d, 0xa7, 0x11, 0x5b, 0xdc, 0x12, 0x4b, 0x0d, 0xfa,
   181  	0xc8, 0x5f, 0xd9, 0xe9, 0x8f, 0xf2, 0xf1, 0x27, 0x36, 0xa5, 0xf9, 0x42, 0x64, 0x81, 0xa5, 0xd1,
   182  	0x73, 0x49, 0xe2, 0xde, 0x3a, 0xf3, 0x07, 0x5d, 0xe4, 0x8c, 0xb4, 0x54, 0xf3, 0xe7, 0x9b, 0x9b,
   183  	0x0f, 0x15, 0xf9, 0x55, 0x82, 0x7a, 0x80, 0xb2, 0x94, 0x8a, 0xe0, 0x37, 0xd0, 0xa4, 0xbc, 0x10,
   184  	0xf3, 0x88, 0xcf, 0xc8, 0x4e, 0xa9, 0x94, 0x5e, 0x35, 0x7f, 0xb5, 0x6a, 0xfe, 0x31, 0x2f, 0x82,
   185  	0x35, 0x85, 0x0f, 0xc1, 0x8a, 0x29, 0x2f, 0x42, 0x75, 0xcb, 0xc8, 0xae, 0xea, 0xbd, 0x39, 0x09,
   186  	0x24, 0x78, 0xa5, 0xb8, 0xf6, 0x10, 0xec, 0xaa, 0x0c, 0x2b, 0xcb, 0xf4, 0x4e, 0x2a, 0xcb, 0x5e,
   187  	0xc0, 0x96, 0x7e, 0x4e, 0xed, 0x2f, 0x8e, 0x69, 0xe4, 0x5d, 0xed, 0x08, 0xb5, 0xaf, 0xc1, 0x79,
   188  	0xf8, 0xb6, 0x0d, 0x55, 0x5f, 0xde, 0xaf, 0xfa, 0x07, 0x79, 0xef, 0xca, 0x76, 0x3e, 0x82, 0xa9,
   189  	0x6d, 0xc6, 0x16, 0x34, 0xae, 0x07, 0x17, 0x83, 0x2f, 0x37, 0x03, 0xe7, 0x3f, 0xdc, 0x84, 0xfa,
   190  	0xf0, 0x7a, 0x30, 0x72, 0x10, 0x6e, 0xc1, 0xf6, 0xa8, 0x7f, 0x3c, 0x1c, 0x5d, 0xf5, 0x4e, 0x2f,
   191  	0x9c, 0x1a, 0xde, 0x05, 0xeb, 0xa4, 0xd7, 0xef, 0x87, 0x27, 0xc7, 0xbd, 0xfe, 0xd9, 0x37, 0xc7,
   192  	0xe8, 0x3c, 0x01, 0x53, 0x0f, 0x2b, 0x97, 0x75, 0xac, 0x96, 0x4a, 0xcf, 0xa3, 0x2f, 0x9d, 0x9f,
   193  	0x08, 0x76, 0x4a, 0x73, 0x6e, 0x22, 0x31, 0xbf, 0xa4, 0x4b, 0x3c, 0x04, 0x7b, 0x5c, 0x08, 0x16,
   194  	0xc6, 0x74, 0xb9, 0x94, 0x4e, 0x20, 0x25, 0xea, 0xeb, 0x8d, 0x86, 0x96, 0x39, 0xfe, 0x49, 0x21,
   195  	0xd8, 0xa5, 0xe6, 0x4b, 0x5f, 0xc7, 0x77, 0x91, 0xf6, 0x07, 0x70, 0x1e, 0x02, 0x55, 0x71, 0x9a,
   196  	0x5a, 0x9c, 0xbd, 0xaa, 0x38, 0x76, 0x45, 0x85, 0xb1, 0xa9, 0x5b, 0xff, 0x0e, 0x00, 0x00, 0xff,
   197  	0xff, 0x54, 0x4a, 0xfa, 0x41, 0xa1, 0x04, 0x00, 0x00,
   198  }