messengertypes

package
v2.233.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2020 License: Apache-2.0, MIT Imports: 19 Imported by: 1

Documentation

Overview

Package messengertypes is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var AppMessage_Type_name = map[int32]string{
	0:   "Undefined",
	1:   "TypeUserMessage",
	2:   "TypeUserReaction",
	3:   "TypeGroupInvitation",
	4:   "TypeSetGroupInfo",
	5:   "TypeSetUserInfo",
	6:   "TypeAcknowledge",
	7:   "TypeReplyOptions",
	100: "TypeMonitorMetadata",
}
View Source
var AppMessage_Type_value = map[string]int32{
	"Undefined":           0,
	"TypeUserMessage":     1,
	"TypeUserReaction":    2,
	"TypeGroupInvitation": 3,
	"TypeSetGroupInfo":    4,
	"TypeSetUserInfo":     5,
	"TypeAcknowledge":     6,
	"TypeReplyOptions":    7,
	"TypeMonitorMetadata": 100,
}
View Source
var BertyLink_Kind_name = map[int32]string{
	0: "UnknownKind",
	1: "ContactInviteV1Kind",
	2: "GroupV1Kind",
	3: "EncryptedV1Kind",
}
View Source
var BertyLink_Kind_value = map[string]int32{
	"UnknownKind":         0,
	"ContactInviteV1Kind": 1,
	"GroupV1Kind":         2,
	"EncryptedV1Kind":     3,
}
View Source
var Contact_State_name = map[int32]string{
	0: "Undefined",
	1: "IncomingRequest",
	2: "OutgoingRequestEnqueued",
	3: "OutgoingRequestSent",
	4: "Accepted",
}
View Source
var Contact_State_value = map[string]int32{
	"Undefined":               0,
	"IncomingRequest":         1,
	"OutgoingRequestEnqueued": 2,
	"OutgoingRequestSent":     3,
	"Accepted":                4,
}
View Source
var Conversation_Type_name = map[int32]string{
	0: "Undefined",
	1: "AccountType",
	2: "ContactType",
	3: "MultiMemberType",
}
View Source
var Conversation_Type_value = map[string]int32{
	"Undefined":       0,
	"AccountType":     1,
	"ContactType":     2,
	"MultiMemberType": 3,
}
View Source
var Media_State_name = map[int32]string{
	0:   "StateUnknown",
	1:   "StateNeverDownloaded",
	2:   "StatePartiallyDownloaded",
	3:   "StateDownloaded",
	4:   "StateInCache",
	5:   "StateInvalidCrypto",
	100: "StatePrepared",
	101: "StateAttached",
}
View Source
var Media_State_value = map[string]int32{
	"StateUnknown":             0,
	"StateNeverDownloaded":     1,
	"StatePartiallyDownloaded": 2,
	"StateDownloaded":          3,
	"StateInCache":             4,
	"StateInvalidCrypto":       5,
	"StatePrepared":            100,
	"StateAttached":            101,
}
View Source
var StreamEvent_Notified_Type_name = map[int32]string{
	0: "Unknown",
	1: "TypeBasic",
	2: "TypeMessageReceived",
	3: "TypeContactRequestSent",
	4: "TypeContactRequestReceived",
}
View Source
var StreamEvent_Notified_Type_value = map[string]int32{
	"Unknown":                    0,
	"TypeBasic":                  1,
	"TypeMessageReceived":        2,
	"TypeContactRequestSent":     3,
	"TypeContactRequestReceived": 4,
}
View Source
var StreamEvent_Type_name = map[int32]string{
	0:  "Undefined",
	1:  "TypeListEnded",
	2:  "TypeConversationUpdated",
	3:  "TypeConversationDeleted",
	4:  "TypeInteractionUpdated",
	5:  "TypeInteractionDeleted",
	6:  "TypeContactUpdated",
	7:  "TypeAccountUpdated",
	8:  "TypeMemberUpdated",
	9:  "TypeDeviceUpdated",
	10: "TypeNotified",
	11: "TypeMediaUpdated",
}
View Source
var StreamEvent_Type_value = map[string]int32{
	"Undefined":               0,
	"TypeListEnded":           1,
	"TypeConversationUpdated": 2,
	"TypeConversationDeleted": 3,
	"TypeInteractionUpdated":  4,
	"TypeInteractionDeleted":  5,
	"TypeContactUpdated":      6,
	"TypeAccountUpdated":      7,
	"TypeMemberUpdated":       8,
	"TypeDeviceUpdated":       9,
	"TypeNotified":            10,
	"TypeMediaUpdated":        11,
}

Functions

func RegisterMessengerServiceHandler

func RegisterMessengerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMessengerServiceHandler registers the http handlers for service MessengerService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMessengerServiceHandlerClient

func RegisterMessengerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MessengerServiceClient) error

RegisterMessengerServiceHandlerClient registers the http handlers for service MessengerService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MessengerServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MessengerServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MessengerServiceClient" to call the correct interceptors.

func RegisterMessengerServiceHandlerFromEndpoint

func RegisterMessengerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMessengerServiceHandlerFromEndpoint is same as RegisterMessengerServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMessengerServiceHandlerServer

func RegisterMessengerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MessengerServiceServer) error

RegisterMessengerServiceHandlerServer registers the http handlers for service MessengerService to "mux". UnaryRPC :call MessengerServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMessengerServiceHandlerFromEndpoint instead.

func RegisterMessengerServiceServer

func RegisterMessengerServiceServer(s *grpc.Server, srv MessengerServiceServer)

Types

type Account

type Account struct {
	PublicKey                       string          `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primaryKey"`
	DisplayName                     string          `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	AvatarCID                       string          `protobuf:"bytes,7,opt,name=avatar_cid,json=avatarCid,proto3" json:"avatar_cid,omitempty" gorm:"column:avatar_cid"`
	Link                            string          `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"`
	ServiceTokens                   []*ServiceToken `` /* 128-byte string literal not displayed */
	ReplicateNewGroupsAutomatically bool            `` /* 179-byte string literal not displayed */
}

func (*Account) Descriptor

func (*Account) Descriptor() ([]byte, []int)

func (*Account) GetAvatarCID

func (m *Account) GetAvatarCID() string

func (*Account) GetDisplayName

func (m *Account) GetDisplayName() string
func (m *Account) GetLink() string

func (*Account) GetPublicKey

func (m *Account) GetPublicKey() string

func (*Account) GetReplicateNewGroupsAutomatically

func (m *Account) GetReplicateNewGroupsAutomatically() bool

func (*Account) GetServiceTokens

func (m *Account) GetServiceTokens() []*ServiceToken

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) String

func (m *Account) String() string

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Account) XXX_Merge

func (m *Account) XXX_Merge(src proto.Message)

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

func (m *Account) XXX_Unmarshal(b []byte) error

type AccountGet

type AccountGet struct {
}

func (*AccountGet) Descriptor

func (*AccountGet) Descriptor() ([]byte, []int)

func (*AccountGet) ProtoMessage

func (*AccountGet) ProtoMessage()

func (*AccountGet) Reset

func (m *AccountGet) Reset()

func (*AccountGet) String

func (m *AccountGet) String() string

func (*AccountGet) XXX_DiscardUnknown

func (m *AccountGet) XXX_DiscardUnknown()

func (*AccountGet) XXX_Marshal

func (m *AccountGet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountGet) XXX_Merge

func (m *AccountGet) XXX_Merge(src proto.Message)

func (*AccountGet) XXX_Size

func (m *AccountGet) XXX_Size() int

func (*AccountGet) XXX_Unmarshal

func (m *AccountGet) XXX_Unmarshal(b []byte) error

type AccountGet_Reply

type AccountGet_Reply struct {
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}

func (*AccountGet_Reply) Descriptor

func (*AccountGet_Reply) Descriptor() ([]byte, []int)

func (*AccountGet_Reply) GetAccount

func (m *AccountGet_Reply) GetAccount() *Account

func (*AccountGet_Reply) ProtoMessage

func (*AccountGet_Reply) ProtoMessage()

func (*AccountGet_Reply) Reset

func (m *AccountGet_Reply) Reset()

func (*AccountGet_Reply) String

func (m *AccountGet_Reply) String() string

func (*AccountGet_Reply) XXX_DiscardUnknown

func (m *AccountGet_Reply) XXX_DiscardUnknown()

func (*AccountGet_Reply) XXX_Marshal

func (m *AccountGet_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountGet_Reply) XXX_Merge

func (m *AccountGet_Reply) XXX_Merge(src proto.Message)

func (*AccountGet_Reply) XXX_Size

func (m *AccountGet_Reply) XXX_Size() int

func (*AccountGet_Reply) XXX_Unmarshal

func (m *AccountGet_Reply) XXX_Unmarshal(b []byte) error

type AccountGet_Request

type AccountGet_Request struct {
}

func (*AccountGet_Request) Descriptor

func (*AccountGet_Request) Descriptor() ([]byte, []int)

func (*AccountGet_Request) ProtoMessage

func (*AccountGet_Request) ProtoMessage()

func (*AccountGet_Request) Reset

func (m *AccountGet_Request) Reset()

func (*AccountGet_Request) String

func (m *AccountGet_Request) String() string

func (*AccountGet_Request) XXX_DiscardUnknown

func (m *AccountGet_Request) XXX_DiscardUnknown()

func (*AccountGet_Request) XXX_Marshal

func (m *AccountGet_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountGet_Request) XXX_Merge

func (m *AccountGet_Request) XXX_Merge(src proto.Message)

func (*AccountGet_Request) XXX_Size

func (m *AccountGet_Request) XXX_Size() int

func (*AccountGet_Request) XXX_Unmarshal

func (m *AccountGet_Request) XXX_Unmarshal(b []byte) error

type AccountUpdate

type AccountUpdate struct {
}

func (*AccountUpdate) Descriptor

func (*AccountUpdate) Descriptor() ([]byte, []int)

func (*AccountUpdate) ProtoMessage

func (*AccountUpdate) ProtoMessage()

func (*AccountUpdate) Reset

func (m *AccountUpdate) Reset()

func (*AccountUpdate) String

func (m *AccountUpdate) String() string

func (*AccountUpdate) XXX_DiscardUnknown

func (m *AccountUpdate) XXX_DiscardUnknown()

func (*AccountUpdate) XXX_Marshal

func (m *AccountUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountUpdate) XXX_Merge

func (m *AccountUpdate) XXX_Merge(src proto.Message)

func (*AccountUpdate) XXX_Size

func (m *AccountUpdate) XXX_Size() int

func (*AccountUpdate) XXX_Unmarshal

func (m *AccountUpdate) XXX_Unmarshal(b []byte) error

type AccountUpdate_Reply

type AccountUpdate_Reply struct {
}

func (*AccountUpdate_Reply) Descriptor

func (*AccountUpdate_Reply) Descriptor() ([]byte, []int)

func (*AccountUpdate_Reply) ProtoMessage

func (*AccountUpdate_Reply) ProtoMessage()

func (*AccountUpdate_Reply) Reset

func (m *AccountUpdate_Reply) Reset()

func (*AccountUpdate_Reply) String

func (m *AccountUpdate_Reply) String() string

func (*AccountUpdate_Reply) XXX_DiscardUnknown

func (m *AccountUpdate_Reply) XXX_DiscardUnknown()

func (*AccountUpdate_Reply) XXX_Marshal

func (m *AccountUpdate_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountUpdate_Reply) XXX_Merge

func (m *AccountUpdate_Reply) XXX_Merge(src proto.Message)

func (*AccountUpdate_Reply) XXX_Size

func (m *AccountUpdate_Reply) XXX_Size() int

func (*AccountUpdate_Reply) XXX_Unmarshal

func (m *AccountUpdate_Reply) XXX_Unmarshal(b []byte) error

type AccountUpdate_Request

type AccountUpdate_Request struct {
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	AvatarCID   string `protobuf:"bytes,2,opt,name=avatar_cid,json=avatarCid,proto3" json:"avatar_cid,omitempty" gorm:"column:avatar_cid"`
}

func (*AccountUpdate_Request) Descriptor

func (*AccountUpdate_Request) Descriptor() ([]byte, []int)

func (*AccountUpdate_Request) GetAvatarCID

func (m *AccountUpdate_Request) GetAvatarCID() string

func (*AccountUpdate_Request) GetDisplayName

func (m *AccountUpdate_Request) GetDisplayName() string

func (*AccountUpdate_Request) ProtoMessage

func (*AccountUpdate_Request) ProtoMessage()

func (*AccountUpdate_Request) Reset

func (m *AccountUpdate_Request) Reset()

func (*AccountUpdate_Request) String

func (m *AccountUpdate_Request) String() string

func (*AccountUpdate_Request) XXX_DiscardUnknown

func (m *AccountUpdate_Request) XXX_DiscardUnknown()

func (*AccountUpdate_Request) XXX_Marshal

func (m *AccountUpdate_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountUpdate_Request) XXX_Merge

func (m *AccountUpdate_Request) XXX_Merge(src proto.Message)

func (*AccountUpdate_Request) XXX_Size

func (m *AccountUpdate_Request) XXX_Size() int

func (*AccountUpdate_Request) XXX_Unmarshal

func (m *AccountUpdate_Request) XXX_Unmarshal(b []byte) error

type AppMessage

type AppMessage struct {
	Type     AppMessage_Type `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.v1.AppMessage_Type" json:"type,omitempty"`
	Payload  []byte          `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	SentDate int64           `protobuf:"varint,3,opt,name=sent_date,json=sentDate,proto3" json:"sentDate"`
	Medias   []*Media        `protobuf:"bytes,4,rep,name=medias,proto3" json:"medias,omitempty"`
}

AppMessage is the app layer format

func UnmarshalAppMessage

func UnmarshalAppMessage(payload []byte) (proto.Message, AppMessage, error)

func (*AppMessage) Descriptor

func (*AppMessage) Descriptor() ([]byte, []int)

func (*AppMessage) GetMedias

func (m *AppMessage) GetMedias() []*Media

func (*AppMessage) GetPayload

func (m *AppMessage) GetPayload() []byte

func (*AppMessage) GetSentDate

func (m *AppMessage) GetSentDate() int64

func (*AppMessage) GetType

func (m *AppMessage) GetType() AppMessage_Type

func (*AppMessage) ProtoMessage

func (*AppMessage) ProtoMessage()

func (*AppMessage) Reset

func (m *AppMessage) Reset()

func (*AppMessage) String

func (m *AppMessage) String() string

func (AppMessage) UnmarshalPayload

func (am AppMessage) UnmarshalPayload() (proto.Message, error)

UnmarshalPayload tries to parse an AppMessage payload in the corresponding type. Since this function returns a proto.Message interface, you still need to cast the returned value, but this function allows you to make it safely.

func (*AppMessage) XXX_DiscardUnknown

func (m *AppMessage) XXX_DiscardUnknown()

func (*AppMessage) XXX_Marshal

func (m *AppMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage) XXX_Merge

func (m *AppMessage) XXX_Merge(src proto.Message)

func (*AppMessage) XXX_Size

func (m *AppMessage) XXX_Size() int

func (*AppMessage) XXX_Unmarshal

func (m *AppMessage) XXX_Unmarshal(b []byte) error

type AppMessage_Acknowledge

type AppMessage_Acknowledge struct {
	Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
}

func (*AppMessage_Acknowledge) Descriptor

func (*AppMessage_Acknowledge) Descriptor() ([]byte, []int)

func (*AppMessage_Acknowledge) GetTarget

func (m *AppMessage_Acknowledge) GetTarget() string

func (*AppMessage_Acknowledge) ProtoMessage

func (*AppMessage_Acknowledge) ProtoMessage()

func (*AppMessage_Acknowledge) Reset

func (m *AppMessage_Acknowledge) Reset()

func (*AppMessage_Acknowledge) String

func (m *AppMessage_Acknowledge) String() string

func (*AppMessage_Acknowledge) XXX_DiscardUnknown

func (m *AppMessage_Acknowledge) XXX_DiscardUnknown()

func (*AppMessage_Acknowledge) XXX_Marshal

func (m *AppMessage_Acknowledge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_Acknowledge) XXX_Merge

func (m *AppMessage_Acknowledge) XXX_Merge(src proto.Message)

func (*AppMessage_Acknowledge) XXX_Size

func (m *AppMessage_Acknowledge) XXX_Size() int

func (*AppMessage_Acknowledge) XXX_Unmarshal

func (m *AppMessage_Acknowledge) XXX_Unmarshal(b []byte) error

type AppMessage_GroupInvitation

type AppMessage_GroupInvitation struct {
	Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"`
}

func (*AppMessage_GroupInvitation) Descriptor

func (*AppMessage_GroupInvitation) Descriptor() ([]byte, []int)
func (m *AppMessage_GroupInvitation) GetLink() string

func (*AppMessage_GroupInvitation) ProtoMessage

func (*AppMessage_GroupInvitation) ProtoMessage()

func (*AppMessage_GroupInvitation) Reset

func (m *AppMessage_GroupInvitation) Reset()

func (*AppMessage_GroupInvitation) String

func (m *AppMessage_GroupInvitation) String() string

func (*AppMessage_GroupInvitation) XXX_DiscardUnknown

func (m *AppMessage_GroupInvitation) XXX_DiscardUnknown()

func (*AppMessage_GroupInvitation) XXX_Marshal

func (m *AppMessage_GroupInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_GroupInvitation) XXX_Merge

func (m *AppMessage_GroupInvitation) XXX_Merge(src proto.Message)

func (*AppMessage_GroupInvitation) XXX_Size

func (m *AppMessage_GroupInvitation) XXX_Size() int

func (*AppMessage_GroupInvitation) XXX_Unmarshal

func (m *AppMessage_GroupInvitation) XXX_Unmarshal(b []byte) error

type AppMessage_MonitorMetadata

type AppMessage_MonitorMetadata struct {
	Event *protocoltypes.MonitorGroup_EventMonitor `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
}

func (*AppMessage_MonitorMetadata) Descriptor

func (*AppMessage_MonitorMetadata) Descriptor() ([]byte, []int)

func (*AppMessage_MonitorMetadata) GetEvent

func (*AppMessage_MonitorMetadata) ProtoMessage

func (*AppMessage_MonitorMetadata) ProtoMessage()

func (*AppMessage_MonitorMetadata) Reset

func (m *AppMessage_MonitorMetadata) Reset()

func (*AppMessage_MonitorMetadata) String

func (m *AppMessage_MonitorMetadata) String() string

func (*AppMessage_MonitorMetadata) XXX_DiscardUnknown

func (m *AppMessage_MonitorMetadata) XXX_DiscardUnknown()

func (*AppMessage_MonitorMetadata) XXX_Marshal

func (m *AppMessage_MonitorMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_MonitorMetadata) XXX_Merge

func (m *AppMessage_MonitorMetadata) XXX_Merge(src proto.Message)

func (*AppMessage_MonitorMetadata) XXX_Size

func (m *AppMessage_MonitorMetadata) XXX_Size() int

func (*AppMessage_MonitorMetadata) XXX_Unmarshal

func (m *AppMessage_MonitorMetadata) XXX_Unmarshal(b []byte) error

type AppMessage_ReplyOptions

type AppMessage_ReplyOptions struct {
	Options []*ReplyOption `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"`
}

func (*AppMessage_ReplyOptions) Descriptor

func (*AppMessage_ReplyOptions) Descriptor() ([]byte, []int)

func (*AppMessage_ReplyOptions) GetOptions

func (m *AppMessage_ReplyOptions) GetOptions() []*ReplyOption

func (*AppMessage_ReplyOptions) ProtoMessage

func (*AppMessage_ReplyOptions) ProtoMessage()

func (*AppMessage_ReplyOptions) Reset

func (m *AppMessage_ReplyOptions) Reset()

func (*AppMessage_ReplyOptions) String

func (m *AppMessage_ReplyOptions) String() string

func (*AppMessage_ReplyOptions) XXX_DiscardUnknown

func (m *AppMessage_ReplyOptions) XXX_DiscardUnknown()

func (*AppMessage_ReplyOptions) XXX_Marshal

func (m *AppMessage_ReplyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_ReplyOptions) XXX_Merge

func (m *AppMessage_ReplyOptions) XXX_Merge(src proto.Message)

func (*AppMessage_ReplyOptions) XXX_Size

func (m *AppMessage_ReplyOptions) XXX_Size() int

func (*AppMessage_ReplyOptions) XXX_Unmarshal

func (m *AppMessage_ReplyOptions) XXX_Unmarshal(b []byte) error

type AppMessage_SetGroupInfo

type AppMessage_SetGroupInfo struct {
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	AvatarCid   string `protobuf:"bytes,2,opt,name=avatar_cid,json=avatarCid,proto3" json:"avatar_cid,omitempty"`
}

func (*AppMessage_SetGroupInfo) Descriptor

func (*AppMessage_SetGroupInfo) Descriptor() ([]byte, []int)

func (*AppMessage_SetGroupInfo) GetAvatarCid

func (m *AppMessage_SetGroupInfo) GetAvatarCid() string

func (*AppMessage_SetGroupInfo) GetDisplayName

func (m *AppMessage_SetGroupInfo) GetDisplayName() string

func (*AppMessage_SetGroupInfo) ProtoMessage

func (*AppMessage_SetGroupInfo) ProtoMessage()

func (*AppMessage_SetGroupInfo) Reset

func (m *AppMessage_SetGroupInfo) Reset()

func (*AppMessage_SetGroupInfo) String

func (m *AppMessage_SetGroupInfo) String() string

func (*AppMessage_SetGroupInfo) XXX_DiscardUnknown

func (m *AppMessage_SetGroupInfo) XXX_DiscardUnknown()

func (*AppMessage_SetGroupInfo) XXX_Marshal

func (m *AppMessage_SetGroupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_SetGroupInfo) XXX_Merge

func (m *AppMessage_SetGroupInfo) XXX_Merge(src proto.Message)

func (*AppMessage_SetGroupInfo) XXX_Size

func (m *AppMessage_SetGroupInfo) XXX_Size() int

func (*AppMessage_SetGroupInfo) XXX_Unmarshal

func (m *AppMessage_SetGroupInfo) XXX_Unmarshal(b []byte) error

type AppMessage_SetUserInfo

type AppMessage_SetUserInfo struct {
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	AvatarCID   string `protobuf:"bytes,2,opt,name=avatar_cid,json=avatarCid,proto3" json:"avatar_cid,omitempty"`
}

func (*AppMessage_SetUserInfo) Descriptor

func (*AppMessage_SetUserInfo) Descriptor() ([]byte, []int)

func (*AppMessage_SetUserInfo) GetAvatarCID

func (m *AppMessage_SetUserInfo) GetAvatarCID() string

func (*AppMessage_SetUserInfo) GetDisplayName

func (m *AppMessage_SetUserInfo) GetDisplayName() string

func (*AppMessage_SetUserInfo) ProtoMessage

func (*AppMessage_SetUserInfo) ProtoMessage()

func (*AppMessage_SetUserInfo) Reset

func (m *AppMessage_SetUserInfo) Reset()

func (*AppMessage_SetUserInfo) String

func (m *AppMessage_SetUserInfo) String() string

func (*AppMessage_SetUserInfo) XXX_DiscardUnknown

func (m *AppMessage_SetUserInfo) XXX_DiscardUnknown()

func (*AppMessage_SetUserInfo) XXX_Marshal

func (m *AppMessage_SetUserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_SetUserInfo) XXX_Merge

func (m *AppMessage_SetUserInfo) XXX_Merge(src proto.Message)

func (*AppMessage_SetUserInfo) XXX_Size

func (m *AppMessage_SetUserInfo) XXX_Size() int

func (*AppMessage_SetUserInfo) XXX_Unmarshal

func (m *AppMessage_SetUserInfo) XXX_Unmarshal(b []byte) error

type AppMessage_Type

type AppMessage_Type int32
const (
	AppMessage_Undefined           AppMessage_Type = 0
	AppMessage_TypeUserMessage     AppMessage_Type = 1
	AppMessage_TypeUserReaction    AppMessage_Type = 2
	AppMessage_TypeGroupInvitation AppMessage_Type = 3
	AppMessage_TypeSetGroupInfo    AppMessage_Type = 4
	AppMessage_TypeSetUserInfo     AppMessage_Type = 5
	AppMessage_TypeAcknowledge     AppMessage_Type = 6
	AppMessage_TypeReplyOptions    AppMessage_Type = 7
	// these shouldn't be sent on the network
	AppMessage_TypeMonitorMetadata AppMessage_Type = 100
)

