f5/im/im_proto.pb.go
aozhiwei 9f7943ca94 1
2020-09-01 23:27:05 +08:00

148 lines
4.9 KiB
Go

// Code generated by protoc-gen-go.
// source: im_proto.proto
// DO NOT EDIT!
package im
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 ConstantE int32
const (
ConstantE_MaxIMMsgId ConstantE = 7
)
var ConstantE_name = map[int32]string{
7: "MaxIMMsgId",
}
var ConstantE_value = map[string]int32{
"MaxIMMsgId": 7,
}
func (x ConstantE) Enum() *ConstantE {
p := new(ConstantE)
*p = x
return p
}
func (x ConstantE) String() string {
return proto.EnumName(ConstantE_name, int32(x))
}
func (x *ConstantE) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(ConstantE_value, data, "ConstantE")
if err != nil {
return err
}
*x = ConstantE(value)
return nil
}
func (ConstantE) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
type MFTuple struct {
Values []string `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *MFTuple) Reset() { *m = MFTuple{} }
func (m *MFTuple) String() string { return proto.CompactTextString(m) }
func (*MFTuple) ProtoMessage() {}
func (*MFTuple) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (m *MFTuple) GetValues() []string {
if m != nil {
return m.Values
}
return nil
}
type IMSocketConnect struct {
IsWebsocket *bool `protobuf:"varint,1,opt,name=is_websocket" json:"is_websocket,omitempty"`
Host *string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
Url *string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
QueryStr *string `protobuf:"bytes,4,opt,name=query_str" json:"query_str,omitempty"`
Tuples []*MFTuple `protobuf:"bytes,5,rep,name=tuples" json:"tuples,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *IMSocketConnect) Reset() { *m = IMSocketConnect{} }
func (m *IMSocketConnect) String() string { return proto.CompactTextString(m) }
func (*IMSocketConnect) ProtoMessage() {}
func (*IMSocketConnect) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
func (m *IMSocketConnect) GetIsWebsocket() bool {
if m != nil && m.IsWebsocket != nil {
return *m.IsWebsocket
}
return false
}
func (m *IMSocketConnect) GetHost() string {
if m != nil && m.Host != nil {
return *m.Host
}
return ""
}
func (m *IMSocketConnect) GetUrl() string {
if m != nil && m.Url != nil {
return *m.Url
}
return ""
}
func (m *IMSocketConnect) GetQueryStr() string {
if m != nil && m.QueryStr != nil {
return *m.QueryStr
}
return ""
}
func (m *IMSocketConnect) GetTuples() []*MFTuple {
if m != nil {
return m.Tuples
}
return nil
}
type IMSocketDisconnect struct {
XXX_unrecognized []byte `json:"-"`
}
func (m *IMSocketDisconnect) Reset() { *m = IMSocketDisconnect{} }
func (m *IMSocketDisconnect) String() string { return proto.CompactTextString(m) }
func (*IMSocketDisconnect) ProtoMessage() {}
func (*IMSocketDisconnect) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
func init() {
proto.RegisterType((*MFTuple)(nil), "im.MFTuple")
proto.RegisterType((*IMSocketConnect)(nil), "im.IMSocketConnect")
proto.RegisterType((*IMSocketDisconnect)(nil), "im.IMSocketDisconnect")
proto.RegisterEnum("im.ConstantE", ConstantE_name, ConstantE_value)
}
func init() { proto.RegisterFile("im_proto.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
// 204 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x34, 0x8e, 0xbd, 0x4e, 0xc3, 0x30,
0x14, 0x46, 0xe5, 0xba, 0xb4, 0xe4, 0xa6, 0x2a, 0x60, 0x75, 0x30, 0x82, 0xc1, 0xca, 0x64, 0x31,
0x64, 0xe0, 0x15, 0x8a, 0x90, 0x32, 0x78, 0x82, 0xdd, 0x0a, 0xc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