-
Notifications
You must be signed in to change notification settings - Fork 0
/
chat.pb.go
47 lines (38 loc) · 1018 Bytes
/
chat.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Code generated by protoc-gen-go.
// source: chat.proto
// DO NOT EDIT!
/*
Package xmpptoamqp is a generated protocol buffer package.
It is generated from these files:
chat.proto
It has these top-level messages:
Chat
*/
package xmpptoamqp
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type Chat struct {
User *string `protobuf:"bytes,1,req" json:"User,omitempty"`
Text *string `protobuf:"bytes,2,req" json:"Text,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Chat) Reset() { *m = Chat{} }
func (m *Chat) String() string { return proto.CompactTextString(m) }
func (*Chat) ProtoMessage() {}
func (m *Chat) GetUser() string {
if m != nil && m.User != nil {
return *m.User
}
return ""
}
func (m *Chat) GetText() string {
if m != nil && m.Text != nil {
return *m.Text
}
return ""
}