func (AppMessage_Type) EnumDescriptor

func (AppMessage_Type) EnumDescriptor() ([]byte, []int)

func (*AppMessage_Type) MarshalJSON

func (x *AppMessage_Type) MarshalJSON() ([]byte, error)

func (AppMessage_Type) MarshalPayload

func (x AppMessage_Type) MarshalPayload(sentDate int64, medias []*Media, payload proto.Message) ([]byte, error)

func (AppMessage_Type) String

func (x AppMessage_Type) String() string

func (*AppMessage_Type) UnmarshalJSON

func (x *AppMessage_Type) UnmarshalJSON(bytes []byte) error

type AppMessage_UserMessage

type AppMessage_UserMessage struct {
	Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
}

func (*AppMessage_UserMessage) Descriptor

func (*AppMessage_UserMessage) Descriptor() ([]byte, []int)

func (*AppMessage_UserMessage) GetBody

func (m *AppMessage_UserMessage) GetBody() string

func (*AppMessage_UserMessage) ProtoMessage

func (*AppMessage_UserMessage) ProtoMessage()

func (*AppMessage_UserMessage) Reset

func (m *AppMessage_UserMessage) Reset()

func (*AppMessage_UserMessage) String

func (m *AppMessage_UserMessage) String() string

func (*AppMessage_UserMessage) XXX_DiscardUnknown

func (m *AppMessage_UserMessage) XXX_DiscardUnknown()

func (*AppMessage_UserMessage) XXX_Marshal

func (m *AppMessage_UserMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_UserMessage) XXX_Merge

func (m *AppMessage_UserMessage) XXX_Merge(src proto.Message)

func (*AppMessage_UserMessage) XXX_Size

func (m *AppMessage_UserMessage) XXX_Size() int

func (*AppMessage_UserMessage) XXX_Unmarshal

func (m *AppMessage_UserMessage) XXX_Unmarshal(b []byte) error

type AppMessage_UserReaction

type AppMessage_UserReaction struct {
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	Emoji  string `protobuf:"bytes,2,opt,name=emoji,proto3" json:"emoji,omitempty"`
}

func (*AppMessage_UserReaction) Descriptor

func (*AppMessage_UserReaction) Descriptor() ([]byte, []int)

func (*AppMessage_UserReaction) GetEmoji

func (m *AppMessage_UserReaction) GetEmoji() string

func (*AppMessage_UserReaction) GetTarget

func (m *AppMessage_UserReaction) GetTarget() string

func (*AppMessage_UserReaction) ProtoMessage

func (*AppMessage_UserReaction) ProtoMessage()

func (*AppMessage_UserReaction) Reset

func (m *AppMessage_UserReaction) Reset()

func (*AppMessage_UserReaction) String

func (m *AppMessage_UserReaction) String() string

func (*AppMessage_UserReaction) XXX_DiscardUnknown

func (m *AppMessage_UserReaction) XXX_DiscardUnknown()

func (*AppMessage_UserReaction) XXX_Marshal

func (m *AppMessage_UserReaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_UserReaction) XXX_Merge

func (m *AppMessage_UserReaction) XXX_Merge(src proto.Message)

func (*AppMessage_UserReaction) XXX_Size

func (m *AppMessage_UserReaction) XXX_Size() int

func (*AppMessage_UserReaction) XXX_Unmarshal

func (m *AppMessage_UserReaction) XXX_Unmarshal(b []byte) error

type BannerQuote

type BannerQuote struct {
}

func (*BannerQuote) Descriptor

func (*BannerQuote) Descriptor() ([]byte, []int)

func (*BannerQuote) ProtoMessage

func (*BannerQuote) ProtoMessage()

func (*BannerQuote) Reset

func (m *BannerQuote) Reset()

func (*BannerQuote) String

func (m *BannerQuote) String() string

func (*BannerQuote) XXX_DiscardUnknown

func (m *BannerQuote) XXX_DiscardUnknown()

func (*BannerQuote) XXX_Marshal

func (m *BannerQuote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BannerQuote) XXX_Merge

func (m *BannerQuote) XXX_Merge(src proto.Message)

func (*BannerQuote) XXX_Size

func (m *BannerQuote) XXX_Size() int

func (*BannerQuote) XXX_Unmarshal

func (m *BannerQuote) XXX_Unmarshal(b []byte) error

type BannerQuote_Reply

type BannerQuote_Reply struct {
	Quote  string `protobuf:"bytes,1,opt,name=quote,proto3" json:"quote,omitempty"`
	Author string `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"`
}

func (*BannerQuote_Reply) Descriptor

func (*BannerQuote_Reply) Descriptor() ([]byte, []int)

func (*BannerQuote_Reply) GetAuthor

func (m *BannerQuote_Reply) GetAuthor() string

func (*BannerQuote_Reply) GetQuote

func (m *BannerQuote_Reply) GetQuote() string

func (*BannerQuote_Reply) ProtoMessage

func (*BannerQuote_Reply) ProtoMessage()

func (*BannerQuote_Reply) Reset

func (m *BannerQuote_Reply) Reset()

func (*BannerQuote_Reply) String

func (m *BannerQuote_Reply) String() string

func (*BannerQuote_Reply) XXX_DiscardUnknown

func (m *BannerQuote_Reply) XXX_DiscardUnknown()

func (*BannerQuote_Reply) XXX_Marshal

func (m *BannerQuote_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BannerQuote_Reply) XXX_Merge

func (m *BannerQuote_Reply) XXX_Merge(src proto.Message)

func (*BannerQuote_Reply) XXX_Size

func (m *BannerQuote_Reply) XXX_Size() int

func (*BannerQuote_Reply) XXX_Unmarshal

func (m *BannerQuote_Reply) XXX_Unmarshal(b []byte) error

type BannerQuote_Request

type BannerQuote_Request struct {
	Random bool `protobuf:"varint,1,opt,name=random,proto3" json:"random,omitempty"`
}

func (*BannerQuote_Request) Descriptor

func (*BannerQuote_Request) Descriptor() ([]byte, []int)

func (*BannerQuote_Request) GetRandom

func (m *BannerQuote_Request) GetRandom() bool

func (*BannerQuote_Request) ProtoMessage

func (*BannerQuote_Request) ProtoMessage()

func (*BannerQuote_Request) Reset

func (m *BannerQuote_Request) Reset()

func (*BannerQuote_Request) String

func (m *BannerQuote_Request) String() string

func (*BannerQuote_Request) XXX_DiscardUnknown

func (m *BannerQuote_Request) XXX_DiscardUnknown()

func (*BannerQuote_Request) XXX_Marshal

func (m *BannerQuote_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BannerQuote_Request) XXX_Merge

func (m *BannerQuote_Request) XXX_Merge(src proto.Message)

func (*BannerQuote_Request) XXX_Size

func (m *BannerQuote_Request) XXX_Size() int

func (*BannerQuote_Request) XXX_Unmarshal

func (m *BannerQuote_Request) XXX_Unmarshal(b []byte) error

type BertyGroup

type BertyGroup struct {
	Group       *protocoltypes.Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	DisplayName string               `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*BertyGroup) Descriptor

func (*BertyGroup) Descriptor() ([]byte, []int)
func (group *BertyGroup) GetBertyLink() *BertyLink

func (*BertyGroup) GetDisplayName

func (m *BertyGroup) GetDisplayName() string

func (*BertyGroup) GetGroup

func (m *BertyGroup) GetGroup() *protocoltypes.Group

func (*BertyGroup) ProtoMessage

func (*BertyGroup) ProtoMessage()

func (*BertyGroup) Reset

func (m *BertyGroup) Reset()

func (*BertyGroup) String

func (m *BertyGroup) String() string

func (*BertyGroup) XXX_DiscardUnknown

func (m *BertyGroup) XXX_DiscardUnknown()

func (*BertyGroup) XXX_Marshal

func (m *BertyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BertyGroup) XXX_Merge

func (m *BertyGroup) XXX_Merge(src proto.Message)

func (*BertyGroup) XXX_Size

func (m *BertyGroup) XXX_Size() int

func (*BertyGroup) XXX_Unmarshal

func (m *BertyGroup) XXX_Unmarshal(b []byte) error

type BertyID

type BertyID struct {
	PublicRendezvousSeed []byte `protobuf:"bytes,1,opt,name=public_rendezvous_seed,json=publicRendezvousSeed,proto3" json:"public_rendezvous_seed,omitempty"`
	AccountPK            []byte `protobuf:"bytes,2,opt,name=account_pk,json=accountPk,proto3" json:"account_pk,omitempty"`
	DisplayName          string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*BertyID) Descriptor

func (*BertyID) Descriptor() ([]byte, []int)

func (*BertyID) GetAccountPK

func (m *BertyID) GetAccountPK() []byte
func (id *BertyID) GetBertyLink() *BertyLink

func (*BertyID) GetDisplayName

func (m *BertyID) GetDisplayName() string

func (*BertyID) GetPublicRendezvousSeed

func (m *BertyID) GetPublicRendezvousSeed() []byte

func (*BertyID) ProtoMessage

func (*BertyID) ProtoMessage()

func (*BertyID) Reset

func (m *BertyID) Reset()

func (*BertyID) String

func (m *BertyID) String() string

func (*BertyID) XXX_DiscardUnknown

func (m *BertyID) XXX_DiscardUnknown()

func (*BertyID) XXX_Marshal

func (m *BertyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BertyID) XXX_Merge

func (m *BertyID) XXX_Merge(src proto.Message)

func (*BertyID) XXX_Size

func (m *BertyID) XXX_Size() int

func (*BertyID) XXX_Unmarshal

func (m *BertyID) XXX_Unmarshal(b []byte) error
type BertyLink struct {
	Kind       BertyLink_Kind       `protobuf:"varint,1,opt,name=kind,proto3,enum=berty.messenger.v1.BertyLink_Kind" json:"kind,omitempty"`
	BertyID    *BertyID             `protobuf:"bytes,2,opt,name=berty_id,json=bertyId,proto3" json:"berty_id,omitempty"`
	BertyGroup *BertyGroup          `protobuf:"bytes,3,opt,name=berty_group,json=bertyGroup,proto3" json:"berty_group,omitempty"`
	Encrypted  *BertyLink_Encrypted `protobuf:"bytes,4,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
}

func (*BertyLink) Descriptor

func (*BertyLink) Descriptor() ([]byte, []int)

func (*BertyLink) GetBertyGroup

func (m *BertyLink) GetBertyGroup() *BertyGroup

func (*BertyLink) GetBertyID

func (m *BertyLink) GetBertyID() *BertyID

func (*BertyLink) GetEncrypted added in v2.231.0

func (m *BertyLink) GetEncrypted() *BertyLink_Encrypted

func (*BertyLink) GetKind

func (m *BertyLink) GetKind() BertyLink_Kind

func (*BertyLink) IsContact

func (link *BertyLink) IsContact() bool

func (*BertyLink) IsGroup

func (link *BertyLink) IsGroup() bool

func (*BertyLink) IsValid

func (link *BertyLink) IsValid() error

func (*BertyLink) ProtoMessage

func (*BertyLink) ProtoMessage()

func (*BertyLink) Reset

func (m *BertyLink) Reset()

func (*BertyLink) String

func (m *BertyLink) String() string

func (*BertyLink) XXX_DiscardUnknown

func (m *BertyLink) XXX_DiscardUnknown()

func (*BertyLink) XXX_Marshal

func (m *BertyLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BertyLink) XXX_Merge

func (m *BertyLink) XXX_Merge(src proto.Message)

func (*BertyLink) XXX_Size

func (m *BertyLink) XXX_Size() int

func (*BertyLink) XXX_Unmarshal

func (m *BertyLink) XXX_Unmarshal(b []byte) error
type BertyLink_Encrypted struct {
	// kind is a clear representation of the unencrypted link type.
	Kind BertyLink_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=berty.messenger.v1.BertyLink_Kind" json:"kind,omitempty"`
	// nonce is a clear field used by scrypt as "salt" to derive the passphrase and
	// also used by cipher.NewCTR as "iv" to initialize a stream cipher.
	Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// display_name is an optional clear representation of the display name.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// checksum is an optional field used to check if the decryption was successful.
	// the length is customizable (SHAKE256). a longer checksum means less conflicts.
	// having more conflicts may be bad in term of UX, but make it easier for an attacker
	// to run an offline bruteforce.
	Checksum                    []byte                  `protobuf:"bytes,4,opt,name=checksum,proto3" json:"checksum,omitempty"`
	ContactPublicRendezvousSeed []byte                  `` /* 147-byte string literal not displayed */
	ContactAccountPK            []byte                  `protobuf:"bytes,11,opt,name=contact_account_pk,json=contactAccountPk,proto3" json:"contact_account_pk,omitempty"`
	GroupPublicKey              []byte                  `protobuf:"bytes,20,opt,name=group_public_key,json=groupPublicKey,proto3" json:"group_public_key,omitempty"`
	GroupSecret                 []byte                  `protobuf:"bytes,21,opt,name=group_secret,json=groupSecret,proto3" json:"group_secret,omitempty"`
	GroupSecretSig              []byte                  `protobuf:"bytes,22,opt,name=group_secret_sig,json=groupSecretSig,proto3" json:"group_secret_sig,omitempty"`
	GroupType                   protocoltypes.GroupType `protobuf:"varint,23,opt,name=group_type,json=groupType,proto3,enum=berty.protocol.v1.GroupType" json:"group_type,omitempty"`
	GroupSignPub                []byte                  `protobuf:"bytes,24,opt,name=group_sign_pub,json=groupSignPub,proto3" json:"group_sign_pub,omitempty"`
}

Encrypted is a clear structure containing clear and encrypted fields.

We prefer to use a clear struct with encrypted fields instead of a simple encrypted struct, to improves chances of having a valid structure even with an invalid passphase. This will force an attacker to have more resources to test more false-positive guesses.

func (*BertyLink_Encrypted) Descriptor() ([]byte, []int)
func (m *BertyLink_Encrypted) GetChecksum() []byte
func (m *BertyLink_Encrypted) GetContactAccountPK() []byte
func (m *BertyLink_Encrypted) GetContactPublicRendezvousSeed() []byte
func (m *BertyLink_Encrypted) GetDisplayName() string
func (m *BertyLink_Encrypted) GetGroupPublicKey() []byte
func (m *BertyLink_Encrypted) GetGroupSecret() []byte
func (m *BertyLink_Encrypted) GetGroupSecretSig() []byte
func (m *BertyLink_Encrypted) GetGroupSignPub() []byte
func (m *BertyLink_Encrypted) GetGroupType() protocoltypes.GroupType
func (m *BertyLink_Encrypted) GetKind() BertyLink_Kind
func (m *BertyLink_Encrypted) GetNonce() []byte
func (*BertyLink_Encrypted) ProtoMessage()
func (m *BertyLink_Encrypted) Reset()
func (m *BertyLink_Encrypted) String() string
func (m *BertyLink_Encrypted) XXX_DiscardUnknown()
func (m *BertyLink_Encrypted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BertyLink_Encrypted) XXX_Merge(src proto.Message)
func (m *BertyLink_Encrypted) XXX_Size() int
func (m *BertyLink_Encrypted) XXX_Unmarshal(b []byte) error
type BertyLink_Kind int32
const (
	BertyLink_UnknownKind         BertyLink_Kind = 0
	BertyLink_ContactInviteV1Kind BertyLink_Kind = 1
	BertyLink_GroupV1Kind         BertyLink_Kind = 2
	BertyLink_EncryptedV1Kind     BertyLink_Kind = 3
)
func (BertyLink_Kind) EnumDescriptor() ([]byte, []int)
func (x BertyLink_Kind) String() string

type Contact

type Contact struct {
	PublicKey             string        `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primaryKey"`
	ConversationPublicKey string        `` /* 126-byte string literal not displayed */
	Conversation          *Conversation `protobuf:"bytes,3,opt,name=conversation,proto3" json:"conversation,omitempty"`
	State                 Contact_State `protobuf:"varint,4,opt,name=state,proto3,enum=berty.messenger.v1.Contact_State" json:"state,omitempty"`
	DisplayName           string        `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	AvatarCID             string        `protobuf:"bytes,9,opt,name=avatar_cid,json=avatarCid,proto3" json:"avatar_cid,omitempty" gorm:"column:avatar_cid"`
	CreatedDate           int64         `protobuf:"varint,7,opt,name=created_date,json=createdDate,proto3" json:"created_date,omitempty"`
	// specific to outgoing requests
	SentDate int64     `protobuf:"varint,8,opt,name=sent_date,json=sentDate,proto3" json:"sent_date,omitempty"`
	Devices  []*Device `protobuf:"bytes,6,rep,name=devices,proto3" json:"devices,omitempty" gorm:"foreignKey:MemberPublicKey"`
	InfoDate int64     `protobuf:"varint,10,opt,name=info_date,json=infoDate,proto3" json:"info_date,omitempty"`
}

func (*Contact) Descriptor

func (*Contact) Descriptor() ([]byte, []int)

func (*Contact) GetAvatarCID

func (m *Contact) GetAvatarCID() string

func (*Contact) GetConversation

func (m *Contact) GetConversation() *Conversation

func (*Contact) GetConversationPublicKey

func (m *Contact) GetConversationPublicKey() string

func (*Contact) GetCreatedDate

func (m *Contact) GetCreatedDate() int64

func (*Contact) GetDevices

func (m *Contact) GetDevices() []*Device

func (*Contact) GetDisplayName

func (m *Contact) GetDisplayName() string

func (*Contact) GetInfoDate

func (m *Contact) GetInfoDate() int64

func (*Contact) GetPublicKey

func (m *Contact) GetPublicKey() string

func (*Contact) GetSentDate

func (m *Contact) GetSentDate() int64

func (*Contact) GetState

func (m *Contact) GetState() Contact_State

func (*Contact) MarshalJSON

func (contact *Contact) MarshalJSON() ([]byte, error)

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) Reset

func (m *Contact) Reset()

func (*Contact) String

func (m *Contact) String() string

func (*Contact) XXX_DiscardUnknown

func (m *Contact) XXX_DiscardUnknown()

func (*Contact) XXX_Marshal

func (m *Contact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Contact) XXX_Merge

func (m *Contact) XXX_Merge(src proto.Message)

func (*Contact) XXX_Size

func (m *Contact) XXX_Size() int

func (*Contact) XXX_Unmarshal

func (m *Contact) XXX_Unmarshal(b []byte) error

type ContactAccept

type ContactAccept struct {
}

func (*ContactAccept) Descriptor

func (*ContactAccept) Descriptor() ([]byte, []int)

func (*ContactAccept) ProtoMessage

func (*ContactAccept) ProtoMessage()

func (*ContactAccept) Reset

func (m *ContactAccept) Reset()

func (*ContactAccept) String

func (m *ContactAccept) String() string

func (*ContactAccept) XXX_DiscardUnknown

func (m *ContactAccept) XXX_DiscardUnknown()

func (*ContactAccept) XXX_Marshal

func (m *ContactAccept) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactAccept) XXX_Merge

func (m *ContactAccept) XXX_Merge(src proto.Message)

func (*ContactAccept) XXX_Size

func (m *ContactAccept) XXX_Size() int

func (*ContactAccept) XXX_Unmarshal

func (m *ContactAccept) XXX_Unmarshal(b []byte) error

type ContactAccept_Reply

type ContactAccept_Reply struct {
}

func (*ContactAccept_Reply) Descriptor

func (*ContactAccept_Reply) Descriptor() ([]byte, []int)

func (*ContactAccept_Reply) ProtoMessage

func (*ContactAccept_Reply) ProtoMessage()

func (*ContactAccept_Reply) Reset

func (m *ContactAccept_Reply) Reset()

func (*ContactAccept_Reply) String

func (m *ContactAccept_Reply) String() string

func (*ContactAccept_Reply) XXX_DiscardUnknown

func (m *ContactAccept_Reply) XXX_DiscardUnknown()

func (*ContactAccept_Reply) XXX_Marshal

func (m *ContactAccept_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactAccept_Reply) XXX_Merge

func (m *ContactAccept_Reply) XXX_Merge(src proto.Message)

func (*ContactAccept_Reply) XXX_Size

func (m *ContactAccept_Reply) XXX_Size() int

func (*ContactAccept_Reply) XXX_Unmarshal

func (m *ContactAccept_Reply) XXX_Unmarshal(b []byte) error

type ContactAccept_Request

type ContactAccept_Request struct {
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
}

func (*ContactAccept_Request) Descriptor

func (*ContactAccept_Request) Descriptor() ([]byte, []int)

func (*ContactAccept_Request) GetPublicKey

func (m *ContactAccept_Request) GetPublicKey() string

func (*ContactAccept_Request) ProtoMessage

func (*ContactAccept_Request) ProtoMessage()

func (*ContactAccept_Request) Reset

func (m *ContactAccept_Request) Reset()

func (*ContactAccept_Request) String

func (m *ContactAccept_Request) String() string

func (*ContactAccept_Request) XXX_DiscardUnknown

func (m *ContactAccept_Request) XXX_DiscardUnknown()

func (*ContactAccept_Request) XXX_Marshal

func (m *ContactAccept_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactAccept_Request) XXX_Merge

func (m *ContactAccept_Request) XXX_Merge(src proto.Message)

func (*ContactAccept_Request) XXX_Size

func (m *ContactAccept_Request) XXX_Size() int

func (*ContactAccept_Request) XXX_Unmarshal

func (m *ContactAccept_Request) XXX_Unmarshal(b []byte) error

type ContactMetadata

type ContactMetadata struct {
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*ContactMetadata) Descriptor

func (*ContactMetadata) Descriptor() ([]byte, []int)

func (*ContactMetadata) GetDisplayName

func (m *ContactMetadata) GetDisplayName() string

func (*ContactMetadata) ProtoMessage

func (*ContactMetadata) ProtoMessage()

func (*ContactMetadata) Reset

func (m *ContactMetadata) Reset()

func (*ContactMetadata) String

func (m *ContactMetadata) String() string

func (*ContactMetadata) XXX_DiscardUnknown

func (m *ContactMetadata) XXX_DiscardUnknown()

func (*ContactMetadata) XXX_Marshal

func (m *ContactMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactMetadata) XXX_Merge

func (m *ContactMetadata) XXX_Merge(src proto.Message)

func (*ContactMetadata) XXX_Size

func (m *ContactMetadata) XXX_Size() int

func (*ContactMetadata) XXX_Unmarshal

func (m *ContactMetadata) XXX_Unmarshal(b []byte) error

type ContactRequest

type ContactRequest struct {
}

func (*ContactRequest) Descriptor

func (*ContactRequest) Descriptor() ([]byte, []int)

func (*ContactRequest) ProtoMessage

func (*ContactRequest) ProtoMessage()

func (*ContactRequest) Reset

func (m *ContactRequest) Reset()

func (*ContactRequest) String

func (m *ContactRequest) String() string

func (*ContactRequest) XXX_DiscardUnknown

func (m *ContactRequest) XXX_DiscardUnknown()

func (*ContactRequest) XXX_Marshal

func (m *ContactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactRequest) XXX_Merge

func (m *ContactRequest) XXX_Merge(src proto.Message)

func (*ContactRequest) XXX_Size

func (m *ContactRequest) XXX_Size() int

func (*ContactRequest) XXX_Unmarshal

func (m *ContactRequest) XXX_Unmarshal(b []byte) error

type ContactRequest_Reply

type ContactRequest_Reply struct {
}

func (*ContactRequest_Reply) Descriptor

func (*ContactRequest_Reply) Descriptor() ([]byte, []int)

func (*ContactRequest_Reply) ProtoMessage

func (*ContactRequest_Reply) ProtoMessage()

func (*ContactRequest_Reply) Reset

func (m *ContactRequest_Reply) Reset()

func (*ContactRequest_Reply) String

func (m *ContactRequest_Reply) String() string

func (*ContactRequest_Reply) XXX_DiscardUnknown

func (m *ContactRequest_Reply) XXX_DiscardUnknown()

func (*ContactRequest_Reply) XXX_Marshal

func (m *ContactRequest_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactRequest_Reply) XXX_Merge

func (m *ContactRequest_Reply) XXX_Merge(src proto.Message)

func (*ContactRequest_Reply) XXX_Size

func (m *ContactRequest_Reply) XXX_Size() int

func (*ContactRequest_Reply) XXX_Unmarshal

func (m *ContactRequest_Reply) XXX_Unmarshal(b []byte) error

type ContactRequest_Request

type ContactRequest_Request struct {
	Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
	// optional passphase to decrypt the link
	Passphrase []byte `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
}

