// Code generated by protoc-gen-go. DO NOT EDIT. // source: cwtch-profile.proto /* Package protocol is a generated protocol buffer package. It is generated from these files: cwtch-profile.proto It has these top-level messages: CwtchPeerPacket CwtchIdentity GroupChatInvite */ package protocol 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 // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type CwtchPeerPacket struct { CwtchIdentify *CwtchIdentity `protobuf:"bytes,1,opt,name=cwtch_identify,json=cwtchIdentify" json:"cwtch_identify,omitempty"` GroupChatInvite *GroupChatInvite `protobuf:"bytes,2,opt,name=group_chat_invite,json=groupChatInvite" json:"group_chat_invite,omitempty"` } func (m *CwtchPeerPacket) Reset() { *m = CwtchPeerPacket{} } func (m *CwtchPeerPacket) String() string { return proto.CompactTextString(m) } func (*CwtchPeerPacket) ProtoMessage() {} func (*CwtchPeerPacket) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } func (m *CwtchPeerPacket) GetCwtchIdentify() *CwtchIdentity { if m != nil { return m.CwtchIdentify } return nil } func (m *CwtchPeerPacket) GetGroupChatInvite() *GroupChatInvite { if m != nil { return m.GroupChatInvite } return nil } type CwtchIdentity struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Ed25519PublicKey []byte `protobuf:"bytes,2,opt,name=ed25519_public_key,json=ed25519PublicKey,proto3" json:"ed25519_public_key,omitempty"` } func (m *CwtchIdentity) Reset() { *m = CwtchIdentity{} } func (m *CwtchIdentity) String() string { return proto.CompactTextString(m) } func (*CwtchIdentity) ProtoMessage() {} func (*CwtchIdentity) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } func (m *CwtchIdentity) GetName() string { if m != nil { return m.Name } return "" } func (m *CwtchIdentity) GetEd25519PublicKey() []byte { if m != nil { return m.Ed25519PublicKey } return nil } // [name] has invited you to join a group chat: [message] type GroupChatInvite struct { GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName" json:"group_name,omitempty"` GroupSharedKey []byte `protobuf:"bytes,2,opt,name=group_shared_key,json=groupSharedKey,proto3" json:"group_shared_key,omitempty"` ServerHost string `protobuf:"bytes,3,opt,name=server_host,json=serverHost" json:"server_host,omitempty"` SignedGroupId []byte `protobuf:"bytes,4,opt,name=signed_group_id,json=signedGroupId,proto3" json:"signed_group_id,omitempty"` InitialMessage []byte `protobuf:"bytes,5,opt,name=initial_message,json=initialMessage,proto3" json:"initial_message,omitempty"` } func (m *GroupChatInvite) Reset() { *m = GroupChatInvite{} } func (m *GroupChatInvite) String() string { return proto.CompactTextString(m) } func (*GroupChatInvite) ProtoMessage() {} func (*GroupChatInvite) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } func (m *GroupChatInvite) GetGroupName() string { if m != nil { return m.GroupName } return "" } func (m *GroupChatInvite) GetGroupSharedKey() []byte { if m != nil { return m.GroupSharedKey } return nil } func (m *GroupChatInvite) GetServerHost() string { if m != nil { return m.ServerHost } return "" } func (m *GroupChatInvite) GetSignedGroupId() []byte { if m != nil { return m.SignedGroupId } return nil } func (m *GroupChatInvite) GetInitialMessage() []byte { if m != nil { return m.InitialMessage } return nil } func init() { proto.RegisterType((*CwtchPeerPacket)(nil), "protocol.CwtchPeerPacket") proto.RegisterType((*CwtchIdentity)(nil), "protocol.CwtchIdentity") proto.RegisterType((*GroupChatInvite)(nil), "protocol.GroupChatInvite") } func init() { proto.RegisterFile("cwtch-profile.proto", fileDescriptor0) }