signalservice

package
v0.0.0-...-b6c5e09 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2018 License: GPL-3.0 Imports: 3 Imported by: 2

Documentation

Overview

Package signalservice is a generated protocol buffer package.

It is generated from these files:

SignalService.proto
Provisioning.proto
WebSocketResources.proto

It has these top-level messages:

Envelope
Content
CallMessage
DataMessage
NullMessage
ReceiptMessage
Verified
SyncMessage
AttachmentPointer
GroupContext
ContactDetails
GroupDetails
ProvisionEnvelope
ProvisionMessage
WebSocketRequestMessage
WebSocketResponseMessage
WebSocketMessage

Index

Constants

View Source
const Default_GroupDetails_Active bool = true
View Source
const Default_SyncMessage_Contacts_Complete bool = false

Variables

View Source
var AttachmentPointer_Flags_name = map[int32]string{
	1: "VOICE_MESSAGE",
}
View Source
var AttachmentPointer_Flags_value = map[string]int32{
	"VOICE_MESSAGE": 1,
}
View Source
var DataMessage_Flags_name = map[int32]string{
	1: "END_SESSION",
	2: "EXPIRATION_TIMER_UPDATE",
	4: "PROFILE_KEY_UPDATE",
}
View Source
var DataMessage_Flags_value = map[string]int32{
	"END_SESSION":             1,
	"EXPIRATION_TIMER_UPDATE": 2,
	"PROFILE_KEY_UPDATE":      4,
}
View Source
var Envelope_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "CIPHERTEXT",
	2: "KEY_EXCHANGE",
	3: "PREKEY_BUNDLE",
	5: "RECEIPT",
}
View Source
var Envelope_Type_value = map[string]int32{
	"UNKNOWN":       0,
	"CIPHERTEXT":    1,
	"KEY_EXCHANGE":  2,
	"PREKEY_BUNDLE": 3,
	"RECEIPT":       5,
}
View Source
var GroupContext_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "UPDATE",
	2: "DELIVER",
	3: "QUIT",
	4: "REQUEST_INFO",
}
View Source
var GroupContext_Type_value = map[string]int32{
	"UNKNOWN":      0,
	"UPDATE":       1,
	"DELIVER":      2,
	"QUIT":         3,
	"REQUEST_INFO": 4,
}
View Source
var ReceiptMessage_Type_name = map[int32]string{
	0: "DELIVERY",
	1: "READ",
}
View Source
var ReceiptMessage_Type_value = map[string]int32{
	"DELIVERY": 0,
	"READ":     1,
}
View Source
var SyncMessage_Request_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "CONTACTS",
	2: "GROUPS",
	3: "BLOCKED",
	4: "CONFIGURATION",
}
View Source
var SyncMessage_Request_Type_value = map[string]int32{
	"UNKNOWN":       0,
	"CONTACTS":      1,
	"GROUPS":        2,
	"BLOCKED":       3,
	"CONFIGURATION": 4,
}
View Source
var Verified_State_name = map[int32]string{
	0: "DEFAULT",
	1: "VERIFIED",
	2: "UNVERIFIED",
}
View Source
var Verified_State_value = map[string]int32{
	"DEFAULT":    0,
	"VERIFIED":   1,
	"UNVERIFIED": 2,
}
View Source
var WebSocketMessage_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "REQUEST",
	2: "RESPONSE",
}
View Source
var WebSocketMessage_Type_value = map[string]int32{
	"UNKNOWN":  0,
	"REQUEST":  1,
	"RESPONSE": 2,
}

Functions

This section is empty.

Types

type AttachmentPointer