func (*ContactRequest_Request) Descriptor

func (*ContactRequest_Request) Descriptor() ([]byte, []int)
func (m *ContactRequest_Request) GetLink() string

func (*ContactRequest_Request) GetPassphrase added in v2.231.0

func (m *ContactRequest_Request) GetPassphrase() []byte

func (*ContactRequest_Request) ProtoMessage

func (*ContactRequest_Request) ProtoMessage()

func (*ContactRequest_Request) Reset

func (m *ContactRequest_Request) Reset()

func (*ContactRequest_Request) String

func (m *ContactRequest_Request) String() string

func (*ContactRequest_Request) XXX_DiscardUnknown

func (m *ContactRequest_Request) XXX_DiscardUnknown()

func (*ContactRequest_Request) XXX_Marshal

func (m *ContactRequest_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactRequest_Request) XXX_Merge

func (m *ContactRequest_Request) XXX_Merge(src proto.Message)

func (*ContactRequest_Request) XXX_Size

func (m *ContactRequest_Request) XXX_Size() int

func (*ContactRequest_Request) XXX_Unmarshal

func (m *ContactRequest_Request) XXX_Unmarshal(b []byte) error

type Contact_State

type Contact_State int32
const (
	Contact_Undefined               Contact_State = 0
	Contact_IncomingRequest         Contact_State = 1
	Contact_OutgoingRequestEnqueued Contact_State = 2
	Contact_OutgoingRequestSent     Contact_State = 3
	Contact_Accepted                Contact_State = 4
)

func (Contact_State) EnumDescriptor

func (Contact_State) EnumDescriptor() ([]byte, []int)

func (Contact_State) String

func (x Contact_State) String() string

type Conversation

type Conversation struct {
	PublicKey   string            `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primaryKey"`
	Type        Conversation_Type `protobuf:"varint,2,opt,name=type,proto3,enum=berty.messenger.v1.Conversation_Type" json:"type,omitempty"`
	IsOpen      bool              `protobuf:"varint,3,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"`
	DisplayName string            `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	AvatarCID   string            `protobuf:"bytes,17,opt,name=avatar_cid,json=avatarCid,proto3" json:"avatar_cid,omitempty" gorm:"column:avatar_cid"`
	Link        string            `protobuf:"bytes,5,opt,name=link,proto3" json:"link,omitempty"`
	UnreadCount int32             `protobuf:"varint,6,opt,name=unread_count,json=unreadCount,proto3" json:"unread_count,omitempty"`
	// last_update is used to sort conversations, it should be updated for each "visible" event
	LastUpdate int64 `protobuf:"varint,7,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
	// specific to ContactType conversations
	ContactPublicKey string `protobuf:"bytes,8,opt,name=contact_public_key,json=contactPublicKey,proto3" json:"contact_public_key,omitempty"`
	// specific to ContactType conversations
	Contact *Contact `protobuf:"bytes,9,opt,name=contact,proto3" json:"contact,omitempty"`
	// specific to MultiMemberType conversations
	Members                []*Member                      `protobuf:"bytes,10,rep,name=members,proto3" json:"members,omitempty"`
	AccountMemberPublicKey string                         `` /* 132-byte string literal not displayed */
	LocalDevicePublicKey   string                         `` /* 126-byte string literal not displayed */
	CreatedDate            int64                          `protobuf:"varint,13,opt,name=created_date,json=createdDate,proto3" json:"created_date,omitempty"`
	ReplyOptionsCID        string                         `` /* 141-byte string literal not displayed */
	ReplyOptions           *Interaction                   `protobuf:"bytes,15,opt,name=reply_options,json=replyOptions,proto3" json:"reply_options,omitempty"`
	ReplicationInfo        []*ConversationReplicationInfo `` /* 147-byte string literal not displayed */
}

func (*Conversation) Descriptor

func (*Conversation) Descriptor() ([]byte, []int)

func (*Conversation) GetAccountMemberPublicKey

func (m *Conversation) GetAccountMemberPublicKey() string

func (*Conversation) GetAvatarCID

func (m *Conversation) GetAvatarCID() string

func (*Conversation) GetContact

func (m *Conversation) GetContact() *Contact

func (*Conversation) GetContactPublicKey

func (m *Conversation) GetContactPublicKey() string

func (*Conversation) GetCreatedDate

func (m *Conversation) GetCreatedDate() int64

func (*Conversation) GetDisplayName

func (m *Conversation) GetDisplayName() string

func (*Conversation) GetIsOpen

func (m *Conversation) GetIsOpen() bool

func (*Conversation) GetLastUpdate

func (m *Conversation) GetLastUpdate() int64
func (m *Conversation) GetLink() string

func (*Conversation) GetLocalDevicePublicKey

func (m *Conversation) GetLocalDevicePublicKey() string

func (*Conversation) GetMembers

func (m *Conversation) GetMembers() []*Member

func (*Conversation) GetPublicKey

func (m *Conversation) GetPublicKey() string

func (*Conversation) GetReplicationInfo

func (m *Conversation) GetReplicationInfo() []*ConversationReplicationInfo

func (*Conversation) GetReplyOptions

func (m *Conversation) GetReplyOptions() *Interaction

func (*Conversation) GetReplyOptionsCID

func (m *Conversation) GetReplyOptionsCID() string

func (*Conversation) GetType

func (m *Conversation) GetType() Conversation_Type

func (*Conversation) GetUnreadCount

func (m *Conversation) GetUnreadCount() int32

func (*Conversation) ProtoMessage

func (*Conversation) ProtoMessage()

func (*Conversation) Reset

func (m *Conversation) Reset()

func (*Conversation) String

func (m *Conversation) String() string

func (*Conversation) XXX_DiscardUnknown

func (m *Conversation) XXX_DiscardUnknown()

func (*Conversation) XXX_Marshal

func (m *Conversation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Conversation) XXX_Merge

func (m *Conversation) XXX_Merge(src proto.Message)

func (*Conversation) XXX_Size

func (m *Conversation) XXX_Size() int

func (*Conversation) XXX_Unmarshal

func (m *Conversation) XXX_Unmarshal(b []byte) error

type ConversationClose

type ConversationClose struct {
}

func (*ConversationClose) Descriptor

func (*ConversationClose) Descriptor() ([]byte, []int)

func (*ConversationClose) ProtoMessage

func (*ConversationClose) ProtoMessage()

func (*ConversationClose) Reset

func (m *ConversationClose) Reset()

func (*ConversationClose) String

func (m *ConversationClose) String() string

func (*ConversationClose) XXX_DiscardUnknown

func (m *ConversationClose) XXX_DiscardUnknown()

func (*ConversationClose) XXX_Marshal

func (m *ConversationClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationClose) XXX_Merge

func (m *ConversationClose) XXX_Merge(src proto.Message)

func (*ConversationClose) XXX_Size

func (m *ConversationClose) XXX_Size() int

func (*ConversationClose) XXX_Unmarshal

func (m *ConversationClose) XXX_Unmarshal(b []byte) error

type ConversationClose_Reply

type ConversationClose_Reply struct {
}

func (*ConversationClose_Reply) Descriptor

func (*ConversationClose_Reply) Descriptor() ([]byte, []int)

func (*ConversationClose_Reply) ProtoMessage

func (*ConversationClose_Reply) ProtoMessage()

func (*ConversationClose_Reply) Reset

func (m *ConversationClose_Reply) Reset()

func (*ConversationClose_Reply) String

func (m *ConversationClose_Reply) String() string

func (*ConversationClose_Reply) XXX_DiscardUnknown

func (m *ConversationClose_Reply) XXX_DiscardUnknown()

func (*ConversationClose_Reply) XXX_Marshal

func (m *ConversationClose_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationClose_Reply) XXX_Merge

func (m *ConversationClose_Reply) XXX_Merge(src proto.Message)

func (*ConversationClose_Reply) XXX_Size

func (m *ConversationClose_Reply) XXX_Size() int

func (*ConversationClose_Reply) XXX_Unmarshal

func (m *ConversationClose_Reply) XXX_Unmarshal(b []byte) error

type ConversationClose_Request

type ConversationClose_Request struct {
	GroupPK string `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
}

func (*ConversationClose_Request) Descriptor

func (*ConversationClose_Request) Descriptor() ([]byte, []int)

func (*ConversationClose_Request) GetGroupPK

func (m *ConversationClose_Request) GetGroupPK() string

func (*ConversationClose_Request) ProtoMessage

func (*ConversationClose_Request) ProtoMessage()

func (*ConversationClose_Request) Reset

func (m *ConversationClose_Request) Reset()

func (*ConversationClose_Request) String

func (m *ConversationClose_Request) String() string

func (*ConversationClose_Request) XXX_DiscardUnknown

func (m *ConversationClose_Request) XXX_DiscardUnknown()

func (*ConversationClose_Request) XXX_Marshal

func (m *ConversationClose_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationClose_Request) XXX_Merge

func (m *ConversationClose_Request) XXX_Merge(src proto.Message)

func (*ConversationClose_Request) XXX_Size

func (m *ConversationClose_Request) XXX_Size() int

func (*ConversationClose_Request) XXX_Unmarshal

func (m *ConversationClose_Request) XXX_Unmarshal(b []byte) error

type ConversationCreate

type ConversationCreate struct {
}

func (*ConversationCreate) Descriptor

func (*ConversationCreate) Descriptor() ([]byte, []int)

func (*ConversationCreate) ProtoMessage

func (*ConversationCreate) ProtoMessage()

func (*ConversationCreate) Reset

func (m *ConversationCreate) Reset()

func (*ConversationCreate) String

func (m *ConversationCreate) String() string

func (*ConversationCreate) XXX_DiscardUnknown

func (m *ConversationCreate) XXX_DiscardUnknown()

func (*ConversationCreate) XXX_Marshal

func (m *ConversationCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationCreate) XXX_Merge

func (m *ConversationCreate) XXX_Merge(src proto.Message)

func (*ConversationCreate) XXX_Size

func (m *ConversationCreate) XXX_Size() int

func (*ConversationCreate) XXX_Unmarshal

func (m *ConversationCreate) XXX_Unmarshal(b []byte) error

type ConversationCreate_Reply

type ConversationCreate_Reply struct {
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
}

func (*ConversationCreate_Reply) Descriptor

func (*ConversationCreate_Reply) Descriptor() ([]byte, []int)

func (*ConversationCreate_Reply) GetPublicKey

func (m *ConversationCreate_Reply) GetPublicKey() string

func (*ConversationCreate_Reply) ProtoMessage

func (*ConversationCreate_Reply) ProtoMessage()

func (*ConversationCreate_Reply) Reset

func (m *ConversationCreate_Reply) Reset()

func (*ConversationCreate_Reply) String

func (m *ConversationCreate_Reply) String() string

func (*ConversationCreate_Reply) XXX_DiscardUnknown

func (m *ConversationCreate_Reply) XXX_DiscardUnknown()

func (*ConversationCreate_Reply) XXX_Marshal

func (m *ConversationCreate_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationCreate_Reply) XXX_Merge

func (m *ConversationCreate_Reply) XXX_Merge(src proto.Message)

func (*ConversationCreate_Reply) XXX_Size

func (m *ConversationCreate_Reply) XXX_Size() int

func (*ConversationCreate_Reply) XXX_Unmarshal

func (m *ConversationCreate_Reply) XXX_Unmarshal(b []byte) error

type ConversationCreate_Request

type ConversationCreate_Request struct {
	DisplayName      string   `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	ContactsToInvite []string `protobuf:"bytes,2,rep,name=contacts_to_invite,json=contactsToInvite,proto3" json:"contacts_to_invite,omitempty"`
}

func (*ConversationCreate_Request) Descriptor

func (*ConversationCreate_Request) Descriptor() ([]byte, []int)

func (*ConversationCreate_Request) GetContactsToInvite

func (m *ConversationCreate_Request) GetContactsToInvite() []string

func (*ConversationCreate_Request) GetDisplayName

func (m *ConversationCreate_Request) GetDisplayName() string

func (*ConversationCreate_Request) ProtoMessage

func (*ConversationCreate_Request) ProtoMessage()

func (*ConversationCreate_Request) Reset

func (m *ConversationCreate_Request) Reset()

func (*ConversationCreate_Request) String

func (m *ConversationCreate_Request) String() string

func (*ConversationCreate_Request) XXX_DiscardUnknown

func (m *ConversationCreate_Request) XXX_DiscardUnknown()

func (*ConversationCreate_Request) XXX_Marshal

func (m *ConversationCreate_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationCreate_Request) XXX_Merge

func (m *ConversationCreate_Request) XXX_Merge(src proto.Message)

func (*ConversationCreate_Request) XXX_Size

func (m *ConversationCreate_Request) XXX_Size() int

func (*ConversationCreate_Request) XXX_Unmarshal

func (m *ConversationCreate_Request) XXX_Unmarshal(b []byte) error

type ConversationJoin

type ConversationJoin struct {
}

func (*ConversationJoin) Descriptor

func (*ConversationJoin) Descriptor() ([]byte, []int)

func (*ConversationJoin) ProtoMessage

func (*ConversationJoin) ProtoMessage()

func (*ConversationJoin) Reset

func (m *ConversationJoin) Reset()

func (*ConversationJoin) String

func (m *ConversationJoin) String() string

func (*ConversationJoin) XXX_DiscardUnknown

func (m *ConversationJoin) XXX_DiscardUnknown()

func (*ConversationJoin) XXX_Marshal

func (m *ConversationJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationJoin) XXX_Merge

func (m *ConversationJoin) XXX_Merge(src proto.Message)

func (*ConversationJoin) XXX_Size

func (m *ConversationJoin) XXX_Size() int

func (*ConversationJoin) XXX_Unmarshal

func (m *ConversationJoin) XXX_Unmarshal(b []byte) error

type ConversationJoin_Reply

type ConversationJoin_Reply struct {
}

func (*ConversationJoin_Reply) Descriptor

func (*ConversationJoin_Reply) Descriptor() ([]byte, []int)

func (*ConversationJoin_Reply) ProtoMessage

func (*ConversationJoin_Reply) ProtoMessage()

func (*ConversationJoin_Reply) Reset

func (m *ConversationJoin_Reply) Reset()

func (*ConversationJoin_Reply) String

func (m *ConversationJoin_Reply) String() string

func (*ConversationJoin_Reply) XXX_DiscardUnknown

func (m *ConversationJoin_Reply) XXX_DiscardUnknown()

func (*ConversationJoin_Reply) XXX_Marshal

func (m *ConversationJoin_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationJoin_Reply) XXX_Merge

func (m *ConversationJoin_Reply) XXX_Merge(src proto.Message)

func (*ConversationJoin_Reply) XXX_Size

func (m *ConversationJoin_Reply) XXX_Size() int

func (*ConversationJoin_Reply) XXX_Unmarshal

func (m *ConversationJoin_Reply) XXX_Unmarshal(b []byte) error

type ConversationJoin_Request

type ConversationJoin_Request struct {
	Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
	// optional passphase to decrypt the link
	Passphrase []byte `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
}

func (*ConversationJoin_Request) Descriptor

func (*ConversationJoin_Request) Descriptor() ([]byte, []int)
func (m *ConversationJoin_Request) GetLink() string

func (*ConversationJoin_Request) GetPassphrase added in v2.231.0

func (m *ConversationJoin_Request) GetPassphrase() []byte

func (*ConversationJoin_Request) ProtoMessage

func (*ConversationJoin_Request) ProtoMessage()

func (*ConversationJoin_Request) Reset

func (m *ConversationJoin_Request) Reset()

func (*ConversationJoin_Request) String

func (m *ConversationJoin_Request) String() string

func (*ConversationJoin_Request) XXX_DiscardUnknown

func (m *ConversationJoin_Request) XXX_DiscardUnknown()

func (*ConversationJoin_Request) XXX_Marshal

func (m *ConversationJoin_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationJoin_Request) XXX_Merge

func (m *ConversationJoin_Request) XXX_Merge(src proto.Message)

func (*ConversationJoin_Request) XXX_Size

func (m *ConversationJoin_Request) XXX_Size() int

func (*ConversationJoin_Request) XXX_Unmarshal

func (m *ConversationJoin_Request) XXX_Unmarshal(b []byte) error

type ConversationOpen

type ConversationOpen struct {
}

func (*ConversationOpen) Descriptor

func (*ConversationOpen) Descriptor() ([]byte, []int)

func (*ConversationOpen) ProtoMessage

func (*ConversationOpen) ProtoMessage()

func (*ConversationOpen) Reset

func (m *ConversationOpen) Reset()

func (*ConversationOpen) String

func (m *ConversationOpen) String() string

func (*ConversationOpen) XXX_DiscardUnknown

func (m *ConversationOpen) XXX_DiscardUnknown()

func (*ConversationOpen) XXX_Marshal

func (m *ConversationOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationOpen) XXX_Merge

func (m *ConversationOpen) XXX_Merge(src proto.Message)

func (*ConversationOpen) XXX_Size

func (m *ConversationOpen) XXX_Size() int

func (*ConversationOpen) XXX_Unmarshal

func (m *ConversationOpen) XXX_Unmarshal(b []byte) error

type ConversationOpen_Reply

type ConversationOpen_Reply struct {
}

func (*ConversationOpen_Reply) Descriptor

func (*ConversationOpen_Reply) Descriptor() ([]byte, []int)

func (*ConversationOpen_Reply) ProtoMessage

func (*ConversationOpen_Reply) ProtoMessage()

func (*ConversationOpen_Reply) Reset

func (m *ConversationOpen_Reply) Reset()

func (*ConversationOpen_Reply) String

func (m *ConversationOpen_Reply) String() string

func (*ConversationOpen_Reply) XXX_DiscardUnknown

func (m *ConversationOpen_Reply) XXX_DiscardUnknown()

func (*ConversationOpen_Reply) XXX_Marshal

func (m *ConversationOpen_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationOpen_Reply) XXX_Merge

func (m *ConversationOpen_Reply) XXX_Merge(src proto.Message)

func (*ConversationOpen_Reply) XXX_Size

func (m *ConversationOpen_Reply) XXX_Size() int

func (*ConversationOpen_Reply) XXX_Unmarshal

func (m *ConversationOpen_Reply) XXX_Unmarshal(b []byte) error

type ConversationOpen_Request

type ConversationOpen_Request struct {
	GroupPK string `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
}

func (*ConversationOpen_Request) Descriptor

func (*ConversationOpen_Request) Descriptor() ([]byte, []int)

func (*ConversationOpen_Request) GetGroupPK

func (m *ConversationOpen_Request) GetGroupPK() string

func (*ConversationOpen_Request) ProtoMessage

func (*ConversationOpen_Request) ProtoMessage()

func (*ConversationOpen_Request) Reset

func (m *ConversationOpen_Request) Reset()

func (*ConversationOpen_Request) String

func (m *ConversationOpen_Request) String() string

func (*ConversationOpen_Request) XXX_DiscardUnknown

func (m *ConversationOpen_Request) XXX_DiscardUnknown()

func (*ConversationOpen_Request) XXX_Marshal

func (m *ConversationOpen_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationOpen_Request) XXX_Merge

func (m *ConversationOpen_Request) XXX_Merge(src proto.Message)

func (*ConversationOpen_Request) XXX_Size

func (m *ConversationOpen_Request) XXX_Size() int

func (*ConversationOpen_Request) XXX_Unmarshal

func (m *ConversationOpen_Request) XXX_Unmarshal(b []byte) error

type ConversationReplicationInfo

type ConversationReplicationInfo struct {
	CID                   string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty" gorm:"primaryKey;column:cid"`
	ConversationPublicKey string `` /* 126-byte string literal not displayed */
	MemberPublicKey       string `protobuf:"bytes,3,opt,name=member_public_key,json=memberPublicKey,proto3" json:"member_public_key,omitempty"`
	AuthenticationURL     string `protobuf:"bytes,4,opt,name=authentication_url,json=authenticationUrl,proto3" json:"authentication_url,omitempty"`
	ReplicationServer     string `protobuf:"bytes,5,opt,name=replication_server,json=replicationServer,proto3" json:"replication_server,omitempty"`
}

func (*ConversationReplicationInfo) Descriptor

func (*ConversationReplicationInfo) Descriptor() ([]byte, []int)

func (*ConversationReplicationInfo) GetAuthenticationURL

func (m *ConversationReplicationInfo) GetAuthenticationURL() string

func (*ConversationReplicationInfo) GetCID

func (m *ConversationReplicationInfo) GetCID() string

func (*ConversationReplicationInfo) GetConversationPublicKey

func (m *ConversationReplicationInfo) GetConversationPublicKey() string

func (*ConversationReplicationInfo) GetMemberPublicKey

func (m *ConversationReplicationInfo) GetMemberPublicKey() string

func (*ConversationReplicationInfo) GetReplicationServer

func (m *ConversationReplicationInfo) GetReplicationServer() string

func (*ConversationReplicationInfo) ProtoMessage

func (*ConversationReplicationInfo) ProtoMessage()

func (*ConversationReplicationInfo) Reset

func (m *ConversationReplicationInfo) Reset()

func (*ConversationReplicationInfo) String

func (m *ConversationReplicationInfo) String() string

func (*ConversationReplicationInfo) XXX_DiscardUnknown

func (m *ConversationReplicationInfo) XXX_DiscardUnknown()

func (*ConversationReplicationInfo) XXX_Marshal

func (m *ConversationReplicationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationReplicationInfo) XXX_Merge

func (m *ConversationReplicationInfo) XXX_Merge(src proto.Message)

func (*ConversationReplicationInfo) XXX_Size

func (m *ConversationReplicationInfo) XXX_Size() int

func (*ConversationReplicationInfo) XXX_Unmarshal

func (m *ConversationReplicationInfo) XXX_Unmarshal(b []byte) error

type ConversationStream

type ConversationStream struct {
}

func (*ConversationStream) Descriptor

func (*ConversationStream) Descriptor() ([]byte, []int)

func (*ConversationStream) ProtoMessage

func (*ConversationStream) ProtoMessage()

func (*ConversationStream) Reset

func (m *ConversationStream) Reset()

func (*ConversationStream) String

func (m *ConversationStream) String() string

func (*ConversationStream) XXX_DiscardUnknown

func (m *ConversationStream) XXX_DiscardUnknown()

func (*ConversationStream) XXX_Marshal

func (m *ConversationStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationStream) XXX_Merge

func (m *ConversationStream) XXX_Merge(src proto.Message)

func (*ConversationStream) XXX_Size

func (m *ConversationStream) XXX_Size() int

func (*ConversationStream) XXX_Unmarshal

func (m *ConversationStream) XXX_Unmarshal(b []byte) error

type ConversationStream_Reply

type ConversationStream_Reply struct {
	Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
}

func (*ConversationStream_Reply) Descriptor

func (*ConversationStream_Reply) Descriptor() ([]byte, []int)

func (*ConversationStream_Reply) GetConversation

func (m *ConversationStream_Reply) GetConversation() *Conversation

func (*ConversationStream_Reply) ProtoMessage

func (*ConversationStream_Reply) ProtoMessage()

func (*ConversationStream_Reply) Reset

func (m *ConversationStream_Reply) Reset()

func (*ConversationStream_Reply) String

func (m *ConversationStream_Reply) String() string

func (*ConversationStream_Reply) XXX_DiscardUnknown

func (m *ConversationStream_Reply) XXX_DiscardUnknown()

func (*ConversationStream_Reply) XXX_Marshal

func (m *ConversationStream_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationStream_Reply) XXX_Merge

func (m *ConversationStream_Reply) XXX_Merge(src proto.Message)

func (*ConversationStream_Reply) XXX_Size

func (m *ConversationStream_Reply) XXX_Size() int

func (*ConversationStream_Reply) XXX_Unmarshal

func (m *ConversationStream_Reply) XXX_Unmarshal(b []byte) error

type ConversationStream_Request

type ConversationStream_Request struct {
	Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Page  uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
}

func (*ConversationStream_Request) Descriptor

func (*ConversationStream_Request) Descriptor() ([]byte, []int)

func (*ConversationStream_Request) GetCount

func (m *ConversationStream_Request) GetCount() uint64

func (*ConversationStream_Request) GetPage

func (m *ConversationStream_Request) GetPage() uint64

func (*ConversationStream_Request) ProtoMessage

func (*ConversationStream_Request) ProtoMessage()

func (*ConversationStream_Request) Reset

func (m *ConversationStream_Request) Reset()

