1
2
3
4 package sub2
5
6 import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
9 math "math"
10 )
11
12
13 var _ = proto.Marshal
14 var _ = fmt.Errorf
15 var _ = math.Inf
16
17
18
19
20
21 const _ = proto.ProtoPackageIsVersion3
22
23 type IdMessage struct {
24 Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
25 XXX_NoUnkeyedLiteral struct{} `json:"-"`
26 XXX_unrecognized []byte `json:"-"`
27 XXX_sizecache int32 `json:"-"`
28 }
29
30 func (m *IdMessage) Reset() { *m = IdMessage{} }
31 func (m *IdMessage) String() string { return proto.CompactTextString(m) }
32 func (*IdMessage) ProtoMessage() {}
33 func (*IdMessage) Descriptor() ([]byte, []int) {
34 return fileDescriptor_050dd68add910843, []int{0}
35 }
36
37 func (m *IdMessage) XXX_Unmarshal(b []byte) error {
38 return xxx_messageInfo_IdMessage.Unmarshal(m, b)
39 }
40 func (m *IdMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
41 return xxx_messageInfo_IdMessage.Marshal(b, m, deterministic)
42 }
43 func (m *IdMessage) XXX_Merge(src proto.Message) {
44 xxx_messageInfo_IdMessage.Merge(m, src)
45 }
46 func (m *IdMessage) XXX_Size() int {
47 return xxx_messageInfo_IdMessage.Size(m)
48 }
49 func (m *IdMessage) XXX_DiscardUnknown() {
50 xxx_messageInfo_IdMessage.DiscardUnknown(m)
51 }
52
53 var xxx_messageInfo_IdMessage proto.InternalMessageInfo
54
55 func (m *IdMessage) GetUuid() string {
56 if m != nil {
57 return m.Uuid
58 }
59 return ""
60 }
61
62 func init() {
63 proto.RegisterType((*IdMessage)(nil), "sub2.IdMessage")
64 }
65
66 func init() {
67 proto.RegisterFile("examples/internal/proto/sub2/message.proto", fileDescriptor_050dd68add910843)
68 }
69
70 var fileDescriptor_050dd68add910843 = []byte{
71
72 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4a, 0xad, 0x48, 0xcc,
73 0x2d, 0xc8, 0x49, 0x2d, 0xd6, 0xcf, 0xcc, 0x2b, 0x49, 0x2d, 0xca, 0x4b, 0xcc, 0xd1, 0x2f, 0x28,
74 0xca, 0x2f, 0xc9, 0xd7, 0x2f, 0x2e, 0x4d, 0x32, 0xd2, 0xcf, 0x4d, 0x2d, 0x2e, 0x4e, 0x4c, 0x4f,
75 0xd5, 0x03, 0x0b, 0x09, 0xb1, 0x80, 0xc4, 0x94, 0xe4, 0xb9, 0x38, 0x3d, 0x53, 0x7c, 0x21, 0x12,
76 0x42, 0x42, 0x5c, 0x2c, 0xa5, 0xa5, 0x99, 0x29, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x60,
77 0xb6, 0x93, 0x6b, 0x94, 0x73, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e,
78 0x7a, 0x51, 0x41, 0xb2, 0x6e, 0x6a, 0x72, 0x7e, 0x71, 0x65, 0x71, 0x49, 0x2a, 0x94, 0x9b, 0x9e,
79 0x58, 0x92, 0x5a, 0x9e, 0x58, 0xa9, 0x8f, 0xcf, 0xee, 0x24, 0x36, 0x30, 0xdb, 0x18, 0x10, 0x00,
80 0x00, 0xff, 0xff, 0xdd, 0xb8, 0xdb, 0x58, 0xa2, 0x00, 0x00, 0x00,
81 }
82
View as plain text