type AttachmentPointer struct {
	Id               *uint64 `protobuf:"fixed64,1,opt,name=id" json:"id,omitempty"`
	ContentType      *string `protobuf:"bytes,2,opt,name=contentType" json:"contentType,omitempty"`
	Key              []byte  `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"`
	Size             *uint32 `protobuf:"varint,4,opt,name=size" json:"size,omitempty"`
	Thumbnail        []byte  `protobuf:"bytes,5,opt,name=thumbnail" json:"thumbnail,omitempty"`
	Digest           []byte  `protobuf:"bytes,6,opt,name=digest" json:"digest,omitempty"`
	FileName         *string `protobuf:"bytes,7,opt,name=fileName" json:"fileName,omitempty"`
	Flags            *uint32 `protobuf:"varint,8,opt,name=flags" json:"flags,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*AttachmentPointer) Descriptor

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

func (*AttachmentPointer) GetContentType

func (m *AttachmentPointer) GetContentType() string

func (*AttachmentPointer) GetDigest

func (m *AttachmentPointer) GetDigest() []byte

func (*AttachmentPointer) GetFileName

func (m *AttachmentPointer) GetFileName() string

func (*AttachmentPointer) GetFlags

func (m *AttachmentPointer) GetFlags() uint32

func (*AttachmentPointer) GetId

func (m *AttachmentPointer) GetId() uint64

func (*AttachmentPointer) GetKey

func (m *AttachmentPointer) GetKey() []byte

func (*AttachmentPointer) GetSize

func (m *AttachmentPointer) GetSize() uint32

func (*AttachmentPointer) GetThumbnail

func (m *AttachmentPointer) GetThumbnail() []byte

func (*AttachmentPointer) ProtoMessage

func (*AttachmentPointer) ProtoMessage()

func (*AttachmentPointer) Reset

func (m *AttachmentPointer) Reset()

func (*AttachmentPointer) String

func (m *AttachmentPointer) String() string

type AttachmentPointer_Flags

type AttachmentPointer_Flags int32
const (
	AttachmentPointer_VOICE_MESSAGE AttachmentPointer_Flags = 1
)

func (AttachmentPointer_Flags) Enum

func (AttachmentPointer_Flags) EnumDescriptor

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

func (AttachmentPointer_Flags) String

func (x AttachmentPointer_Flags) String() string

func (*AttachmentPointer_Flags) UnmarshalJSON

func (x *AttachmentPointer_Flags) UnmarshalJSON(data []byte) error

type CallMessage

type CallMessage struct {
	Offer            *CallMessage_Offer       `protobuf:"bytes,1,opt,name=offer" json:"offer,omitempty"`
	Answer           *CallMessage_Answer      `protobuf:"bytes,2,opt,name=answer" json:"answer,omitempty"`
	IceUpdate        []*CallMessage_IceUpdate `protobuf:"bytes,3,rep,name=iceUpdate" json:"iceUpdate,omitempty"`
	Hangup           *CallMessage_Hangup      `protobuf:"bytes,4,opt,name=hangup" json:"hangup,omitempty"`
	Busy             *CallMessage_Busy        `protobuf:"bytes,5,opt,name=busy" json:"busy,omitempty"`
	XXX_unrecognized []byte                   `json:"-"`
}

func (*CallMessage) Descriptor

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

func (*CallMessage) GetAnswer

func (m *CallMessage) GetAnswer() *CallMessage_Answer

func (*CallMessage) GetBusy

func (m *CallMessage) GetBusy() *CallMessage_Busy

func (*CallMessage) GetHangup

func (m *CallMessage) GetHangup() *CallMessage_Hangup

func (*CallMessage) GetIceUpdate

func (m *CallMessage) GetIceUpdate() []*CallMessage_IceUpdate

func (*CallMessage) GetOffer

func (m *CallMessage) GetOffer() *CallMessage_Offer

func (*CallMessage) ProtoMessage

func (*CallMessage) ProtoMessage()

func (*CallMessage) Reset

func (m *CallMessage) Reset()

func (*CallMessage) String

func (m *CallMessage) String() string

type CallMessage_Answer

type CallMessage_Answer struct {
	Id               *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Description      *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*CallMessage_Answer) Descriptor

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

func (*CallMessage_Answer) GetDescription

func (m *CallMessage_Answer) GetDescription() string

func (*CallMessage_Answer) GetId

func (m *CallMessage_Answer) GetId() uint64

func (*CallMessage_Answer) ProtoMessage

func (*CallMessage_Answer) ProtoMessage()

func (*CallMessage_Answer) Reset

func (m *CallMessage_Answer) Reset()

func (*CallMessage_Answer) String

func (m *CallMessage_Answer) String() string

type CallMessage_Busy

type CallMessage_Busy struct {
	Id               *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*CallMessage_Busy) Descriptor

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

func (*CallMessage_Busy) GetId

func (m *CallMessage_Busy) GetId() uint64

func (*CallMessage_Busy) ProtoMessage

func (*CallMessage_Busy) ProtoMessage()

func (*CallMessage_Busy) Reset

func (m *CallMessage_Busy) Reset()

func (*CallMessage_Busy) String

func (m *CallMessage_Busy) String() string

type CallMessage_Hangup

type CallMessage_Hangup struct {
	Id               *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*CallMessage_Hangup) Descriptor

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

func (*CallMessage_Hangup) GetId

func (m *CallMessage_Hangup) GetId() uint64

func (*CallMessage_Hangup) ProtoMessage

func (*CallMessage_Hangup) ProtoMessage()

func (*CallMessage_Hangup) Reset

func (m *CallMessage_Hangup) Reset()

func (*CallMessage_Hangup) String

func (m *CallMessage_Hangup) String() string

type CallMessage_IceUpdate

type CallMessage_IceUpdate struct {
	Id               *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	SdpMid           *string `protobuf:"bytes,2,opt,name=sdpMid" json:"sdpMid,omitempty"`
	SdpMLineIndex    *uint32 `protobuf:"varint,3,opt,name=sdpMLineIndex" json:"sdpMLineIndex,omitempty"`
	Sdp              *string `protobuf:"bytes,4,opt,name=sdp" json:"sdp,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*CallMessage_IceUpdate) Descriptor

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

func (*CallMessage_IceUpdate) GetId

func (m *CallMessage_IceUpdate) GetId() uint64

func (*CallMessage_IceUpdate) GetSdp

func (m *CallMessage_IceUpdate) GetSdp() string

func (*CallMessage_IceUpdate) GetSdpMLineIndex

func (m *CallMessage_IceUpdate) GetSdpMLineIndex() uint32

func (*CallMessage_IceUpdate) GetSdpMid

func (m *CallMessage_IceUpdate) GetSdpMid() string

func (*CallMessage_IceUpdate) ProtoMessage

func (*CallMessage_IceUpdate) ProtoMessage()

func (*CallMessage_IceUpdate) Reset

func (m *CallMessage_IceUpdate) Reset()

func (*CallMessage_IceUpdate) String

func (m *CallMessage_IceUpdate) String() string

type CallMessage_Offer

type CallMessage_Offer struct {
	Id               *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Description      *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*CallMessage_Offer) Descriptor

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

func (*CallMessage_Offer) GetDescription

func (m *CallMessage_Offer) GetDescription() string

func (*CallMessage_Offer) GetId

func (m *CallMessage_Offer) GetId() uint64

func (*CallMessage_Offer) ProtoMessage

func (*CallMessage_Offer) ProtoMessage()

func (*CallMessage_Offer) Reset

func (m *CallMessage_Offer) Reset()

func (*CallMessage_Offer) String

func (m *CallMessage_Offer) String() string

type ContactDetails

type ContactDetails struct {
	Number           *string                `protobuf:"bytes,1,opt,name=number" json:"number,omitempty"`
	Name             *string                `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Avatar           *ContactDetails_Avatar `protobuf:"bytes,3,opt,name=avatar" json:"avatar,omitempty"`
	Color            *string                `protobuf:"bytes,4,opt,name=color" json:"color,omitempty"`
	Verified         *Verified              `protobuf:"bytes,5,opt,name=verified" json:"verified,omitempty"`
	ProfileKey       []byte                 `protobuf:"bytes,6,opt,name=profileKey" json:"profileKey,omitempty"`
	XXX_unrecognized []byte                 `json:"-"`
}

func (*ContactDetails) Descriptor

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

func (*ContactDetails) GetAvatar

func (m *ContactDetails) GetAvatar() *ContactDetails_Avatar

func (*ContactDetails) GetColor

func (m *ContactDetails) GetColor() string

func (*ContactDetails) GetName

func (m *ContactDetails) GetName() string

func (*ContactDetails) GetNumber

func (m *ContactDetails) GetNumber() string

func (*ContactDetails) GetProfileKey

func (m *ContactDetails) GetProfileKey() []byte

func (*ContactDetails) GetVerified

func (m *ContactDetails) GetVerified() *Verified

func (*ContactDetails) ProtoMessage

func (*ContactDetails) ProtoMessage()

func (*ContactDetails) Reset

func (m *ContactDetails) Reset()

func (*ContactDetails) String

func (m *ContactDetails) String() string

type ContactDetails_Avatar

type ContactDetails_Avatar struct {
	ContentType      *string `protobuf:"bytes,1,opt,name=contentType" json:"contentType,omitempty"`
	Length           *uint32 `protobuf:"varint,2,opt,name=length" json:"length,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ContactDetails_Avatar) Descriptor

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

func (*ContactDetails_Avatar) GetContentType

func (m *ContactDetails_Avatar) GetContentType() string

func (*ContactDetails_Avatar) GetLength

func (m *ContactDetails_Avatar) GetLength() uint32

func (*ContactDetails_Avatar) ProtoMessage

func (*ContactDetails_Avatar) ProtoMessage()

func (*ContactDetails_Avatar) Reset

func (m *ContactDetails_Avatar) Reset()

func (*ContactDetails_Avatar) String

func (m *ContactDetails_Avatar) String() string

type Content

type Content struct {
	DataMessage      *DataMessage    `protobuf:"bytes,1,opt,name=dataMessage" json:"dataMessage,omitempty"`
	SyncMessage      *SyncMessage    `protobuf:"bytes,2,opt,name=syncMessage" json:"syncMessage,omitempty"`
	CallMessage      *CallMessage    `protobuf:"bytes,3,opt,name=callMessage" json:"callMessage,omitempty"`
	NullMessage      *NullMessage    `protobuf:"bytes,4,opt,name=nullMessage" json:"nullMessage,omitempty"`
	ReceiptMessage   *ReceiptMessage `protobuf:"bytes,5,opt,name=receiptMessage" json:"receiptMessage,omitempty"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*Content) Descriptor

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

func (*Content) GetCallMessage

func (m *Content) GetCallMessage() *CallMessage

func (*Content) GetDataMessage

func (m *Content) GetDataMessage() *DataMessage

func (*Content) GetNullMessage

func (m *Content) GetNullMessage() *NullMessage

func (*Content) GetReceiptMessage

func (m *Content) GetReceiptMessage() *ReceiptMessage

func (*Content) GetSyncMessage

func (m *Content) GetSyncMessage() *SyncMessage

func (*Content) ProtoMessage

func (*Content) ProtoMessage()

func (*Content) Reset

func (m *Content) Reset()

func (*Content) String

func (m *Content) String() string

type DataMessage

type DataMessage struct {
	Body             *string              `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
	Attachments      []*AttachmentPointer `protobuf:"bytes,2,rep,name=attachments" json:"attachments,omitempty"`
	Group            *GroupContext        `protobuf:"bytes,3,opt,name=group" json:"group,omitempty"`
	Flags            *uint32              `protobuf:"varint,4,opt,name=flags" json:"flags,omitempty"`
	ExpireTimer      *uint32              `protobuf:"varint,5,opt,name=expireTimer" json:"expireTimer,omitempty"`
	ProfileKey       []byte               `protobuf:"bytes,6,opt,name=profileKey" json:"profileKey,omitempty"`
	Timestamp        *uint64              `protobuf:"varint,7,opt,name=timestamp" json:"timestamp,omitempty"`
	XXX_unrecognized []byte               `json:"-"`
}

func (*DataMessage) Descriptor

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

func (*DataMessage) GetAttachments

func (m *DataMessage) GetAttachments() []*AttachmentPointer

func (*DataMessage) GetBody

func (m *DataMessage) GetBody() string

func (*DataMessage) GetExpireTimer

func (m *DataMessage) GetExpireTimer() uint32

func (*DataMessage) GetFlags

func (m *DataMessage) GetFlags() uint32

func (*DataMessage) GetGroup

func (m *DataMessage) GetGroup() *GroupContext

func (*DataMessage) GetProfileKey

func (m *DataMessage) GetProfileKey() []byte

func (*DataMessage) GetTimestamp

func (m *DataMessage) GetTimestamp() uint64

func (*DataMessage) ProtoMessage

func (*DataMessage) ProtoMessage()

func (*DataMessage) Reset

func (m *DataMessage) Reset()

func (*DataMessage) String

func (m *DataMessage) String() string

type DataMessage_Flags

type DataMessage_Flags int32
const (
	DataMessage_END_SESSION             DataMessage_Flags = 1
	DataMessage_EXPIRATION_TIMER_UPDATE DataMessage_Flags = 2
	DataMessage_PROFILE_KEY_UPDATE      DataMessage_Flags = 4
)

func (DataMessage_Flags) Enum

func (DataMessage_Flags) EnumDescriptor

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

func (DataMessage_Flags) String

func (x DataMessage_Flags) String() string

func (*DataMessage_Flags) UnmarshalJSON

func (x *DataMessage_Flags) UnmarshalJSON(data []byte) error

type Envelope

type Envelope struct {
	Type             *Envelope_Type `protobuf:"varint,1,opt,name=type,enum=signalservice.Envelope_Type" json:"type,omitempty"`
	Source           *string        `protobuf:"bytes,2,opt,name=source" json:"source,omitempty"`
	SourceDevice     *uint32        `protobuf:"varint,7,opt,name=sourceDevice" json:"sourceDevice,omitempty"`
	Relay            *string        `protobuf:"bytes,3,opt,name=relay" json:"relay,omitempty"`
	Timestamp        *uint64        `protobuf:"varint,5,opt,name=timestamp" json:"timestamp,omitempty"`
	LegacyMessage    []byte         `protobuf:"bytes,6,opt,name=legacyMessage" json:"legacyMessage,omitempty"`
	Content          []byte         `protobuf:"bytes,8,opt,name=content" json:"content,omitempty"`
	XXX_unrecognized []byte         `json:"-"`
}

func (*Envelope) Descriptor

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

func (*Envelope) GetContent

func (m *Envelope) GetContent() []byte

func (*Envelope) GetLegacyMessage

func (m *Envelope) GetLegacyMessage() []byte

func (*Envelope) GetRelay

func (m *Envelope) GetRelay() string

func (*Envelope) GetSource

func (m *Envelope) GetSource() string

func (*Envelope) GetSourceDevice

func (m *Envelope) GetSourceDevice() uint32

func (*Envelope) GetTimestamp

func (m *Envelope) GetTimestamp() uint64

func (*Envelope) GetType

func (m *Envelope) GetType() Envelope_Type

func (*Envelope) ProtoMessage

func (*Envelope) ProtoMessage()

func (*Envelope) Reset

func (m *Envelope) Reset()

func (*Envelope) String

func (m *Envelope) String() string

type Envelope_Type

type Envelope_Type int32
const (
	Envelope_UNKNOWN       Envelope_Type = 0
	Envelope_CIPHERTEXT    Envelope_Type = 1
	Envelope_KEY_EXCHANGE  Envelope_Type = 2
	Envelope_PREKEY_BUNDLE Envelope_Type = 3
	Envelope_RECEIPT       Envelope_Type = 5
)

func (Envelope_Type) Enum

func (x Envelope_Type) Enum() *Envelope_Type

func (Envelope_Type) EnumDescriptor

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

func (Envelope_Type) String

func (x Envelope_Type) String() string

func (*Envelope_Type) UnmarshalJSON

func (x *Envelope_Type) UnmarshalJSON(data []byte) error

type GroupContext

type GroupContext struct {
	Id               []byte             `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Type             *GroupContext_Type `protobuf:"varint,2,opt,name=type,enum=signalservice.GroupContext_Type" json:"type,omitempty"`
	Name             *string            `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	Members          []string           `protobuf:"bytes,4,rep,name=members" json:"members,omitempty"`
	Avatar           *AttachmentPointer `protobuf:"bytes,5,opt,name=avatar" json:"avatar,omitempty"`
	XXX_unrecognized []byte             `json:"-"`
}

func (*GroupContext) Descriptor

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

func (*GroupContext) GetAvatar

func (m *GroupContext) GetAvatar() *AttachmentPointer

func (*GroupContext) GetId

func (m *GroupContext) GetId() []byte

func (*GroupContext) GetMembers

func (m *GroupContext) GetMembers() []string

func (*GroupContext) GetName

func (m *GroupContext) GetName() string

func (*GroupContext) GetType

func (m *GroupContext) GetType() GroupContext_Type

func (*GroupContext) ProtoMessage

func (*GroupContext) ProtoMessage()

func (*GroupContext) Reset

func (m *GroupContext) Reset()

func (*GroupContext) String

func (m *GroupContext) String() string

type GroupContext_Type

type GroupContext_Type int32
const (
	GroupContext_UNKNOWN      GroupContext_Type = 0
	GroupContext_UPDATE       GroupContext_Type = 1
	GroupContext_DELIVER      GroupContext_Type = 2
	GroupContext_QUIT         GroupContext_Type = 3
	GroupContext_REQUEST_INFO GroupContext_Type = 4
)

func (GroupContext_Type) Enum

func (GroupContext_Type) EnumDescriptor

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

func (GroupContext_Type) String

func (x GroupContext_Type) String() string

func (*GroupContext_Type) UnmarshalJSON

func (x *GroupContext_Type) UnmarshalJSON(data []byte) error

type GroupDetails

type GroupDetails struct {
	Id               []byte               `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Name             *string              `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Members          []string             `protobuf:"bytes,3,rep,name=members" json:"members,omitempty"`
	Avatar           *GroupDetails_Avatar `protobuf:"bytes,4,opt,name=avatar" json:"avatar,omitempty"`
	Active           *bool                `protobuf:"varint,5,opt,name=active,def=1" json:"active,omitempty"`
	XXX_unrecognized []byte               `json:"-"`
}

func (*GroupDetails) Descriptor

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

func (*GroupDetails) GetActive

func (m *GroupDetails) GetActive() bool

func (*GroupDetails) GetAvatar

func (m *GroupDetails) GetAvatar() *GroupDetails_Avatar

func (*GroupDetails) GetId

func (m *GroupDetails) GetId() []byte

func (*GroupDetails) GetMembers

func (m *GroupDetails) GetMembers() []string

func (*GroupDetails) GetName

func (m *GroupDetails) GetName() string

func (*GroupDetails) ProtoMessage

func (*GroupDetails) ProtoMessage()

func (*GroupDetails) Reset

func (m *GroupDetails) Reset()

func (*GroupDetails) String

func (m *GroupDetails) String() string

type GroupDetails_Avatar

type GroupDetails_Avatar struct {
	ContentType      *string `protobuf:"bytes,1,opt,name=contentType" json:"contentType,omitempty"`
	Length           *uint32 `protobuf:"varint,2,opt,name=length" json:"length,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*GroupDetails_Avatar) Descriptor

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

func (*GroupDetails_Avatar) GetContentType

func (m *GroupDetails_Avatar) GetContentType() string

func (*GroupDetails_Avatar) GetLength

func (m *GroupDetails_Avatar) GetLength() uint32

func (*GroupDetails_Avatar) ProtoMessage

func (*GroupDetails_Avatar) ProtoMessage()

func (*GroupDetails_Avatar) Reset

func (m *GroupDetails_Avatar) Reset()

func (*GroupDetails_Avatar) String

func (m *GroupDetails_Avatar) String() string

type NullMessage

type NullMessage struct {
	Padding          []byte `protobuf:"bytes,1,opt,name=padding" json:"padding,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*NullMessage) Descriptor

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

func (*NullMessage) GetPadding

func (m *NullMessage) GetPadding() []byte

func (*NullMessage) ProtoMessage

func (*NullMessage) ProtoMessage()

func (*NullMessage) Reset

func (m *NullMessage) Reset()

func (*NullMessage) String

func (m *NullMessage) String() string

type ProvisionEnvelope

type ProvisionEnvelope struct {
	PublicKey        []byte `protobuf:"bytes,1,opt,name=publicKey" json:"publicKey,omitempty"`
	Body             []byte `protobuf:"bytes,2,opt,name=body" json:"body,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*ProvisionEnvelope) Descriptor

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

func (*ProvisionEnvelope) GetBody

func (m *ProvisionEnvelope) GetBody() []byte

func (*ProvisionEnvelope) GetPublicKey

func (m *ProvisionEnvelope) GetPublicKey() []byte

func (*ProvisionEnvelope) ProtoMessage

func (*ProvisionEnvelope) ProtoMessage()

func (*ProvisionEnvelope) Reset

func (m *ProvisionEnvelope) Reset()

func (*ProvisionEnvelope) String

func (m *ProvisionEnvelope) String() string

type ProvisionMessage

type ProvisionMessage struct {
	IdentityKeyPublic  []byte  `protobuf:"bytes,1,opt,name=identityKeyPublic" json:"identityKeyPublic,omitempty"`
	IdentityKeyPrivate []byte  `protobuf:"bytes,2,opt,name=identityKeyPrivate" json:"identityKeyPrivate,omitempty"`
	Number             *string `protobuf:"bytes,3,opt,name=number" json:"number,omitempty"`
	ProvisioningCode   *string `protobuf:"bytes,4,opt,name=provisioningCode" json:"provisioningCode,omitempty"`
	UserAgent          *string `protobuf:"bytes,5,opt,name=userAgent" json:"userAgent,omitempty"`
	ProfileKey         []byte  `protobuf:"bytes,6,opt,name=profileKey" json:"profileKey,omitempty"`
	ReadReceipts       *bool   `protobuf:"varint,7,opt,name=readReceipts" json:"readReceipts,omitempty"`
	XXX_unrecognized   []byte  `json:"-"`
}

func (*ProvisionMessage) Descriptor

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

func (*ProvisionMessage) GetIdentityKeyPrivate

func (m *ProvisionMessage) GetIdentityKeyPrivate() []byte

func (*ProvisionMessage) GetIdentityKeyPublic

func (m *ProvisionMessage) GetIdentityKeyPublic() []byte

func (*ProvisionMessage) GetNumber

func (m *ProvisionMessage) GetNumber() string

func (*ProvisionMessage) GetProfileKey

func (m *ProvisionMessage) GetProfileKey() []byte

func (*ProvisionMessage) GetProvisioningCode

func (m *ProvisionMessage) GetProvisioningCode() string

func (*ProvisionMessage) GetReadReceipts

func (m *ProvisionMessage) GetReadReceipts() bool

func (*ProvisionMessage) GetUserAgent

func (m *ProvisionMessage) GetUserAgent() string

func (*ProvisionMessage) ProtoMessage

func (*ProvisionMessage) ProtoMessage()

func (*ProvisionMessage) Reset

func (m *ProvisionMessage) Reset()

func (*ProvisionMessage) String

func (m *ProvisionMessage) String() string

type ReceiptMessage

type ReceiptMessage struct {
	Type             *ReceiptMessage_Type `protobuf:"varint,1,opt,name=type,enum=signalservice.ReceiptMessage_Type" json:"type,omitempty"`
	Timestamp        []uint64             `protobuf:"varint,2,rep,name=timestamp" json:"timestamp,omitempty"`
	XXX_unrecognized []byte               `json:"-"`
}

func (*ReceiptMessage) Descriptor

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

func (*ReceiptMessage) GetTimestamp

func (m *ReceiptMessage) GetTimestamp() []uint64

func (*ReceiptMessage) GetType

func (m *ReceiptMessage) GetType() ReceiptMessage_Type

func (*ReceiptMessage) ProtoMessage

func (*ReceiptMessage) ProtoMessage()

func (*ReceiptMessage) Reset

func (m *ReceiptMessage) Reset()

func (*ReceiptMessage) String

func (m *ReceiptMessage) String() string

type ReceiptMessage_Type

type ReceiptMessage_Type int32
const (
	ReceiptMessage_DELIVERY ReceiptMessage_Type = 0
	ReceiptMessage_READ     ReceiptMessage_Type = 1
)

func (ReceiptMessage_Type) Enum

func (ReceiptMessage_Type) EnumDescriptor

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

func (ReceiptMessage_Type) String

func (x ReceiptMessage_Type) String() string

func (*ReceiptMessage_Type) UnmarshalJSON

func (x *ReceiptMessage_Type) UnmarshalJSON(data []byte) error

type SyncMessage

type SyncMessage struct {
	Sent             *SyncMessage_Sent          `protobuf:"bytes,1,opt,name=sent" json:"sent,omitempty"`
	Contacts         *SyncMessage_Contacts      `protobuf:"bytes,2,opt,name=contacts" json:"contacts,omitempty"`
	Groups           *SyncMessage_Groups        `protobuf:"bytes,3,opt,name=groups" json:"groups,omitempty"`
	Request          *SyncMessage_Request       `protobuf:"bytes,4,opt,name=request" json:"request,omitempty"`
	Read             []*SyncMessage_Read        `protobuf:"bytes,5,rep,name=read" json:"read,omitempty"`
	Blocked          *SyncMessage_Blocked       `protobuf:"bytes,6,opt,name=blocked" json:"blocked,omitempty"`
	Verified         *Verified                  `protobuf:"bytes,7,opt,name=verified" json:"verified,omitempty"`
	Configuration    *SyncMessage_Configuration `protobuf:"bytes,9,opt,name=configuration" json:"configuration,omitempty"`
	Padding          []byte                     `protobuf:"bytes,8,opt,name=padding" json:"padding,omitempty"`
	XXX_unrecognized []byte                     `json:"-"`
}

func (*SyncMessage) Descriptor

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

func (*SyncMessage) GetBlocked

func (m *SyncMessage) GetBlocked() *SyncMessage_Blocked

func (*SyncMessage) GetConfiguration

func (m *SyncMessage) GetConfiguration() *SyncMessage_Configuration

func (*SyncMessage) GetContacts

func (m *SyncMessage) GetContacts() *SyncMessage_Contacts

func (*SyncMessage) GetGroups

func (m *SyncMessage) GetGroups() *SyncMessage_Groups

func (*SyncMessage) GetPadding

func (m *SyncMessage) GetPadding() []byte

func (*SyncMessage) GetRead

func (m *SyncMessage) GetRead() []*SyncMessage_Read

func (*SyncMessage) GetRequest

func (m *SyncMessage) GetRequest() *SyncMessage_Request

func (*SyncMessage) GetSent

func (m *SyncMessage) GetSent() *SyncMessage_Sent

func (*SyncMessage) GetVerified

func (m *SyncMessage) GetVerified() *Verified

func (*SyncMessage) ProtoMessage

func (*SyncMessage) ProtoMessage()

func (*SyncMessage) Reset

func (m *SyncMessage) Reset()

func (*SyncMessage) String

func (m *SyncMessage) String() string

type SyncMessage_Blocked

type SyncMessage_Blocked struct {
	Numbers          []string `protobuf:"bytes,1,rep,name=numbers" json:"numbers,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*SyncMessage_Blocked) Descriptor

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

func (*SyncMessage_Blocked) GetNumbers

func (m *SyncMessage_Blocked) GetNumbers() []string

func (*SyncMessage_Blocked) ProtoMessage

func (*SyncMessage_Blocked) ProtoMessage()

func (*SyncMessage_Blocked) Reset

func (m *SyncMessage_Blocked) Reset()

func (*SyncMessage_Blocked) String

func (m *SyncMessage_Blocked) String() string

type SyncMessage_Configuration

type SyncMessage_Configuration struct {
	ReadReceipts     *bool  `protobuf:"varint,1,opt,name=readReceipts" json:"readReceipts,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*SyncMessage_Configuration) Descriptor

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

func (*SyncMessage_Configuration) GetReadReceipts

func (m *SyncMessage_Configuration) GetReadReceipts() bool

func (*SyncMessage_Configuration) ProtoMessage

func (*SyncMessage_Configuration) ProtoMessage()

func (*SyncMessage_Configuration) Reset

func (m *SyncMessage_Configuration) Reset()

func (*SyncMessage_Configuration) String

func (m *SyncMessage_Configuration) String() string

type SyncMessage_Contacts

type SyncMessage_Contacts struct {
	Blob             *AttachmentPointer `protobuf:"bytes,1,opt,name=blob" json:"blob,omitempty"`
	Complete         *bool              `protobuf:"varint,2,opt,name=complete,def=0" json:"complete,omitempty"`
	XXX_unrecognized []byte             `json:"-"`
}

func (*SyncMessage_Contacts) Descriptor

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

func (*SyncMessage_Contacts) GetBlob

func (*SyncMessage_Contacts) GetComplete

func (m *SyncMessage_Contacts) GetComplete() bool

func (*SyncMessage_Contacts) ProtoMessage

func (*SyncMessage_Contacts) ProtoMessage()

func (*SyncMessage_Contacts) Reset

func (m *SyncMessage_Contacts) Reset()

func (*SyncMessage_Contacts) String

func (m *SyncMessage_Contacts) String() string

type SyncMessage_Groups

type SyncMessage_Groups struct {
	Blob             *AttachmentPointer `protobuf:"bytes,1,opt,name=blob" json:"blob,omitempty"`
	XXX_unrecognized []byte             `json:"-"`
}

func (*SyncMessage_Groups) Descriptor

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

func (*SyncMessage_Groups) GetBlob

func (m *SyncMessage_Groups) GetBlob() *AttachmentPointer

func (*SyncMessage_Groups) ProtoMessage

func (*SyncMessage_Groups) ProtoMessage()

func (*SyncMessage_Groups) Reset

func (m *SyncMessage_Groups) Reset()

func (*SyncMessage_Groups) String

func (m *SyncMessage_Groups) String() string

type SyncMessage_Read

type SyncMessage_Read struct {
	Sender           *string `protobuf:"bytes,1,opt,name=sender" json:"sender,omitempty"`
	Timestamp        *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SyncMessage_Read) Descriptor

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

func (*SyncMessage_Read) GetSender

func (m *SyncMessage_Read) GetSender() string

func (*SyncMessage_Read) GetTimestamp

func (m *SyncMessage_Read) GetTimestamp() uint64

func (*SyncMessage_Read) ProtoMessage

func (*SyncMessage_Read) ProtoMessage()

func (*SyncMessage_Read) Reset

func (m *SyncMessage_Read) Reset()

func (*SyncMessage_Read) String

func (m *SyncMessage_Read) String() string

type SyncMessage_Request

type SyncMessage_Request struct {
	Type             *SyncMessage_Request_Type `protobuf:"varint,1,opt,name=type,enum=signalservice.SyncMessage_Request_Type" json:"type,omitempty"`
	XXX_unrecognized []byte                    `json:"-"`
}

func (*SyncMessage_Request) Descriptor

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

func (*SyncMessage_Request) GetType

func (*SyncMessage_Request) ProtoMessage

func (*SyncMessage_Request) ProtoMessage()

func (*SyncMessage_Request) Reset

func (m *SyncMessage_Request) Reset()

func (*SyncMessage_Request) String

func (m *SyncMessage_Request) String() string

type SyncMessage_Request_Type

type SyncMessage_Request_Type int32
const (
	SyncMessage_Request_UNKNOWN       SyncMessage_Request_Type = 0
	SyncMessage_Request_CONTACTS      SyncMessage_Request_Type = 1
	SyncMessage_Request_GROUPS        SyncMessage_Request_Type = 2
	SyncMessage_Request_BLOCKED       SyncMessage_Request_Type = 3
	SyncMessage_Request_CONFIGURATION SyncMessage_Request_Type = 4
)

func (SyncMessage_Request_Type) Enum

func (SyncMessage_Request_Type) EnumDescriptor

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

func (SyncMessage_Request_Type) String

func (x SyncMessage_Request_Type) String() string

func (*SyncMessage_Request_Type) UnmarshalJSON

func (x *SyncMessage_Request_Type) UnmarshalJSON(data []byte) error

type SyncMessage_Sent

type SyncMessage_Sent struct {
	Destination              *string      `protobuf:"bytes,1,opt,name=destination" json:"destination,omitempty"`
	Timestamp                *uint64      `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
	Message                  *DataMessage `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
	ExpirationStartTimestamp *uint64      `protobuf:"varint,4,opt,name=expirationStartTimestamp" json:"expirationStartTimestamp,omitempty"`
	XXX_unrecognized         []byte       `json:"-"`
}

func (*SyncMessage_Sent) Descriptor

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

func (*SyncMessage_Sent) GetDestination

func (m *SyncMessage_Sent) GetDestination() string

func (*SyncMessage_Sent) GetExpirationStartTimestamp

func (m *SyncMessage_Sent) GetExpirationStartTimestamp() uint64

func (*SyncMessage_Sent) GetMessage

func (m *SyncMessage_Sent) GetMessage() *DataMessage

func (*SyncMessage_Sent) GetTimestamp

func (m *SyncMessage_Sent) GetTimestamp() uint64

func (*SyncMessage_Sent) ProtoMessage

func (*SyncMessage_Sent) ProtoMessage()

func (*SyncMessage_Sent) Reset

func (m *SyncMessage_Sent) Reset()

func (*SyncMessage_Sent) String

func (m *SyncMessage_Sent) String() string

type Verified

type Verified struct {
	Destination      *string         `protobuf:"bytes,1,opt,name=destination" json:"destination,omitempty"`
	IdentityKey      []byte          `protobuf:"bytes,2,opt,name=identityKey" json:"identityKey,omitempty"`
	State            *Verified_State `protobuf:"varint,3,opt,name=state,enum=signalservice.Verified_State" json:"state,omitempty"`
	NullMessage      []byte          `protobuf:"bytes,4,opt,name=nullMessage" json:"nullMessage,omitempty"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*Verified) Descriptor

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

func (*Verified) GetDestination

func (m *Verified) GetDestination() string

func (*Verified) GetIdentityKey

func (m *Verified) GetIdentityKey() []byte

func (*Verified) GetNullMessage

func (m *Verified) GetNullMessage() []byte

func (*Verified) GetState

func (m *Verified) GetState() Verified_State

func (*Verified) ProtoMessage

func (*Verified) ProtoMessage()

func (*Verified) Reset

func (m *Verified) Reset()

func (*Verified) String

func (m *Verified) String() string

type Verified_State

type Verified_State int32
const (
	Verified_DEFAULT    Verified_State = 0
	Verified_VERIFIED   Verified_State = 1
	Verified_UNVERIFIED Verified_State = 2
)

func (Verified_State) Enum

func (x Verified_State) Enum() *Verified_State

func (Verified_State) EnumDescriptor

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

func (Verified_State) String

func (x Verified_State) String() string

func (*Verified_State) UnmarshalJSON

func (x *Verified_State) UnmarshalJSON(data []byte) error

type WebSocketMessage

type WebSocketMessage struct {
	Type             *WebSocketMessage_Type    `protobuf:"varint,1,opt,name=type,enum=signalservice.WebSocketMessage_Type" json:"type,omitempty"`
	Request          *WebSocketRequestMessage  `protobuf:"bytes,2,opt,name=request" json:"request,omitempty"`
	Response         *WebSocketResponseMessage `protobuf:"bytes,3,opt,name=response" json:"response,omitempty"`
	XXX_unrecognized []byte                    `json:"-"`
}

func (*WebSocketMessage) Descriptor

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

func (*WebSocketMessage) GetRequest

func (m *WebSocketMessage) GetRequest() *WebSocketRequestMessage

func (*WebSocketMessage) GetResponse

func (m *WebSocketMessage) GetResponse() *WebSocketResponseMessage

func (*WebSocketMessage) GetType

func (*WebSocketMessage) ProtoMessage

func (*WebSocketMessage) ProtoMessage()

func (*WebSocketMessage) Reset

func (m *WebSocketMessage) Reset()

func (*WebSocketMessage) String

func (m *WebSocketMessage) String() string

type WebSocketMessage_Type

type WebSocketMessage_Type int32
const (
	WebSocketMessage_UNKNOWN  WebSocketMessage_Type = 0
	WebSocketMessage_REQUEST  WebSocketMessage_Type = 1
	WebSocketMessage_RESPONSE WebSocketMessage_Type = 2
)

func (WebSocketMessage_Type) Enum

func (WebSocketMessage_Type) EnumDescriptor

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

func (WebSocketMessage_Type) String

func (x WebSocketMessage_Type) String() string

func (*WebSocketMessage_Type) UnmarshalJSON

func (x *WebSocketMessage_Type) UnmarshalJSON(data []byte) error

type WebSocketRequestMessage

type WebSocketRequestMessage struct {
	Verb             *string  `protobuf:"bytes,1,opt,name=verb" json:"verb,omitempty"`
	Path             *string  `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
	Body             []byte   `protobuf:"bytes,3,opt,name=body" json:"body,omitempty"`
	Headers          []string `protobuf:"bytes,5,rep,name=headers" json:"headers,omitempty"`
	Id               *uint64  `protobuf:"varint,4,opt,name=id" json:"id,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*WebSocketRequestMessage) Descriptor

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

func (*WebSocketRequestMessage) GetBody

func (m *WebSocketRequestMessage) GetBody() []byte

func (*WebSocketRequestMessage) GetHeaders

func (m *WebSocketRequestMessage) GetHeaders() []string

func (*WebSocketRequestMessage) GetId

func (m *WebSocketRequestMessage) GetId() uint64

func (*WebSocketRequestMessage) GetPath

func (m *WebSocketRequestMessage) GetPath() string

func (*WebSocketRequestMessage) GetVerb

func (m *WebSocketRequestMessage) GetVerb() string

func (*WebSocketRequestMessage) ProtoMessage

func (*WebSocketRequestMessage) ProtoMessage()

func (*WebSocketRequestMessage) Reset

func (m *WebSocketRequestMessage) Reset()

func (*WebSocketRequestMessage) String

func (m *WebSocketRequestMessage) String() string

type WebSocketResponseMessage

type WebSocketResponseMessage struct {
	Id               *uint64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Status           *uint32  `protobuf:"varint,2,opt,name=status" json:"status,omitempty"`
	Message          *string  `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
	Headers          []string `protobuf:"bytes,5,rep,name=headers" json:"headers,omitempty"`
	Body             []byte   `protobuf:"bytes,4,opt,name=body" json:"body,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*WebSocketResponseMessage) Descriptor

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

func (*WebSocketResponseMessage) GetBody

func (m *WebSocketResponseMessage) GetBody() []byte

func (*WebSocketResponseMessage) GetHeaders

func (m *WebSocketResponseMessage) GetHeaders() []string

func (*WebSocketResponseMessage) GetId

func (m *WebSocketResponseMessage) GetId() uint64

func (*WebSocketResponseMessage) GetMessage

func (m *WebSocketResponseMessage) GetMessage() string

func (*WebSocketResponseMessage) GetStatus

func (m *WebSocketResponseMessage) GetStatus() uint32

func (*WebSocketResponseMessage) ProtoMessage

func (*WebSocketResponseMessage) ProtoMessage()

func (*WebSocketResponseMessage) Reset

func (m *WebSocketResponseMessage) Reset()

func (*WebSocketResponseMessage) String

func (m *WebSocketResponseMessage) String() string

Jump to

Keyboard shortcuts

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