func (*ConversationStream_Request) String

func (m *ConversationStream_Request) String() string

func (*ConversationStream_Request) XXX_DiscardUnknown

func (m *ConversationStream_Request) XXX_DiscardUnknown()

func (*ConversationStream_Request) XXX_Marshal

func (m *ConversationStream_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationStream_Request) XXX_Merge

func (m *ConversationStream_Request) XXX_Merge(src proto.Message)

func (*ConversationStream_Request) XXX_Size

func (m *ConversationStream_Request) XXX_Size() int

func (*ConversationStream_Request) XXX_Unmarshal

func (m *ConversationStream_Request) XXX_Unmarshal(b []byte) error

type Conversation_Type

type Conversation_Type int32
const (
	Conversation_Undefined       Conversation_Type = 0
	Conversation_AccountType     Conversation_Type = 1
	Conversation_ContactType     Conversation_Type = 2
	Conversation_MultiMemberType Conversation_Type = 3
)

func (Conversation_Type) EnumDescriptor

func (Conversation_Type) EnumDescriptor() ([]byte, []int)

func (Conversation_Type) String

func (x Conversation_Type) String() string

type DevShareInstanceBertyID

type DevShareInstanceBertyID struct {
}

func (*DevShareInstanceBertyID) Descriptor

func (*DevShareInstanceBertyID) Descriptor() ([]byte, []int)

func (*DevShareInstanceBertyID) ProtoMessage

func (*DevShareInstanceBertyID) ProtoMessage()

func (*DevShareInstanceBertyID) Reset

func (m *DevShareInstanceBertyID) Reset()

func (*DevShareInstanceBertyID) String

func (m *DevShareInstanceBertyID) String() string

func (*DevShareInstanceBertyID) XXX_DiscardUnknown

func (m *DevShareInstanceBertyID) XXX_DiscardUnknown()

func (*DevShareInstanceBertyID) XXX_Marshal

func (m *DevShareInstanceBertyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DevShareInstanceBertyID) XXX_Merge

func (m *DevShareInstanceBertyID) XXX_Merge(src proto.Message)

func (*DevShareInstanceBertyID) XXX_Size

func (m *DevShareInstanceBertyID) XXX_Size() int

func (*DevShareInstanceBertyID) XXX_Unmarshal

func (m *DevShareInstanceBertyID) XXX_Unmarshal(b []byte) error

type DevShareInstanceBertyID_Reply

type DevShareInstanceBertyID_Reply struct {
}

func (*DevShareInstanceBertyID_Reply) Descriptor

func (*DevShareInstanceBertyID_Reply) Descriptor() ([]byte, []int)

func (*DevShareInstanceBertyID_Reply) ProtoMessage

func (*DevShareInstanceBertyID_Reply) ProtoMessage()

func (*DevShareInstanceBertyID_Reply) Reset

func (m *DevShareInstanceBertyID_Reply) Reset()

func (*DevShareInstanceBertyID_Reply) String

func (*DevShareInstanceBertyID_Reply) XXX_DiscardUnknown

func (m *DevShareInstanceBertyID_Reply) XXX_DiscardUnknown()

func (*DevShareInstanceBertyID_Reply) XXX_Marshal

func (m *DevShareInstanceBertyID_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DevShareInstanceBertyID_Reply) XXX_Merge

func (m *DevShareInstanceBertyID_Reply) XXX_Merge(src proto.Message)

func (*DevShareInstanceBertyID_Reply) XXX_Size

func (m *DevShareInstanceBertyID_Reply) XXX_Size() int

func (*DevShareInstanceBertyID_Reply) XXX_Unmarshal

func (m *DevShareInstanceBertyID_Reply) XXX_Unmarshal(b []byte) error

type DevShareInstanceBertyID_Request

type DevShareInstanceBertyID_Request struct {
	// reset will regenerate a new link
	Reset_      bool   `protobuf:"varint,1,opt,name=reset,proto3" json:"reset,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*DevShareInstanceBertyID_Request) Descriptor

func (*DevShareInstanceBertyID_Request) Descriptor() ([]byte, []int)

func (*DevShareInstanceBertyID_Request) GetDisplayName

func (m *DevShareInstanceBertyID_Request) GetDisplayName() string

func (*DevShareInstanceBertyID_Request) GetReset_

func (m *DevShareInstanceBertyID_Request) GetReset_() bool

func (*DevShareInstanceBertyID_Request) ProtoMessage

func (*DevShareInstanceBertyID_Request) ProtoMessage()

func (*DevShareInstanceBertyID_Request) Reset

func (*DevShareInstanceBertyID_Request) String

func (*DevShareInstanceBertyID_Request) XXX_DiscardUnknown

func (m *DevShareInstanceBertyID_Request) XXX_DiscardUnknown()

func (*DevShareInstanceBertyID_Request) XXX_Marshal

func (m *DevShareInstanceBertyID_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DevShareInstanceBertyID_Request) XXX_Merge

func (m *DevShareInstanceBertyID_Request) XXX_Merge(src proto.Message)

func (*DevShareInstanceBertyID_Request) XXX_Size

func (m *DevShareInstanceBertyID_Request) XXX_Size() int

func (*DevShareInstanceBertyID_Request) XXX_Unmarshal

func (m *DevShareInstanceBertyID_Request) XXX_Unmarshal(b []byte) error

type Device

type Device struct {
	PublicKey       string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primaryKey"`
	MemberPublicKey string `protobuf:"bytes,2,opt,name=member_public_key,json=memberPublicKey,proto3" json:"member_public_key,omitempty" gorm:"index"`
}

func (*Device) Descriptor

func (*Device) Descriptor() ([]byte, []int)

func (*Device) GetMemberPublicKey

func (m *Device) GetMemberPublicKey() string

func (*Device) GetPublicKey

func (m *Device) GetPublicKey() string

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) Reset

func (m *Device) Reset()

func (*Device) String

func (m *Device) String() string

func (*Device) XXX_DiscardUnknown

func (m *Device) XXX_DiscardUnknown()

func (*Device) XXX_Marshal

func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Device) XXX_Merge

func (m *Device) XXX_Merge(src proto.Message)

func (*Device) XXX_Size

func (m *Device) XXX_Size() int

func (*Device) XXX_Unmarshal

func (m *Device) XXX_Unmarshal(b []byte) error

type EchoTest

type EchoTest struct {
}

func (*EchoTest) Descriptor

func (*EchoTest) Descriptor() ([]byte, []int)

func (*EchoTest) ProtoMessage

func (*EchoTest) ProtoMessage()

func (*EchoTest) Reset

func (m *EchoTest) Reset()

func (*EchoTest) String

func (m *EchoTest) String() string

func (*EchoTest) XXX_DiscardUnknown

func (m *EchoTest) XXX_DiscardUnknown()

func (*EchoTest) XXX_Marshal

func (m *EchoTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EchoTest) XXX_Merge

func (m *EchoTest) XXX_Merge(src proto.Message)

func (*EchoTest) XXX_Size

func (m *EchoTest) XXX_Size() int

func (*EchoTest) XXX_Unmarshal

func (m *EchoTest) XXX_Unmarshal(b []byte) error

type EchoTest_Reply

type EchoTest_Reply struct {
	Echo string `protobuf:"bytes,1,opt,name=echo,proto3" json:"echo,omitempty"`
}

func (*EchoTest_Reply) Descriptor

func (*EchoTest_Reply) Descriptor() ([]byte, []int)

func (*EchoTest_Reply) GetEcho

func (m *EchoTest_Reply) GetEcho() string

func (*EchoTest_Reply) ProtoMessage

func (*EchoTest_Reply) ProtoMessage()

func (*EchoTest_Reply) Reset

func (m *EchoTest_Reply) Reset()

func (*EchoTest_Reply) String

func (m *EchoTest_Reply) String() string

func (*EchoTest_Reply) XXX_DiscardUnknown

func (m *EchoTest_Reply) XXX_DiscardUnknown()

func (*EchoTest_Reply) XXX_Marshal

func (m *EchoTest_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EchoTest_Reply) XXX_Merge

func (m *EchoTest_Reply) XXX_Merge(src proto.Message)

func (*EchoTest_Reply) XXX_Size

func (m *EchoTest_Reply) XXX_Size() int

func (*EchoTest_Reply) XXX_Unmarshal

func (m *EchoTest_Reply) XXX_Unmarshal(b []byte) error

type EchoTest_Request

type EchoTest_Request struct {
	Delay uint64 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"`
	Echo  string `protobuf:"bytes,2,opt,name=echo,proto3" json:"echo,omitempty"`
}

func (*EchoTest_Request) Descriptor

func (*EchoTest_Request) Descriptor() ([]byte, []int)

func (*EchoTest_Request) GetDelay

func (m *EchoTest_Request) GetDelay() uint64

func (*EchoTest_Request) GetEcho

func (m *EchoTest_Request) GetEcho() string

func (*EchoTest_Request) ProtoMessage

func (*EchoTest_Request) ProtoMessage()

func (*EchoTest_Request) Reset

func (m *EchoTest_Request) Reset()

func (*EchoTest_Request) String

func (m *EchoTest_Request) String() string

func (*EchoTest_Request) XXX_DiscardUnknown

func (m *EchoTest_Request) XXX_DiscardUnknown()

func (*EchoTest_Request) XXX_Marshal

func (m *EchoTest_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EchoTest_Request) XXX_Merge

func (m *EchoTest_Request) XXX_Merge(src proto.Message)

func (*EchoTest_Request) XXX_Size

func (m *EchoTest_Request) XXX_Size() int

func (*EchoTest_Request) XXX_Unmarshal

func (m *EchoTest_Request) XXX_Unmarshal(b []byte) error

type EventStream

type EventStream struct {
}

func (*EventStream) Descriptor

func (*EventStream) Descriptor() ([]byte, []int)

func (*EventStream) ProtoMessage

func (*EventStream) ProtoMessage()

func (*EventStream) Reset

func (m *EventStream) Reset()

func (*EventStream) String

func (m *EventStream) String() string

func (*EventStream) XXX_DiscardUnknown

func (m *EventStream) XXX_DiscardUnknown()

func (*EventStream) XXX_Marshal

func (m *EventStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventStream) XXX_Merge

func (m *EventStream) XXX_Merge(src proto.Message)

func (*EventStream) XXX_Size

func (m *EventStream) XXX_Size() int

func (*EventStream) XXX_Unmarshal

func (m *EventStream) XXX_Unmarshal(b []byte) error

type EventStream_Reply

type EventStream_Reply struct {
	Event *StreamEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
}

func (*EventStream_Reply) Descriptor

func (*EventStream_Reply) Descriptor() ([]byte, []int)

func (*EventStream_Reply) GetEvent

func (m *EventStream_Reply) GetEvent() *StreamEvent

func (*EventStream_Reply) ProtoMessage

func (*EventStream_Reply) ProtoMessage()

func (*EventStream_Reply) Reset

func (m *EventStream_Reply) Reset()

func (*EventStream_Reply) String

func (m *EventStream_Reply) String() string

func (*EventStream_Reply) XXX_DiscardUnknown

func (m *EventStream_Reply) XXX_DiscardUnknown()

func (*EventStream_Reply) XXX_Marshal

func (m *EventStream_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventStream_Reply) XXX_Merge

func (m *EventStream_Reply) XXX_Merge(src proto.Message)

func (*EventStream_Reply) XXX_Size

func (m *EventStream_Reply) XXX_Size() int

func (*EventStream_Reply) XXX_Unmarshal

func (m *EventStream_Reply) XXX_Unmarshal(b []byte) error

type EventStream_Request

type EventStream_Request struct {
	Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Page  uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
}

func (*EventStream_Request) Descriptor

func (*EventStream_Request) Descriptor() ([]byte, []int)

func (*EventStream_Request) GetCount

func (m *EventStream_Request) GetCount() uint64

func (*EventStream_Request) GetPage

func (m *EventStream_Request) GetPage() uint64

func (*EventStream_Request) ProtoMessage

func (*EventStream_Request) ProtoMessage()

func (*EventStream_Request) Reset

func (m *EventStream_Request) Reset()

func (*EventStream_Request) String

func (m *EventStream_Request) String() string

func (*EventStream_Request) XXX_DiscardUnknown

func (m *EventStream_Request) XXX_DiscardUnknown()

func (*EventStream_Request) XXX_Marshal

func (m *EventStream_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventStream_Request) XXX_Merge

func (m *EventStream_Request) XXX_Merge(src proto.Message)

func (*EventStream_Request) XXX_Size

func (m *EventStream_Request) XXX_Size() int

func (*EventStream_Request) XXX_Unmarshal

func (m *EventStream_Request) XXX_Unmarshal(b []byte) error

type GetUsername

type GetUsername struct {
}

func (*GetUsername) Descriptor

func (*GetUsername) Descriptor() ([]byte, []int)

func (*GetUsername) ProtoMessage

func (*GetUsername) ProtoMessage()

func (*GetUsername) Reset

func (m *GetUsername) Reset()

func (*GetUsername) String

func (m *GetUsername) String() string

func (*GetUsername) XXX_DiscardUnknown

func (m *GetUsername) XXX_DiscardUnknown()

func (*GetUsername) XXX_Marshal

func (m *GetUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUsername) XXX_Merge

func (m *GetUsername) XXX_Merge(src proto.Message)

func (*GetUsername) XXX_Size

func (m *GetUsername) XXX_Size() int

func (*GetUsername) XXX_Unmarshal

func (m *GetUsername) XXX_Unmarshal(b []byte) error

type GetUsername_Reply

type GetUsername_Reply struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
}

func (*GetUsername_Reply) Descriptor

func (*GetUsername_Reply) Descriptor() ([]byte, []int)

func (*GetUsername_Reply) GetUsername

func (m *GetUsername_Reply) GetUsername() string

func (*GetUsername_Reply) ProtoMessage

func (*GetUsername_Reply) ProtoMessage()

func (*GetUsername_Reply) Reset

func (m *GetUsername_Reply) Reset()

func (*GetUsername_Reply) String

func (m *GetUsername_Reply) String() string

func (*GetUsername_Reply) XXX_DiscardUnknown

func (m *GetUsername_Reply) XXX_DiscardUnknown()

func (*GetUsername_Reply) XXX_Marshal

func (m *GetUsername_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUsername_Reply) XXX_Merge

func (m *GetUsername_Reply) XXX_Merge(src proto.Message)

func (*GetUsername_Reply) XXX_Size

func (m *GetUsername_Reply) XXX_Size() int

func (*GetUsername_Reply) XXX_Unmarshal

func (m *GetUsername_Reply) XXX_Unmarshal(b []byte) error

type GetUsername_Request

type GetUsername_Request struct {
}

func (*GetUsername_Request) Descriptor

func (*GetUsername_Request) Descriptor() ([]byte, []int)

func (*GetUsername_Request) ProtoMessage

func (*GetUsername_Request) ProtoMessage()

func (*GetUsername_Request) Reset

func (m *GetUsername_Request) Reset()

func (*GetUsername_Request) String

func (m *GetUsername_Request) String() string

func (*GetUsername_Request) XXX_DiscardUnknown

func (m *GetUsername_Request) XXX_DiscardUnknown()

func (*GetUsername_Request) XXX_Marshal

func (m *GetUsername_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUsername_Request) XXX_Merge

func (m *GetUsername_Request) XXX_Merge(src proto.Message)

func (*GetUsername_Request) XXX_Size

func (m *GetUsername_Request) XXX_Size() int

func (*GetUsername_Request) XXX_Unmarshal

func (m *GetUsername_Request) XXX_Unmarshal(b []byte) error

type InstanceExportData

type InstanceExportData struct {
}

func (*InstanceExportData) Descriptor

func (*InstanceExportData) Descriptor() ([]byte, []int)

func (*InstanceExportData) ProtoMessage

func (*InstanceExportData) ProtoMessage()

func (*InstanceExportData) Reset

func (m *InstanceExportData) Reset()

func (*InstanceExportData) String

func (m *InstanceExportData) String() string

func (*InstanceExportData) XXX_DiscardUnknown

func (m *InstanceExportData) XXX_DiscardUnknown()

func (*InstanceExportData) XXX_Marshal

func (m *InstanceExportData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstanceExportData) XXX_Merge

func (m *InstanceExportData) XXX_Merge(src proto.Message)

func (*InstanceExportData) XXX_Size

func (m *InstanceExportData) XXX_Size() int

func (*InstanceExportData) XXX_Unmarshal

func (m *InstanceExportData) XXX_Unmarshal(b []byte) error

type InstanceExportData_Reply

type InstanceExportData_Reply struct {
	ExportedData []byte `protobuf:"bytes,1,opt,name=exported_data,json=exportedData,proto3" json:"exported_data,omitempty"`
}

func (*InstanceExportData_Reply) Descriptor

func (*InstanceExportData_Reply) Descriptor() ([]byte, []int)

func (*InstanceExportData_Reply) GetExportedData

func (m *InstanceExportData_Reply) GetExportedData() []byte

func (*InstanceExportData_Reply) ProtoMessage

func (*InstanceExportData_Reply) ProtoMessage()

func (*InstanceExportData_Reply) Reset

func (m *InstanceExportData_Reply) Reset()

func (*InstanceExportData_Reply) String

func (m *InstanceExportData_Reply) String() string

func (*InstanceExportData_Reply) XXX_DiscardUnknown

func (m *InstanceExportData_Reply) XXX_DiscardUnknown()

func (*InstanceExportData_Reply) XXX_Marshal

func (m *InstanceExportData_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstanceExportData_Reply) XXX_Merge

func (m *InstanceExportData_Reply) XXX_Merge(src proto.Message)

func (*InstanceExportData_Reply) XXX_Size

func (m *InstanceExportData_Reply) XXX_Size() int

func (*InstanceExportData_Reply) XXX_Unmarshal

func (m *InstanceExportData_Reply) XXX_Unmarshal(b []byte) error

type InstanceExportData_Request

type InstanceExportData_Request struct {
}

func (*InstanceExportData_Request) Descriptor

func (*InstanceExportData_Request) Descriptor() ([]byte, []int)

func (*InstanceExportData_Request) ProtoMessage

func (*InstanceExportData_Request) ProtoMessage()

func (*InstanceExportData_Request) Reset

func (m *InstanceExportData_Request) Reset()

func (*InstanceExportData_Request) String

func (m *InstanceExportData_Request) String() string

func (*InstanceExportData_Request) XXX_DiscardUnknown

func (m *InstanceExportData_Request) XXX_DiscardUnknown()

func (*InstanceExportData_Request) XXX_Marshal

func (m *InstanceExportData_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstanceExportData_Request) XXX_Merge

func (m *InstanceExportData_Request) XXX_Merge(src proto.Message)

func (*InstanceExportData_Request) XXX_Size

func (m *InstanceExportData_Request) XXX_Size() int

func (*InstanceExportData_Request) XXX_Unmarshal

func (m *InstanceExportData_Request) XXX_Unmarshal(b []byte) error

type InstanceShareableBertyID

type InstanceShareableBertyID struct {
}

func (*InstanceShareableBertyID) Descriptor

func (*InstanceShareableBertyID) Descriptor() ([]byte, []int)

func (*InstanceShareableBertyID) ProtoMessage

func (*InstanceShareableBertyID) ProtoMessage()

func (*InstanceShareableBertyID) Reset

func (m *InstanceShareableBertyID) Reset()

func (*InstanceShareableBertyID) String

func (m *InstanceShareableBertyID) String() string

func (*InstanceShareableBertyID) XXX_DiscardUnknown

func (m *InstanceShareableBertyID) XXX_DiscardUnknown()

func (*InstanceShareableBertyID) XXX_Marshal

func (m *InstanceShareableBertyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstanceShareableBertyID) XXX_Merge

func (m *InstanceShareableBertyID) XXX_Merge(src proto.Message)

func (*InstanceShareableBertyID) XXX_Size

func (m *InstanceShareableBertyID) XXX_Size() int

func (*InstanceShareableBertyID) XXX_Unmarshal

func (m *InstanceShareableBertyID) XXX_Unmarshal(b []byte) error

type InstanceShareableBertyID_Reply

type InstanceShareableBertyID_Reply struct {
	Link        *BertyLink `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
	InternalURL string     `protobuf:"bytes,2,opt,name=internal_url,json=internalUrl,proto3" json:"internal_url,omitempty"`
	WebURL      string     `protobuf:"bytes,3,opt,name=web_url,json=webUrl,proto3" json:"web_url,omitempty"`
}

func (*InstanceShareableBertyID_Reply) Descriptor

func (*InstanceShareableBertyID_Reply) Descriptor() ([]byte, []int)

func (*InstanceShareableBertyID_Reply) GetInternalURL

func (m *InstanceShareableBertyID_Reply) GetInternalURL() string

func (*InstanceShareableBertyID_Reply) GetWebURL

func (m *InstanceShareableBertyID_Reply) GetWebURL() string

func (*InstanceShareableBertyID_Reply) ProtoMessage

func (*InstanceShareableBertyID_Reply) ProtoMessage()

func (*InstanceShareableBertyID_Reply) Reset

func (m *InstanceShareableBertyID_Reply) Reset()

func (*InstanceShareableBertyID_Reply) String

func (*InstanceShareableBertyID_Reply) XXX_DiscardUnknown

func (m *InstanceShareableBertyID_Reply) XXX_DiscardUnknown()

func (*InstanceShareableBertyID_Reply) XXX_Marshal

func (m *InstanceShareableBertyID_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstanceShareableBertyID_Reply) XXX_Merge

func (m *InstanceShareableBertyID_Reply) XXX_Merge(src proto.Message)

func (*InstanceShareableBertyID_Reply) XXX_Size

func (m *InstanceShareableBertyID_Reply) XXX_Size() int

func (*InstanceShareableBertyID_Reply) XXX_Unmarshal

func (m *InstanceShareableBertyID_Reply) XXX_Unmarshal(b []byte) error

type InstanceShareableBertyID_Request

type InstanceShareableBertyID_Request struct {
	// reset will regenerate a new link
	Reset_      bool   `protobuf:"varint,1,opt,name=reset,proto3" json:"reset,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// optional passphase to encrypt the link
	Passphrase []byte `protobuf:"bytes,3,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
}

func (*InstanceShareableBertyID_Request) Descriptor

func (*InstanceShareableBertyID_Request) Descriptor() ([]byte, []int)

func (*InstanceShareableBertyID_Request) GetDisplayName

func (m *InstanceShareableBertyID_Request) GetDisplayName() string

func (*InstanceShareableBertyID_Request) GetPassphrase added in v2.231.0

func (m *InstanceShareableBertyID_Request) GetPassphrase() []byte

func (*InstanceShareableBertyID_Request) GetReset_

func (m *InstanceShareableBertyID_Request) GetReset_() bool

func (*InstanceShareableBertyID_Request) ProtoMessage

func (*InstanceShareableBertyID_Request) ProtoMessage()

func (*InstanceShareableBertyID_Request) Reset

func (*InstanceShareableBertyID_Request) String

func (*InstanceShareableBertyID_Request) XXX_DiscardUnknown

func (m *InstanceShareableBertyID_Request) XXX_DiscardUnknown()

func (*InstanceShareableBertyID_Request) XXX_Marshal

func (m *InstanceShareableBertyID_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstanceShareableBertyID_Request) XXX_Merge

func (*InstanceShareableBertyID_Request) XXX_Size

func (m *InstanceShareableBertyID_Request) XXX_Size() int

func (*InstanceShareableBertyID_Request) XXX_Unmarshal

func (m *InstanceShareableBertyID_Request) XXX_Unmarshal(b []byte) error

type Interact

type Interact struct {
}

func (*Interact) Descriptor

func (*Interact) Descriptor() ([]byte, []int)

func (*Interact) ProtoMessage

func (*Interact) ProtoMessage()

func (*Interact) Reset

func (m *Interact) Reset()

func (*Interact) String

func (m *Interact) String() string

func (*Interact) XXX_DiscardUnknown

func (m *Interact) XXX_DiscardUnknown()

func (*Interact) XXX_Marshal

func (m *Interact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interact) XXX_Merge

func (m *Interact) XXX_Merge(src proto.Message)

func (*Interact) XXX_Size

func (m *Interact) XXX_Size() int

func (*Interact) XXX_Unmarshal

func (m *Interact) XXX_Unmarshal(b []byte) error

type Interact_Reply

type Interact_Reply struct {
}

func (*Interact_Reply) Descriptor

func (*Interact_Reply) Descriptor() ([]byte, []int)

func (*Interact_Reply) ProtoMessage

func (*Interact_Reply) ProtoMessage()

func (*Interact_Reply) Reset

func (m *Interact_Reply) Reset()

func (*Interact_Reply) String

func (m *Interact_Reply) String() string

func (*Interact_Reply) XXX_DiscardUnknown

func (m *Interact_Reply) XXX_DiscardUnknown()

func (*Interact_Reply) XXX_Marshal

func (m *Interact_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interact_Reply) XXX_Merge

func (m *Interact_Reply) XXX_Merge(src proto.Message)

func (*Interact_Reply) XXX_Size

func (m *Interact_Reply) XXX_Size() int

func (*Interact_Reply) XXX_Unmarshal

func (m *Interact_Reply) XXX_Unmarshal(b []byte) error

type Interact_Request

type Interact_Request struct {
	Type                  AppMessage_Type `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.v1.AppMessage_Type" json:"type,omitempty"`
	Payload               []byte          `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	ConversationPublicKey string          `` /* 126-byte string literal not displayed */
	MediaCids             []string        `protobuf:"bytes,4,rep,name=media_cids,json=mediaCids,proto3" json:"media_cids,omitempty"`
}

func (*Interact_Request) Descriptor

func (*Interact_Request) Descriptor() ([]byte, []int)

func (*Interact_Request) GetConversationPublicKey

func (m *Interact_Request) GetConversationPublicKey() string

func (*Interact_Request) GetMediaCids

func (m *Interact_Request) GetMediaCids() []string

func (*Interact_Request) GetPayload

func (m *Interact_Request) GetPayload() []byte

func (*Interact_Request) GetType

func (m *Interact_Request) GetType() AppMessage_Type

func (*Interact_Request) ProtoMessage

func (*Interact_Request) ProtoMessage()

func (*Interact_Request) Reset

func (m *Interact_Request) Reset()

func (*Interact_Request) String

func (m *Interact_Request) String() string

func (*Interact_Request) XXX_DiscardUnknown

func (m *Interact_Request) XXX_DiscardUnknown()

func (*Interact_Request) XXX_Marshal

func (m *Interact_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interact_Request) XXX_Merge

func (m *Interact_Request) XXX_Merge(src proto.Message)

func (*Interact_Request) XXX_Size

func (m *Interact_Request) XXX_Size() int

func (*Interact_Request) XXX_Unmarshal

func (m *Interact_Request) XXX_Unmarshal(b []byte) error

type Interaction

type Interaction struct {
	CID                   string          `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty" gorm:"primaryKey;column:cid"`
	Type                  AppMessage_Type `protobuf:"varint,2,opt,name=type,proto3,enum=berty.messenger.v1.AppMessage_Type" json:"type,omitempty" gorm:"index"`
	MemberPublicKey       string          `protobuf:"bytes,7,opt,name=member_public_key,json=memberPublicKey,proto3" json:"member_public_key,omitempty"`
	DevicePublicKey       string          `protobuf:"bytes,12,opt,name=device_public_key,json=devicePublicKey,proto3" json:"device_public_key,omitempty"`
	Member                *Member         `protobuf:"bytes,8,opt,name=member,proto3" json:"member,omitempty"`
	ConversationPublicKey string          `` /* 139-byte string literal not displayed */
	Conversation          *Conversation   `protobuf:"bytes,4,opt,name=conversation,proto3" json:"conversation,omitempty"`
	Payload               []byte          `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
	IsMe                  bool            `protobuf:"varint,6,opt,name=is_me,json=isMe,proto3" json:"is_me,omitempty"`
	SentDate              int64           `protobuf:"varint,9,opt,name=sent_date,json=sentDate,proto3" json:"sent_date,omitempty"`
	Acknowledged          bool            `protobuf:"varint,10,opt,name=acknowledged,proto3" json:"acknowledged,omitempty"`
	TargetCID             string          `protobuf:"bytes,13,opt,name=target_cid,json=targetCid,proto3" json:"target_cid,omitempty" gorm:"index;column:target_cid"`
	Medias                []*Media        `protobuf:"bytes,15,rep,name=medias,proto3" json:"medias,omitempty"`
}

func (*Interaction) Descriptor

func (*Interaction) Descriptor() ([]byte, []int)

func (*Interaction) GetAcknowledged

func (m *Interaction) GetAcknowledged() bool

func (*Interaction) GetCID

func (m *Interaction) GetCID() string

func (*Interaction) GetConversation

func (m *Interaction) GetConversation() *Conversation

func (*Interaction) GetConversationPublicKey

func (m *Interaction) GetConversationPublicKey() string

func (*Interaction) GetDevicePublicKey

func (m *Interaction) GetDevicePublicKey() string

func (*Interaction) GetIsMe

func (m *Interaction) GetIsMe() bool

func (*Interaction) GetMedias

func (m *Interaction) GetMedias() []*Media

func (*Interaction) GetMember

func (m *Interaction) GetMember() *Member

func (*Interaction) GetMemberPublicKey

func (m *Interaction) GetMemberPublicKey() string

func (*Interaction) GetPayload

func (m *Interaction) GetPayload() []byte

func (*Interaction) GetSentDate

func (m *Interaction) GetSentDate() int64

func (*Interaction) GetTargetCID

func (m *Interaction) GetTargetCID() string

func (*Interaction) GetType

func (m *Interaction) GetType() AppMessage_Type

func (*Interaction) MarshalJSON

func (interaction *Interaction) MarshalJSON() ([]byte, error)

func (*Interaction) ProtoMessage

func (*Interaction) ProtoMessage()

func (*Interaction) Reset

func (m *Interaction) Reset()

func (*Interaction) String

func (m *Interaction) String() string

func (*Interaction) UnmarshalPayload

func (interaction *Interaction) UnmarshalPayload() (proto.Message, error)

func (*Interaction) XXX_DiscardUnknown

func (m *Interaction) XXX_DiscardUnknown()

func (*Interaction) XXX_Marshal

func (m *Interaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interaction) XXX_Merge

func (m *Interaction) XXX_Merge(src proto.Message)

func (*Interaction) XXX_Size

func (m *Interaction) XXX_Size() int

func (*Interaction) XXX_Unmarshal

func (m *Interaction) XXX_Unmarshal(b []byte) error

type LocalConversationState

type LocalConversationState struct {
	PublicKey   string            `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	UnreadCount int32             `protobuf:"varint,2,opt,name=unread_count,json=unreadCount,proto3" json:"unread_count,omitempty"`
	IsOpen      bool              `protobuf:"varint,3,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"`
	Type        Conversation_Type `protobuf:"varint,4,opt,name=type,proto3,enum=berty.messenger.v1.Conversation_Type" json:"type,omitempty"`
}

func (*LocalConversationState) Descriptor

func (*LocalConversationState) Descriptor() ([]byte, []int)

func (*LocalConversationState) GetIsOpen

func (m *LocalConversationState) GetIsOpen() bool

func (*LocalConversationState) GetPublicKey

func (m *LocalConversationState) GetPublicKey() string

func (*LocalConversationState) GetType

func (*LocalConversationState) GetUnreadCount

func (m *LocalConversationState) GetUnreadCount() int32

func (*LocalConversationState) ProtoMessage

func (*LocalConversationState) ProtoMessage()

func (*LocalConversationState) Reset

func (m *LocalConversationState) Reset()

func (*LocalConversationState) String

func (m *LocalConversationState) String() string

func (*LocalConversationState) XXX_DiscardUnknown

func (m *LocalConversationState) XXX_DiscardUnknown()

func (*LocalConversationState) XXX_Marshal

func (m *LocalConversationState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LocalConversationState) XXX_Merge

func (m *LocalConversationState) XXX_Merge(src proto.Message)

func (*LocalConversationState) XXX_Size

func (m *LocalConversationState) XXX_Size() int

func (*LocalConversationState) XXX_Unmarshal

func (m *LocalConversationState) XXX_Unmarshal(b []byte) error

type LocalDatabaseState

type LocalDatabaseState struct {
	PublicKey               string                    `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	DisplayName             string                    `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	ReplicateFlag           bool                      `protobuf:"varint,3,opt,name=replicate_flag,json=replicateFlag,proto3" json:"replicate_flag,omitempty"`
	LocalConversationsState []*LocalConversationState `` /* 132-byte string literal not displayed */
	AccountLink             string                    `protobuf:"bytes,5,opt,name=account_link,json=accountLink,proto3" json:"account_link,omitempty"`
}

func (*LocalDatabaseState) Descriptor

func (*LocalDatabaseState) Descriptor() ([]byte, []int)
func (m *LocalDatabaseState) GetAccountLink() string

func (*LocalDatabaseState) GetDisplayName

func (m *LocalDatabaseState) GetDisplayName() string

func (*LocalDatabaseState) GetLocalConversationsState

func (m *LocalDatabaseState) GetLocalConversationsState() []*LocalConversationState

func (*LocalDatabaseState) GetPublicKey

func (m *LocalDatabaseState) GetPublicKey() string

func (*LocalDatabaseState) GetReplicateFlag

func (m *LocalDatabaseState) GetReplicateFlag() bool

func (*LocalDatabaseState) ProtoMessage

func (*LocalDatabaseState) ProtoMessage()

func (*LocalDatabaseState) Reset

func (m *LocalDatabaseState) Reset()

func (*LocalDatabaseState) String

func (m *LocalDatabaseState) String() string

func (*LocalDatabaseState) XXX_DiscardUnknown

func (m *LocalDatabaseState) XXX_DiscardUnknown()

func (*LocalDatabaseState) XXX_Marshal

func (m *LocalDatabaseState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LocalDatabaseState) XXX_Merge

func (m *LocalDatabaseState) XXX_Merge(src proto.Message)

func (*LocalDatabaseState) XXX_Size

func (m *LocalDatabaseState) XXX_Size() int

func (*LocalDatabaseState) XXX_Unmarshal

func (m *LocalDatabaseState) XXX_Unmarshal(b []byte) error

type Media

type Media struct {
	CID         string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty" gorm:"primaryKey;column:cid"`
	MimeType    string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	Filename    string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
	DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// these should not be sent on the bertyprotocol layer
	InteractionCID string      `` /* 141-byte string literal not displayed */
	State          Media_State `protobuf:"varint,103,opt,name=state,proto3,enum=berty.messenger.v1.Media_State" json:"state,omitempty"`
}

func (*Media) Descriptor

func (*Media) Descriptor() ([]byte, []int)

func (*Media) GetCID

func (m *Media) GetCID() string

func (*Media) GetDisplayName

func (m *Media) GetDisplayName() string

func (*Media) GetFilename

func (m *Media) GetFilename() string

func (*Media) GetInteractionCID

func (m *Media) GetInteractionCID() string

func (*Media) GetMimeType

func (m *Media) GetMimeType() string

func (*Media) GetState

func (m *Media) GetState() Media_State

func (*Media) ProtoMessage

func (*Media) ProtoMessage()

func (*Media) Reset

func (m *Media) Reset()

func (*Media) String

func (m *Media) String() string

func (*Media) XXX_DiscardUnknown

func (m *Media) XXX_DiscardUnknown()

func (*Media) XXX_Marshal

func (m *Media) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Media) XXX_Merge

func (m *Media) XXX_Merge(src proto.Message)

func (*Media) XXX_Size

func (m *Media) XXX_Size() int

func (*Media) XXX_Unmarshal

func (m *Media) XXX_Unmarshal(b []byte) error

type MediaPrepare

type MediaPrepare struct {
}

func (*MediaPrepare) Descriptor

func (*MediaPrepare) Descriptor() ([]byte, []int)

func (*MediaPrepare) ProtoMessage

func (*MediaPrepare) ProtoMessage()

func (*MediaPrepare) Reset

func (m *MediaPrepare) Reset()

func (*MediaPrepare) String

func (m *MediaPrepare) String() string

func (*MediaPrepare) XXX_DiscardUnknown

func (m *MediaPrepare) XXX_DiscardUnknown()

func (*MediaPrepare) XXX_Marshal

func (m *MediaPrepare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MediaPrepare) XXX_Merge

func (m *MediaPrepare) XXX_Merge(src proto.Message)

func (*MediaPrepare) XXX_Size

func (m *MediaPrepare) XXX_Size() int

func (*MediaPrepare) XXX_Unmarshal

func (m *MediaPrepare) XXX_Unmarshal(b []byte) error

type MediaPrepare_Reply

type MediaPrepare_Reply struct {
	Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
}

func (*MediaPrepare_Reply) Descriptor

func (*MediaPrepare_Reply) Descriptor() ([]byte, []int)

func (*MediaPrepare_Reply) GetCid

func (m *MediaPrepare_Reply) GetCid() string

func (*MediaPrepare_Reply) ProtoMessage

func (*MediaPrepare_Reply) ProtoMessage()

func (*MediaPrepare_Reply) Reset

func (m *MediaPrepare_Reply) Reset()

func (*MediaPrepare_Reply) String

func (m *MediaPrepare_Reply) String() string

func (*MediaPrepare_Reply) XXX_DiscardUnknown

func (m *MediaPrepare_Reply) XXX_DiscardUnknown()

func (*MediaPrepare_Reply) XXX_Marshal

func (m *MediaPrepare_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MediaPrepare_Reply) XXX_Merge

func (m *MediaPrepare_Reply) XXX_Merge(src proto.Message)

func (*MediaPrepare_Reply) XXX_Size

func (m *MediaPrepare_Reply) XXX_Size() int

func (*MediaPrepare_Reply) XXX_Unmarshal

func (m *MediaPrepare_Reply) XXX_Unmarshal(b []byte) error

type MediaPrepare_Request

type MediaPrepare_Request struct {
	Block []byte `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	Info  *Media `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	Uri   string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
}

func (*MediaPrepare_Request) Descriptor

func (*MediaPrepare_Request) Descriptor() ([]byte, []int)

func (*MediaPrepare_Request) GetBlock

func (m *MediaPrepare_Request) GetBlock() []byte

func (*MediaPrepare_Request) GetInfo

func (m *MediaPrepare_Request) GetInfo() *Media

func (*MediaPrepare_Request) GetUri

func (m *MediaPrepare_Request) GetUri() string

func (*MediaPrepare_Request) ProtoMessage

func (*MediaPrepare_Request) ProtoMessage()

func (*MediaPrepare_Request) Reset

func (m *MediaPrepare_Request) Reset()

func (*MediaPrepare_Request) String

func (m *MediaPrepare_Request) String() string

func (*MediaPrepare_Request) XXX_DiscardUnknown

func (m *MediaPrepare_Request) XXX_DiscardUnknown()

func (*MediaPrepare_Request) XXX_Marshal

func (m *MediaPrepare_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MediaPrepare_Request) XXX_Merge

func (m *MediaPrepare_Request) XXX_Merge(src proto.Message)

func (*MediaPrepare_Request) XXX_Size

func (m *MediaPrepare_Request) XXX_Size() int

func (*MediaPrepare_Request) XXX_Unmarshal

func (m *MediaPrepare_Request) XXX_Unmarshal(b []byte) error

type MediaRetrieve

type MediaRetrieve struct {
}

func (*MediaRetrieve) Descriptor

func (*MediaRetrieve) Descriptor() ([]byte, []int)

func (*MediaRetrieve) ProtoMessage

func (*MediaRetrieve) ProtoMessage()

func (*MediaRetrieve) Reset

func (m *MediaRetrieve) Reset()

func (*MediaRetrieve) String

func (m *MediaRetrieve) String() string

func (*MediaRetrieve) XXX_DiscardUnknown

func (m *MediaRetrieve) XXX_DiscardUnknown()

func (*MediaRetrieve) XXX_Marshal

func (m *MediaRetrieve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MediaRetrieve) XXX_Merge

func (m *MediaRetrieve) XXX_Merge(src proto.Message)

func (*MediaRetrieve) XXX_Size

func (m *MediaRetrieve) XXX_Size() int

func (*MediaRetrieve) XXX_Unmarshal

func (m *MediaRetrieve) XXX_Unmarshal(b []byte) error

type MediaRetrieve_Reply

type MediaRetrieve_Reply struct {
	Block []byte `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	Info  *Media `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
}

func (*MediaRetrieve_Reply) Descriptor

func (*MediaRetrieve_Reply) Descriptor() ([]byte, []int)

func (*MediaRetrieve_Reply) GetBlock

func (m *MediaRetrieve_Reply) GetBlock() []byte

func (*MediaRetrieve_Reply) GetInfo

func (m *MediaRetrieve_Reply) GetInfo() *Media

func (*MediaRetrieve_Reply) ProtoMessage

func (*MediaRetrieve_Reply) ProtoMessage()

func (*MediaRetrieve_Reply) Reset

func (m *MediaRetrieve_Reply) Reset()

func (*MediaRetrieve_Reply) String

func (m *MediaRetrieve_Reply) String() string

func (*MediaRetrieve_Reply) XXX_DiscardUnknown

func (m *MediaRetrieve_Reply) XXX_DiscardUnknown()

func (*MediaRetrieve_Reply) XXX_Marshal

func (m *MediaRetrieve_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MediaRetrieve_Reply) XXX_Merge

func (m *MediaRetrieve_Reply) XXX_Merge(src proto.Message)

func (*MediaRetrieve_Reply) XXX_Size

func (m *MediaRetrieve_Reply) XXX_Size() int

func (*MediaRetrieve_Reply) XXX_Unmarshal

func (m *MediaRetrieve_Reply) XXX_Unmarshal(b []byte) error

type MediaRetrieve_Request

type MediaRetrieve_Request struct {
	Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
}

func (*MediaRetrieve_Request) Descriptor

func (*MediaRetrieve_Request) Descriptor() ([]byte, []int)

func (*MediaRetrieve_Request) GetCid

func (m *MediaRetrieve_Request) GetCid() string

func (*MediaRetrieve_Request) ProtoMessage

func (*MediaRetrieve_Request) ProtoMessage()

func (*MediaRetrieve_Request) Reset

func (m *MediaRetrieve_Request) Reset()

func (*MediaRetrieve_Request) String

func (m *MediaRetrieve_Request) String() string

func (*MediaRetrieve_Request) XXX_DiscardUnknown

func (m *MediaRetrieve_Request) XXX_DiscardUnknown()

func (*MediaRetrieve_Request) XXX_Marshal

func (m *MediaRetrieve_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MediaRetrieve_Request) XXX_Merge

func (m *MediaRetrieve_Request) XXX_Merge(src proto.Message)

func (*MediaRetrieve_Request) XXX_Size

func (m *MediaRetrieve_Request) XXX_Size() int

func (*MediaRetrieve_Request) XXX_Unmarshal

func (m *MediaRetrieve_Request) XXX_Unmarshal(b []byte) error

type Media_State

type Media_State int32
const (
	Media_StateUnknown Media_State = 0
	// specific to media received
	Media_StateNeverDownloaded     Media_State = 1
	Media_StatePartiallyDownloaded Media_State = 2
	Media_StateDownloaded          Media_State = 3
	Media_StateInCache             Media_State = 4
	Media_StateInvalidCrypto       Media_State = 5
	// specific to media sent
	Media_StatePrepared Media_State = 100
	Media_StateAttached Media_State = 101
)

func (Media_State) EnumDescriptor

func (Media_State) EnumDescriptor() ([]byte, []int)

func (Media_State) String

func (x Media_State) String() string

type Member

type Member struct {
	PublicKey             string        `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primaryKey"`
	DisplayName           string        `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	AvatarCID             string        `protobuf:"bytes,6,opt,name=avatar_cid,json=avatarCid,proto3" json:"avatar_cid,omitempty" gorm:"column:avatar_cid"`
	ConversationPublicKey string        `` /* 144-byte string literal not displayed */
	InfoDate              int64         `protobuf:"varint,7,opt,name=info_date,json=infoDate,proto3" json:"info_date,omitempty"`
	Conversation          *Conversation `protobuf:"bytes,4,opt,name=conversation,proto3" json:"conversation,omitempty"`
	Devices               []*Device     `protobuf:"bytes,5,rep,name=devices,proto3" json:"devices,omitempty"`
}

func (*Member) Descriptor

func (*Member) Descriptor() ([]byte, []int)

func (*Member) GetAvatarCID

func (m *Member) GetAvatarCID() string

func (*Member) GetConversation

func (m *Member) GetConversation() *Conversation

func (*Member) GetConversationPublicKey

func (m *Member) GetConversationPublicKey() string

func (*Member) GetDevices

func (m *Member) GetDevices() []*Device

func (*Member) GetDisplayName

func (m *Member) GetDisplayName() string

func (*Member) GetInfoDate

func (m *Member) GetInfoDate() int64

func (*Member) GetPublicKey

func (m *Member) GetPublicKey() string

func (*Member) ProtoMessage

func (*Member) ProtoMessage()

func (*Member) Reset

func (m *Member) Reset()

func (*Member) String

func (m *Member) String() string

func (*Member) XXX_DiscardUnknown

func (m *Member) XXX_DiscardUnknown()

func (*Member) XXX_Marshal

func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Member) XXX_Merge

func (m *Member) XXX_Merge(src proto.Message)

func (*Member) XXX_Size

func (m *Member) XXX_Size() int

func (*Member) XXX_Unmarshal

func (m *Member) XXX_Unmarshal(b []byte) error

type MessengerServiceClient

type MessengerServiceClient interface {
	// InstanceShareableBertyID returns a Berty ID that can be shared as a string, QR code or deep link.
	InstanceShareableBertyID(ctx context.Context, in *InstanceShareableBertyID_Request, opts ...grpc.CallOption) (*InstanceShareableBertyID_Reply, error)
	// ShareableBertyGroup returns a Berty Group that can be shared as a string, QR code or deep link.
	ShareableBertyGroup(ctx context.Context, in *ShareableBertyGroup_Request, opts ...grpc.CallOption) (*ShareableBertyGroup_Reply, error)
	// DevShareInstanceBertyID shares your Berty ID on a dev channel.
	// TODO: remove for public.
	DevShareInstanceBertyID(ctx context.Context, in *DevShareInstanceBertyID_Request, opts ...grpc.CallOption) (*DevShareInstanceBertyID_Reply, error)
	// ParseDeepLink parses a link in the form of berty://xxx or https://berty.tech/id# and returns a structure
	// that can be used to display information.
	// This action is read-only.
	ParseDeepLink(ctx context.Context, in *ParseDeepLink_Request, opts ...grpc.CallOption) (*ParseDeepLink_Reply, error)
	// SendContactRequest takes the payload received from ParseDeepLink and send a contact request using the Berty Protocol.
	SendContactRequest(ctx context.Context, in *SendContactRequest_Request, opts ...grpc.CallOption) (*SendContactRequest_Reply, error)
	// SendMessage sends a message to a group.
	SendMessage(ctx context.Context, in *SendMessage_Request, opts ...grpc.CallOption) (*SendMessage_Reply, error)
	// SendReplyOptions sends a list of prefilled response options to a group.
	SendReplyOptions(ctx context.Context, in *SendReplyOptions_Request, opts ...grpc.CallOption) (*SendReplyOptions_Reply, error)
	// SendAck sends an acknowledge payload for given message id.
	SendAck(ctx context.Context, in *SendAck_Request, opts ...grpc.CallOption) (*SendAck_Reply, error)
	// SystemInfo returns runtime information.
	SystemInfo(ctx context.Context, in *SystemInfo_Request, opts ...grpc.CallOption) (*SystemInfo_Reply, error)
	// Use to test stream.
	EchoTest(ctx context.Context, in *EchoTest_Request, opts ...grpc.CallOption) (MessengerService_EchoTestClient, error)
	ConversationStream(ctx context.Context, in *ConversationStream_Request, opts ...grpc.CallOption) (MessengerService_ConversationStreamClient, error)
	EventStream(ctx context.Context, in *EventStream_Request, opts ...grpc.CallOption) (MessengerService_EventStreamClient, error)
	ConversationCreate(ctx context.Context, in *ConversationCreate_Request, opts ...grpc.CallOption) (*ConversationCreate_Reply, error)
	ConversationJoin(ctx context.Context, in *ConversationJoin_Request, opts ...grpc.CallOption) (*ConversationJoin_Reply, error)
	AccountGet(ctx context.Context, in *AccountGet_Request, opts ...grpc.CallOption) (*AccountGet_Reply, error)
	AccountUpdate(ctx context.Context, in *AccountUpdate_Request, opts ...grpc.CallOption) (*AccountUpdate_Reply, error)
	ContactRequest(ctx context.Context, in *ContactRequest_Request, opts ...grpc.CallOption) (*ContactRequest_Reply, error)
	ContactAccept(ctx context.Context, in *ContactAccept_Request, opts ...grpc.CallOption) (*ContactAccept_Reply, error)
	Interact(ctx context.Context, in *Interact_Request, opts ...grpc.CallOption) (*Interact_Reply, error)
	ConversationOpen(ctx context.Context, in *ConversationOpen_Request, opts ...grpc.CallOption) (*ConversationOpen_Reply, error)
	ConversationClose(ctx context.Context, in *ConversationClose_Request, opts ...grpc.CallOption) (*ConversationClose_Reply, error)
	// ServicesTokenList Retrieves the list of service server tokens
	ServicesTokenList(ctx context.Context, in *protocoltypes.ServicesTokenList_Request, opts ...grpc.CallOption) (MessengerService_ServicesTokenListClient, error)
	// ReplicationServiceRegisterGroup Asks a replication service to distribute a group contents
	ReplicationServiceRegisterGroup(ctx context.Context, in *ReplicationServiceRegisterGroup_Request, opts ...grpc.CallOption) (*ReplicationServiceRegisterGroup_Reply, error)
	// ReplicationSetAutoEnable Sets whether new groups should be replicated automatically or not
	ReplicationSetAutoEnable(ctx context.Context, in *ReplicationSetAutoEnable_Request, opts ...grpc.CallOption) (*ReplicationSetAutoEnable_Reply, error)
	// BannerQuote returns the quote of the day.
	BannerQuote(ctx context.Context, in *BannerQuote_Request, opts ...grpc.CallOption) (*BannerQuote_Reply, error)
	// GetUsername returns the name of the device/user using Android/iOS/universal API
	GetUsername(ctx context.Context, in *GetUsername_Request, opts ...grpc.CallOption) (*GetUsername_Reply, error)
	// InstanceExportData exports instance data
	InstanceExportData(ctx context.Context, in *InstanceExportData_Request, opts ...grpc.CallOption) (MessengerService_InstanceExportDataClient, error)
	// MediaPrepare allows to upload a file and returns a cid to attach to messages
	MediaPrepare(ctx context.Context, opts ...grpc.CallOption) (MessengerService_MediaPrepareClient, error)
	// MediaRetrieve allows to download a file attached to a message
	MediaRetrieve(ctx context.Context, in *MediaRetrieve_Request, opts ...grpc.CallOption) (MessengerService_MediaRetrieveClient, error)
}

MessengerServiceClient is the client API for MessengerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMessengerServiceClient

func NewMessengerServiceClient(cc *grpc.ClientConn) MessengerServiceClient

type MessengerServiceServer

type MessengerServiceServer interface {
	// InstanceShareableBertyID returns a Berty ID that can be shared as a string, QR code or deep link.
	InstanceShareableBertyID(context.Context, *InstanceShareableBertyID_Request) (*InstanceShareableBertyID_Reply, error)
	// ShareableBertyGroup returns a Berty Group that can be shared as a string, QR code or deep link.
	ShareableBertyGroup(context.Context, *ShareableBertyGroup_Request) (*ShareableBertyGroup_Reply, error)
	// DevShareInstanceBertyID shares your Berty ID on a dev channel.
	// TODO: remove for public.
	DevShareInstanceBertyID(context.Context, *DevShareInstanceBertyID_Request) (*DevShareInstanceBertyID_Reply, error)
	// ParseDeepLink parses a link in the form of berty://xxx or https://berty.tech/id# and returns a structure
	// that can be used to display information.
	// This action is read-only.
	ParseDeepLink(context.Context, *ParseDeepLink_Request) (*ParseDeepLink_Reply, error)
	// SendContactRequest takes the payload received from ParseDeepLink and send a contact request using the Berty Protocol.
	SendContactRequest(context.Context, *SendContactRequest_Request) (*SendContactRequest_Reply, error)
	// SendMessage sends a message to a group.
	SendMessage(context.Context, *SendMessage_Request) (*SendMessage_Reply, error)
	// SendReplyOptions sends a list of prefilled response options to a group.
	SendReplyOptions(context.Context, *SendReplyOptions_Request) (*SendReplyOptions_Reply, error)
	// SendAck sends an acknowledge payload for given message id.
	SendAck(context.Context, *SendAck_Request) (*SendAck_Reply, error)
	// SystemInfo returns runtime information.
	SystemInfo(context.Context, *SystemInfo_Request) (*SystemInfo_Reply, error)
	// Use to test stream.
	EchoTest(*EchoTest_Request, MessengerService_EchoTestServer) error
	ConversationStream(*ConversationStream_Request, MessengerService_ConversationStreamServer) error
	EventStream(*EventStream_Request, MessengerService_EventStreamServer) error
	ConversationCreate(context.Context, *ConversationCreate_Request) (*ConversationCreate_Reply, error)
	ConversationJoin(context.Context, *ConversationJoin_Request) (*ConversationJoin_Reply, error)
	AccountGet(context.Context, *AccountGet_Request) (*AccountGet_Reply, error)
	AccountUpdate(context.Context, *AccountUpdate_Request) (*AccountUpdate_Reply, error)
	ContactRequest(context.Context, *ContactRequest_Request) (*ContactRequest_Reply, error)
	ContactAccept(context.Context, *ContactAccept_Request) (*ContactAccept_Reply, error)
	Interact(context.Context, *Interact_Request) (*Interact_Reply, error)
	ConversationOpen(context.Context, *ConversationOpen_Request) (*ConversationOpen_Reply, error)
	ConversationClose(context.Context, *ConversationClose_Request) (*ConversationClose_Reply, error)
	// ServicesTokenList Retrieves the list of service server tokens
	ServicesTokenList(*protocoltypes.ServicesTokenList_Request, MessengerService_ServicesTokenListServer) error
	// ReplicationServiceRegisterGroup Asks a replication service to distribute a group contents
	ReplicationServiceRegisterGroup(context.Context, *ReplicationServiceRegisterGroup_Request) (*ReplicationServiceRegisterGroup_Reply, error)
	// ReplicationSetAutoEnable Sets whether new groups should be replicated automatically or not
	ReplicationSetAutoEnable(context.Context, *ReplicationSetAutoEnable_Request) (*ReplicationSetAutoEnable_Reply, error)
	// BannerQuote returns the quote of the day.
	BannerQuote(context.Context, *BannerQuote_Request) (*BannerQuote_Reply, error)
	// GetUsername returns the name of the device/user using Android/iOS/universal API
	GetUsername(context.Context, *GetUsername_Request) (*GetUsername_Reply, error)
	// InstanceExportData exports instance data
	InstanceExportData(*InstanceExportData_Request, MessengerService_InstanceExportDataServer) error
	// MediaPrepare allows to upload a file and returns a cid to attach to messages
	MediaPrepare(MessengerService_MediaPrepareServer) error
	// MediaRetrieve allows to download a file attached to a message
	MediaRetrieve(*MediaRetrieve_Request, MessengerService_MediaRetrieveServer) error
}

MessengerServiceServer is the server API for MessengerService service.

type MessengerService_ConversationStreamClient

type MessengerService_ConversationStreamClient interface {
	Recv() (*ConversationStream_Reply, error)
	grpc.ClientStream
}

type MessengerService_ConversationStreamServer

type MessengerService_ConversationStreamServer interface {
	Send(*ConversationStream_Reply) error
	grpc.ServerStream
}

type MessengerService_EchoTestClient

type MessengerService_EchoTestClient interface {
	Recv() (*EchoTest_Reply, error)
	grpc.ClientStream
}

type MessengerService_EchoTestServer

type MessengerService_EchoTestServer interface {
	Send(*EchoTest_Reply) error
	grpc.ServerStream
}

type MessengerService_EventStreamClient

type MessengerService_EventStreamClient interface {
	Recv() (*EventStream_Reply, error)
	grpc.ClientStream
}

type MessengerService_EventStreamServer

type MessengerService_EventStreamServer interface {
	Send(*EventStream_Reply) error
	grpc.ServerStream
}

type MessengerService_InstanceExportDataClient

type MessengerService_InstanceExportDataClient interface {
	Recv() (*InstanceExportData_Reply, error)
	grpc.ClientStream
}

type MessengerService_InstanceExportDataServer

type MessengerService_InstanceExportDataServer interface {
	Send(*InstanceExportData_Reply) error
	grpc.ServerStream
}

type MessengerService_MediaPrepareClient

type MessengerService_MediaPrepareClient interface {
	Send(*MediaPrepare_Request) error
	CloseAndRecv() (*MediaPrepare_Reply, error)
	grpc.ClientStream
}

type MessengerService_MediaPrepareServer

type MessengerService_MediaPrepareServer interface {
	SendAndClose(*MediaPrepare_Reply) error
	Recv() (*MediaPrepare_Request, error)
	grpc.ServerStream
}

type MessengerService_MediaRetrieveClient

type MessengerService_MediaRetrieveClient interface {
	Recv() (*MediaRetrieve_Reply, error)
	grpc.ClientStream
}

type MessengerService_MediaRetrieveServer

type MessengerService_MediaRetrieveServer interface {
	Send(*MediaRetrieve_Reply) error
	grpc.ServerStream
}

type MessengerService_ServicesTokenListClient

type MessengerService_ServicesTokenListClient interface {
	Recv() (*protocoltypes.ServicesTokenList_Reply, error)
	grpc.ClientStream
}

type MessengerService_ServicesTokenListServer

type MessengerService_ServicesTokenListServer interface {
	Send(*protocoltypes.ServicesTokenList_Reply) error
	grpc.ServerStream
}
type ParseDeepLink struct {
}

func (*ParseDeepLink) Descriptor

func (*ParseDeepLink) Descriptor() ([]byte, []int)

func (*ParseDeepLink) ProtoMessage

func (*ParseDeepLink) ProtoMessage()

func (*ParseDeepLink) Reset

func (m *ParseDeepLink) Reset()

func (*ParseDeepLink) String

func (m *ParseDeepLink) String() string

func (*ParseDeepLink) XXX_DiscardUnknown

func (m *ParseDeepLink) XXX_DiscardUnknown()

func (*ParseDeepLink) XXX_Marshal

func (m *ParseDeepLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ParseDeepLink) XXX_Merge

func (m *ParseDeepLink) XXX_Merge(src proto.Message)

func (*ParseDeepLink) XXX_Size

func (m *ParseDeepLink) XXX_Size() int

func (*ParseDeepLink) XXX_Unmarshal

func (m *ParseDeepLink) XXX_Unmarshal(b []byte) error
type ParseDeepLink_Reply struct {
	Link *BertyLink `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
}
func (*ParseDeepLink_Reply) Descriptor() ([]byte, []int)
func (m *ParseDeepLink_Reply) GetLink() *BertyLink
func (*ParseDeepLink_Reply) ProtoMessage()
func (m *ParseDeepLink_Reply) Reset()
func (m *ParseDeepLink_Reply) String() string
func (m *ParseDeepLink_Reply) XXX_DiscardUnknown()
func (m *ParseDeepLink_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ParseDeepLink_Reply) XXX_Merge(src proto.Message)
func (m *ParseDeepLink_Reply) XXX_Size() int
func (m *ParseDeepLink_Reply) XXX_Unmarshal(b []byte) error
type ParseDeepLink_Request struct {
	Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
	// optional passphase to decrypt the link
	Passphrase []byte `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
}
func (*ParseDeepLink_Request) Descriptor() ([]byte, []int)
func (m *ParseDeepLink_Request) GetLink() string
func (m *ParseDeepLink_Request) GetPassphrase() []byte
func (*ParseDeepLink_Request) ProtoMessage()
func (m *ParseDeepLink_Request) Reset()
func (m *ParseDeepLink_Request) String() string
func (m *ParseDeepLink_Request) XXX_DiscardUnknown()
func (m *ParseDeepLink_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ParseDeepLink_Request) XXX_Merge(src proto.Message)
func (m *ParseDeepLink_Request) XXX_Size() int
func (m *ParseDeepLink_Request) XXX_Unmarshal(b []byte) error

type ReplicationServiceRegisterGroup

type ReplicationServiceRegisterGroup struct {
}

func (*ReplicationServiceRegisterGroup) Descriptor

func (*ReplicationServiceRegisterGroup) Descriptor() ([]byte, []int)

func (*ReplicationServiceRegisterGroup) ProtoMessage

func (*ReplicationServiceRegisterGroup) ProtoMessage()

func (*ReplicationServiceRegisterGroup) Reset

func (*ReplicationServiceRegisterGroup) String

func (*ReplicationServiceRegisterGroup) XXX_DiscardUnknown

func (m *ReplicationServiceRegisterGroup) XXX_DiscardUnknown()

func (*ReplicationServiceRegisterGroup) XXX_Marshal

func (m *ReplicationServiceRegisterGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicationServiceRegisterGroup) XXX_Merge

func (m *ReplicationServiceRegisterGroup) XXX_Merge(src proto.Message)

func (*ReplicationServiceRegisterGroup) XXX_Size

func (m *ReplicationServiceRegisterGroup) XXX_Size() int

func (*ReplicationServiceRegisterGroup) XXX_Unmarshal

func (m *ReplicationServiceRegisterGroup) XXX_Unmarshal(b []byte) error

type ReplicationServiceRegisterGroup_Reply

type ReplicationServiceRegisterGroup_Reply struct {
}

func (*ReplicationServiceRegisterGroup_Reply) Descriptor

func (*ReplicationServiceRegisterGroup_Reply) Descriptor() ([]byte, []int)

func (*ReplicationServiceRegisterGroup_Reply) ProtoMessage

func (*ReplicationServiceRegisterGroup_Reply) ProtoMessage()

func (*ReplicationServiceRegisterGroup_Reply) Reset

func (*ReplicationServiceRegisterGroup_Reply) String

func (*ReplicationServiceRegisterGroup_Reply) XXX_DiscardUnknown

func (m *ReplicationServiceRegisterGroup_Reply) XXX_DiscardUnknown()

func (*ReplicationServiceRegisterGroup_Reply) XXX_Marshal

func (m *ReplicationServiceRegisterGroup_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicationServiceRegisterGroup_Reply) XXX_Merge

func (*ReplicationServiceRegisterGroup_Reply) XXX_Size

func (*ReplicationServiceRegisterGroup_Reply) XXX_Unmarshal

func (m *ReplicationServiceRegisterGroup_Reply) XXX_Unmarshal(b []byte) error

type ReplicationServiceRegisterGroup_Request

type ReplicationServiceRegisterGroup_Request struct {
	TokenID               string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	ConversationPublicKey string `` /* 126-byte string literal not displayed */
}

func (*ReplicationServiceRegisterGroup_Request) Descriptor

func (*ReplicationServiceRegisterGroup_Request) Descriptor() ([]byte, []int)

func (*ReplicationServiceRegisterGroup_Request) GetConversationPublicKey

func (m *ReplicationServiceRegisterGroup_Request) GetConversationPublicKey() string

func (*ReplicationServiceRegisterGroup_Request) GetTokenID

func (*ReplicationServiceRegisterGroup_Request) ProtoMessage

func (*ReplicationServiceRegisterGroup_Request) Reset

func (*ReplicationServiceRegisterGroup_Request) String

func (*ReplicationServiceRegisterGroup_Request) XXX_DiscardUnknown

func (m *ReplicationServiceRegisterGroup_Request) XXX_DiscardUnknown()

func (*ReplicationServiceRegisterGroup_Request) XXX_Marshal

func (m *ReplicationServiceRegisterGroup_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicationServiceRegisterGroup_Request) XXX_Merge

func (*ReplicationServiceRegisterGroup_Request) XXX_Size

func (*ReplicationServiceRegisterGroup_Request) XXX_Unmarshal

func (m *ReplicationServiceRegisterGroup_Request) XXX_Unmarshal(b []byte) error

type ReplicationSetAutoEnable

type ReplicationSetAutoEnable struct {
}

func (*ReplicationSetAutoEnable) Descriptor

func (*ReplicationSetAutoEnable) Descriptor() ([]byte, []int)

func (*ReplicationSetAutoEnable) ProtoMessage

func (*ReplicationSetAutoEnable) ProtoMessage()

func (*ReplicationSetAutoEnable) Reset

func (m *ReplicationSetAutoEnable) Reset()

func (*ReplicationSetAutoEnable) String

func (m *ReplicationSetAutoEnable) String() string

func (*ReplicationSetAutoEnable) XXX_DiscardUnknown

func (m *ReplicationSetAutoEnable) XXX_DiscardUnknown()

func (*ReplicationSetAutoEnable) XXX_Marshal

func (m *ReplicationSetAutoEnable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicationSetAutoEnable) XXX_Merge

func (m *ReplicationSetAutoEnable) XXX_Merge(src proto.Message)

func (*ReplicationSetAutoEnable) XXX_Size

func (m *ReplicationSetAutoEnable) XXX_Size() int

func (*ReplicationSetAutoEnable) XXX_Unmarshal

func (m *ReplicationSetAutoEnable) XXX_Unmarshal(b []byte) error

type ReplicationSetAutoEnable_Reply

type ReplicationSetAutoEnable_Reply struct {
}

func (*ReplicationSetAutoEnable_Reply) Descriptor

func (*ReplicationSetAutoEnable_Reply) Descriptor() ([]byte, []int)

func (*ReplicationSetAutoEnable_Reply) ProtoMessage

func (*ReplicationSetAutoEnable_Reply) ProtoMessage()

func (*ReplicationSetAutoEnable_Reply) Reset

func (m *ReplicationSetAutoEnable_Reply) Reset()

func (*ReplicationSetAutoEnable_Reply) String

func (*ReplicationSetAutoEnable_Reply) XXX_DiscardUnknown

func (m *ReplicationSetAutoEnable_Reply) XXX_DiscardUnknown()

func (*ReplicationSetAutoEnable_Reply) XXX_Marshal

func (m *ReplicationSetAutoEnable_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicationSetAutoEnable_Reply) XXX_Merge

func (m *ReplicationSetAutoEnable_Reply) XXX_Merge(src proto.Message)

func (*ReplicationSetAutoEnable_Reply) XXX_Size

func (m *ReplicationSetAutoEnable_Reply) XXX_Size() int

func (*ReplicationSetAutoEnable_Reply) XXX_Unmarshal

func (m *ReplicationSetAutoEnable_Reply) XXX_Unmarshal(b []byte) error

type ReplicationSetAutoEnable_Request

type ReplicationSetAutoEnable_Request struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

func (*ReplicationSetAutoEnable_Request) Descriptor

func (*ReplicationSetAutoEnable_Request) Descriptor() ([]byte, []int)

func (*ReplicationSetAutoEnable_Request) GetEnabled

func (m *ReplicationSetAutoEnable_Request) GetEnabled() bool

func (*ReplicationSetAutoEnable_Request) ProtoMessage

func (*ReplicationSetAutoEnable_Request) ProtoMessage()

func (*ReplicationSetAutoEnable_Request) Reset

func (*ReplicationSetAutoEnable_Request) String

func (*ReplicationSetAutoEnable_Request) XXX_DiscardUnknown

func (m *ReplicationSetAutoEnable_Request) XXX_DiscardUnknown()

func (*ReplicationSetAutoEnable_Request) XXX_Marshal

func (m *ReplicationSetAutoEnable_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicationSetAutoEnable_Request) XXX_Merge

func (*ReplicationSetAutoEnable_Request) XXX_Size

func (m *ReplicationSetAutoEnable_Request) XXX_Size() int

func (*ReplicationSetAutoEnable_Request) XXX_Unmarshal

func (m *ReplicationSetAutoEnable_Request) XXX_Unmarshal(b []byte) error

type ReplyOption

type ReplyOption struct {
	Display string `protobuf:"bytes,1,opt,name=display,proto3" json:"display,omitempty"`
	Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*ReplyOption) Descriptor

func (*ReplyOption) Descriptor() ([]byte, []int)

func (*ReplyOption) GetDisplay

func (m *ReplyOption) GetDisplay() string

func (*ReplyOption) GetPayload

func (m *ReplyOption) GetPayload() string

func (*ReplyOption) ProtoMessage

func (*ReplyOption) ProtoMessage()

func (*ReplyOption) Reset

func (m *ReplyOption) Reset()

func (*ReplyOption) String

func (m *ReplyOption) String() string

func (*ReplyOption) XXX_DiscardUnknown

func (m *ReplyOption) XXX_DiscardUnknown()

func (*ReplyOption) XXX_Marshal

func (m *ReplyOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyOption) XXX_Merge

func (m *ReplyOption) XXX_Merge(src proto.Message)

func (*ReplyOption) XXX_Size

func (m *ReplyOption) XXX_Size() int

func (*ReplyOption) XXX_Unmarshal

func (m *ReplyOption) XXX_Unmarshal(b []byte) error

type SendAck

type SendAck struct {
}

func (*SendAck) Descriptor

func (*SendAck) Descriptor() ([]byte, []int)

func (*SendAck) ProtoMessage

func (*SendAck) ProtoMessage()

func (*SendAck) Reset

func (m *SendAck) Reset()

func (*SendAck) String

func (m *SendAck) String() string

func (*SendAck) XXX_DiscardUnknown

func (m *SendAck) XXX_DiscardUnknown()

func (*SendAck) XXX_Marshal

func (m *SendAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendAck) XXX_Merge

func (m *SendAck) XXX_Merge(src proto.Message)

func (*SendAck) XXX_Size

func (m *SendAck) XXX_Size() int

func (*SendAck) XXX_Unmarshal

func (m *SendAck) XXX_Unmarshal(b []byte) error

type SendAck_Reply

type SendAck_Reply struct {
}

func (*SendAck_Reply) Descriptor

func (*SendAck_Reply) Descriptor() ([]byte, []int)

func (*SendAck_Reply) ProtoMessage

func (*SendAck_Reply) ProtoMessage()

func (*SendAck_Reply) Reset

func (m *SendAck_Reply) Reset()

func (*SendAck_Reply) String

func (m *SendAck_Reply) String() string

func (*SendAck_Reply) XXX_DiscardUnknown

func (m *SendAck_Reply) XXX_DiscardUnknown()

func (*SendAck_Reply) XXX_Marshal

func (m *SendAck_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendAck_Reply) XXX_Merge

func (m *SendAck_Reply) XXX_Merge(src proto.Message)

func (*SendAck_Reply) XXX_Size

func (m *SendAck_Reply) XXX_Size() int

func (*SendAck_Reply) XXX_Unmarshal

func (m *SendAck_Reply) XXX_Unmarshal(b []byte) error

type SendAck_Request

type SendAck_Request struct {
	GroupPK   []byte `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
	MessageID []byte `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
}

func (*SendAck_Request) Descriptor

func (*SendAck_Request) Descriptor() ([]byte, []int)

func (*SendAck_Request) GetGroupPK

func (m *SendAck_Request) GetGroupPK() []byte

func (*SendAck_Request) GetMessageID

func (m *SendAck_Request) GetMessageID() []byte

func (*SendAck_Request) ProtoMessage

func (*SendAck_Request) ProtoMessage()

func (*SendAck_Request) Reset

func (m *SendAck_Request) Reset()

func (*SendAck_Request) String

func (m *SendAck_Request) String() string

func (*SendAck_Request) XXX_DiscardUnknown

func (m *SendAck_Request) XXX_DiscardUnknown()

func (*SendAck_Request) XXX_Marshal

func (m *SendAck_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendAck_Request) XXX_Merge

func (m *SendAck_Request) XXX_Merge(src proto.Message)

func (*SendAck_Request) XXX_Size

func (m *SendAck_Request) XXX_Size() int

func (*SendAck_Request) XXX_Unmarshal

func (m *SendAck_Request) XXX_Unmarshal(b []byte) error

type SendContactRequest

type SendContactRequest struct {
}

func (*SendContactRequest) Descriptor

func (*SendContactRequest) Descriptor() ([]byte, []int)

func (*SendContactRequest) ProtoMessage

func (*SendContactRequest) ProtoMessage()

func (*SendContactRequest) Reset

func (m *SendContactRequest) Reset()

func (*SendContactRequest) String

func (m *SendContactRequest) String() string

func (*SendContactRequest) XXX_DiscardUnknown

func (m *SendContactRequest) XXX_DiscardUnknown()

func (*SendContactRequest) XXX_Marshal

func (m *SendContactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendContactRequest) XXX_Merge

func (m *SendContactRequest) XXX_Merge(src proto.Message)

func (*SendContactRequest) XXX_Size

func (m *SendContactRequest) XXX_Size() int

func (*SendContactRequest) XXX_Unmarshal

func (m *SendContactRequest) XXX_Unmarshal(b []byte) error

type SendContactRequest_Reply

type SendContactRequest_Reply struct {
}

func (*SendContactRequest_Reply) Descriptor

func (*SendContactRequest_Reply) Descriptor() ([]byte, []int)

func (*SendContactRequest_Reply) ProtoMessage

func (*SendContactRequest_Reply) ProtoMessage()

func (*SendContactRequest_Reply) Reset

func (m *SendContactRequest_Reply) Reset()

func (*SendContactRequest_Reply) String

func (m *SendContactRequest_Reply) String() string

func (*SendContactRequest_Reply) XXX_DiscardUnknown

func (m *SendContactRequest_Reply) XXX_DiscardUnknown()

func (*SendContactRequest_Reply) XXX_Marshal

func (m *SendContactRequest_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendContactRequest_Reply) XXX_Merge

func (m *SendContactRequest_Reply) XXX_Merge(src proto.Message)

func (*SendContactRequest_Reply) XXX_Size

func (m *SendContactRequest_Reply) XXX_Size() int

func (*SendContactRequest_Reply) XXX_Unmarshal

func (m *SendContactRequest_Reply) XXX_Unmarshal(b []byte) error

type SendContactRequest_Request

type SendContactRequest_Request struct {
	BertyID     *BertyID `protobuf:"bytes,1,opt,name=berty_id,json=bertyId,proto3" json:"berty_id,omitempty"`
	Metadata    []byte   `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	OwnMetadata []byte   `protobuf:"bytes,3,opt,name=own_metadata,json=ownMetadata,proto3" json:"own_metadata,omitempty"`
}

func (*SendContactRequest_Request) Descriptor

func (*SendContactRequest_Request) Descriptor() ([]byte, []int)

func (*SendContactRequest_Request) GetBertyID

func (m *SendContactRequest_Request) GetBertyID() *BertyID

func (*SendContactRequest_Request) GetMetadata

func (m *SendContactRequest_Request) GetMetadata() []byte

func (*SendContactRequest_Request) GetOwnMetadata

func (m *SendContactRequest_Request) GetOwnMetadata() []byte

func (*SendContactRequest_Request) ProtoMessage

func (*SendContactRequest_Request) ProtoMessage()

func (*SendContactRequest_Request) Reset

func (m *SendContactRequest_Request) Reset()

func (*SendContactRequest_Request) String

func (m *SendContactRequest_Request) String() string

func (*SendContactRequest_Request) XXX_DiscardUnknown

func (m *SendContactRequest_Request) XXX_DiscardUnknown()

func (*SendContactRequest_Request) XXX_Marshal

func (m *SendContactRequest_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendContactRequest_Request) XXX_Merge

func (m *SendContactRequest_Request) XXX_Merge(src proto.Message)

func (*SendContactRequest_Request) XXX_Size

func (m *SendContactRequest_Request) XXX_Size() int

func (*SendContactRequest_Request) XXX_Unmarshal

func (m *SendContactRequest_Request) XXX_Unmarshal(b []byte) error

type SendMessage

type SendMessage struct {
}

func (*SendMessage) Descriptor

func (*SendMessage) Descriptor() ([]byte, []int)

func (*SendMessage) ProtoMessage

func (*SendMessage) ProtoMessage()

func (*SendMessage) Reset

func (m *SendMessage) Reset()

func (*SendMessage) String

func (m *SendMessage) String() string

func (*SendMessage) XXX_DiscardUnknown

func (m *SendMessage) XXX_DiscardUnknown()

func (*SendMessage) XXX_Marshal

func (m *SendMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendMessage) XXX_Merge

func (m *SendMessage) XXX_Merge(src proto.Message)

func (*SendMessage) XXX_Size

func (m *SendMessage) XXX_Size() int

func (*SendMessage) XXX_Unmarshal

func (m *SendMessage) XXX_Unmarshal(b []byte) error

type SendMessage_Reply

type SendMessage_Reply struct {
}

func (*SendMessage_Reply) Descriptor

func (*SendMessage_Reply) Descriptor() ([]byte, []int)

func (*SendMessage_Reply) ProtoMessage

func (*SendMessage_Reply) ProtoMessage()

func (*SendMessage_Reply) Reset

func (m *SendMessage_Reply) Reset()

func (*SendMessage_Reply) String

func (m *SendMessage_Reply) String() string

func (*SendMessage_Reply) XXX_DiscardUnknown

func (m *SendMessage_Reply) XXX_DiscardUnknown()

func (*SendMessage_Reply) XXX_Marshal

func (m *SendMessage_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendMessage_Reply) XXX_Merge

func (m *SendMessage_Reply) XXX_Merge(src proto.Message)

func (*SendMessage_Reply) XXX_Size

func (m *SendMessage_Reply) XXX_Size() int

func (*SendMessage_Reply) XXX_Unmarshal

func (m *SendMessage_Reply) XXX_Unmarshal(b []byte) error

type SendMessage_Request

type SendMessage_Request struct {
	GroupPK []byte `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}

func (*SendMessage_Request) Descriptor

func (*SendMessage_Request) Descriptor() ([]byte, []int)

func (*SendMessage_Request) GetGroupPK

func (m *SendMessage_Request) GetGroupPK() []byte

func (*SendMessage_Request) GetMessage

func (m *SendMessage_Request) GetMessage() string

func (*SendMessage_Request) ProtoMessage

func (*SendMessage_Request) ProtoMessage()

func (*SendMessage_Request) Reset

func (m *SendMessage_Request) Reset()

func (*SendMessage_Request) String

func (m *SendMessage_Request) String() string

func (*SendMessage_Request) XXX_DiscardUnknown

func (m *SendMessage_Request) XXX_DiscardUnknown()

func (*SendMessage_Request) XXX_Marshal

func (m *SendMessage_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendMessage_Request) XXX_Merge

func (m *SendMessage_Request) XXX_Merge(src proto.Message)

func (*SendMessage_Request) XXX_Size

func (m *SendMessage_Request) XXX_Size() int

func (*SendMessage_Request) XXX_Unmarshal

func (m *SendMessage_Request) XXX_Unmarshal(b []byte) error

type SendReplyOptions

type SendReplyOptions struct {
}

func (*SendReplyOptions) Descriptor

func (*SendReplyOptions) Descriptor() ([]byte, []int)

func (*SendReplyOptions) ProtoMessage

func (*SendReplyOptions) ProtoMessage()

func (*SendReplyOptions) Reset

func (m *SendReplyOptions) Reset()

func (*SendReplyOptions) String

func (m *SendReplyOptions) String() string

func (*SendReplyOptions) XXX_DiscardUnknown

func (m *SendReplyOptions) XXX_DiscardUnknown()

func (*SendReplyOptions) XXX_Marshal

func (m *SendReplyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendReplyOptions) XXX_Merge

func (m *SendReplyOptions) XXX_Merge(src proto.Message)

func (*SendReplyOptions) XXX_Size

func (m *SendReplyOptions) XXX_Size() int

func (*SendReplyOptions) XXX_Unmarshal

func (m *SendReplyOptions) XXX_Unmarshal(b []byte) error

type SendReplyOptions_Reply

type SendReplyOptions_Reply struct {
}

func (*SendReplyOptions_Reply) Descriptor

func (*SendReplyOptions_Reply) Descriptor() ([]byte, []int)

func (*SendReplyOptions_Reply) ProtoMessage

func (*SendReplyOptions_Reply) ProtoMessage()

func (*SendReplyOptions_Reply) Reset

func (m *SendReplyOptions_Reply) Reset()

func (*SendReplyOptions_Reply) String

func (m *SendReplyOptions_Reply) String() string

func (*SendReplyOptions_Reply) XXX_DiscardUnknown

func (m *SendReplyOptions_Reply) XXX_DiscardUnknown()

func (*SendReplyOptions_Reply) XXX_Marshal

func (m *SendReplyOptions_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendReplyOptions_Reply) XXX_Merge

func (m *SendReplyOptions_Reply) XXX_Merge(src proto.Message)

func (*SendReplyOptions_Reply) XXX_Size

func (m *SendReplyOptions_Reply) XXX_Size() int

func (*SendReplyOptions_Reply) XXX_Unmarshal

func (m *SendReplyOptions_Reply) XXX_Unmarshal(b []byte) error

type SendReplyOptions_Request

type SendReplyOptions_Request struct {
	GroupPK []byte                   `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
	Options *AppMessage_ReplyOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
}

func (*SendReplyOptions_Request) Descriptor

func (*SendReplyOptions_Request) Descriptor() ([]byte, []int)

func (*SendReplyOptions_Request) GetGroupPK

func (m *SendReplyOptions_Request) GetGroupPK() []byte

func (*SendReplyOptions_Request) GetOptions

func (*SendReplyOptions_Request) ProtoMessage

func (*SendReplyOptions_Request) ProtoMessage()

func (*SendReplyOptions_Request) Reset

func (m *SendReplyOptions_Request) Reset()

func (*SendReplyOptions_Request) String

func (m *SendReplyOptions_Request) String() string

func (*SendReplyOptions_Request) XXX_DiscardUnknown

func (m *SendReplyOptions_Request) XXX_DiscardUnknown()

func (*SendReplyOptions_Request) XXX_Marshal

func (m *SendReplyOptions_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendReplyOptions_Request) XXX_Merge

func (m *SendReplyOptions_Request) XXX_Merge(src proto.Message)

func (*SendReplyOptions_Request) XXX_Size

func (m *SendReplyOptions_Request) XXX_Size() int

func (*SendReplyOptions_Request) XXX_Unmarshal

func (m *SendReplyOptions_Request) XXX_Unmarshal(b []byte) error

type ServiceToken

type ServiceToken struct {
	AccountPK         string `protobuf:"bytes,1,opt,name=account_pk,json=accountPk,proto3" json:"account_pk,omitempty"`
	TokenID           string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" gorm:"primaryKey"`
	ServiceType       string `protobuf:"bytes,3,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty" gorm:"primaryKey"`
	AuthenticationURL string `protobuf:"bytes,4,opt,name=authentication_url,json=authenticationUrl,proto3" json:"authentication_url,omitempty"`
	Expiration        int64  `protobuf:"varint,5,opt,name=expiration,proto3" json:"expiration,omitempty"`
}

func (*ServiceToken) Descriptor

func (*ServiceToken) Descriptor() ([]byte, []int)

func (*ServiceToken) GetAccountPK

func (m *ServiceToken) GetAccountPK() string

func (*ServiceToken) GetAuthenticationURL

func (m *ServiceToken) GetAuthenticationURL() string

func (*ServiceToken) GetExpiration

func (m *ServiceToken) GetExpiration() int64

func (*ServiceToken) GetServiceType

func (m *ServiceToken) GetServiceType() string

func (*ServiceToken) GetTokenID

func (m *ServiceToken) GetTokenID() string

func (*ServiceToken) ProtoMessage

func (*ServiceToken) ProtoMessage()

func (*ServiceToken) Reset

func (m *ServiceToken) Reset()

func (*ServiceToken) String

func (m *ServiceToken) String() string

func (*ServiceToken) XXX_DiscardUnknown

func (m *ServiceToken) XXX_DiscardUnknown()

func (*ServiceToken) XXX_Marshal

func (m *ServiceToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceToken) XXX_Merge

func (m *ServiceToken) XXX_Merge(src proto.Message)

func (*ServiceToken) XXX_Size

func (m *ServiceToken) XXX_Size() int

func (*ServiceToken) XXX_Unmarshal

func (m *ServiceToken) XXX_Unmarshal(b []byte) error

type ShareableBertyGroup

type ShareableBertyGroup struct {
}

func (*ShareableBertyGroup) Descriptor

func (*ShareableBertyGroup) Descriptor() ([]byte, []int)

func (*ShareableBertyGroup) ProtoMessage

func (*ShareableBertyGroup) ProtoMessage()

func (*ShareableBertyGroup) Reset

func (m *ShareableBertyGroup) Reset()

func (*ShareableBertyGroup) String

func (m *ShareableBertyGroup) String() string

func (*ShareableBertyGroup) XXX_DiscardUnknown

func (m *ShareableBertyGroup) XXX_DiscardUnknown()

func (*ShareableBertyGroup) XXX_Marshal

func (m *ShareableBertyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShareableBertyGroup) XXX_Merge

func (m *ShareableBertyGroup) XXX_Merge(src proto.Message)

func (*ShareableBertyGroup) XXX_Size

func (m *ShareableBertyGroup) XXX_Size() int

func (*ShareableBertyGroup) XXX_Unmarshal

func (m *ShareableBertyGroup) XXX_Unmarshal(b []byte) error

type ShareableBertyGroup_Reply

type ShareableBertyGroup_Reply struct {
	Link        *BertyLink `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
	InternalURL string     `protobuf:"bytes,2,opt,name=internal_url,json=internalUrl,proto3" json:"internal_url,omitempty"`
	WebURL      string     `protobuf:"bytes,3,opt,name=web_url,json=webUrl,proto3" json:"web_url,omitempty"`
}

func (*ShareableBertyGroup_Reply) Descriptor

func (*ShareableBertyGroup_Reply) Descriptor() ([]byte, []int)

func (*ShareableBertyGroup_Reply) GetInternalURL

func (m *ShareableBertyGroup_Reply) GetInternalURL() string
func (m *ShareableBertyGroup_Reply) GetLink() *BertyLink

func (*ShareableBertyGroup_Reply) GetWebURL

func (m *ShareableBertyGroup_Reply) GetWebURL() string

func (*ShareableBertyGroup_Reply) ProtoMessage

func (*ShareableBertyGroup_Reply) ProtoMessage()

func (*ShareableBertyGroup_Reply) Reset

func (m *ShareableBertyGroup_Reply) Reset()

func (*ShareableBertyGroup_Reply) String

func (m *ShareableBertyGroup_Reply) String() string

func (*ShareableBertyGroup_Reply) XXX_DiscardUnknown

func (m *ShareableBertyGroup_Reply) XXX_DiscardUnknown()

func (*ShareableBertyGroup_Reply) XXX_Marshal

func (m *ShareableBertyGroup_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShareableBertyGroup_Reply) XXX_Merge

func (m *ShareableBertyGroup_Reply) XXX_Merge(src proto.Message)

func (*ShareableBertyGroup_Reply) XXX_Size

func (m *ShareableBertyGroup_Reply) XXX_Size() int

func (*ShareableBertyGroup_Reply) XXX_Unmarshal

func (m *ShareableBertyGroup_Reply) XXX_Unmarshal(b []byte) error

type ShareableBertyGroup_Request

type ShareableBertyGroup_Request struct {
	GroupPK   []byte `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
	GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
}

func (*ShareableBertyGroup_Request) Descriptor

func (*ShareableBertyGroup_Request) Descriptor() ([]byte, []int)

func (*ShareableBertyGroup_Request) GetGroupName

func (m *ShareableBertyGroup_Request) GetGroupName() string

func (*ShareableBertyGroup_Request) GetGroupPK

func (m *ShareableBertyGroup_Request) GetGroupPK() []byte

func (*ShareableBertyGroup_Request) ProtoMessage

func (*ShareableBertyGroup_Request) ProtoMessage()

func (*ShareableBertyGroup_Request) Reset

func (m *ShareableBertyGroup_Request) Reset()

func (*ShareableBertyGroup_Request) String

func (m *ShareableBertyGroup_Request) String() string

func (*ShareableBertyGroup_Request) XXX_DiscardUnknown

func (m *ShareableBertyGroup_Request) XXX_DiscardUnknown()

func (*ShareableBertyGroup_Request) XXX_Marshal

func (m *ShareableBertyGroup_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShareableBertyGroup_Request) XXX_Merge

func (m *ShareableBertyGroup_Request) XXX_Merge(src proto.Message)

func (*ShareableBertyGroup_Request) XXX_Size

func (m *ShareableBertyGroup_Request) XXX_Size() int

func (*ShareableBertyGroup_Request) XXX_Unmarshal

func (m *ShareableBertyGroup_Request) XXX_Unmarshal(b []byte) error

type StreamEvent

type StreamEvent struct {
	Type    StreamEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.v1.StreamEvent_Type" json:"type,omitempty"`
	Payload []byte           `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// specific to "*Updated" events
	IsNew bool `protobuf:"varint,3,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"`
}

func (*StreamEvent) Descriptor

func (*StreamEvent) Descriptor() ([]byte, []int)

func (*StreamEvent) GetIsNew

func (m *StreamEvent) GetIsNew() bool

func (*StreamEvent) GetPayload

func (m *StreamEvent) GetPayload() []byte

func (*StreamEvent) GetType

func (m *StreamEvent) GetType() StreamEvent_Type

func (*StreamEvent) MarshalJSON

func (event *StreamEvent) MarshalJSON() ([]byte, error)

func (*StreamEvent) ProtoMessage

func (*StreamEvent) ProtoMessage()

func (*StreamEvent) Reset

func (m *StreamEvent) Reset()

func (*StreamEvent) String

func (m *StreamEvent) String() string

func (*StreamEvent) UnmarshalPayload

func (event *StreamEvent) UnmarshalPayload() (proto.Message, error)

func (*StreamEvent) XXX_DiscardUnknown

func (m *StreamEvent) XXX_DiscardUnknown()

func (*StreamEvent) XXX_Marshal

func (m *StreamEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent) XXX_Merge

func (m *StreamEvent) XXX_Merge(src proto.Message)

func (*StreamEvent) XXX_Size

func (m *StreamEvent) XXX_Size() int

func (*StreamEvent) XXX_Unmarshal

func (m *StreamEvent) XXX_Unmarshal(b []byte) error

type StreamEvent_AccountUpdated

type StreamEvent_AccountUpdated struct {
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}

func (*StreamEvent_AccountUpdated) Descriptor

func (*StreamEvent_AccountUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_AccountUpdated) GetAccount

func (m *StreamEvent_AccountUpdated) GetAccount() *Account

func (*StreamEvent_AccountUpdated) ProtoMessage

func (*StreamEvent_AccountUpdated) ProtoMessage()

func (*StreamEvent_AccountUpdated) Reset

func (m *StreamEvent_AccountUpdated) Reset()

func (*StreamEvent_AccountUpdated) String

func (m *StreamEvent_AccountUpdated) String() string

func (*StreamEvent_AccountUpdated) XXX_DiscardUnknown

func (m *StreamEvent_AccountUpdated) XXX_DiscardUnknown()

func (*StreamEvent_AccountUpdated) XXX_Marshal

func (m *StreamEvent_AccountUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_AccountUpdated) XXX_Merge

func (m *StreamEvent_AccountUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_AccountUpdated) XXX_Size

func (m *StreamEvent_AccountUpdated) XXX_Size() int

func (*StreamEvent_AccountUpdated) XXX_Unmarshal

func (m *StreamEvent_AccountUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_ContactUpdated

type StreamEvent_ContactUpdated struct {
	Contact *Contact `protobuf:"bytes,1,opt,name=contact,proto3" json:"contact,omitempty"`
}

func (*StreamEvent_ContactUpdated) Descriptor

func (*StreamEvent_ContactUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_ContactUpdated) GetContact

func (m *StreamEvent_ContactUpdated) GetContact() *Contact

func (*StreamEvent_ContactUpdated) ProtoMessage

func (*StreamEvent_ContactUpdated) ProtoMessage()

func (*StreamEvent_ContactUpdated) Reset

func (m *StreamEvent_ContactUpdated) Reset()

func (*StreamEvent_ContactUpdated) String

func (m *StreamEvent_ContactUpdated) String() string

func (*StreamEvent_ContactUpdated) XXX_DiscardUnknown

func (m *StreamEvent_ContactUpdated) XXX_DiscardUnknown()

func (*StreamEvent_ContactUpdated) XXX_Marshal

func (m *StreamEvent_ContactUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_ContactUpdated) XXX_Merge

func (m *StreamEvent_ContactUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_ContactUpdated) XXX_Size

func (m *StreamEvent_ContactUpdated) XXX_Size() int

func (*StreamEvent_ContactUpdated) XXX_Unmarshal

func (m *StreamEvent_ContactUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_ConversationDeleted

type StreamEvent_ConversationDeleted struct {
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
}

func (*StreamEvent_ConversationDeleted) Descriptor

func (*StreamEvent_ConversationDeleted) Descriptor() ([]byte, []int)

func (*StreamEvent_ConversationDeleted) GetPublicKey

func (m *StreamEvent_ConversationDeleted) GetPublicKey() string

func (*StreamEvent_ConversationDeleted) ProtoMessage

func (*StreamEvent_ConversationDeleted) ProtoMessage()

func (*StreamEvent_ConversationDeleted) Reset

func (*StreamEvent_ConversationDeleted) String

func (*StreamEvent_ConversationDeleted) XXX_DiscardUnknown

func (m *StreamEvent_ConversationDeleted) XXX_DiscardUnknown()

func (*StreamEvent_ConversationDeleted) XXX_Marshal

func (m *StreamEvent_ConversationDeleted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_ConversationDeleted) XXX_Merge

func (m *StreamEvent_ConversationDeleted) XXX_Merge(src proto.Message)

func (*StreamEvent_ConversationDeleted) XXX_Size

func (m *StreamEvent_ConversationDeleted) XXX_Size() int

func (*StreamEvent_ConversationDeleted) XXX_Unmarshal

func (m *StreamEvent_ConversationDeleted) XXX_Unmarshal(b []byte) error

type StreamEvent_ConversationUpdated

type StreamEvent_ConversationUpdated struct {
	Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
}

func (*StreamEvent_ConversationUpdated) Descriptor

func (*StreamEvent_ConversationUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_ConversationUpdated) GetConversation

func (m *StreamEvent_ConversationUpdated) GetConversation() *Conversation

func (*StreamEvent_ConversationUpdated) ProtoMessage

func (*StreamEvent_ConversationUpdated) ProtoMessage()

func (*StreamEvent_ConversationUpdated) Reset

func (*StreamEvent_ConversationUpdated) String

func (*StreamEvent_ConversationUpdated) XXX_DiscardUnknown

func (m *StreamEvent_ConversationUpdated) XXX_DiscardUnknown()

func (*StreamEvent_ConversationUpdated) XXX_Marshal

func (m *StreamEvent_ConversationUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_ConversationUpdated) XXX_Merge

func (m *StreamEvent_ConversationUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_ConversationUpdated) XXX_Size

func (m *StreamEvent_ConversationUpdated) XXX_Size() int

func (*StreamEvent_ConversationUpdated) XXX_Unmarshal

func (m *StreamEvent_ConversationUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_DeviceUpdated

type StreamEvent_DeviceUpdated struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
}

func (*StreamEvent_DeviceUpdated) Descriptor

func (*StreamEvent_DeviceUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_DeviceUpdated) GetDevice

func (m *StreamEvent_DeviceUpdated) GetDevice() *Device

func (*StreamEvent_DeviceUpdated) ProtoMessage

func (*StreamEvent_DeviceUpdated) ProtoMessage()

func (*StreamEvent_DeviceUpdated) Reset

func (m *StreamEvent_DeviceUpdated) Reset()

func (*StreamEvent_DeviceUpdated) String

func (m *StreamEvent_DeviceUpdated) String() string

func (*StreamEvent_DeviceUpdated) XXX_DiscardUnknown

func (m *StreamEvent_DeviceUpdated) XXX_DiscardUnknown()

func (*StreamEvent_DeviceUpdated) XXX_Marshal

func (m *StreamEvent_DeviceUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_DeviceUpdated) XXX_Merge

func (m *StreamEvent_DeviceUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_DeviceUpdated) XXX_Size

func (m *StreamEvent_DeviceUpdated) XXX_Size() int

func (*StreamEvent_DeviceUpdated) XXX_Unmarshal

func (m *StreamEvent_DeviceUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_InteractionDeleted

type StreamEvent_InteractionDeleted struct {
	CID string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
}

func (*StreamEvent_InteractionDeleted) Descriptor

func (*StreamEvent_InteractionDeleted) Descriptor() ([]byte, []int)

func (*StreamEvent_InteractionDeleted) GetCID

func (*StreamEvent_InteractionDeleted) ProtoMessage

func (*StreamEvent_InteractionDeleted) ProtoMessage()

func (*StreamEvent_InteractionDeleted) Reset

func (m *StreamEvent_InteractionDeleted) Reset()

func (*StreamEvent_InteractionDeleted) String

func (*StreamEvent_InteractionDeleted) XXX_DiscardUnknown

func (m *StreamEvent_InteractionDeleted) XXX_DiscardUnknown()

func (*StreamEvent_InteractionDeleted) XXX_Marshal

func (m *StreamEvent_InteractionDeleted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_InteractionDeleted) XXX_Merge

func (m *StreamEvent_InteractionDeleted) XXX_Merge(src proto.Message)

func (*StreamEvent_InteractionDeleted) XXX_Size

func (m *StreamEvent_InteractionDeleted) XXX_Size() int

func (*StreamEvent_InteractionDeleted) XXX_Unmarshal

func (m *StreamEvent_InteractionDeleted) XXX_Unmarshal(b []byte) error

type StreamEvent_InteractionUpdated

type StreamEvent_InteractionUpdated struct {
	Interaction *Interaction `protobuf:"bytes,1,opt,name=interaction,proto3" json:"interaction,omitempty"`
}

func (*StreamEvent_InteractionUpdated) Descriptor

func (*StreamEvent_InteractionUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_InteractionUpdated) GetInteraction

func (m *StreamEvent_InteractionUpdated) GetInteraction() *Interaction

func (*StreamEvent_InteractionUpdated) ProtoMessage

func (*StreamEvent_InteractionUpdated) ProtoMessage()

func (*StreamEvent_InteractionUpdated) Reset

func (m *StreamEvent_InteractionUpdated) Reset()

func (*StreamEvent_InteractionUpdated) String

func (*StreamEvent_InteractionUpdated) XXX_DiscardUnknown

func (m *StreamEvent_InteractionUpdated) XXX_DiscardUnknown()

func (*StreamEvent_InteractionUpdated) XXX_Marshal

func (m *StreamEvent_InteractionUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_InteractionUpdated) XXX_Merge

func (m *StreamEvent_InteractionUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_InteractionUpdated) XXX_Size

func (m *StreamEvent_InteractionUpdated) XXX_Size() int

func (*StreamEvent_InteractionUpdated) XXX_Unmarshal

func (m *StreamEvent_InteractionUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_ListEnded

type StreamEvent_ListEnded struct {
}

func (*StreamEvent_ListEnded) Descriptor

func (*StreamEvent_ListEnded) Descriptor() ([]byte, []int)

func (*StreamEvent_ListEnded) ProtoMessage

func (*StreamEvent_ListEnded) ProtoMessage()

func (*StreamEvent_ListEnded) Reset

func (m *StreamEvent_ListEnded) Reset()

func (*StreamEvent_ListEnded) String

func (m *StreamEvent_ListEnded) String() string

func (*StreamEvent_ListEnded) XXX_DiscardUnknown

func (m *StreamEvent_ListEnded) XXX_DiscardUnknown()

func (*StreamEvent_ListEnded) XXX_Marshal

func (m *StreamEvent_ListEnded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_ListEnded) XXX_Merge

func (m *StreamEvent_ListEnded) XXX_Merge(src proto.Message)

func (*StreamEvent_ListEnded) XXX_Size

func (m *StreamEvent_ListEnded) XXX_Size() int

func (*StreamEvent_ListEnded) XXX_Unmarshal

func (m *StreamEvent_ListEnded) XXX_Unmarshal(b []byte) error

type StreamEvent_MediaUpdated

type StreamEvent_MediaUpdated struct {
	Media *Media `protobuf:"bytes,1,opt,name=media,proto3" json:"media,omitempty"`
}

func (*StreamEvent_MediaUpdated) Descriptor

func (*StreamEvent_MediaUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_MediaUpdated) GetMedia

func (m *StreamEvent_MediaUpdated) GetMedia() *Media

func (*StreamEvent_MediaUpdated) ProtoMessage

func (*StreamEvent_MediaUpdated) ProtoMessage()

func (*StreamEvent_MediaUpdated) Reset

func (m *StreamEvent_MediaUpdated) Reset()

func (*StreamEvent_MediaUpdated) String

func (m *StreamEvent_MediaUpdated) String() string

func (*StreamEvent_MediaUpdated) XXX_DiscardUnknown

func (m *StreamEvent_MediaUpdated) XXX_DiscardUnknown()

func (*StreamEvent_MediaUpdated) XXX_Marshal

func (m *StreamEvent_MediaUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_MediaUpdated) XXX_Merge

func (m *StreamEvent_MediaUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_MediaUpdated) XXX_Size

func (m *StreamEvent_MediaUpdated) XXX_Size() int

func (*StreamEvent_MediaUpdated) XXX_Unmarshal

func (m *StreamEvent_MediaUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_MemberUpdated

type StreamEvent_MemberUpdated struct {
	Member *Member `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
}

func (*StreamEvent_MemberUpdated) Descriptor

func (*StreamEvent_MemberUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_MemberUpdated) GetMember

func (m *StreamEvent_MemberUpdated) GetMember() *Member

func (*StreamEvent_MemberUpdated) ProtoMessage

func (*StreamEvent_MemberUpdated) ProtoMessage()

func (*StreamEvent_MemberUpdated) Reset

func (m *StreamEvent_MemberUpdated) Reset()

func (*StreamEvent_MemberUpdated) String

func (m *StreamEvent_MemberUpdated) String() string

func (*StreamEvent_MemberUpdated) XXX_DiscardUnknown

func (m *StreamEvent_MemberUpdated) XXX_DiscardUnknown()

func (*StreamEvent_MemberUpdated) XXX_Marshal

func (m *StreamEvent_MemberUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_MemberUpdated) XXX_Merge

func (m *StreamEvent_MemberUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_MemberUpdated) XXX_Size

func (m *StreamEvent_MemberUpdated) XXX_Size() int

func (*StreamEvent_MemberUpdated) XXX_Unmarshal

func (m *StreamEvent_MemberUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_Notified

type StreamEvent_Notified struct {
	Type    StreamEvent_Notified_Type `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.v1.StreamEvent_Notified_Type" json:"type,omitempty"`
	Title   string                    `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Body    string                    `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
	Payload []byte                    `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*StreamEvent_Notified) Descriptor

func (*StreamEvent_Notified) Descriptor() ([]byte, []int)

func (*StreamEvent_Notified) GetBody

func (m *StreamEvent_Notified) GetBody() string

func (*StreamEvent_Notified) GetPayload

func (m *StreamEvent_Notified) GetPayload() []byte

func (*StreamEvent_Notified) GetTitle

func (m *StreamEvent_Notified) GetTitle() string

func (*StreamEvent_Notified) GetType

func (*StreamEvent_Notified) ProtoMessage

func (*StreamEvent_Notified) ProtoMessage()

func (*StreamEvent_Notified) Reset

func (m *StreamEvent_Notified) Reset()

func (*StreamEvent_Notified) String

func (m *StreamEvent_Notified) String() string

func (*StreamEvent_Notified) UnmarshalPayload

func (event *StreamEvent_Notified) UnmarshalPayload() (proto.Message, error)

func (*StreamEvent_Notified) XXX_DiscardUnknown

func (m *StreamEvent_Notified) XXX_DiscardUnknown()

func (*StreamEvent_Notified) XXX_Marshal

func (m *StreamEvent_Notified) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_Notified) XXX_Merge

func (m *StreamEvent_Notified) XXX_Merge(src proto.Message)

func (*StreamEvent_Notified) XXX_Size

func (m *StreamEvent_Notified) XXX_Size() int

func (*StreamEvent_Notified) XXX_Unmarshal

func (m *StreamEvent_Notified) XXX_Unmarshal(b []byte) error

type StreamEvent_Notified_Basic

type StreamEvent_Notified_Basic struct {
}

func (*StreamEvent_Notified_Basic) Descriptor

func (*StreamEvent_Notified_Basic) Descriptor() ([]byte, []int)

func (*StreamEvent_Notified_Basic) ProtoMessage

func (*StreamEvent_Notified_Basic) ProtoMessage()

func (*StreamEvent_Notified_Basic) Reset

func (m *StreamEvent_Notified_Basic) Reset()

func (*StreamEvent_Notified_Basic) String

func (m *StreamEvent_Notified_Basic) String() string

func (*StreamEvent_Notified_Basic) XXX_DiscardUnknown

func (m *StreamEvent_Notified_Basic) XXX_DiscardUnknown()

func (*StreamEvent_Notified_Basic) XXX_Marshal

func (m *StreamEvent_Notified_Basic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_Notified_Basic) XXX_Merge

func (m *StreamEvent_Notified_Basic) XXX_Merge(src proto.Message)

func (*StreamEvent_Notified_Basic) XXX_Size

func (m *StreamEvent_Notified_Basic) XXX_Size() int

func (*StreamEvent_Notified_Basic) XXX_Unmarshal

func (m *StreamEvent_Notified_Basic) XXX_Unmarshal(b []byte) error

type StreamEvent_Notified_ContactRequestReceived

type StreamEvent_Notified_ContactRequestReceived struct {
	Contact *Contact `protobuf:"bytes,3,opt,name=contact,proto3" json:"contact,omitempty"`
}

func (*StreamEvent_Notified_ContactRequestReceived) Descriptor

func (*StreamEvent_Notified_ContactRequestReceived) GetContact

func (*StreamEvent_Notified_ContactRequestReceived) ProtoMessage

func (*StreamEvent_Notified_ContactRequestReceived) Reset

func (*StreamEvent_Notified_ContactRequestReceived) String

func (*StreamEvent_Notified_ContactRequestReceived) XXX_DiscardUnknown

func (m *StreamEvent_Notified_ContactRequestReceived) XXX_DiscardUnknown()

func (*StreamEvent_Notified_ContactRequestReceived) XXX_Marshal

func (m *StreamEvent_Notified_ContactRequestReceived) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_Notified_ContactRequestReceived) XXX_Merge

func (*StreamEvent_Notified_ContactRequestReceived) XXX_Size

func (*StreamEvent_Notified_ContactRequestReceived) XXX_Unmarshal

type StreamEvent_Notified_ContactRequestSent

type StreamEvent_Notified_ContactRequestSent struct {
	Contact *Contact `protobuf:"bytes,3,opt,name=contact,proto3" json:"contact,omitempty"`
}

func (*StreamEvent_Notified_ContactRequestSent) Descriptor

func (*StreamEvent_Notified_ContactRequestSent) Descriptor() ([]byte, []int)

func (*StreamEvent_Notified_ContactRequestSent) GetContact

func (*StreamEvent_Notified_ContactRequestSent) ProtoMessage

func (*StreamEvent_Notified_ContactRequestSent) Reset

func (*StreamEvent_Notified_ContactRequestSent) String

func (*StreamEvent_Notified_ContactRequestSent) XXX_DiscardUnknown

func (m *StreamEvent_Notified_ContactRequestSent) XXX_DiscardUnknown()

func (*StreamEvent_Notified_ContactRequestSent) XXX_Marshal

func (m *StreamEvent_Notified_ContactRequestSent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_Notified_ContactRequestSent) XXX_Merge

func (*StreamEvent_Notified_ContactRequestSent) XXX_Size

func (*StreamEvent_Notified_ContactRequestSent) XXX_Unmarshal

func (m *StreamEvent_Notified_ContactRequestSent) XXX_Unmarshal(b []byte) error

type StreamEvent_Notified_MessageReceived

type StreamEvent_Notified_MessageReceived struct {
	Interaction  *Interaction  `protobuf:"bytes,1,opt,name=interaction,proto3" json:"interaction,omitempty"`
	Conversation *Conversation `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation,omitempty"`
	Contact      *Contact      `protobuf:"bytes,3,opt,name=contact,proto3" json:"contact,omitempty"`
}

func (*StreamEvent_Notified_MessageReceived) Descriptor

func (*StreamEvent_Notified_MessageReceived) Descriptor() ([]byte, []int)

func (*StreamEvent_Notified_MessageReceived) GetContact

func (*StreamEvent_Notified_MessageReceived) GetConversation

func (m *StreamEvent_Notified_MessageReceived) GetConversation() *Conversation

func (*StreamEvent_Notified_MessageReceived) GetInteraction

func (*StreamEvent_Notified_MessageReceived) ProtoMessage

func (*StreamEvent_Notified_MessageReceived) ProtoMessage()

func (*StreamEvent_Notified_MessageReceived) Reset

func (*StreamEvent_Notified_MessageReceived) String

func (*StreamEvent_Notified_MessageReceived) XXX_DiscardUnknown

func (m *StreamEvent_Notified_MessageReceived) XXX_DiscardUnknown()

func (*StreamEvent_Notified_MessageReceived) XXX_Marshal

func (m *StreamEvent_Notified_MessageReceived) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_Notified_MessageReceived) XXX_Merge

func (*StreamEvent_Notified_MessageReceived) XXX_Size

func (*StreamEvent_Notified_MessageReceived) XXX_Unmarshal

func (m *StreamEvent_Notified_MessageReceived) XXX_Unmarshal(b []byte) error

type StreamEvent_Notified_Type

type StreamEvent_Notified_Type int32
const (
	StreamEvent_Notified_Unknown                    StreamEvent_Notified_Type = 0
	StreamEvent_Notified_TypeBasic                  StreamEvent_Notified_Type = 1
	StreamEvent_Notified_TypeMessageReceived        StreamEvent_Notified_Type = 2
	StreamEvent_Notified_TypeContactRequestSent     StreamEvent_Notified_Type = 3
	StreamEvent_Notified_TypeContactRequestReceived StreamEvent_Notified_Type = 4
)

func (StreamEvent_Notified_Type) EnumDescriptor

func (StreamEvent_Notified_Type) EnumDescriptor() ([]byte, []int)

func (StreamEvent_Notified_Type) String

func (x StreamEvent_Notified_Type) String() string

type StreamEvent_Type

type StreamEvent_Type int32
const (
	StreamEvent_Undefined               StreamEvent_Type = 0
	StreamEvent_TypeListEnded           StreamEvent_Type = 1
	StreamEvent_TypeConversationUpdated StreamEvent_Type = 2
	StreamEvent_TypeConversationDeleted StreamEvent_Type = 3
	StreamEvent_TypeInteractionUpdated  StreamEvent_Type = 4
	StreamEvent_TypeInteractionDeleted  StreamEvent_Type = 5
	StreamEvent_TypeContactUpdated      StreamEvent_Type = 6
	StreamEvent_TypeAccountUpdated      StreamEvent_Type = 7
	StreamEvent_TypeMemberUpdated       StreamEvent_Type = 8
	StreamEvent_TypeDeviceUpdated       StreamEvent_Type = 9
	StreamEvent_TypeNotified            StreamEvent_Type = 10
	StreamEvent_TypeMediaUpdated        StreamEvent_Type = 11
)

func (StreamEvent_Type) EnumDescriptor

func (StreamEvent_Type) EnumDescriptor() ([]byte, []int)

func (StreamEvent_Type) String

func (x StreamEvent_Type) String() string

type SystemInfo

type SystemInfo struct {
}

func (*SystemInfo) Descriptor

func (*SystemInfo) Descriptor() ([]byte, []int)

func (*SystemInfo) ProtoMessage

func (*SystemInfo) ProtoMessage()

func (*SystemInfo) Reset

func (m *SystemInfo) Reset()

func (*SystemInfo) String

func (m *SystemInfo) String() string

func (*SystemInfo) XXX_DiscardUnknown

func (m *SystemInfo) XXX_DiscardUnknown()

func (*SystemInfo) XXX_Marshal

func (m *SystemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfo) XXX_Merge

func (m *SystemInfo) XXX_Merge(src proto.Message)

func (*SystemInfo) XXX_Size

func (m *SystemInfo) XXX_Size() int

func (*SystemInfo) XXX_Unmarshal

func (m *SystemInfo) XXX_Unmarshal(b []byte) error

type SystemInfo_DB

type SystemInfo_DB struct {
	Accounts                    int64 `protobuf:"varint,1,opt,name=accounts,proto3" json:"accounts,omitempty"`
	Contacts                    int64 `protobuf:"varint,2,opt,name=contacts,proto3" json:"contacts,omitempty"`
	Conversations               int64 `protobuf:"varint,3,opt,name=conversations,proto3" json:"conversations,omitempty"`
	Interactions                int64 `protobuf:"varint,4,opt,name=interactions,proto3" json:"interactions,omitempty"`
	Members                     int64 `protobuf:"varint,5,opt,name=members,proto3" json:"members,omitempty"`
	Devices                     int64 `protobuf:"varint,6,opt,name=devices,proto3" json:"devices,omitempty"`
	ServiceTokens               int64 `protobuf:"varint,7,opt,name=service_tokens,json=serviceTokens,proto3" json:"service_tokens,omitempty"`
	ConversationReplicationInfo int64 `` /* 145-byte string literal not displayed */
}

func (*SystemInfo_DB) Descriptor

func (*SystemInfo_DB) Descriptor() ([]byte, []int)

func (*SystemInfo_DB) GetAccounts

func (m *SystemInfo_DB) GetAccounts() int64

func (*SystemInfo_DB) GetContacts

func (m *SystemInfo_DB) GetContacts() int64

func (*SystemInfo_DB) GetConversationReplicationInfo

func (m *SystemInfo_DB) GetConversationReplicationInfo() int64

func (*SystemInfo_DB) GetConversations

func (m *SystemInfo_DB) GetConversations() int64

func (*SystemInfo_DB) GetDevices

func (m *SystemInfo_DB) GetDevices() int64

func (*SystemInfo_DB) GetInteractions

func (m *SystemInfo_DB) GetInteractions() int64

func (*SystemInfo_DB) GetMembers

func (m *SystemInfo_DB) GetMembers() int64

func (*SystemInfo_DB) GetServiceTokens

func (m *SystemInfo_DB) GetServiceTokens() int64

func (*SystemInfo_DB) ProtoMessage

func (*SystemInfo_DB) ProtoMessage()

func (*SystemInfo_DB) Reset

func (m *SystemInfo_DB) Reset()

func (*SystemInfo_DB) String

func (m *SystemInfo_DB) String() string

func (*SystemInfo_DB) XXX_DiscardUnknown

func (m *SystemInfo_DB) XXX_DiscardUnknown()

func (*SystemInfo_DB) XXX_Marshal

func (m *SystemInfo_DB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfo_DB) XXX_Merge

func (m *SystemInfo_DB) XXX_Merge(src proto.Message)

func (*SystemInfo_DB) XXX_Size

func (m *SystemInfo_DB) XXX_Size() int

func (*SystemInfo_DB) XXX_Unmarshal

func (m *SystemInfo_DB) XXX_Unmarshal(b []byte) error

type SystemInfo_Messenger

type SystemInfo_Messenger struct {
	Process               *protocoltypes.SystemInfo_Process `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
	Warns                 []string                          `protobuf:"bytes,2,rep,name=warns,proto3" json:"warns,omitempty"`
	ProtocolInSameProcess bool                              `` /* 129-byte string literal not displayed */
	DB                    *SystemInfo_DB                    `protobuf:"bytes,4,opt,name=db,proto3" json:"db,omitempty"`
}

func (*SystemInfo_Messenger) Descriptor

func (*SystemInfo_Messenger) Descriptor() ([]byte, []int)

func (*SystemInfo_Messenger) GetDB

func (m *SystemInfo_Messenger) GetDB() *SystemInfo_DB

func (*SystemInfo_Messenger) GetProcess

func (*SystemInfo_Messenger) GetProtocolInSameProcess

func (m *SystemInfo_Messenger) GetProtocolInSameProcess() bool

func (*SystemInfo_Messenger) GetWarns

func (m *SystemInfo_Messenger) GetWarns() []string

func (*SystemInfo_Messenger) ProtoMessage

func (*SystemInfo_Messenger) ProtoMessage()

func (*SystemInfo_Messenger) Reset

func (m *SystemInfo_Messenger) Reset()

func (*SystemInfo_Messenger) String

func (m *SystemInfo_Messenger) String() string

func (*SystemInfo_Messenger) XXX_DiscardUnknown

func (m *SystemInfo_Messenger) XXX_DiscardUnknown()

func (*SystemInfo_Messenger) XXX_Marshal

func (m *SystemInfo_Messenger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfo_Messenger) XXX_Merge

func (m *SystemInfo_Messenger) XXX_Merge(src proto.Message)

func (*SystemInfo_Messenger) XXX_Size

func (m *SystemInfo_Messenger) XXX_Size() int

func (*SystemInfo_Messenger) XXX_Unmarshal

func (m *SystemInfo_Messenger) XXX_Unmarshal(b []byte) error

type SystemInfo_Reply

type SystemInfo_Reply struct {
	Protocol  *protocoltypes.SystemInfo_Reply `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Messenger *SystemInfo_Messenger           `protobuf:"bytes,2,opt,name=messenger,proto3" json:"messenger,omitempty"`
}

func (*SystemInfo_Reply) Descriptor

func (*SystemInfo_Reply) Descriptor() ([]byte, []int)

func (*SystemInfo_Reply) GetMessenger

func (m *SystemInfo_Reply) GetMessenger() *SystemInfo_Messenger

func (*SystemInfo_Reply) GetProtocol

func (*SystemInfo_Reply) ProtoMessage

func (*SystemInfo_Reply) ProtoMessage()

func (*SystemInfo_Reply) Reset

func (m *SystemInfo_Reply) Reset()

func (*SystemInfo_Reply) String

func (m *SystemInfo_Reply) String() string

func (*SystemInfo_Reply) XXX_DiscardUnknown

func (m *SystemInfo_Reply) XXX_DiscardUnknown()

func (*SystemInfo_Reply) XXX_Marshal

func (m *SystemInfo_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfo_Reply) XXX_Merge

func (m *SystemInfo_Reply) XXX_Merge(src proto.Message)

func (*SystemInfo_Reply) XXX_Size

func (m *SystemInfo_Reply) XXX_Size() int

func (*SystemInfo_Reply) XXX_Unmarshal

func (m *SystemInfo_Reply) XXX_Unmarshal(b []byte) error

type SystemInfo_Request

type SystemInfo_Request struct {
}

func (*SystemInfo_Request) Descriptor

func (*SystemInfo_Request) Descriptor() ([]byte, []int)

func (*SystemInfo_Request) ProtoMessage

func (*SystemInfo_Request) ProtoMessage()

func (*SystemInfo_Request) Reset

func (m *SystemInfo_Request) Reset()

func (*SystemInfo_Request) String

func (m *SystemInfo_Request) String() string

func (*SystemInfo_Request) XXX_DiscardUnknown

func (m *SystemInfo_Request) XXX_DiscardUnknown()

func (*SystemInfo_Request) XXX_Marshal

func (m *SystemInfo_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfo_Request) XXX_Merge

func (m *SystemInfo_Request) XXX_Merge(src proto.Message)

func (*SystemInfo_Request) XXX_Size

func (m *SystemInfo_Request) XXX_Size() int

func (*SystemInfo_Request) XXX_Unmarshal

func (m *SystemInfo_Request) XXX_Unmarshal(b []byte) error

type UnimplementedMessengerServiceServer

type UnimplementedMessengerServiceServer struct {
}

UnimplementedMessengerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMessengerServiceServer) AccountGet

func (*UnimplementedMessengerServiceServer) AccountUpdate

func (*UnimplementedMessengerServiceServer) BannerQuote

func (*UnimplementedMessengerServiceServer) ContactAccept

func (*UnimplementedMessengerServiceServer) ContactRequest

func (*UnimplementedMessengerServiceServer) ConversationClose

func (*UnimplementedMessengerServiceServer) ConversationCreate

func (*UnimplementedMessengerServiceServer) ConversationJoin

func (*UnimplementedMessengerServiceServer) ConversationOpen

func (*UnimplementedMessengerServiceServer) ConversationStream

func (*UnimplementedMessengerServiceServer) DevShareInstanceBertyID

func (*UnimplementedMessengerServiceServer) EchoTest

func (*UnimplementedMessengerServiceServer) EventStream

func (*UnimplementedMessengerServiceServer) GetUsername

func (*UnimplementedMessengerServiceServer) InstanceExportData

func (*UnimplementedMessengerServiceServer) InstanceShareableBertyID

func (*UnimplementedMessengerServiceServer) Interact

func (*UnimplementedMessengerServiceServer) MediaPrepare

func (*UnimplementedMessengerServiceServer) MediaRetrieve

func (*UnimplementedMessengerServiceServer) ReplicationSetAutoEnable

func (*UnimplementedMessengerServiceServer) SendAck

func (*UnimplementedMessengerServiceServer) SendContactRequest

func (*UnimplementedMessengerServiceServer) SendMessage

func (*UnimplementedMessengerServiceServer) SendReplyOptions

func (*UnimplementedMessengerServiceServer) ShareableBertyGroup

func (*UnimplementedMessengerServiceServer) SystemInfo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL