mautrix-signal/pkg/signalmeow/protobuf/SignalService.pb.go

8044 lines
243 KiB
Go

//*
// Copyright (C) 2014-2016 Open Whisper Systems
//
// Licensed according to the LICENSE file in this repository.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.35.2
// protoc v3.21.12
// source: SignalService.proto
package signalpb
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
import _ "embed"
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
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
Envelope_UNIDENTIFIED_SENDER Envelope_Type = 6
Envelope_PLAINTEXT_CONTENT Envelope_Type = 8
)
// Enum value maps for Envelope_Type.
var (
Envelope_Type_name = map[int32]string{
0: "UNKNOWN",
1: "CIPHERTEXT",
2: "KEY_EXCHANGE",
3: "PREKEY_BUNDLE",
5: "RECEIPT",
6: "UNIDENTIFIED_SENDER",
8: "PLAINTEXT_CONTENT",
}
Envelope_Type_value = map[string]int32{
"UNKNOWN": 0,
"CIPHERTEXT": 1,
"KEY_EXCHANGE": 2,
"PREKEY_BUNDLE": 3,
"RECEIPT": 5,
"UNIDENTIFIED_SENDER": 6,
"PLAINTEXT_CONTENT": 8,
}
)
func (x Envelope_Type) Enum() *Envelope_Type {
p := new(Envelope_Type)
*p = x
return p
}
func (x Envelope_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Envelope_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[0].Descriptor()
}
func (Envelope_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[0]
}
func (x Envelope_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *Envelope_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = Envelope_Type(num)
return nil
}
// Deprecated: Use Envelope_Type.Descriptor instead.
func (Envelope_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{0, 0}
}
type CallMessage_Offer_Type int32
const (
CallMessage_Offer_OFFER_AUDIO_CALL CallMessage_Offer_Type = 0
CallMessage_Offer_OFFER_VIDEO_CALL CallMessage_Offer_Type = 1
)
// Enum value maps for CallMessage_Offer_Type.
var (
CallMessage_Offer_Type_name = map[int32]string{
0: "OFFER_AUDIO_CALL",
1: "OFFER_VIDEO_CALL",
}
CallMessage_Offer_Type_value = map[string]int32{
"OFFER_AUDIO_CALL": 0,
"OFFER_VIDEO_CALL": 1,
}
)
func (x CallMessage_Offer_Type) Enum() *CallMessage_Offer_Type {
p := new(CallMessage_Offer_Type)
*p = x
return p
}
func (x CallMessage_Offer_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CallMessage_Offer_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[1].Descriptor()
}
func (CallMessage_Offer_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[1]
}
func (x CallMessage_Offer_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *CallMessage_Offer_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = CallMessage_Offer_Type(num)
return nil
}
// Deprecated: Use CallMessage_Offer_Type.Descriptor instead.
func (CallMessage_Offer_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{2, 0, 0}
}
type CallMessage_Hangup_Type int32
const (
CallMessage_Hangup_HANGUP_NORMAL CallMessage_Hangup_Type = 0
CallMessage_Hangup_HANGUP_ACCEPTED CallMessage_Hangup_Type = 1
CallMessage_Hangup_HANGUP_DECLINED CallMessage_Hangup_Type = 2
CallMessage_Hangup_HANGUP_BUSY CallMessage_Hangup_Type = 3
CallMessage_Hangup_HANGUP_NEED_PERMISSION CallMessage_Hangup_Type = 4
)
// Enum value maps for CallMessage_Hangup_Type.
var (
CallMessage_Hangup_Type_name = map[int32]string{
0: "HANGUP_NORMAL",
1: "HANGUP_ACCEPTED",
2: "HANGUP_DECLINED",
3: "HANGUP_BUSY",
4: "HANGUP_NEED_PERMISSION",
}
CallMessage_Hangup_Type_value = map[string]int32{
"HANGUP_NORMAL": 0,
"HANGUP_ACCEPTED": 1,
"HANGUP_DECLINED": 2,
"HANGUP_BUSY": 3,
"HANGUP_NEED_PERMISSION": 4,
}
)
func (x CallMessage_Hangup_Type) Enum() *CallMessage_Hangup_Type {
p := new(CallMessage_Hangup_Type)
*p = x
return p
}
func (x CallMessage_Hangup_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CallMessage_Hangup_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[2].Descriptor()
}
func (CallMessage_Hangup_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[2]
}
func (x CallMessage_Hangup_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *CallMessage_Hangup_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = CallMessage_Hangup_Type(num)
return nil
}
// Deprecated: Use CallMessage_Hangup_Type.Descriptor instead.
func (CallMessage_Hangup_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{2, 4, 0}
}
type CallMessage_Opaque_Urgency int32
const (
CallMessage_Opaque_DROPPABLE CallMessage_Opaque_Urgency = 0
CallMessage_Opaque_HANDLE_IMMEDIATELY CallMessage_Opaque_Urgency = 1
)
// Enum value maps for CallMessage_Opaque_Urgency.
var (
CallMessage_Opaque_Urgency_name = map[int32]string{
0: "DROPPABLE",
1: "HANDLE_IMMEDIATELY",
}
CallMessage_Opaque_Urgency_value = map[string]int32{
"DROPPABLE": 0,
"HANDLE_IMMEDIATELY": 1,
}
)
func (x CallMessage_Opaque_Urgency) Enum() *CallMessage_Opaque_Urgency {
p := new(CallMessage_Opaque_Urgency)
*p = x
return p
}
func (x CallMessage_Opaque_Urgency) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CallMessage_Opaque_Urgency) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[3].Descriptor()
}
func (CallMessage_Opaque_Urgency) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[3]
}
func (x CallMessage_Opaque_Urgency) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *CallMessage_Opaque_Urgency) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = CallMessage_Opaque_Urgency(num)
return nil
}
// Deprecated: Use CallMessage_Opaque_Urgency.Descriptor instead.
func (CallMessage_Opaque_Urgency) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{2, 5, 0}
}
type BodyRange_Style int32
const (
BodyRange_NONE BodyRange_Style = 0
BodyRange_BOLD BodyRange_Style = 1
BodyRange_ITALIC BodyRange_Style = 2
BodyRange_SPOILER BodyRange_Style = 3
BodyRange_STRIKETHROUGH BodyRange_Style = 4
BodyRange_MONOSPACE BodyRange_Style = 5
)
// Enum value maps for BodyRange_Style.
var (
BodyRange_Style_name = map[int32]string{
0: "NONE",
1: "BOLD",
2: "ITALIC",
3: "SPOILER",
4: "STRIKETHROUGH",
5: "MONOSPACE",
}
BodyRange_Style_value = map[string]int32{
"NONE": 0,
"BOLD": 1,
"ITALIC": 2,
"SPOILER": 3,
"STRIKETHROUGH": 4,
"MONOSPACE": 5,
}
)
func (x BodyRange_Style) Enum() *BodyRange_Style {
p := new(BodyRange_Style)
*p = x
return p
}
func (x BodyRange_Style) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (BodyRange_Style) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[4].Descriptor()
}
func (BodyRange_Style) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[4]
}
func (x BodyRange_Style) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *BodyRange_Style) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = BodyRange_Style(num)
return nil
}
// Deprecated: Use BodyRange_Style.Descriptor instead.
func (BodyRange_Style) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{3, 0}
}
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
)
// Enum value maps for DataMessage_Flags.
var (
DataMessage_Flags_name = map[int32]string{
1: "END_SESSION",
2: "EXPIRATION_TIMER_UPDATE",
4: "PROFILE_KEY_UPDATE",
}
DataMessage_Flags_value = map[string]int32{
"END_SESSION": 1,
"EXPIRATION_TIMER_UPDATE": 2,
"PROFILE_KEY_UPDATE": 4,
}
)
func (x DataMessage_Flags) Enum() *DataMessage_Flags {
p := new(DataMessage_Flags)
*p = x
return p
}
func (x DataMessage_Flags) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DataMessage_Flags) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[5].Descriptor()
}
func (DataMessage_Flags) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[5]
}
func (x DataMessage_Flags) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *DataMessage_Flags) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = DataMessage_Flags(num)
return nil
}
// Deprecated: Use DataMessage_Flags.Descriptor instead.
func (DataMessage_Flags) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 0}
}
type DataMessage_ProtocolVersion int32
const (
DataMessage_INITIAL DataMessage_ProtocolVersion = 0
DataMessage_MESSAGE_TIMERS DataMessage_ProtocolVersion = 1
DataMessage_VIEW_ONCE DataMessage_ProtocolVersion = 2
DataMessage_VIEW_ONCE_VIDEO DataMessage_ProtocolVersion = 3
DataMessage_REACTIONS DataMessage_ProtocolVersion = 4
DataMessage_CDN_SELECTOR_ATTACHMENTS DataMessage_ProtocolVersion = 5
DataMessage_MENTIONS DataMessage_ProtocolVersion = 6
DataMessage_PAYMENTS DataMessage_ProtocolVersion = 7
DataMessage_CURRENT DataMessage_ProtocolVersion = 7
)
// Enum value maps for DataMessage_ProtocolVersion.
var (
DataMessage_ProtocolVersion_name = map[int32]string{
0: "INITIAL",
1: "MESSAGE_TIMERS",
2: "VIEW_ONCE",
3: "VIEW_ONCE_VIDEO",
4: "REACTIONS",
5: "CDN_SELECTOR_ATTACHMENTS",
6: "MENTIONS",
7: "PAYMENTS",
// Duplicate value: 7: "CURRENT",
}
DataMessage_ProtocolVersion_value = map[string]int32{
"INITIAL": 0,
"MESSAGE_TIMERS": 1,
"VIEW_ONCE": 2,
"VIEW_ONCE_VIDEO": 3,
"REACTIONS": 4,
"CDN_SELECTOR_ATTACHMENTS": 5,
"MENTIONS": 6,
"PAYMENTS": 7,
"CURRENT": 7,
}
)
func (x DataMessage_ProtocolVersion) Enum() *DataMessage_ProtocolVersion {
p := new(DataMessage_ProtocolVersion)
*p = x
return p
}
func (x DataMessage_ProtocolVersion) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DataMessage_ProtocolVersion) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[6].Descriptor()
}
func (DataMessage_ProtocolVersion) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[6]
}
func (x DataMessage_ProtocolVersion) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *DataMessage_ProtocolVersion) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = DataMessage_ProtocolVersion(num)
return nil
}
// Deprecated: Use DataMessage_ProtocolVersion.Descriptor instead.
func (DataMessage_ProtocolVersion) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 1}
}
type DataMessage_Quote_Type int32
const (
DataMessage_Quote_NORMAL DataMessage_Quote_Type = 0
DataMessage_Quote_GIFT_BADGE DataMessage_Quote_Type = 1
)
// Enum value maps for DataMessage_Quote_Type.
var (
DataMessage_Quote_Type_name = map[int32]string{
0: "NORMAL",
1: "GIFT_BADGE",
}
DataMessage_Quote_Type_value = map[string]int32{
"NORMAL": 0,
"GIFT_BADGE": 1,
}
)
func (x DataMessage_Quote_Type) Enum() *DataMessage_Quote_Type {
p := new(DataMessage_Quote_Type)
*p = x
return p
}
func (x DataMessage_Quote_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DataMessage_Quote_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[7].Descriptor()
}
func (DataMessage_Quote_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[7]
}
func (x DataMessage_Quote_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *DataMessage_Quote_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = DataMessage_Quote_Type(num)
return nil
}
// Deprecated: Use DataMessage_Quote_Type.Descriptor instead.
func (DataMessage_Quote_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 0, 0}
}
type DataMessage_Contact_Phone_Type int32
const (
DataMessage_Contact_Phone_HOME DataMessage_Contact_Phone_Type = 1
DataMessage_Contact_Phone_MOBILE DataMessage_Contact_Phone_Type = 2
DataMessage_Contact_Phone_WORK DataMessage_Contact_Phone_Type = 3
DataMessage_Contact_Phone_CUSTOM DataMessage_Contact_Phone_Type = 4
)
// Enum value maps for DataMessage_Contact_Phone_Type.
var (
DataMessage_Contact_Phone_Type_name = map[int32]string{
1: "HOME",
2: "MOBILE",
3: "WORK",
4: "CUSTOM",
}
DataMessage_Contact_Phone_Type_value = map[string]int32{
"HOME": 1,
"MOBILE": 2,
"WORK": 3,
"CUSTOM": 4,
}
)
func (x DataMessage_Contact_Phone_Type) Enum() *DataMessage_Contact_Phone_Type {
p := new(DataMessage_Contact_Phone_Type)
*p = x
return p
}
func (x DataMessage_Contact_Phone_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DataMessage_Contact_Phone_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[8].Descriptor()
}
func (DataMessage_Contact_Phone_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[8]
}
func (x DataMessage_Contact_Phone_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *DataMessage_Contact_Phone_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = DataMessage_Contact_Phone_Type(num)
return nil
}
// Deprecated: Use DataMessage_Contact_Phone_Type.Descriptor instead.
func (DataMessage_Contact_Phone_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 1, 1, 0}
}
type DataMessage_Contact_Email_Type int32
const (
DataMessage_Contact_Email_HOME DataMessage_Contact_Email_Type = 1
DataMessage_Contact_Email_MOBILE DataMessage_Contact_Email_Type = 2
DataMessage_Contact_Email_WORK DataMessage_Contact_Email_Type = 3
DataMessage_Contact_Email_CUSTOM DataMessage_Contact_Email_Type = 4
)
// Enum value maps for DataMessage_Contact_Email_Type.
var (
DataMessage_Contact_Email_Type_name = map[int32]string{
1: "HOME",
2: "MOBILE",
3: "WORK",
4: "CUSTOM",
}
DataMessage_Contact_Email_Type_value = map[string]int32{
"HOME": 1,
"MOBILE": 2,
"WORK": 3,
"CUSTOM": 4,
}
)
func (x DataMessage_Contact_Email_Type) Enum() *DataMessage_Contact_Email_Type {
p := new(DataMessage_Contact_Email_Type)
*p = x
return p
}
func (x DataMessage_Contact_Email_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DataMessage_Contact_Email_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[9].Descriptor()
}
func (DataMessage_Contact_Email_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[9]
}
func (x DataMessage_Contact_Email_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *DataMessage_Contact_Email_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = DataMessage_Contact_Email_Type(num)
return nil
}
// Deprecated: Use DataMessage_Contact_Email_Type.Descriptor instead.
func (DataMessage_Contact_Email_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 1, 2, 0}
}
type DataMessage_Contact_PostalAddress_Type int32
const (
DataMessage_Contact_PostalAddress_HOME DataMessage_Contact_PostalAddress_Type = 1
DataMessage_Contact_PostalAddress_WORK DataMessage_Contact_PostalAddress_Type = 2
DataMessage_Contact_PostalAddress_CUSTOM DataMessage_Contact_PostalAddress_Type = 3
)
// Enum value maps for DataMessage_Contact_PostalAddress_Type.
var (
DataMessage_Contact_PostalAddress_Type_name = map[int32]string{
1: "HOME",
2: "WORK",
3: "CUSTOM",
}
DataMessage_Contact_PostalAddress_Type_value = map[string]int32{
"HOME": 1,
"WORK": 2,
"CUSTOM": 3,
}
)
func (x DataMessage_Contact_PostalAddress_Type) Enum() *DataMessage_Contact_PostalAddress_Type {
p := new(DataMessage_Contact_PostalAddress_Type)
*p = x
return p
}
func (x DataMessage_Contact_PostalAddress_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DataMessage_Contact_PostalAddress_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[10].Descriptor()
}
func (DataMessage_Contact_PostalAddress_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[10]
}
func (x DataMessage_Contact_PostalAddress_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *DataMessage_Contact_PostalAddress_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = DataMessage_Contact_PostalAddress_Type(num)
return nil
}
// Deprecated: Use DataMessage_Contact_PostalAddress_Type.Descriptor instead.
func (DataMessage_Contact_PostalAddress_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 1, 3, 0}
}
type DataMessage_Payment_Activation_Type int32
const (
DataMessage_Payment_Activation_REQUEST DataMessage_Payment_Activation_Type = 0
DataMessage_Payment_Activation_ACTIVATED DataMessage_Payment_Activation_Type = 1
)
// Enum value maps for DataMessage_Payment_Activation_Type.
var (
DataMessage_Payment_Activation_Type_name = map[int32]string{
0: "REQUEST",
1: "ACTIVATED",
}
DataMessage_Payment_Activation_Type_value = map[string]int32{
"REQUEST": 0,
"ACTIVATED": 1,
}
)
func (x DataMessage_Payment_Activation_Type) Enum() *DataMessage_Payment_Activation_Type {
p := new(DataMessage_Payment_Activation_Type)
*p = x
return p
}
func (x DataMessage_Payment_Activation_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DataMessage_Payment_Activation_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[11].Descriptor()
}
func (DataMessage_Payment_Activation_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[11]
}
func (x DataMessage_Payment_Activation_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *DataMessage_Payment_Activation_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = DataMessage_Payment_Activation_Type(num)
return nil
}
// Deprecated: Use DataMessage_Payment_Activation_Type.Descriptor instead.
func (DataMessage_Payment_Activation_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 7, 2, 0}
}
type ReceiptMessage_Type int32
const (
ReceiptMessage_DELIVERY ReceiptMessage_Type = 0
ReceiptMessage_READ ReceiptMessage_Type = 1
ReceiptMessage_VIEWED ReceiptMessage_Type = 2
)
// Enum value maps for ReceiptMessage_Type.
var (
ReceiptMessage_Type_name = map[int32]string{
0: "DELIVERY",
1: "READ",
2: "VIEWED",
}
ReceiptMessage_Type_value = map[string]int32{
"DELIVERY": 0,
"READ": 1,
"VIEWED": 2,
}
)
func (x ReceiptMessage_Type) Enum() *ReceiptMessage_Type {
p := new(ReceiptMessage_Type)
*p = x
return p
}
func (x ReceiptMessage_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ReceiptMessage_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[12].Descriptor()
}
func (ReceiptMessage_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[12]
}
func (x ReceiptMessage_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ReceiptMessage_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ReceiptMessage_Type(num)
return nil
}
// Deprecated: Use ReceiptMessage_Type.Descriptor instead.
func (ReceiptMessage_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{6, 0}
}
type TypingMessage_Action int32
const (
TypingMessage_STARTED TypingMessage_Action = 0
TypingMessage_STOPPED TypingMessage_Action = 1
)
// Enum value maps for TypingMessage_Action.
var (
TypingMessage_Action_name = map[int32]string{
0: "STARTED",
1: "STOPPED",
}
TypingMessage_Action_value = map[string]int32{
"STARTED": 0,
"STOPPED": 1,
}
)
func (x TypingMessage_Action) Enum() *TypingMessage_Action {
p := new(TypingMessage_Action)
*p = x
return p
}
func (x TypingMessage_Action) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (TypingMessage_Action) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[13].Descriptor()
}
func (TypingMessage_Action) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[13]
}
func (x TypingMessage_Action) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *TypingMessage_Action) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = TypingMessage_Action(num)
return nil
}
// Deprecated: Use TypingMessage_Action.Descriptor instead.
func (TypingMessage_Action) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{7, 0}
}
type TextAttachment_Style int32
const (
TextAttachment_DEFAULT TextAttachment_Style = 0
TextAttachment_REGULAR TextAttachment_Style = 1
TextAttachment_BOLD TextAttachment_Style = 2
TextAttachment_SERIF TextAttachment_Style = 3
TextAttachment_SCRIPT TextAttachment_Style = 4
TextAttachment_CONDENSED TextAttachment_Style = 5
)
// Enum value maps for TextAttachment_Style.
var (
TextAttachment_Style_name = map[int32]string{
0: "DEFAULT",
1: "REGULAR",
2: "BOLD",
3: "SERIF",
4: "SCRIPT",
5: "CONDENSED",
}
TextAttachment_Style_value = map[string]int32{
"DEFAULT": 0,
"REGULAR": 1,
"BOLD": 2,
"SERIF": 3,
"SCRIPT": 4,
"CONDENSED": 5,
}
)
func (x TextAttachment_Style) Enum() *TextAttachment_Style {
p := new(TextAttachment_Style)
*p = x
return p
}
func (x TextAttachment_Style) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (TextAttachment_Style) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[14].Descriptor()
}
func (TextAttachment_Style) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[14]
}
func (x TextAttachment_Style) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *TextAttachment_Style) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = TextAttachment_Style(num)
return nil
}
// Deprecated: Use TextAttachment_Style.Descriptor instead.
func (TextAttachment_Style) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{10, 0}
}
type Verified_State int32
const (
Verified_DEFAULT Verified_State = 0
Verified_VERIFIED Verified_State = 1
Verified_UNVERIFIED Verified_State = 2
)
// Enum value maps for Verified_State.
var (
Verified_State_name = map[int32]string{
0: "DEFAULT",
1: "VERIFIED",
2: "UNVERIFIED",
}
Verified_State_value = map[string]int32{
"DEFAULT": 0,
"VERIFIED": 1,
"UNVERIFIED": 2,
}
)
func (x Verified_State) Enum() *Verified_State {
p := new(Verified_State)
*p = x
return p
}
func (x Verified_State) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Verified_State) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[15].Descriptor()
}
func (Verified_State) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[15]
}
func (x Verified_State) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *Verified_State) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = Verified_State(num)
return nil
}
// Deprecated: Use Verified_State.Descriptor instead.
func (Verified_State) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{11, 0}
}
type SyncMessage_Request_Type int32
const (
SyncMessage_Request_UNKNOWN SyncMessage_Request_Type = 0
SyncMessage_Request_CONTACTS SyncMessage_Request_Type = 1
// GROUPS = 2;
SyncMessage_Request_BLOCKED SyncMessage_Request_Type = 3
SyncMessage_Request_CONFIGURATION SyncMessage_Request_Type = 4
SyncMessage_Request_KEYS SyncMessage_Request_Type = 5
SyncMessage_Request_PNI_IDENTITY SyncMessage_Request_Type = 6
)
// Enum value maps for SyncMessage_Request_Type.
var (
SyncMessage_Request_Type_name = map[int32]string{
0: "UNKNOWN",
1: "CONTACTS",
3: "BLOCKED",
4: "CONFIGURATION",
5: "KEYS",
6: "PNI_IDENTITY",
}
SyncMessage_Request_Type_value = map[string]int32{
"UNKNOWN": 0,
"CONTACTS": 1,
"BLOCKED": 3,
"CONFIGURATION": 4,
"KEYS": 5,
"PNI_IDENTITY": 6,
}
)
func (x SyncMessage_Request_Type) Enum() *SyncMessage_Request_Type {
p := new(SyncMessage_Request_Type)
*p = x
return p
}
func (x SyncMessage_Request_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SyncMessage_Request_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[16].Descriptor()
}
func (SyncMessage_Request_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[16]
}
func (x SyncMessage_Request_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *SyncMessage_Request_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = SyncMessage_Request_Type(num)
return nil
}
// Deprecated: Use SyncMessage_Request_Type.Descriptor instead.
func (SyncMessage_Request_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 3, 0}
}
type SyncMessage_StickerPackOperation_Type int32
const (
SyncMessage_StickerPackOperation_INSTALL SyncMessage_StickerPackOperation_Type = 0
SyncMessage_StickerPackOperation_REMOVE SyncMessage_StickerPackOperation_Type = 1
)
// Enum value maps for SyncMessage_StickerPackOperation_Type.
var (
SyncMessage_StickerPackOperation_Type_name = map[int32]string{
0: "INSTALL",
1: "REMOVE",
}
SyncMessage_StickerPackOperation_Type_value = map[string]int32{
"INSTALL": 0,
"REMOVE": 1,
}
)
func (x SyncMessage_StickerPackOperation_Type) Enum() *SyncMessage_StickerPackOperation_Type {
p := new(SyncMessage_StickerPackOperation_Type)
*p = x
return p
}
func (x SyncMessage_StickerPackOperation_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SyncMessage_StickerPackOperation_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[17].Descriptor()
}
func (SyncMessage_StickerPackOperation_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[17]
}
func (x SyncMessage_StickerPackOperation_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *SyncMessage_StickerPackOperation_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = SyncMessage_StickerPackOperation_Type(num)
return nil
}
// Deprecated: Use SyncMessage_StickerPackOperation_Type.Descriptor instead.
func (SyncMessage_StickerPackOperation_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 7, 0}
}
type SyncMessage_FetchLatest_Type int32
const (
SyncMessage_FetchLatest_UNKNOWN SyncMessage_FetchLatest_Type = 0
SyncMessage_FetchLatest_LOCAL_PROFILE SyncMessage_FetchLatest_Type = 1
SyncMessage_FetchLatest_STORAGE_MANIFEST SyncMessage_FetchLatest_Type = 2
SyncMessage_FetchLatest_SUBSCRIPTION_STATUS SyncMessage_FetchLatest_Type = 3
)
// Enum value maps for SyncMessage_FetchLatest_Type.
var (
SyncMessage_FetchLatest_Type_name = map[int32]string{
0: "UNKNOWN",
1: "LOCAL_PROFILE",
2: "STORAGE_MANIFEST",
3: "SUBSCRIPTION_STATUS",
}
SyncMessage_FetchLatest_Type_value = map[string]int32{
"UNKNOWN": 0,
"LOCAL_PROFILE": 1,
"STORAGE_MANIFEST": 2,
"SUBSCRIPTION_STATUS": 3,
}
)
func (x SyncMessage_FetchLatest_Type) Enum() *SyncMessage_FetchLatest_Type {
p := new(SyncMessage_FetchLatest_Type)
*p = x
return p
}
func (x SyncMessage_FetchLatest_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SyncMessage_FetchLatest_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[18].Descriptor()
}
func (SyncMessage_FetchLatest_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[18]
}
func (x SyncMessage_FetchLatest_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *SyncMessage_FetchLatest_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = SyncMessage_FetchLatest_Type(num)
return nil
}
// Deprecated: Use SyncMessage_FetchLatest_Type.Descriptor instead.
func (SyncMessage_FetchLatest_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 9, 0}
}
type SyncMessage_MessageRequestResponse_Type int32
const (
SyncMessage_MessageRequestResponse_UNKNOWN SyncMessage_MessageRequestResponse_Type = 0
SyncMessage_MessageRequestResponse_ACCEPT SyncMessage_MessageRequestResponse_Type = 1
SyncMessage_MessageRequestResponse_DELETE SyncMessage_MessageRequestResponse_Type = 2
SyncMessage_MessageRequestResponse_BLOCK SyncMessage_MessageRequestResponse_Type = 3
SyncMessage_MessageRequestResponse_BLOCK_AND_DELETE SyncMessage_MessageRequestResponse_Type = 4
SyncMessage_MessageRequestResponse_SPAM SyncMessage_MessageRequestResponse_Type = 5
SyncMessage_MessageRequestResponse_BLOCK_AND_SPAM SyncMessage_MessageRequestResponse_Type = 6
)
// Enum value maps for SyncMessage_MessageRequestResponse_Type.
var (
SyncMessage_MessageRequestResponse_Type_name = map[int32]string{
0: "UNKNOWN",
1: "ACCEPT",
2: "DELETE",
3: "BLOCK",
4: "BLOCK_AND_DELETE",
5: "SPAM",
6: "BLOCK_AND_SPAM",
}
SyncMessage_MessageRequestResponse_Type_value = map[string]int32{
"UNKNOWN": 0,
"ACCEPT": 1,
"DELETE": 2,
"BLOCK": 3,
"BLOCK_AND_DELETE": 4,
"SPAM": 5,
"BLOCK_AND_SPAM": 6,
}
)
func (x SyncMessage_MessageRequestResponse_Type) Enum() *SyncMessage_MessageRequestResponse_Type {
p := new(SyncMessage_MessageRequestResponse_Type)
*p = x
return p
}
func (x SyncMessage_MessageRequestResponse_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SyncMessage_MessageRequestResponse_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[19].Descriptor()
}
func (SyncMessage_MessageRequestResponse_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[19]
}
func (x SyncMessage_MessageRequestResponse_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *SyncMessage_MessageRequestResponse_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = SyncMessage_MessageRequestResponse_Type(num)
return nil
}
// Deprecated: Use SyncMessage_MessageRequestResponse_Type.Descriptor instead.
func (SyncMessage_MessageRequestResponse_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 11, 0}
}
type SyncMessage_CallEvent_Type int32
const (
SyncMessage_CallEvent_UNKNOWN_TYPE SyncMessage_CallEvent_Type = 0
SyncMessage_CallEvent_AUDIO_CALL SyncMessage_CallEvent_Type = 1
SyncMessage_CallEvent_VIDEO_CALL SyncMessage_CallEvent_Type = 2
SyncMessage_CallEvent_GROUP_CALL SyncMessage_CallEvent_Type = 3
SyncMessage_CallEvent_AD_HOC_CALL SyncMessage_CallEvent_Type = 4
)
// Enum value maps for SyncMessage_CallEvent_Type.
var (
SyncMessage_CallEvent_Type_name = map[int32]string{
0: "UNKNOWN_TYPE",
1: "AUDIO_CALL",
2: "VIDEO_CALL",
3: "GROUP_CALL",
4: "AD_HOC_CALL",
}
SyncMessage_CallEvent_Type_value = map[string]int32{
"UNKNOWN_TYPE": 0,
"AUDIO_CALL": 1,
"VIDEO_CALL": 2,
"GROUP_CALL": 3,
"AD_HOC_CALL": 4,
}
)
func (x SyncMessage_CallEvent_Type) Enum() *SyncMessage_CallEvent_Type {
p := new(SyncMessage_CallEvent_Type)
*p = x
return p
}
func (x SyncMessage_CallEvent_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SyncMessage_CallEvent_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[20].Descriptor()
}
func (SyncMessage_CallEvent_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[20]
}
func (x SyncMessage_CallEvent_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *SyncMessage_CallEvent_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = SyncMessage_CallEvent_Type(num)
return nil
}
// Deprecated: Use SyncMessage_CallEvent_Type.Descriptor instead.
func (SyncMessage_CallEvent_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 14, 0}
}
type SyncMessage_CallEvent_Direction int32
const (
SyncMessage_CallEvent_UNKNOWN_DIRECTION SyncMessage_CallEvent_Direction = 0
SyncMessage_CallEvent_INCOMING SyncMessage_CallEvent_Direction = 1
SyncMessage_CallEvent_OUTGOING SyncMessage_CallEvent_Direction = 2
)
// Enum value maps for SyncMessage_CallEvent_Direction.
var (
SyncMessage_CallEvent_Direction_name = map[int32]string{
0: "UNKNOWN_DIRECTION",
1: "INCOMING",
2: "OUTGOING",
}
SyncMessage_CallEvent_Direction_value = map[string]int32{
"UNKNOWN_DIRECTION": 0,
"INCOMING": 1,
"OUTGOING": 2,
}
)
func (x SyncMessage_CallEvent_Direction) Enum() *SyncMessage_CallEvent_Direction {
p := new(SyncMessage_CallEvent_Direction)
*p = x
return p
}
func (x SyncMessage_CallEvent_Direction) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SyncMessage_CallEvent_Direction) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[21].Descriptor()
}
func (SyncMessage_CallEvent_Direction) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[21]
}
func (x SyncMessage_CallEvent_Direction) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *SyncMessage_CallEvent_Direction) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = SyncMessage_CallEvent_Direction(num)
return nil
}
// Deprecated: Use SyncMessage_CallEvent_Direction.Descriptor instead.
func (SyncMessage_CallEvent_Direction) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 14, 1}
}
type SyncMessage_CallEvent_Event int32
const (
SyncMessage_CallEvent_UNKNOWN_ACTION SyncMessage_CallEvent_Event = 0
SyncMessage_CallEvent_ACCEPTED SyncMessage_CallEvent_Event = 1
SyncMessage_CallEvent_NOT_ACCEPTED SyncMessage_CallEvent_Event = 2
SyncMessage_CallEvent_DELETE SyncMessage_CallEvent_Event = 3
SyncMessage_CallEvent_OBSERVED SyncMessage_CallEvent_Event = 4
)
// Enum value maps for SyncMessage_CallEvent_Event.
var (
SyncMessage_CallEvent_Event_name = map[int32]string{
0: "UNKNOWN_ACTION",
1: "ACCEPTED",
2: "NOT_ACCEPTED",
3: "DELETE",
4: "OBSERVED",
}
SyncMessage_CallEvent_Event_value = map[string]int32{
"UNKNOWN_ACTION": 0,
"ACCEPTED": 1,
"NOT_ACCEPTED": 2,
"DELETE": 3,
"OBSERVED": 4,
}
)
func (x SyncMessage_CallEvent_Event) Enum() *SyncMessage_CallEvent_Event {
p := new(SyncMessage_CallEvent_Event)
*p = x
return p
}
func (x SyncMessage_CallEvent_Event) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SyncMessage_CallEvent_Event) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[22].Descriptor()
}
func (SyncMessage_CallEvent_Event) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[22]
}
func (x SyncMessage_CallEvent_Event) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *SyncMessage_CallEvent_Event) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = SyncMessage_CallEvent_Event(num)
return nil
}
// Deprecated: Use SyncMessage_CallEvent_Event.Descriptor instead.
func (SyncMessage_CallEvent_Event) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 14, 2}
}
type SyncMessage_CallLinkUpdate_Type int32
const (
SyncMessage_CallLinkUpdate_UPDATE SyncMessage_CallLinkUpdate_Type = 0
)
// Enum value maps for SyncMessage_CallLinkUpdate_Type.
var (
SyncMessage_CallLinkUpdate_Type_name = map[int32]string{
0: "UPDATE",
}
SyncMessage_CallLinkUpdate_Type_value = map[string]int32{
"UPDATE": 0,
}
)
func (x SyncMessage_CallLinkUpdate_Type) Enum() *SyncMessage_CallLinkUpdate_Type {
p := new(SyncMessage_CallLinkUpdate_Type)
*p = x
return p
}
func (x SyncMessage_CallLinkUpdate_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SyncMessage_CallLinkUpdate_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[23].Descriptor()
}
func (SyncMessage_CallLinkUpdate_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[23]
}
func (x SyncMessage_CallLinkUpdate_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *SyncMessage_CallLinkUpdate_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = SyncMessage_CallLinkUpdate_Type(num)
return nil
}
// Deprecated: Use SyncMessage_CallLinkUpdate_Type.Descriptor instead.
func (SyncMessage_CallLinkUpdate_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 15, 0}
}
type SyncMessage_CallLogEvent_Type int32
const (
SyncMessage_CallLogEvent_CLEAR SyncMessage_CallLogEvent_Type = 0
SyncMessage_CallLogEvent_MARKED_AS_READ SyncMessage_CallLogEvent_Type = 1
SyncMessage_CallLogEvent_MARKED_AS_READ_IN_CONVERSATION SyncMessage_CallLogEvent_Type = 2
)
// Enum value maps for SyncMessage_CallLogEvent_Type.
var (
SyncMessage_CallLogEvent_Type_name = map[int32]string{
0: "CLEAR",
1: "MARKED_AS_READ",
2: "MARKED_AS_READ_IN_CONVERSATION",
}
SyncMessage_CallLogEvent_Type_value = map[string]int32{
"CLEAR": 0,
"MARKED_AS_READ": 1,
"MARKED_AS_READ_IN_CONVERSATION": 2,
}
)
func (x SyncMessage_CallLogEvent_Type) Enum() *SyncMessage_CallLogEvent_Type {
p := new(SyncMessage_CallLogEvent_Type)
*p = x
return p
}
func (x SyncMessage_CallLogEvent_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SyncMessage_CallLogEvent_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[24].Descriptor()
}
func (SyncMessage_CallLogEvent_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[24]
}
func (x SyncMessage_CallLogEvent_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *SyncMessage_CallLogEvent_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = SyncMessage_CallLogEvent_Type(num)
return nil
}
// Deprecated: Use SyncMessage_CallLogEvent_Type.Descriptor instead.
func (SyncMessage_CallLogEvent_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 16, 0}
}
type AttachmentPointer_Flags int32
const (
AttachmentPointer_VOICE_MESSAGE AttachmentPointer_Flags = 1
AttachmentPointer_BORDERLESS AttachmentPointer_Flags = 2
AttachmentPointer_GIF AttachmentPointer_Flags = 4
)
// Enum value maps for AttachmentPointer_Flags.
var (
AttachmentPointer_Flags_name = map[int32]string{
1: "VOICE_MESSAGE",
2: "BORDERLESS",
4: "GIF",
}
AttachmentPointer_Flags_value = map[string]int32{
"VOICE_MESSAGE": 1,
"BORDERLESS": 2,
"GIF": 4,
}
)
func (x AttachmentPointer_Flags) Enum() *AttachmentPointer_Flags {
p := new(AttachmentPointer_Flags)
*p = x
return p
}
func (x AttachmentPointer_Flags) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AttachmentPointer_Flags) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[25].Descriptor()
}
func (AttachmentPointer_Flags) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[25]
}
func (x AttachmentPointer_Flags) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *AttachmentPointer_Flags) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = AttachmentPointer_Flags(num)
return nil
}
// Deprecated: Use AttachmentPointer_Flags.Descriptor instead.
func (AttachmentPointer_Flags) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{13, 0}
}
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
)
// Enum value maps for GroupContext_Type.
var (
GroupContext_Type_name = map[int32]string{
0: "UNKNOWN",
1: "UPDATE",
2: "DELIVER",
3: "QUIT",
4: "REQUEST_INFO",
}
GroupContext_Type_value = map[string]int32{
"UNKNOWN": 0,
"UPDATE": 1,
"DELIVER": 2,
"QUIT": 3,
"REQUEST_INFO": 4,
}
)
func (x GroupContext_Type) Enum() *GroupContext_Type {
p := new(GroupContext_Type)
*p = x
return p
}
func (x GroupContext_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (GroupContext_Type) Descriptor() protoreflect.EnumDescriptor {
return file_SignalService_proto_enumTypes[26].Descriptor()
}
func (GroupContext_Type) Type() protoreflect.EnumType {
return &file_SignalService_proto_enumTypes[26]
}
func (x GroupContext_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *GroupContext_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = GroupContext_Type(num)
return nil
}
// Deprecated: Use GroupContext_Type.Descriptor instead.
func (GroupContext_Type) EnumDescriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{14, 0}
}
type Envelope struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type *Envelope_Type `protobuf:"varint,1,opt,name=type,enum=signalservice.Envelope_Type" json:"type,omitempty"`
SourceServiceId *string `protobuf:"bytes,11,opt,name=sourceServiceId" json:"sourceServiceId,omitempty"`
SourceDevice *uint32 `protobuf:"varint,7,opt,name=sourceDevice" json:"sourceDevice,omitempty"`
DestinationServiceId *string `protobuf:"bytes,13,opt,name=destinationServiceId" json:"destinationServiceId,omitempty"`
Timestamp *uint64 `protobuf:"varint,5,opt,name=timestamp" json:"timestamp,omitempty"`
Content []byte `protobuf:"bytes,8,opt,name=content" json:"content,omitempty"` // Contains an encrypted Content
ServerGuid *string `protobuf:"bytes,9,opt,name=serverGuid" json:"serverGuid,omitempty"`
ServerTimestamp *uint64 `protobuf:"varint,10,opt,name=serverTimestamp" json:"serverTimestamp,omitempty"`
Urgent *bool `protobuf:"varint,14,opt,name=urgent,def=1" json:"urgent,omitempty"`
Story *bool `protobuf:"varint,16,opt,name=story" json:"story,omitempty"`
ReportingToken []byte `protobuf:"bytes,17,opt,name=reportingToken" json:"reportingToken,omitempty"`
}
// Default values for Envelope fields.
const (
Default_Envelope_Urgent = bool(true)
)
func (x *Envelope) Reset() {
*x = Envelope{}
mi := &file_SignalService_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Envelope) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Envelope) ProtoMessage() {}
func (x *Envelope) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Envelope.ProtoReflect.Descriptor instead.
func (*Envelope) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{0}
}
func (x *Envelope) GetType() Envelope_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return Envelope_UNKNOWN
}
func (x *Envelope) GetSourceServiceId() string {
if x != nil && x.SourceServiceId != nil {
return *x.SourceServiceId
}
return ""
}
func (x *Envelope) GetSourceDevice() uint32 {
if x != nil && x.SourceDevice != nil {
return *x.SourceDevice
}
return 0
}
func (x *Envelope) GetDestinationServiceId() string {
if x != nil && x.DestinationServiceId != nil {
return *x.DestinationServiceId
}
return ""
}
func (x *Envelope) GetTimestamp() uint64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
}
return 0
}
func (x *Envelope) GetContent() []byte {
if x != nil {
return x.Content
}
return nil
}
func (x *Envelope) GetServerGuid() string {
if x != nil && x.ServerGuid != nil {
return *x.ServerGuid
}
return ""
}
func (x *Envelope) GetServerTimestamp() uint64 {
if x != nil && x.ServerTimestamp != nil {
return *x.ServerTimestamp
}
return 0
}
func (x *Envelope) GetUrgent() bool {
if x != nil && x.Urgent != nil {
return *x.Urgent
}
return Default_Envelope_Urgent
}
func (x *Envelope) GetStory() bool {
if x != nil && x.Story != nil {
return *x.Story
}
return false
}
func (x *Envelope) GetReportingToken() []byte {
if x != nil {
return x.ReportingToken
}
return nil
}
type Content struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
TypingMessage *TypingMessage `protobuf:"bytes,6,opt,name=typingMessage" json:"typingMessage,omitempty"`
SenderKeyDistributionMessage []byte `protobuf:"bytes,7,opt,name=senderKeyDistributionMessage" json:"senderKeyDistributionMessage,omitempty"`
DecryptionErrorMessage []byte `protobuf:"bytes,8,opt,name=decryptionErrorMessage" json:"decryptionErrorMessage,omitempty"`
StoryMessage *StoryMessage `protobuf:"bytes,9,opt,name=storyMessage" json:"storyMessage,omitempty"`
PniSignatureMessage *PniSignatureMessage `protobuf:"bytes,10,opt,name=pniSignatureMessage" json:"pniSignatureMessage,omitempty"`
EditMessage *EditMessage `protobuf:"bytes,11,opt,name=editMessage" json:"editMessage,omitempty"`
}
func (x *Content) Reset() {
*x = Content{}
mi := &file_SignalService_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Content) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Content) ProtoMessage() {}
func (x *Content) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Content.ProtoReflect.Descriptor instead.
func (*Content) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{1}
}
func (x *Content) GetDataMessage() *DataMessage {
if x != nil {
return x.DataMessage
}
return nil
}
func (x *Content) GetSyncMessage() *SyncMessage {
if x != nil {
return x.SyncMessage
}
return nil
}
func (x *Content) GetCallMessage() *CallMessage {
if x != nil {
return x.CallMessage
}
return nil
}
func (x *Content) GetNullMessage() *NullMessage {
if x != nil {
return x.NullMessage
}
return nil
}
func (x *Content) GetReceiptMessage() *ReceiptMessage {
if x != nil {
return x.ReceiptMessage
}
return nil
}
func (x *Content) GetTypingMessage() *TypingMessage {
if x != nil {
return x.TypingMessage
}
return nil
}
func (x *Content) GetSenderKeyDistributionMessage() []byte {
if x != nil {
return x.SenderKeyDistributionMessage
}
return nil
}
func (x *Content) GetDecryptionErrorMessage() []byte {
if x != nil {
return x.DecryptionErrorMessage
}
return nil
}
func (x *Content) GetStoryMessage() *StoryMessage {
if x != nil {
return x.StoryMessage
}
return nil
}
func (x *Content) GetPniSignatureMessage() *PniSignatureMessage {
if x != nil {
return x.PniSignatureMessage
}
return nil
}
func (x *Content) GetEditMessage() *EditMessage {
if x != nil {
return x.EditMessage
}
return nil
}
type CallMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
Busy *CallMessage_Busy `protobuf:"bytes,5,opt,name=busy" json:"busy,omitempty"`
Hangup *CallMessage_Hangup `protobuf:"bytes,7,opt,name=hangup" json:"hangup,omitempty"`
DestinationDeviceId *uint32 `protobuf:"varint,9,opt,name=destinationDeviceId" json:"destinationDeviceId,omitempty"`
Opaque *CallMessage_Opaque `protobuf:"bytes,10,opt,name=opaque" json:"opaque,omitempty"`
}
func (x *CallMessage) Reset() {
*x = CallMessage{}
mi := &file_SignalService_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallMessage) ProtoMessage() {}
func (x *CallMessage) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CallMessage.ProtoReflect.Descriptor instead.
func (*CallMessage) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{2}
}
func (x *CallMessage) GetOffer() *CallMessage_Offer {
if x != nil {
return x.Offer
}
return nil
}
func (x *CallMessage) GetAnswer() *CallMessage_Answer {
if x != nil {
return x.Answer
}
return nil
}
func (x *CallMessage) GetIceUpdate() []*CallMessage_IceUpdate {
if x != nil {
return x.IceUpdate
}
return nil
}
func (x *CallMessage) GetBusy() *CallMessage_Busy {
if x != nil {
return x.Busy
}
return nil
}
func (x *CallMessage) GetHangup() *CallMessage_Hangup {
if x != nil {
return x.Hangup
}
return nil
}
func (x *CallMessage) GetDestinationDeviceId() uint32 {
if x != nil && x.DestinationDeviceId != nil {
return *x.DestinationDeviceId
}
return 0
}
func (x *CallMessage) GetOpaque() *CallMessage_Opaque {
if x != nil {
return x.Opaque
}
return nil
}
type BodyRange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Start *uint32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"`
Length *uint32 `protobuf:"varint,2,opt,name=length" json:"length,omitempty"`
// Types that are assignable to AssociatedValue:
//
// *BodyRange_MentionAci
// *BodyRange_Style_
AssociatedValue isBodyRange_AssociatedValue `protobuf_oneof:"associatedValue"`
}
func (x *BodyRange) Reset() {
*x = BodyRange{}
mi := &file_SignalService_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BodyRange) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BodyRange) ProtoMessage() {}
func (x *BodyRange) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BodyRange.ProtoReflect.Descriptor instead.
func (*BodyRange) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{3}
}
func (x *BodyRange) GetStart() uint32 {
if x != nil && x.Start != nil {
return *x.Start
}
return 0
}
func (x *BodyRange) GetLength() uint32 {
if x != nil && x.Length != nil {
return *x.Length
}
return 0
}
func (m *BodyRange) GetAssociatedValue() isBodyRange_AssociatedValue {
if m != nil {
return m.AssociatedValue
}
return nil
}
func (x *BodyRange) GetMentionAci() string {
if x, ok := x.GetAssociatedValue().(*BodyRange_MentionAci); ok {
return x.MentionAci
}
return ""
}
func (x *BodyRange) GetStyle() BodyRange_Style {
if x, ok := x.GetAssociatedValue().(*BodyRange_Style_); ok {
return x.Style
}
return BodyRange_NONE
}
type isBodyRange_AssociatedValue interface {
isBodyRange_AssociatedValue()
}
type BodyRange_MentionAci struct {
MentionAci string `protobuf:"bytes,3,opt,name=mentionAci,oneof"`
}
type BodyRange_Style_ struct {
Style BodyRange_Style `protobuf:"varint,4,opt,name=style,enum=signalservice.BodyRange_Style,oneof"`
}
func (*BodyRange_MentionAci) isBodyRange_AssociatedValue() {}
func (*BodyRange_Style_) isBodyRange_AssociatedValue() {}
type DataMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Body *string `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
Attachments []*AttachmentPointer `protobuf:"bytes,2,rep,name=attachments" json:"attachments,omitempty"`
GroupV2 *GroupContextV2 `protobuf:"bytes,15,opt,name=groupV2" json:"groupV2,omitempty"`
Flags *uint32 `protobuf:"varint,4,opt,name=flags" json:"flags,omitempty"`
ExpireTimer *uint32 `protobuf:"varint,5,opt,name=expireTimer" json:"expireTimer,omitempty"`
ExpireTimerVersion *uint32 `protobuf:"varint,23,opt,name=expireTimerVersion" json:"expireTimerVersion,omitempty"`
ProfileKey []byte `protobuf:"bytes,6,opt,name=profileKey" json:"profileKey,omitempty"`
Timestamp *uint64 `protobuf:"varint,7,opt,name=timestamp" json:"timestamp,omitempty"`
Quote *DataMessage_Quote `protobuf:"bytes,8,opt,name=quote" json:"quote,omitempty"`
Contact []*DataMessage_Contact `protobuf:"bytes,9,rep,name=contact" json:"contact,omitempty"`
Preview []*Preview `protobuf:"bytes,10,rep,name=preview" json:"preview,omitempty"`
Sticker *DataMessage_Sticker `protobuf:"bytes,11,opt,name=sticker" json:"sticker,omitempty"`
RequiredProtocolVersion *uint32 `protobuf:"varint,12,opt,name=requiredProtocolVersion" json:"requiredProtocolVersion,omitempty"`
IsViewOnce *bool `protobuf:"varint,14,opt,name=isViewOnce" json:"isViewOnce,omitempty"`
Reaction *DataMessage_Reaction `protobuf:"bytes,16,opt,name=reaction" json:"reaction,omitempty"`
Delete *DataMessage_Delete `protobuf:"bytes,17,opt,name=delete" json:"delete,omitempty"`
BodyRanges []*BodyRange `protobuf:"bytes,18,rep,name=bodyRanges" json:"bodyRanges,omitempty"`
GroupCallUpdate *DataMessage_GroupCallUpdate `protobuf:"bytes,19,opt,name=groupCallUpdate" json:"groupCallUpdate,omitempty"`
Payment *DataMessage_Payment `protobuf:"bytes,20,opt,name=payment" json:"payment,omitempty"`
StoryContext *DataMessage_StoryContext `protobuf:"bytes,21,opt,name=storyContext" json:"storyContext,omitempty"`
GiftBadge *DataMessage_GiftBadge `protobuf:"bytes,22,opt,name=giftBadge" json:"giftBadge,omitempty"`
}
func (x *DataMessage) Reset() {
*x = DataMessage{}
mi := &file_SignalService_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage) ProtoMessage() {}
func (x *DataMessage) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage.ProtoReflect.Descriptor instead.
func (*DataMessage) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4}
}
func (x *DataMessage) GetBody() string {
if x != nil && x.Body != nil {
return *x.Body
}
return ""
}
func (x *DataMessage) GetAttachments() []*AttachmentPointer {
if x != nil {
return x.Attachments
}
return nil
}
func (x *DataMessage) GetGroupV2() *GroupContextV2 {
if x != nil {
return x.GroupV2
}
return nil
}
func (x *DataMessage) GetFlags() uint32 {
if x != nil && x.Flags != nil {
return *x.Flags
}
return 0
}
func (x *DataMessage) GetExpireTimer() uint32 {
if x != nil && x.ExpireTimer != nil {
return *x.ExpireTimer
}
return 0
}
func (x *DataMessage) GetExpireTimerVersion() uint32 {
if x != nil && x.ExpireTimerVersion != nil {
return *x.ExpireTimerVersion
}
return 0
}
func (x *DataMessage) GetProfileKey() []byte {
if x != nil {
return x.ProfileKey
}
return nil
}
func (x *DataMessage) GetTimestamp() uint64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
}
return 0
}
func (x *DataMessage) GetQuote() *DataMessage_Quote {
if x != nil {
return x.Quote
}
return nil
}
func (x *DataMessage) GetContact() []*DataMessage_Contact {
if x != nil {
return x.Contact
}
return nil
}
func (x *DataMessage) GetPreview() []*Preview {
if x != nil {
return x.Preview
}
return nil
}
func (x *DataMessage) GetSticker() *DataMessage_Sticker {
if x != nil {
return x.Sticker
}
return nil
}
func (x *DataMessage) GetRequiredProtocolVersion() uint32 {
if x != nil && x.RequiredProtocolVersion != nil {
return *x.RequiredProtocolVersion
}
return 0
}
func (x *DataMessage) GetIsViewOnce() bool {
if x != nil && x.IsViewOnce != nil {
return *x.IsViewOnce
}
return false
}
func (x *DataMessage) GetReaction() *DataMessage_Reaction {
if x != nil {
return x.Reaction
}
return nil
}
func (x *DataMessage) GetDelete() *DataMessage_Delete {
if x != nil {
return x.Delete
}
return nil
}
func (x *DataMessage) GetBodyRanges() []*BodyRange {
if x != nil {
return x.BodyRanges
}
return nil
}
func (x *DataMessage) GetGroupCallUpdate() *DataMessage_GroupCallUpdate {
if x != nil {
return x.GroupCallUpdate
}
return nil
}
func (x *DataMessage) GetPayment() *DataMessage_Payment {
if x != nil {
return x.Payment
}
return nil
}
func (x *DataMessage) GetStoryContext() *DataMessage_StoryContext {
if x != nil {
return x.StoryContext
}
return nil
}
func (x *DataMessage) GetGiftBadge() *DataMessage_GiftBadge {
if x != nil {
return x.GiftBadge
}
return nil
}
type NullMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Padding []byte `protobuf:"bytes,1,opt,name=padding" json:"padding,omitempty"`
}
func (x *NullMessage) Reset() {
*x = NullMessage{}
mi := &file_SignalService_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NullMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NullMessage) ProtoMessage() {}
func (x *NullMessage) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NullMessage.ProtoReflect.Descriptor instead.
func (*NullMessage) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{5}
}
func (x *NullMessage) GetPadding() []byte {
if x != nil {
return x.Padding
}
return nil
}
type ReceiptMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
}
func (x *ReceiptMessage) Reset() {
*x = ReceiptMessage{}
mi := &file_SignalService_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReceiptMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReceiptMessage) ProtoMessage() {}
func (x *ReceiptMessage) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReceiptMessage.ProtoReflect.Descriptor instead.
func (*ReceiptMessage) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{6}
}
func (x *ReceiptMessage) GetType() ReceiptMessage_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return ReceiptMessage_DELIVERY
}
func (x *ReceiptMessage) GetTimestamp() []uint64 {
if x != nil {
return x.Timestamp
}
return nil
}
type TypingMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp *uint64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"`
Action *TypingMessage_Action `protobuf:"varint,2,opt,name=action,enum=signalservice.TypingMessage_Action" json:"action,omitempty"`
GroupId []byte `protobuf:"bytes,3,opt,name=groupId" json:"groupId,omitempty"`
}
func (x *TypingMessage) Reset() {
*x = TypingMessage{}
mi := &file_SignalService_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TypingMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TypingMessage) ProtoMessage() {}
func (x *TypingMessage) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TypingMessage.ProtoReflect.Descriptor instead.
func (*TypingMessage) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{7}
}
func (x *TypingMessage) GetTimestamp() uint64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
}
return 0
}
func (x *TypingMessage) GetAction() TypingMessage_Action {
if x != nil && x.Action != nil {
return *x.Action
}
return TypingMessage_STARTED
}
func (x *TypingMessage) GetGroupId() []byte {
if x != nil {
return x.GroupId
}
return nil
}
type StoryMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProfileKey []byte `protobuf:"bytes,1,opt,name=profileKey" json:"profileKey,omitempty"`
Group *GroupContextV2 `protobuf:"bytes,2,opt,name=group" json:"group,omitempty"`
// Types that are assignable to Attachment:
//
// *StoryMessage_FileAttachment
// *StoryMessage_TextAttachment
Attachment isStoryMessage_Attachment `protobuf_oneof:"attachment"`
AllowsReplies *bool `protobuf:"varint,5,opt,name=allowsReplies" json:"allowsReplies,omitempty"`
BodyRanges []*BodyRange `protobuf:"bytes,6,rep,name=bodyRanges" json:"bodyRanges,omitempty"`
}
func (x *StoryMessage) Reset() {
*x = StoryMessage{}
mi := &file_SignalService_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StoryMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StoryMessage) ProtoMessage() {}
func (x *StoryMessage) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StoryMessage.ProtoReflect.Descriptor instead.
func (*StoryMessage) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{8}
}
func (x *StoryMessage) GetProfileKey() []byte {
if x != nil {
return x.ProfileKey
}
return nil
}
func (x *StoryMessage) GetGroup() *GroupContextV2 {
if x != nil {
return x.Group
}
return nil
}
func (m *StoryMessage) GetAttachment() isStoryMessage_Attachment {
if m != nil {
return m.Attachment
}
return nil
}
func (x *StoryMessage) GetFileAttachment() *AttachmentPointer {
if x, ok := x.GetAttachment().(*StoryMessage_FileAttachment); ok {
return x.FileAttachment
}
return nil
}
func (x *StoryMessage) GetTextAttachment() *TextAttachment {
if x, ok := x.GetAttachment().(*StoryMessage_TextAttachment); ok {
return x.TextAttachment
}
return nil
}
func (x *StoryMessage) GetAllowsReplies() bool {
if x != nil && x.AllowsReplies != nil {
return *x.AllowsReplies
}
return false
}
func (x *StoryMessage) GetBodyRanges() []*BodyRange {
if x != nil {
return x.BodyRanges
}
return nil
}
type isStoryMessage_Attachment interface {
isStoryMessage_Attachment()
}
type StoryMessage_FileAttachment struct {
FileAttachment *AttachmentPointer `protobuf:"bytes,3,opt,name=fileAttachment,oneof"`
}
type StoryMessage_TextAttachment struct {
TextAttachment *TextAttachment `protobuf:"bytes,4,opt,name=textAttachment,oneof"`
}
func (*StoryMessage_FileAttachment) isStoryMessage_Attachment() {}
func (*StoryMessage_TextAttachment) isStoryMessage_Attachment() {}
type Preview struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
Image *AttachmentPointer `protobuf:"bytes,3,opt,name=image" json:"image,omitempty"`
Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
Date *uint64 `protobuf:"varint,5,opt,name=date" json:"date,omitempty"`
}
func (x *Preview) Reset() {
*x = Preview{}
mi := &file_SignalService_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Preview) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Preview) ProtoMessage() {}
func (x *Preview) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Preview.ProtoReflect.Descriptor instead.
func (*Preview) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{9}
}
func (x *Preview) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
}
return ""
}
func (x *Preview) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
}
return ""
}
func (x *Preview) GetImage() *AttachmentPointer {
if x != nil {
return x.Image
}
return nil
}
func (x *Preview) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *Preview) GetDate() uint64 {
if x != nil && x.Date != nil {
return *x.Date
}
return 0
}
type TextAttachment struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
TextStyle *TextAttachment_Style `protobuf:"varint,2,opt,name=textStyle,enum=signalservice.TextAttachment_Style" json:"textStyle,omitempty"`
TextForegroundColor *uint32 `protobuf:"varint,3,opt,name=textForegroundColor" json:"textForegroundColor,omitempty"` // integer representation of hex color
TextBackgroundColor *uint32 `protobuf:"varint,4,opt,name=textBackgroundColor" json:"textBackgroundColor,omitempty"`
Preview *Preview `protobuf:"bytes,5,opt,name=preview" json:"preview,omitempty"`
// Types that are assignable to Background:
//
// *TextAttachment_Gradient_
// *TextAttachment_Color
Background isTextAttachment_Background `protobuf_oneof:"background"`
}
func (x *TextAttachment) Reset() {
*x = TextAttachment{}
mi := &file_SignalService_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TextAttachment) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TextAttachment) ProtoMessage() {}
func (x *TextAttachment) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TextAttachment.ProtoReflect.Descriptor instead.
func (*TextAttachment) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{10}
}
func (x *TextAttachment) GetText() string {
if x != nil && x.Text != nil {
return *x.Text
}
return ""
}
func (x *TextAttachment) GetTextStyle() TextAttachment_Style {
if x != nil && x.TextStyle != nil {
return *x.TextStyle
}
return TextAttachment_DEFAULT
}
func (x *TextAttachment) GetTextForegroundColor() uint32 {
if x != nil && x.TextForegroundColor != nil {
return *x.TextForegroundColor
}
return 0
}
func (x *TextAttachment) GetTextBackgroundColor() uint32 {
if x != nil && x.TextBackgroundColor != nil {
return *x.TextBackgroundColor
}
return 0
}
func (x *TextAttachment) GetPreview() *Preview {
if x != nil {
return x.Preview
}
return nil
}
func (m *TextAttachment) GetBackground() isTextAttachment_Background {
if m != nil {
return m.Background
}
return nil
}
func (x *TextAttachment) GetGradient() *TextAttachment_Gradient {
if x, ok := x.GetBackground().(*TextAttachment_Gradient_); ok {
return x.Gradient
}
return nil
}
func (x *TextAttachment) GetColor() uint32 {
if x, ok := x.GetBackground().(*TextAttachment_Color); ok {
return x.Color
}
return 0
}
type isTextAttachment_Background interface {
isTextAttachment_Background()
}
type TextAttachment_Gradient_ struct {
Gradient *TextAttachment_Gradient `protobuf:"bytes,6,opt,name=gradient,oneof"`
}
type TextAttachment_Color struct {
Color uint32 `protobuf:"varint,7,opt,name=color,oneof"`
}
func (*TextAttachment_Gradient_) isTextAttachment_Background() {}
func (*TextAttachment_Color) isTextAttachment_Background() {}
type Verified struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DestinationAci *string `protobuf:"bytes,5,opt,name=destinationAci" json:"destinationAci,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"`
}
func (x *Verified) Reset() {
*x = Verified{}
mi := &file_SignalService_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Verified) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Verified) ProtoMessage() {}
func (x *Verified) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Verified.ProtoReflect.Descriptor instead.
func (*Verified) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{11}
}
func (x *Verified) GetDestinationAci() string {
if x != nil && x.DestinationAci != nil {
return *x.DestinationAci
}
return ""
}
func (x *Verified) GetIdentityKey() []byte {
if x != nil {
return x.IdentityKey
}
return nil
}
func (x *Verified) GetState() Verified_State {
if x != nil && x.State != nil {
return *x.State
}
return Verified_DEFAULT
}
func (x *Verified) GetNullMessage() []byte {
if x != nil {
return x.NullMessage
}
return nil
}
type SyncMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Sent *SyncMessage_Sent `protobuf:"bytes,1,opt,name=sent" json:"sent,omitempty"`
Contacts *SyncMessage_Contacts `protobuf:"bytes,2,opt,name=contacts" json:"contacts,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"`
StickerPackOperation []*SyncMessage_StickerPackOperation `protobuf:"bytes,10,rep,name=stickerPackOperation" json:"stickerPackOperation,omitempty"`
ViewOnceOpen *SyncMessage_ViewOnceOpen `protobuf:"bytes,11,opt,name=viewOnceOpen" json:"viewOnceOpen,omitempty"`
FetchLatest *SyncMessage_FetchLatest `protobuf:"bytes,12,opt,name=fetchLatest" json:"fetchLatest,omitempty"`
Keys *SyncMessage_Keys `protobuf:"bytes,13,opt,name=keys" json:"keys,omitempty"`
MessageRequestResponse *SyncMessage_MessageRequestResponse `protobuf:"bytes,14,opt,name=messageRequestResponse" json:"messageRequestResponse,omitempty"`
OutgoingPayment *SyncMessage_OutgoingPayment `protobuf:"bytes,15,opt,name=outgoingPayment" json:"outgoingPayment,omitempty"`
Viewed []*SyncMessage_Viewed `protobuf:"bytes,16,rep,name=viewed" json:"viewed,omitempty"`
PniChangeNumber *SyncMessage_PniChangeNumber `protobuf:"bytes,18,opt,name=pniChangeNumber" json:"pniChangeNumber,omitempty"`
CallEvent *SyncMessage_CallEvent `protobuf:"bytes,19,opt,name=callEvent" json:"callEvent,omitempty"`
CallLinkUpdate *SyncMessage_CallLinkUpdate `protobuf:"bytes,20,opt,name=callLinkUpdate" json:"callLinkUpdate,omitempty"`
CallLogEvent *SyncMessage_CallLogEvent `protobuf:"bytes,21,opt,name=callLogEvent" json:"callLogEvent,omitempty"`
DeleteForMe *SyncMessage_DeleteForMe `protobuf:"bytes,22,opt,name=deleteForMe" json:"deleteForMe,omitempty"`
}
func (x *SyncMessage) Reset() {
*x = SyncMessage{}
mi := &file_SignalService_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage) ProtoMessage() {}
func (x *SyncMessage) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage.ProtoReflect.Descriptor instead.
func (*SyncMessage) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12}
}
func (x *SyncMessage) GetSent() *SyncMessage_Sent {
if x != nil {
return x.Sent
}
return nil
}
func (x *SyncMessage) GetContacts() *SyncMessage_Contacts {
if x != nil {
return x.Contacts
}
return nil
}
func (x *SyncMessage) GetRequest() *SyncMessage_Request {
if x != nil {
return x.Request
}
return nil
}
func (x *SyncMessage) GetRead() []*SyncMessage_Read {
if x != nil {
return x.Read
}
return nil
}
func (x *SyncMessage) GetBlocked() *SyncMessage_Blocked {
if x != nil {
return x.Blocked
}
return nil
}
func (x *SyncMessage) GetVerified() *Verified {
if x != nil {
return x.Verified
}
return nil
}
func (x *SyncMessage) GetConfiguration() *SyncMessage_Configuration {
if x != nil {
return x.Configuration
}
return nil
}
func (x *SyncMessage) GetPadding() []byte {
if x != nil {
return x.Padding
}
return nil
}
func (x *SyncMessage) GetStickerPackOperation() []*SyncMessage_StickerPackOperation {
if x != nil {
return x.StickerPackOperation
}
return nil
}
func (x *SyncMessage) GetViewOnceOpen() *SyncMessage_ViewOnceOpen {
if x != nil {
return x.ViewOnceOpen
}
return nil
}
func (x *SyncMessage) GetFetchLatest() *SyncMessage_FetchLatest {
if x != nil {
return x.FetchLatest
}
return nil
}
func (x *SyncMessage) GetKeys() *SyncMessage_Keys {
if x != nil {
return x.Keys
}
return nil
}
func (x *SyncMessage) GetMessageRequestResponse() *SyncMessage_MessageRequestResponse {
if x != nil {
return x.MessageRequestResponse
}
return nil
}
func (x *SyncMessage) GetOutgoingPayment() *SyncMessage_OutgoingPayment {
if x != nil {
return x.OutgoingPayment
}
return nil
}
func (x *SyncMessage) GetViewed() []*SyncMessage_Viewed {
if x != nil {
return x.Viewed
}
return nil
}
func (x *SyncMessage) GetPniChangeNumber() *SyncMessage_PniChangeNumber {
if x != nil {
return x.PniChangeNumber
}
return nil
}
func (x *SyncMessage) GetCallEvent() *SyncMessage_CallEvent {
if x != nil {
return x.CallEvent
}
return nil
}
func (x *SyncMessage) GetCallLinkUpdate() *SyncMessage_CallLinkUpdate {
if x != nil {
return x.CallLinkUpdate
}
return nil
}
func (x *SyncMessage) GetCallLogEvent() *SyncMessage_CallLogEvent {
if x != nil {
return x.CallLogEvent
}
return nil
}
func (x *SyncMessage) GetDeleteForMe() *SyncMessage_DeleteForMe {
if x != nil {
return x.DeleteForMe
}
return nil
}
type AttachmentPointer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to AttachmentIdentifier:
//
// *AttachmentPointer_CdnId
// *AttachmentPointer_CdnKey
AttachmentIdentifier isAttachmentPointer_AttachmentIdentifier `protobuf_oneof:"attachment_identifier"`
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"`
IncrementalMac []byte `protobuf:"bytes,19,opt,name=incrementalMac" json:"incrementalMac,omitempty"`
IncrementalMacChunkSize *uint32 `protobuf:"varint,17,opt,name=incrementalMacChunkSize" json:"incrementalMacChunkSize,omitempty"`
FileName *string `protobuf:"bytes,7,opt,name=fileName" json:"fileName,omitempty"`
Flags *uint32 `protobuf:"varint,8,opt,name=flags" json:"flags,omitempty"`
Width *uint32 `protobuf:"varint,9,opt,name=width" json:"width,omitempty"`
Height *uint32 `protobuf:"varint,10,opt,name=height" json:"height,omitempty"`
Caption *string `protobuf:"bytes,11,opt,name=caption" json:"caption,omitempty"`
BlurHash *string `protobuf:"bytes,12,opt,name=blurHash" json:"blurHash,omitempty"`
UploadTimestamp *uint64 `protobuf:"varint,13,opt,name=uploadTimestamp" json:"uploadTimestamp,omitempty"`
CdnNumber *uint32 `protobuf:"varint,14,opt,name=cdnNumber" json:"cdnNumber,omitempty"`
Uuid []byte `protobuf:"bytes,20,opt,name=uuid" json:"uuid,omitempty"` // Next ID: 21
}
func (x *AttachmentPointer) Reset() {
*x = AttachmentPointer{}
mi := &file_SignalService_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AttachmentPointer) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AttachmentPointer) ProtoMessage() {}
func (x *AttachmentPointer) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AttachmentPointer.ProtoReflect.Descriptor instead.
func (*AttachmentPointer) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{13}
}
func (m *AttachmentPointer) GetAttachmentIdentifier() isAttachmentPointer_AttachmentIdentifier {
if m != nil {
return m.AttachmentIdentifier
}
return nil
}
func (x *AttachmentPointer) GetCdnId() uint64 {
if x, ok := x.GetAttachmentIdentifier().(*AttachmentPointer_CdnId); ok {
return x.CdnId
}
return 0
}
func (x *AttachmentPointer) GetCdnKey() string {
if x, ok := x.GetAttachmentIdentifier().(*AttachmentPointer_CdnKey); ok {
return x.CdnKey
}
return ""
}
func (x *AttachmentPointer) GetContentType() string {
if x != nil && x.ContentType != nil {
return *x.ContentType
}
return ""
}
func (x *AttachmentPointer) GetKey() []byte {
if x != nil {
return x.Key
}
return nil
}
func (x *AttachmentPointer) GetSize() uint32 {
if x != nil && x.Size != nil {
return *x.Size
}
return 0
}
func (x *AttachmentPointer) GetThumbnail() []byte {
if x != nil {
return x.Thumbnail
}
return nil
}
func (x *AttachmentPointer) GetDigest() []byte {
if x != nil {
return x.Digest
}
return nil
}
func (x *AttachmentPointer) GetIncrementalMac() []byte {
if x != nil {
return x.IncrementalMac
}
return nil
}
func (x *AttachmentPointer) GetIncrementalMacChunkSize() uint32 {
if x != nil && x.IncrementalMacChunkSize != nil {
return *x.IncrementalMacChunkSize
}
return 0
}
func (x *AttachmentPointer) GetFileName() string {
if x != nil && x.FileName != nil {
return *x.FileName
}
return ""
}
func (x *AttachmentPointer) GetFlags() uint32 {
if x != nil && x.Flags != nil {
return *x.Flags
}
return 0
}
func (x *AttachmentPointer) GetWidth() uint32 {
if x != nil && x.Width != nil {
return *x.Width
}
return 0
}
func (x *AttachmentPointer) GetHeight() uint32 {
if x != nil && x.Height != nil {
return *x.Height
}
return 0
}
func (x *AttachmentPointer) GetCaption() string {
if x != nil && x.Caption != nil {
return *x.Caption
}
return ""
}
func (x *AttachmentPointer) GetBlurHash() string {
if x != nil && x.BlurHash != nil {
return *x.BlurHash
}
return ""
}
func (x *AttachmentPointer) GetUploadTimestamp() uint64 {
if x != nil && x.UploadTimestamp != nil {
return *x.UploadTimestamp
}
return 0
}
func (x *AttachmentPointer) GetCdnNumber() uint32 {
if x != nil && x.CdnNumber != nil {
return *x.CdnNumber
}
return 0
}
func (x *AttachmentPointer) GetUuid() []byte {
if x != nil {
return x.Uuid
}
return nil
}
type isAttachmentPointer_AttachmentIdentifier interface {
isAttachmentPointer_AttachmentIdentifier()
}
type AttachmentPointer_CdnId struct {
CdnId uint64 `protobuf:"fixed64,1,opt,name=cdnId,oneof"`
}
type AttachmentPointer_CdnKey struct {
CdnKey string `protobuf:"bytes,15,opt,name=cdnKey,oneof"`
}
func (*AttachmentPointer_CdnId) isAttachmentPointer_AttachmentIdentifier() {}
func (*AttachmentPointer_CdnKey) isAttachmentPointer_AttachmentIdentifier() {}
type GroupContext struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
MembersE164 []string `protobuf:"bytes,4,rep,name=membersE164" json:"membersE164,omitempty"`
Members []*GroupContext_Member `protobuf:"bytes,6,rep,name=members" json:"members,omitempty"`
Avatar *AttachmentPointer `protobuf:"bytes,5,opt,name=avatar" json:"avatar,omitempty"`
}
func (x *GroupContext) Reset() {
*x = GroupContext{}
mi := &file_SignalService_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GroupContext) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GroupContext) ProtoMessage() {}
func (x *GroupContext) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GroupContext.ProtoReflect.Descriptor instead.
func (*GroupContext) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{14}
}
func (x *GroupContext) GetId() []byte {
if x != nil {
return x.Id
}
return nil
}
func (x *GroupContext) GetType() GroupContext_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return GroupContext_UNKNOWN
}
func (x *GroupContext) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
func (x *GroupContext) GetMembersE164() []string {
if x != nil {
return x.MembersE164
}
return nil
}
func (x *GroupContext) GetMembers() []*GroupContext_Member {
if x != nil {
return x.Members
}
return nil
}
func (x *GroupContext) GetAvatar() *AttachmentPointer {
if x != nil {
return x.Avatar
}
return nil
}
type GroupContextV2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MasterKey []byte `protobuf:"bytes,1,opt,name=masterKey" json:"masterKey,omitempty"`
Revision *uint32 `protobuf:"varint,2,opt,name=revision" json:"revision,omitempty"`
GroupChange []byte `protobuf:"bytes,3,opt,name=groupChange" json:"groupChange,omitempty"`
}
func (x *GroupContextV2) Reset() {
*x = GroupContextV2{}
mi := &file_SignalService_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GroupContextV2) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GroupContextV2) ProtoMessage() {}
func (x *GroupContextV2) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GroupContextV2.ProtoReflect.Descriptor instead.
func (*GroupContextV2) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{15}
}
func (x *GroupContextV2) GetMasterKey() []byte {
if x != nil {
return x.MasterKey
}
return nil
}
func (x *GroupContextV2) GetRevision() uint32 {
if x != nil && x.Revision != nil {
return *x.Revision
}
return 0
}
func (x *GroupContextV2) GetGroupChange() []byte {
if x != nil {
return x.GroupChange
}
return nil
}
type ContactDetails struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Number *string `protobuf:"bytes,1,opt,name=number" json:"number,omitempty"`
Aci *string `protobuf:"bytes,9,opt,name=aci" json:"aci,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"`
ExpireTimer *uint32 `protobuf:"varint,8,opt,name=expireTimer" json:"expireTimer,omitempty"`
ExpireTimerVersion *uint32 `protobuf:"varint,12,opt,name=expireTimerVersion" json:"expireTimerVersion,omitempty"`
InboxPosition *uint32 `protobuf:"varint,10,opt,name=inboxPosition" json:"inboxPosition,omitempty"`
Archived *bool `protobuf:"varint,11,opt,name=archived" json:"archived,omitempty"`
}
func (x *ContactDetails) Reset() {
*x = ContactDetails{}
mi := &file_SignalService_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ContactDetails) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ContactDetails) ProtoMessage() {}
func (x *ContactDetails) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ContactDetails.ProtoReflect.Descriptor instead.
func (*ContactDetails) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{16}
}
func (x *ContactDetails) GetNumber() string {
if x != nil && x.Number != nil {
return *x.Number
}
return ""
}
func (x *ContactDetails) GetAci() string {
if x != nil && x.Aci != nil {
return *x.Aci
}
return ""
}
func (x *ContactDetails) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
func (x *ContactDetails) GetAvatar() *ContactDetails_Avatar {
if x != nil {
return x.Avatar
}
return nil
}
func (x *ContactDetails) GetColor() string {
if x != nil && x.Color != nil {
return *x.Color
}
return ""
}
func (x *ContactDetails) GetVerified() *Verified {
if x != nil {
return x.Verified
}
return nil
}
func (x *ContactDetails) GetProfileKey() []byte {
if x != nil {
return x.ProfileKey
}
return nil
}
func (x *ContactDetails) GetExpireTimer() uint32 {
if x != nil && x.ExpireTimer != nil {
return *x.ExpireTimer
}
return 0
}
func (x *ContactDetails) GetExpireTimerVersion() uint32 {
if x != nil && x.ExpireTimerVersion != nil {
return *x.ExpireTimerVersion
}
return 0
}
func (x *ContactDetails) GetInboxPosition() uint32 {
if x != nil && x.InboxPosition != nil {
return *x.InboxPosition
}
return 0
}
func (x *ContactDetails) GetArchived() bool {
if x != nil && x.Archived != nil {
return *x.Archived
}
return false
}
type GroupDetails struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id []byte `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
MembersE164 []string `protobuf:"bytes,3,rep,name=membersE164" json:"membersE164,omitempty"`
Members []*GroupDetails_Member `protobuf:"bytes,9,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"`
ExpireTimer *uint32 `protobuf:"varint,6,opt,name=expireTimer" json:"expireTimer,omitempty"`
Color *string `protobuf:"bytes,7,opt,name=color" json:"color,omitempty"`
Blocked *bool `protobuf:"varint,8,opt,name=blocked" json:"blocked,omitempty"`
InboxPosition *uint32 `protobuf:"varint,10,opt,name=inboxPosition" json:"inboxPosition,omitempty"`
Archived *bool `protobuf:"varint,11,opt,name=archived" json:"archived,omitempty"`
}
// Default values for GroupDetails fields.
const (
Default_GroupDetails_Active = bool(true)
)
func (x *GroupDetails) Reset() {
*x = GroupDetails{}
mi := &file_SignalService_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GroupDetails) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GroupDetails) ProtoMessage() {}
func (x *GroupDetails) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GroupDetails.ProtoReflect.Descriptor instead.
func (*GroupDetails) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{17}
}
func (x *GroupDetails) GetId() []byte {
if x != nil {
return x.Id
}
return nil
}
func (x *GroupDetails) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
func (x *GroupDetails) GetMembersE164() []string {
if x != nil {
return x.MembersE164
}
return nil
}
func (x *GroupDetails) GetMembers() []*GroupDetails_Member {
if x != nil {
return x.Members
}
return nil
}
func (x *GroupDetails) GetAvatar() *GroupDetails_Avatar {
if x != nil {
return x.Avatar
}
return nil
}
func (x *GroupDetails) GetActive() bool {
if x != nil && x.Active != nil {
return *x.Active
}
return Default_GroupDetails_Active
}
func (x *GroupDetails) GetExpireTimer() uint32 {
if x != nil && x.ExpireTimer != nil {
return *x.ExpireTimer
}
return 0
}
func (x *GroupDetails) GetColor() string {
if x != nil && x.Color != nil {
return *x.Color
}
return ""
}
func (x *GroupDetails) GetBlocked() bool {
if x != nil && x.Blocked != nil {
return *x.Blocked
}
return false
}
func (x *GroupDetails) GetInboxPosition() uint32 {
if x != nil && x.InboxPosition != nil {
return *x.InboxPosition
}
return 0
}
func (x *GroupDetails) GetArchived() bool {
if x != nil && x.Archived != nil {
return *x.Archived
}
return false
}
type PaymentAddress struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Address:
//
// *PaymentAddress_MobileCoinAddress_
Address isPaymentAddress_Address `protobuf_oneof:"Address"`
}
func (x *PaymentAddress) Reset() {
*x = PaymentAddress{}
mi := &file_SignalService_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PaymentAddress) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PaymentAddress) ProtoMessage() {}
func (x *PaymentAddress) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PaymentAddress.ProtoReflect.Descriptor instead.
func (*PaymentAddress) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{18}
}
func (m *PaymentAddress) GetAddress() isPaymentAddress_Address {
if m != nil {
return m.Address
}
return nil
}
func (x *PaymentAddress) GetMobileCoinAddress() *PaymentAddress_MobileCoinAddress {
if x, ok := x.GetAddress().(*PaymentAddress_MobileCoinAddress_); ok {
return x.MobileCoinAddress
}
return nil
}
type isPaymentAddress_Address interface {
isPaymentAddress_Address()
}
type PaymentAddress_MobileCoinAddress_ struct {
MobileCoinAddress *PaymentAddress_MobileCoinAddress `protobuf:"bytes,1,opt,name=mobileCoinAddress,oneof"`
}
func (*PaymentAddress_MobileCoinAddress_) isPaymentAddress_Address() {}
type DecryptionErrorMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RatchetKey []byte `protobuf:"bytes,1,opt,name=ratchetKey" json:"ratchetKey,omitempty"`
Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
DeviceId *uint32 `protobuf:"varint,3,opt,name=deviceId" json:"deviceId,omitempty"`
}
func (x *DecryptionErrorMessage) Reset() {
*x = DecryptionErrorMessage{}
mi := &file_SignalService_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DecryptionErrorMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DecryptionErrorMessage) ProtoMessage() {}
func (x *DecryptionErrorMessage) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DecryptionErrorMessage.ProtoReflect.Descriptor instead.
func (*DecryptionErrorMessage) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{19}
}
func (x *DecryptionErrorMessage) GetRatchetKey() []byte {
if x != nil {
return x.RatchetKey
}
return nil
}
func (x *DecryptionErrorMessage) GetTimestamp() uint64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
}
return 0
}
func (x *DecryptionErrorMessage) GetDeviceId() uint32 {
if x != nil && x.DeviceId != nil {
return *x.DeviceId
}
return 0
}
type PniSignatureMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Pni []byte `protobuf:"bytes,1,opt,name=pni" json:"pni,omitempty"`
Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
}
func (x *PniSignatureMessage) Reset() {
*x = PniSignatureMessage{}
mi := &file_SignalService_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PniSignatureMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PniSignatureMessage) ProtoMessage() {}
func (x *PniSignatureMessage) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PniSignatureMessage.ProtoReflect.Descriptor instead.
func (*PniSignatureMessage) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{20}
}
func (x *PniSignatureMessage) GetPni() []byte {
if x != nil {
return x.Pni
}
return nil
}
func (x *PniSignatureMessage) GetSignature() []byte {
if x != nil {
return x.Signature
}
return nil
}
type EditMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TargetSentTimestamp *uint64 `protobuf:"varint,1,opt,name=targetSentTimestamp" json:"targetSentTimestamp,omitempty"`
DataMessage *DataMessage `protobuf:"bytes,2,opt,name=dataMessage" json:"dataMessage,omitempty"`
}
func (x *EditMessage) Reset() {
*x = EditMessage{}
mi := &file_SignalService_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EditMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EditMessage) ProtoMessage() {}
func (x *EditMessage) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EditMessage.ProtoReflect.Descriptor instead.
func (*EditMessage) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{21}
}
func (x *EditMessage) GetTargetSentTimestamp() uint64 {
if x != nil && x.TargetSentTimestamp != nil {
return *x.TargetSentTimestamp
}
return 0
}
func (x *EditMessage) GetDataMessage() *DataMessage {
if x != nil {
return x.DataMessage
}
return nil
}
type CallMessage_Offer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Type *CallMessage_Offer_Type `protobuf:"varint,3,opt,name=type,enum=signalservice.CallMessage_Offer_Type" json:"type,omitempty"`
Opaque []byte `protobuf:"bytes,4,opt,name=opaque" json:"opaque,omitempty"`
}
func (x *CallMessage_Offer) Reset() {
*x = CallMessage_Offer{}
mi := &file_SignalService_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallMessage_Offer) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallMessage_Offer) ProtoMessage() {}
func (x *CallMessage_Offer) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CallMessage_Offer.ProtoReflect.Descriptor instead.
func (*CallMessage_Offer) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{2, 0}
}
func (x *CallMessage_Offer) GetId() uint64 {
if x != nil && x.Id != nil {
return *x.Id
}
return 0
}
func (x *CallMessage_Offer) GetType() CallMessage_Offer_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return CallMessage_Offer_OFFER_AUDIO_CALL
}
func (x *CallMessage_Offer) GetOpaque() []byte {
if x != nil {
return x.Opaque
}
return nil
}
type CallMessage_Answer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Opaque []byte `protobuf:"bytes,3,opt,name=opaque" json:"opaque,omitempty"`
}
func (x *CallMessage_Answer) Reset() {
*x = CallMessage_Answer{}
mi := &file_SignalService_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallMessage_Answer) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallMessage_Answer) ProtoMessage() {}
func (x *CallMessage_Answer) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CallMessage_Answer.ProtoReflect.Descriptor instead.
func (*CallMessage_Answer) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{2, 1}
}
func (x *CallMessage_Answer) GetId() uint64 {
if x != nil && x.Id != nil {
return *x.Id
}
return 0
}
func (x *CallMessage_Answer) GetOpaque() []byte {
if x != nil {
return x.Opaque
}
return nil
}
type CallMessage_IceUpdate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Opaque []byte `protobuf:"bytes,5,opt,name=opaque" json:"opaque,omitempty"`
}
func (x *CallMessage_IceUpdate) Reset() {
*x = CallMessage_IceUpdate{}
mi := &file_SignalService_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallMessage_IceUpdate) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallMessage_IceUpdate) ProtoMessage() {}
func (x *CallMessage_IceUpdate) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CallMessage_IceUpdate.ProtoReflect.Descriptor instead.
func (*CallMessage_IceUpdate) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{2, 2}
}
func (x *CallMessage_IceUpdate) GetId() uint64 {
if x != nil && x.Id != nil {
return *x.Id
}
return 0
}
func (x *CallMessage_IceUpdate) GetOpaque() []byte {
if x != nil {
return x.Opaque
}
return nil
}
type CallMessage_Busy struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
}
func (x *CallMessage_Busy) Reset() {
*x = CallMessage_Busy{}
mi := &file_SignalService_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallMessage_Busy) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallMessage_Busy) ProtoMessage() {}
func (x *CallMessage_Busy) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CallMessage_Busy.ProtoReflect.Descriptor instead.
func (*CallMessage_Busy) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{2, 3}
}
func (x *CallMessage_Busy) GetId() uint64 {
if x != nil && x.Id != nil {
return *x.Id
}
return 0
}
type CallMessage_Hangup struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Type *CallMessage_Hangup_Type `protobuf:"varint,2,opt,name=type,enum=signalservice.CallMessage_Hangup_Type" json:"type,omitempty"`
DeviceId *uint32 `protobuf:"varint,3,opt,name=deviceId" json:"deviceId,omitempty"`
}
func (x *CallMessage_Hangup) Reset() {
*x = CallMessage_Hangup{}
mi := &file_SignalService_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallMessage_Hangup) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallMessage_Hangup) ProtoMessage() {}
func (x *CallMessage_Hangup) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CallMessage_Hangup.ProtoReflect.Descriptor instead.
func (*CallMessage_Hangup) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{2, 4}
}
func (x *CallMessage_Hangup) GetId() uint64 {
if x != nil && x.Id != nil {
return *x.Id
}
return 0
}
func (x *CallMessage_Hangup) GetType() CallMessage_Hangup_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return CallMessage_Hangup_HANGUP_NORMAL
}
func (x *CallMessage_Hangup) GetDeviceId() uint32 {
if x != nil && x.DeviceId != nil {
return *x.DeviceId
}
return 0
}
type CallMessage_Opaque struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data []byte `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
Urgency *CallMessage_Opaque_Urgency `protobuf:"varint,2,opt,name=urgency,enum=signalservice.CallMessage_Opaque_Urgency" json:"urgency,omitempty"`
}
func (x *CallMessage_Opaque) Reset() {
*x = CallMessage_Opaque{}
mi := &file_SignalService_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallMessage_Opaque) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallMessage_Opaque) ProtoMessage() {}
func (x *CallMessage_Opaque) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CallMessage_Opaque.ProtoReflect.Descriptor instead.
func (*CallMessage_Opaque) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{2, 5}
}
func (x *CallMessage_Opaque) GetData() []byte {
if x != nil {
return x.Data
}
return nil
}
func (x *CallMessage_Opaque) GetUrgency() CallMessage_Opaque_Urgency {
if x != nil && x.Urgency != nil {
return *x.Urgency
}
return CallMessage_Opaque_DROPPABLE
}
type DataMessage_Quote struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
AuthorAci *string `protobuf:"bytes,5,opt,name=authorAci" json:"authorAci,omitempty"`
Text *string `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"`
Attachments []*DataMessage_Quote_QuotedAttachment `protobuf:"bytes,4,rep,name=attachments" json:"attachments,omitempty"`
BodyRanges []*BodyRange `protobuf:"bytes,6,rep,name=bodyRanges" json:"bodyRanges,omitempty"`
Type *DataMessage_Quote_Type `protobuf:"varint,7,opt,name=type,enum=signalservice.DataMessage_Quote_Type" json:"type,omitempty"`
}
func (x *DataMessage_Quote) Reset() {
*x = DataMessage_Quote{}
mi := &file_SignalService_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Quote) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Quote) ProtoMessage() {}
func (x *DataMessage_Quote) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Quote.ProtoReflect.Descriptor instead.
func (*DataMessage_Quote) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 0}
}
func (x *DataMessage_Quote) GetId() uint64 {
if x != nil && x.Id != nil {
return *x.Id
}
return 0
}
func (x *DataMessage_Quote) GetAuthorAci() string {
if x != nil && x.AuthorAci != nil {
return *x.AuthorAci
}
return ""
}
func (x *DataMessage_Quote) GetText() string {
if x != nil && x.Text != nil {
return *x.Text
}
return ""
}
func (x *DataMessage_Quote) GetAttachments() []*DataMessage_Quote_QuotedAttachment {
if x != nil {
return x.Attachments
}
return nil
}
func (x *DataMessage_Quote) GetBodyRanges() []*BodyRange {
if x != nil {
return x.BodyRanges
}
return nil
}
func (x *DataMessage_Quote) GetType() DataMessage_Quote_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return DataMessage_Quote_NORMAL
}
type DataMessage_Contact struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name *DataMessage_Contact_Name `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Number []*DataMessage_Contact_Phone `protobuf:"bytes,3,rep,name=number" json:"number,omitempty"`
Email []*DataMessage_Contact_Email `protobuf:"bytes,4,rep,name=email" json:"email,omitempty"`
Address []*DataMessage_Contact_PostalAddress `protobuf:"bytes,5,rep,name=address" json:"address,omitempty"`
Avatar *DataMessage_Contact_Avatar `protobuf:"bytes,6,opt,name=avatar" json:"avatar,omitempty"`
Organization *string `protobuf:"bytes,7,opt,name=organization" json:"organization,omitempty"`
}
func (x *DataMessage_Contact) Reset() {
*x = DataMessage_Contact{}
mi := &file_SignalService_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Contact) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Contact) ProtoMessage() {}
func (x *DataMessage_Contact) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Contact.ProtoReflect.Descriptor instead.
func (*DataMessage_Contact) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 1}
}
func (x *DataMessage_Contact) GetName() *DataMessage_Contact_Name {
if x != nil {
return x.Name
}
return nil
}
func (x *DataMessage_Contact) GetNumber() []*DataMessage_Contact_Phone {
if x != nil {
return x.Number
}
return nil
}
func (x *DataMessage_Contact) GetEmail() []*DataMessage_Contact_Email {
if x != nil {
return x.Email
}
return nil
}
func (x *DataMessage_Contact) GetAddress() []*DataMessage_Contact_PostalAddress {
if x != nil {
return x.Address
}
return nil
}
func (x *DataMessage_Contact) GetAvatar() *DataMessage_Contact_Avatar {
if x != nil {
return x.Avatar
}
return nil
}
func (x *DataMessage_Contact) GetOrganization() string {
if x != nil && x.Organization != nil {
return *x.Organization
}
return ""
}
type DataMessage_Sticker struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PackId []byte `protobuf:"bytes,1,opt,name=packId" json:"packId,omitempty"`
PackKey []byte `protobuf:"bytes,2,opt,name=packKey" json:"packKey,omitempty"`
StickerId *uint32 `protobuf:"varint,3,opt,name=stickerId" json:"stickerId,omitempty"`
Data *AttachmentPointer `protobuf:"bytes,4,opt,name=data" json:"data,omitempty"`
Emoji *string `protobuf:"bytes,5,opt,name=emoji" json:"emoji,omitempty"`
}
func (x *DataMessage_Sticker) Reset() {
*x = DataMessage_Sticker{}
mi := &file_SignalService_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Sticker) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Sticker) ProtoMessage() {}
func (x *DataMessage_Sticker) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Sticker.ProtoReflect.Descriptor instead.
func (*DataMessage_Sticker) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 2}
}
func (x *DataMessage_Sticker) GetPackId() []byte {
if x != nil {
return x.PackId
}
return nil
}
func (x *DataMessage_Sticker) GetPackKey() []byte {
if x != nil {
return x.PackKey
}
return nil
}
func (x *DataMessage_Sticker) GetStickerId() uint32 {
if x != nil && x.StickerId != nil {
return *x.StickerId
}
return 0
}
func (x *DataMessage_Sticker) GetData() *AttachmentPointer {
if x != nil {
return x.Data
}
return nil
}
func (x *DataMessage_Sticker) GetEmoji() string {
if x != nil && x.Emoji != nil {
return *x.Emoji
}
return ""
}
type DataMessage_Reaction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Emoji *string `protobuf:"bytes,1,opt,name=emoji" json:"emoji,omitempty"`
Remove *bool `protobuf:"varint,2,opt,name=remove" json:"remove,omitempty"`
TargetAuthorAci *string `protobuf:"bytes,4,opt,name=targetAuthorAci" json:"targetAuthorAci,omitempty"`
TargetSentTimestamp *uint64 `protobuf:"varint,5,opt,name=targetSentTimestamp" json:"targetSentTimestamp,omitempty"`
}
func (x *DataMessage_Reaction) Reset() {
*x = DataMessage_Reaction{}
mi := &file_SignalService_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Reaction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Reaction) ProtoMessage() {}
func (x *DataMessage_Reaction) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Reaction.ProtoReflect.Descriptor instead.
func (*DataMessage_Reaction) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 3}
}
func (x *DataMessage_Reaction) GetEmoji() string {
if x != nil && x.Emoji != nil {
return *x.Emoji
}
return ""
}
func (x *DataMessage_Reaction) GetRemove() bool {
if x != nil && x.Remove != nil {
return *x.Remove
}
return false
}
func (x *DataMessage_Reaction) GetTargetAuthorAci() string {
if x != nil && x.TargetAuthorAci != nil {
return *x.TargetAuthorAci
}
return ""
}
func (x *DataMessage_Reaction) GetTargetSentTimestamp() uint64 {
if x != nil && x.TargetSentTimestamp != nil {
return *x.TargetSentTimestamp
}
return 0
}
type DataMessage_Delete struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TargetSentTimestamp *uint64 `protobuf:"varint,1,opt,name=targetSentTimestamp" json:"targetSentTimestamp,omitempty"`
}
func (x *DataMessage_Delete) Reset() {
*x = DataMessage_Delete{}
mi := &file_SignalService_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Delete) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Delete) ProtoMessage() {}
func (x *DataMessage_Delete) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Delete.ProtoReflect.Descriptor instead.
func (*DataMessage_Delete) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 4}
}
func (x *DataMessage_Delete) GetTargetSentTimestamp() uint64 {
if x != nil && x.TargetSentTimestamp != nil {
return *x.TargetSentTimestamp
}
return 0
}
type DataMessage_GroupCallUpdate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
EraId *string `protobuf:"bytes,1,opt,name=eraId" json:"eraId,omitempty"`
}
func (x *DataMessage_GroupCallUpdate) Reset() {
*x = DataMessage_GroupCallUpdate{}
mi := &file_SignalService_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_GroupCallUpdate) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_GroupCallUpdate) ProtoMessage() {}
func (x *DataMessage_GroupCallUpdate) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_GroupCallUpdate.ProtoReflect.Descriptor instead.
func (*DataMessage_GroupCallUpdate) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 5}
}
func (x *DataMessage_GroupCallUpdate) GetEraId() string {
if x != nil && x.EraId != nil {
return *x.EraId
}
return ""
}
type DataMessage_StoryContext struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AuthorAci *string `protobuf:"bytes,1,opt,name=authorAci" json:"authorAci,omitempty"`
SentTimestamp *uint64 `protobuf:"varint,2,opt,name=sentTimestamp" json:"sentTimestamp,omitempty"`
}
func (x *DataMessage_StoryContext) Reset() {
*x = DataMessage_StoryContext{}
mi := &file_SignalService_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_StoryContext) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_StoryContext) ProtoMessage() {}
func (x *DataMessage_StoryContext) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_StoryContext.ProtoReflect.Descriptor instead.
func (*DataMessage_StoryContext) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 6}
}
func (x *DataMessage_StoryContext) GetAuthorAci() string {
if x != nil && x.AuthorAci != nil {
return *x.AuthorAci
}
return ""
}
func (x *DataMessage_StoryContext) GetSentTimestamp() uint64 {
if x != nil && x.SentTimestamp != nil {
return *x.SentTimestamp
}
return 0
}
type DataMessage_Payment struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Item:
//
// *DataMessage_Payment_Notification_
// *DataMessage_Payment_Activation_
Item isDataMessage_Payment_Item `protobuf_oneof:"Item"`
}
func (x *DataMessage_Payment) Reset() {
*x = DataMessage_Payment{}
mi := &file_SignalService_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Payment) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Payment) ProtoMessage() {}
func (x *DataMessage_Payment) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Payment.ProtoReflect.Descriptor instead.
func (*DataMessage_Payment) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 7}
}
func (m *DataMessage_Payment) GetItem() isDataMessage_Payment_Item {
if m != nil {
return m.Item
}
return nil
}
func (x *DataMessage_Payment) GetNotification() *DataMessage_Payment_Notification {
if x, ok := x.GetItem().(*DataMessage_Payment_Notification_); ok {
return x.Notification
}
return nil
}
func (x *DataMessage_Payment) GetActivation() *DataMessage_Payment_Activation {
if x, ok := x.GetItem().(*DataMessage_Payment_Activation_); ok {
return x.Activation
}
return nil
}
type isDataMessage_Payment_Item interface {
isDataMessage_Payment_Item()
}
type DataMessage_Payment_Notification_ struct {
Notification *DataMessage_Payment_Notification `protobuf:"bytes,1,opt,name=notification,oneof"`
}
type DataMessage_Payment_Activation_ struct {
Activation *DataMessage_Payment_Activation `protobuf:"bytes,2,opt,name=activation,oneof"`
}
func (*DataMessage_Payment_Notification_) isDataMessage_Payment_Item() {}
func (*DataMessage_Payment_Activation_) isDataMessage_Payment_Item() {}
type DataMessage_GiftBadge struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ReceiptCredentialPresentation []byte `protobuf:"bytes,1,opt,name=receiptCredentialPresentation" json:"receiptCredentialPresentation,omitempty"`
}
func (x *DataMessage_GiftBadge) Reset() {
*x = DataMessage_GiftBadge{}
mi := &file_SignalService_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_GiftBadge) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_GiftBadge) ProtoMessage() {}
func (x *DataMessage_GiftBadge) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_GiftBadge.ProtoReflect.Descriptor instead.
func (*DataMessage_GiftBadge) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 8}
}
func (x *DataMessage_GiftBadge) GetReceiptCredentialPresentation() []byte {
if x != nil {
return x.ReceiptCredentialPresentation
}
return nil
}
type DataMessage_Quote_QuotedAttachment struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ContentType *string `protobuf:"bytes,1,opt,name=contentType" json:"contentType,omitempty"`
FileName *string `protobuf:"bytes,2,opt,name=fileName" json:"fileName,omitempty"`
Thumbnail *AttachmentPointer `protobuf:"bytes,3,opt,name=thumbnail" json:"thumbnail,omitempty"`
}
func (x *DataMessage_Quote_QuotedAttachment) Reset() {
*x = DataMessage_Quote_QuotedAttachment{}
mi := &file_SignalService_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Quote_QuotedAttachment) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Quote_QuotedAttachment) ProtoMessage() {}
func (x *DataMessage_Quote_QuotedAttachment) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[37]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Quote_QuotedAttachment.ProtoReflect.Descriptor instead.
func (*DataMessage_Quote_QuotedAttachment) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 0, 0}
}
func (x *DataMessage_Quote_QuotedAttachment) GetContentType() string {
if x != nil && x.ContentType != nil {
return *x.ContentType
}
return ""
}
func (x *DataMessage_Quote_QuotedAttachment) GetFileName() string {
if x != nil && x.FileName != nil {
return *x.FileName
}
return ""
}
func (x *DataMessage_Quote_QuotedAttachment) GetThumbnail() *AttachmentPointer {
if x != nil {
return x.Thumbnail
}
return nil
}
type DataMessage_Contact_Name struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GivenName *string `protobuf:"bytes,1,opt,name=givenName" json:"givenName,omitempty"`
FamilyName *string `protobuf:"bytes,2,opt,name=familyName" json:"familyName,omitempty"`
Prefix *string `protobuf:"bytes,3,opt,name=prefix" json:"prefix,omitempty"`
Suffix *string `protobuf:"bytes,4,opt,name=suffix" json:"suffix,omitempty"`
MiddleName *string `protobuf:"bytes,5,opt,name=middleName" json:"middleName,omitempty"`
Nickname *string `protobuf:"bytes,7,opt,name=nickname" json:"nickname,omitempty"`
}
func (x *DataMessage_Contact_Name) Reset() {
*x = DataMessage_Contact_Name{}
mi := &file_SignalService_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Contact_Name) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Contact_Name) ProtoMessage() {}
func (x *DataMessage_Contact_Name) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[38]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Contact_Name.ProtoReflect.Descriptor instead.
func (*DataMessage_Contact_Name) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 1, 0}
}
func (x *DataMessage_Contact_Name) GetGivenName() string {
if x != nil && x.GivenName != nil {
return *x.GivenName
}
return ""
}
func (x *DataMessage_Contact_Name) GetFamilyName() string {
if x != nil && x.FamilyName != nil {
return *x.FamilyName
}
return ""
}
func (x *DataMessage_Contact_Name) GetPrefix() string {
if x != nil && x.Prefix != nil {
return *x.Prefix
}
return ""
}
func (x *DataMessage_Contact_Name) GetSuffix() string {
if x != nil && x.Suffix != nil {
return *x.Suffix
}
return ""
}
func (x *DataMessage_Contact_Name) GetMiddleName() string {
if x != nil && x.MiddleName != nil {
return *x.MiddleName
}
return ""
}
func (x *DataMessage_Contact_Name) GetNickname() string {
if x != nil && x.Nickname != nil {
return *x.Nickname
}
return ""
}
type DataMessage_Contact_Phone struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Value *string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
Type *DataMessage_Contact_Phone_Type `protobuf:"varint,2,opt,name=type,enum=signalservice.DataMessage_Contact_Phone_Type" json:"type,omitempty"`
Label *string `protobuf:"bytes,3,opt,name=label" json:"label,omitempty"`
}
func (x *DataMessage_Contact_Phone) Reset() {
*x = DataMessage_Contact_Phone{}
mi := &file_SignalService_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Contact_Phone) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Contact_Phone) ProtoMessage() {}
func (x *DataMessage_Contact_Phone) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[39]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Contact_Phone.ProtoReflect.Descriptor instead.
func (*DataMessage_Contact_Phone) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 1, 1}
}
func (x *DataMessage_Contact_Phone) GetValue() string {
if x != nil && x.Value != nil {
return *x.Value
}
return ""
}
func (x *DataMessage_Contact_Phone) GetType() DataMessage_Contact_Phone_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return DataMessage_Contact_Phone_HOME
}
func (x *DataMessage_Contact_Phone) GetLabel() string {
if x != nil && x.Label != nil {
return *x.Label
}
return ""
}
type DataMessage_Contact_Email struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Value *string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
Type *DataMessage_Contact_Email_Type `protobuf:"varint,2,opt,name=type,enum=signalservice.DataMessage_Contact_Email_Type" json:"type,omitempty"`
Label *string `protobuf:"bytes,3,opt,name=label" json:"label,omitempty"`
}
func (x *DataMessage_Contact_Email) Reset() {
*x = DataMessage_Contact_Email{}
mi := &file_SignalService_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Contact_Email) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Contact_Email) ProtoMessage() {}
func (x *DataMessage_Contact_Email) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[40]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Contact_Email.ProtoReflect.Descriptor instead.
func (*DataMessage_Contact_Email) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 1, 2}
}
func (x *DataMessage_Contact_Email) GetValue() string {
if x != nil && x.Value != nil {
return *x.Value
}
return ""
}
func (x *DataMessage_Contact_Email) GetType() DataMessage_Contact_Email_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return DataMessage_Contact_Email_HOME
}
func (x *DataMessage_Contact_Email) GetLabel() string {
if x != nil && x.Label != nil {
return *x.Label
}
return ""
}
type DataMessage_Contact_PostalAddress struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type *DataMessage_Contact_PostalAddress_Type `protobuf:"varint,1,opt,name=type,enum=signalservice.DataMessage_Contact_PostalAddress_Type" json:"type,omitempty"`
Label *string `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"`
Street *string `protobuf:"bytes,3,opt,name=street" json:"street,omitempty"`
Pobox *string `protobuf:"bytes,4,opt,name=pobox" json:"pobox,omitempty"`
Neighborhood *string `protobuf:"bytes,5,opt,name=neighborhood" json:"neighborhood,omitempty"`
City *string `protobuf:"bytes,6,opt,name=city" json:"city,omitempty"`
Region *string `protobuf:"bytes,7,opt,name=region" json:"region,omitempty"`
Postcode *string `protobuf:"bytes,8,opt,name=postcode" json:"postcode,omitempty"`
Country *string `protobuf:"bytes,9,opt,name=country" json:"country,omitempty"`
}
func (x *DataMessage_Contact_PostalAddress) Reset() {
*x = DataMessage_Contact_PostalAddress{}
mi := &file_SignalService_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Contact_PostalAddress) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Contact_PostalAddress) ProtoMessage() {}
func (x *DataMessage_Contact_PostalAddress) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[41]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Contact_PostalAddress.ProtoReflect.Descriptor instead.
func (*DataMessage_Contact_PostalAddress) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 1, 3}
}
func (x *DataMessage_Contact_PostalAddress) GetType() DataMessage_Contact_PostalAddress_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return DataMessage_Contact_PostalAddress_HOME
}
func (x *DataMessage_Contact_PostalAddress) GetLabel() string {
if x != nil && x.Label != nil {
return *x.Label
}
return ""
}
func (x *DataMessage_Contact_PostalAddress) GetStreet() string {
if x != nil && x.Street != nil {
return *x.Street
}
return ""
}
func (x *DataMessage_Contact_PostalAddress) GetPobox() string {
if x != nil && x.Pobox != nil {
return *x.Pobox
}
return ""
}
func (x *DataMessage_Contact_PostalAddress) GetNeighborhood() string {
if x != nil && x.Neighborhood != nil {
return *x.Neighborhood
}
return ""
}
func (x *DataMessage_Contact_PostalAddress) GetCity() string {
if x != nil && x.City != nil {
return *x.City
}
return ""
}
func (x *DataMessage_Contact_PostalAddress) GetRegion() string {
if x != nil && x.Region != nil {
return *x.Region
}
return ""
}
func (x *DataMessage_Contact_PostalAddress) GetPostcode() string {
if x != nil && x.Postcode != nil {
return *x.Postcode
}
return ""
}
func (x *DataMessage_Contact_PostalAddress) GetCountry() string {
if x != nil && x.Country != nil {
return *x.Country
}
return ""
}
type DataMessage_Contact_Avatar struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Avatar *AttachmentPointer `protobuf:"bytes,1,opt,name=avatar" json:"avatar,omitempty"`
IsProfile *bool `protobuf:"varint,2,opt,name=isProfile" json:"isProfile,omitempty"`
}
func (x *DataMessage_Contact_Avatar) Reset() {
*x = DataMessage_Contact_Avatar{}
mi := &file_SignalService_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Contact_Avatar) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Contact_Avatar) ProtoMessage() {}
func (x *DataMessage_Contact_Avatar) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[42]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Contact_Avatar.ProtoReflect.Descriptor instead.
func (*DataMessage_Contact_Avatar) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 1, 4}
}
func (x *DataMessage_Contact_Avatar) GetAvatar() *AttachmentPointer {
if x != nil {
return x.Avatar
}
return nil
}
func (x *DataMessage_Contact_Avatar) GetIsProfile() bool {
if x != nil && x.IsProfile != nil {
return *x.IsProfile
}
return false
}
type DataMessage_Payment_Amount struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Amount:
//
// *DataMessage_Payment_Amount_MobileCoin_
Amount isDataMessage_Payment_Amount_Amount `protobuf_oneof:"Amount"`
}
func (x *DataMessage_Payment_Amount) Reset() {
*x = DataMessage_Payment_Amount{}
mi := &file_SignalService_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Payment_Amount) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Payment_Amount) ProtoMessage() {}
func (x *DataMessage_Payment_Amount) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[43]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Payment_Amount.ProtoReflect.Descriptor instead.
func (*DataMessage_Payment_Amount) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 7, 0}
}
func (m *DataMessage_Payment_Amount) GetAmount() isDataMessage_Payment_Amount_Amount {
if m != nil {
return m.Amount
}
return nil
}
func (x *DataMessage_Payment_Amount) GetMobileCoin() *DataMessage_Payment_Amount_MobileCoin {
if x, ok := x.GetAmount().(*DataMessage_Payment_Amount_MobileCoin_); ok {
return x.MobileCoin
}
return nil
}
type isDataMessage_Payment_Amount_Amount interface {
isDataMessage_Payment_Amount_Amount()
}
type DataMessage_Payment_Amount_MobileCoin_ struct {
MobileCoin *DataMessage_Payment_Amount_MobileCoin `protobuf:"bytes,1,opt,name=mobileCoin,oneof"`
}
func (*DataMessage_Payment_Amount_MobileCoin_) isDataMessage_Payment_Amount_Amount() {}
type DataMessage_Payment_Notification struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Transaction:
//
// *DataMessage_Payment_Notification_MobileCoin_
Transaction isDataMessage_Payment_Notification_Transaction `protobuf_oneof:"Transaction"`
Note *string `protobuf:"bytes,2,opt,name=note" json:"note,omitempty"`
}
func (x *DataMessage_Payment_Notification) Reset() {
*x = DataMessage_Payment_Notification{}
mi := &file_SignalService_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Payment_Notification) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Payment_Notification) ProtoMessage() {}
func (x *DataMessage_Payment_Notification) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[44]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Payment_Notification.ProtoReflect.Descriptor instead.
func (*DataMessage_Payment_Notification) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 7, 1}
}
func (m *DataMessage_Payment_Notification) GetTransaction() isDataMessage_Payment_Notification_Transaction {
if m != nil {
return m.Transaction
}
return nil
}
func (x *DataMessage_Payment_Notification) GetMobileCoin() *DataMessage_Payment_Notification_MobileCoin {
if x, ok := x.GetTransaction().(*DataMessage_Payment_Notification_MobileCoin_); ok {
return x.MobileCoin
}
return nil
}
func (x *DataMessage_Payment_Notification) GetNote() string {
if x != nil && x.Note != nil {
return *x.Note
}
return ""
}
type isDataMessage_Payment_Notification_Transaction interface {
isDataMessage_Payment_Notification_Transaction()
}
type DataMessage_Payment_Notification_MobileCoin_ struct {
MobileCoin *DataMessage_Payment_Notification_MobileCoin `protobuf:"bytes,1,opt,name=mobileCoin,oneof"`
}
func (*DataMessage_Payment_Notification_MobileCoin_) isDataMessage_Payment_Notification_Transaction() {
}
type DataMessage_Payment_Activation struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type *DataMessage_Payment_Activation_Type `protobuf:"varint,1,opt,name=type,enum=signalservice.DataMessage_Payment_Activation_Type" json:"type,omitempty"`
}
func (x *DataMessage_Payment_Activation) Reset() {
*x = DataMessage_Payment_Activation{}
mi := &file_SignalService_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Payment_Activation) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Payment_Activation) ProtoMessage() {}
func (x *DataMessage_Payment_Activation) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[45]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Payment_Activation.ProtoReflect.Descriptor instead.
func (*DataMessage_Payment_Activation) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 7, 2}
}
func (x *DataMessage_Payment_Activation) GetType() DataMessage_Payment_Activation_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return DataMessage_Payment_Activation_REQUEST
}
type DataMessage_Payment_Amount_MobileCoin struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PicoMob *uint64 `protobuf:"varint,1,opt,name=picoMob" json:"picoMob,omitempty"`
}
func (x *DataMessage_Payment_Amount_MobileCoin) Reset() {
*x = DataMessage_Payment_Amount_MobileCoin{}
mi := &file_SignalService_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Payment_Amount_MobileCoin) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Payment_Amount_MobileCoin) ProtoMessage() {}
func (x *DataMessage_Payment_Amount_MobileCoin) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[46]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Payment_Amount_MobileCoin.ProtoReflect.Descriptor instead.
func (*DataMessage_Payment_Amount_MobileCoin) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 7, 0, 0}
}
func (x *DataMessage_Payment_Amount_MobileCoin) GetPicoMob() uint64 {
if x != nil && x.PicoMob != nil {
return *x.PicoMob
}
return 0
}
type DataMessage_Payment_Notification_MobileCoin struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Receipt []byte `protobuf:"bytes,1,opt,name=receipt" json:"receipt,omitempty"`
}
func (x *DataMessage_Payment_Notification_MobileCoin) Reset() {
*x = DataMessage_Payment_Notification_MobileCoin{}
mi := &file_SignalService_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataMessage_Payment_Notification_MobileCoin) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataMessage_Payment_Notification_MobileCoin) ProtoMessage() {}
func (x *DataMessage_Payment_Notification_MobileCoin) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[47]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DataMessage_Payment_Notification_MobileCoin.ProtoReflect.Descriptor instead.
func (*DataMessage_Payment_Notification_MobileCoin) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{4, 7, 1, 0}
}
func (x *DataMessage_Payment_Notification_MobileCoin) GetReceipt() []byte {
if x != nil {
return x.Receipt
}
return nil
}
type TextAttachment_Gradient struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
StartColor *uint32 `protobuf:"varint,1,opt,name=startColor" json:"startColor,omitempty"` // deprecated: this field will be removed in a future release.
EndColor *uint32 `protobuf:"varint,2,opt,name=endColor" json:"endColor,omitempty"` // deprecated: this field will be removed in a future release.
Angle *uint32 `protobuf:"varint,3,opt,name=angle" json:"angle,omitempty"` // degrees
Colors []uint32 `protobuf:"varint,4,rep,name=colors" json:"colors,omitempty"`
Positions []float32 `protobuf:"fixed32,5,rep,name=positions" json:"positions,omitempty"` // percent from 0 to 1
}
func (x *TextAttachment_Gradient) Reset() {
*x = TextAttachment_Gradient{}
mi := &file_SignalService_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TextAttachment_Gradient) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TextAttachment_Gradient) ProtoMessage() {}
func (x *TextAttachment_Gradient) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[48]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TextAttachment_Gradient.ProtoReflect.Descriptor instead.
func (*TextAttachment_Gradient) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{10, 0}
}
func (x *TextAttachment_Gradient) GetStartColor() uint32 {
if x != nil && x.StartColor != nil {
return *x.StartColor
}
return 0
}
func (x *TextAttachment_Gradient) GetEndColor() uint32 {
if x != nil && x.EndColor != nil {
return *x.EndColor
}
return 0
}
func (x *TextAttachment_Gradient) GetAngle() uint32 {
if x != nil && x.Angle != nil {
return *x.Angle
}
return 0
}
func (x *TextAttachment_Gradient) GetColors() []uint32 {
if x != nil {
return x.Colors
}
return nil
}
func (x *TextAttachment_Gradient) GetPositions() []float32 {
if x != nil {
return x.Positions
}
return nil
}
type SyncMessage_Sent struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DestinationE164 *string `protobuf:"bytes,1,opt,name=destinationE164" json:"destinationE164,omitempty"`
DestinationServiceId *string `protobuf:"bytes,7,opt,name=destinationServiceId" json:"destinationServiceId,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"`
UnidentifiedStatus []*SyncMessage_Sent_UnidentifiedDeliveryStatus `protobuf:"bytes,5,rep,name=unidentifiedStatus" json:"unidentifiedStatus,omitempty"`
IsRecipientUpdate *bool `protobuf:"varint,6,opt,name=isRecipientUpdate,def=0" json:"isRecipientUpdate,omitempty"`
StoryMessage *StoryMessage `protobuf:"bytes,8,opt,name=storyMessage" json:"storyMessage,omitempty"`
StoryMessageRecipients []*SyncMessage_Sent_StoryMessageRecipient `protobuf:"bytes,9,rep,name=storyMessageRecipients" json:"storyMessageRecipients,omitempty"`
EditMessage *EditMessage `protobuf:"bytes,10,opt,name=editMessage" json:"editMessage,omitempty"`
}
// Default values for SyncMessage_Sent fields.
const (
Default_SyncMessage_Sent_IsRecipientUpdate = bool(false)
)
func (x *SyncMessage_Sent) Reset() {
*x = SyncMessage_Sent{}
mi := &file_SignalService_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_Sent) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_Sent) ProtoMessage() {}
func (x *SyncMessage_Sent) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[49]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_Sent.ProtoReflect.Descriptor instead.
func (*SyncMessage_Sent) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 0}
}
func (x *SyncMessage_Sent) GetDestinationE164() string {
if x != nil && x.DestinationE164 != nil {
return *x.DestinationE164
}
return ""
}
func (x *SyncMessage_Sent) GetDestinationServiceId() string {
if x != nil && x.DestinationServiceId != nil {
return *x.DestinationServiceId
}
return ""
}
func (x *SyncMessage_Sent) GetTimestamp() uint64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
}
return 0
}
func (x *SyncMessage_Sent) GetMessage() *DataMessage {
if x != nil {
return x.Message
}
return nil
}
func (x *SyncMessage_Sent) GetExpirationStartTimestamp() uint64 {
if x != nil && x.ExpirationStartTimestamp != nil {
return *x.ExpirationStartTimestamp
}
return 0
}
func (x *SyncMessage_Sent) GetUnidentifiedStatus() []*SyncMessage_Sent_UnidentifiedDeliveryStatus {
if x != nil {
return x.UnidentifiedStatus
}
return nil
}
func (x *SyncMessage_Sent) GetIsRecipientUpdate() bool {
if x != nil && x.IsRecipientUpdate != nil {
return *x.IsRecipientUpdate
}
return Default_SyncMessage_Sent_IsRecipientUpdate
}
func (x *SyncMessage_Sent) GetStoryMessage() *StoryMessage {
if x != nil {
return x.StoryMessage
}
return nil
}
func (x *SyncMessage_Sent) GetStoryMessageRecipients() []*SyncMessage_Sent_StoryMessageRecipient {
if x != nil {
return x.StoryMessageRecipients
}
return nil
}
func (x *SyncMessage_Sent) GetEditMessage() *EditMessage {
if x != nil {
return x.EditMessage
}
return nil
}
type SyncMessage_Contacts struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Blob *AttachmentPointer `protobuf:"bytes,1,opt,name=blob" json:"blob,omitempty"`
Complete *bool `protobuf:"varint,2,opt,name=complete,def=0" json:"complete,omitempty"`
}
// Default values for SyncMessage_Contacts fields.
const (
Default_SyncMessage_Contacts_Complete = bool(false)
)
func (x *SyncMessage_Contacts) Reset() {
*x = SyncMessage_Contacts{}
mi := &file_SignalService_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_Contacts) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_Contacts) ProtoMessage() {}
func (x *SyncMessage_Contacts) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[50]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_Contacts.ProtoReflect.Descriptor instead.
func (*SyncMessage_Contacts) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 1}
}
func (x *SyncMessage_Contacts) GetBlob() *AttachmentPointer {
if x != nil {
return x.Blob
}
return nil
}
func (x *SyncMessage_Contacts) GetComplete() bool {
if x != nil && x.Complete != nil {
return *x.Complete
}
return Default_SyncMessage_Contacts_Complete
}
type SyncMessage_Blocked struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Numbers []string `protobuf:"bytes,1,rep,name=numbers" json:"numbers,omitempty"`
Acis []string `protobuf:"bytes,3,rep,name=acis" json:"acis,omitempty"`
GroupIds [][]byte `protobuf:"bytes,2,rep,name=groupIds" json:"groupIds,omitempty"`
}
func (x *SyncMessage_Blocked) Reset() {
*x = SyncMessage_Blocked{}
mi := &file_SignalService_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_Blocked) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_Blocked) ProtoMessage() {}
func (x *SyncMessage_Blocked) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[51]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_Blocked.ProtoReflect.Descriptor instead.
func (*SyncMessage_Blocked) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 2}
}
func (x *SyncMessage_Blocked) GetNumbers() []string {
if x != nil {
return x.Numbers
}
return nil
}
func (x *SyncMessage_Blocked) GetAcis() []string {
if x != nil {
return x.Acis
}
return nil
}
func (x *SyncMessage_Blocked) GetGroupIds() [][]byte {
if x != nil {
return x.GroupIds
}
return nil
}
type SyncMessage_Request struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type *SyncMessage_Request_Type `protobuf:"varint,1,opt,name=type,enum=signalservice.SyncMessage_Request_Type" json:"type,omitempty"`
}
func (x *SyncMessage_Request) Reset() {
*x = SyncMessage_Request{}
mi := &file_SignalService_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_Request) ProtoMessage() {}
func (x *SyncMessage_Request) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[52]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_Request.ProtoReflect.Descriptor instead.
func (*SyncMessage_Request) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 3}
}
func (x *SyncMessage_Request) GetType() SyncMessage_Request_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return SyncMessage_Request_UNKNOWN
}
type SyncMessage_Read struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SenderAci *string `protobuf:"bytes,3,opt,name=senderAci" json:"senderAci,omitempty"`
Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
}
func (x *SyncMessage_Read) Reset() {
*x = SyncMessage_Read{}
mi := &file_SignalService_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_Read) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_Read) ProtoMessage() {}
func (x *SyncMessage_Read) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[53]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_Read.ProtoReflect.Descriptor instead.
func (*SyncMessage_Read) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 4}
}
func (x *SyncMessage_Read) GetSenderAci() string {
if x != nil && x.SenderAci != nil {
return *x.SenderAci
}
return ""
}
func (x *SyncMessage_Read) GetTimestamp() uint64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
}
return 0
}
type SyncMessage_Viewed struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SenderAci *string `protobuf:"bytes,3,opt,name=senderAci" json:"senderAci,omitempty"`
Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
}
func (x *SyncMessage_Viewed) Reset() {
*x = SyncMessage_Viewed{}
mi := &file_SignalService_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_Viewed) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_Viewed) ProtoMessage() {}
func (x *SyncMessage_Viewed) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[54]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_Viewed.ProtoReflect.Descriptor instead.
func (*SyncMessage_Viewed) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 5}
}
func (x *SyncMessage_Viewed) GetSenderAci() string {
if x != nil && x.SenderAci != nil {
return *x.SenderAci
}
return ""
}
func (x *SyncMessage_Viewed) GetTimestamp() uint64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
}
return 0
}
type SyncMessage_Configuration struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ReadReceipts *bool `protobuf:"varint,1,opt,name=readReceipts" json:"readReceipts,omitempty"`
UnidentifiedDeliveryIndicators *bool `protobuf:"varint,2,opt,name=unidentifiedDeliveryIndicators" json:"unidentifiedDeliveryIndicators,omitempty"`
TypingIndicators *bool `protobuf:"varint,3,opt,name=typingIndicators" json:"typingIndicators,omitempty"`
ProvisioningVersion *uint32 `protobuf:"varint,5,opt,name=provisioningVersion" json:"provisioningVersion,omitempty"`
LinkPreviews *bool `protobuf:"varint,6,opt,name=linkPreviews" json:"linkPreviews,omitempty"`
}
func (x *SyncMessage_Configuration) Reset() {
*x = SyncMessage_Configuration{}
mi := &file_SignalService_proto_msgTypes[55]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_Configuration) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_Configuration) ProtoMessage() {}
func (x *SyncMessage_Configuration) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[55]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_Configuration.ProtoReflect.Descriptor instead.
func (*SyncMessage_Configuration) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 6}
}
func (x *SyncMessage_Configuration) GetReadReceipts() bool {
if x != nil && x.ReadReceipts != nil {
return *x.ReadReceipts
}
return false
}
func (x *SyncMessage_Configuration) GetUnidentifiedDeliveryIndicators() bool {
if x != nil && x.UnidentifiedDeliveryIndicators != nil {
return *x.UnidentifiedDeliveryIndicators
}
return false
}
func (x *SyncMessage_Configuration) GetTypingIndicators() bool {
if x != nil && x.TypingIndicators != nil {
return *x.TypingIndicators
}
return false
}
func (x *SyncMessage_Configuration) GetProvisioningVersion() uint32 {
if x != nil && x.ProvisioningVersion != nil {
return *x.ProvisioningVersion
}
return 0
}
func (x *SyncMessage_Configuration) GetLinkPreviews() bool {
if x != nil && x.LinkPreviews != nil {
return *x.LinkPreviews
}
return false
}
type SyncMessage_StickerPackOperation struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PackId []byte `protobuf:"bytes,1,opt,name=packId" json:"packId,omitempty"`
PackKey []byte `protobuf:"bytes,2,opt,name=packKey" json:"packKey,omitempty"`
Type *SyncMessage_StickerPackOperation_Type `protobuf:"varint,3,opt,name=type,enum=signalservice.SyncMessage_StickerPackOperation_Type" json:"type,omitempty"`
}
func (x *SyncMessage_StickerPackOperation) Reset() {
*x = SyncMessage_StickerPackOperation{}
mi := &file_SignalService_proto_msgTypes[56]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_StickerPackOperation) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_StickerPackOperation) ProtoMessage() {}
func (x *SyncMessage_StickerPackOperation) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[56]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_StickerPackOperation.ProtoReflect.Descriptor instead.
func (*SyncMessage_StickerPackOperation) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 7}
}
func (x *SyncMessage_StickerPackOperation) GetPackId() []byte {
if x != nil {
return x.PackId
}
return nil
}
func (x *SyncMessage_StickerPackOperation) GetPackKey() []byte {
if x != nil {
return x.PackKey
}
return nil
}
func (x *SyncMessage_StickerPackOperation) GetType() SyncMessage_StickerPackOperation_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return SyncMessage_StickerPackOperation_INSTALL
}
type SyncMessage_ViewOnceOpen struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SenderAci *string `protobuf:"bytes,3,opt,name=senderAci" json:"senderAci,omitempty"`
Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
}
func (x *SyncMessage_ViewOnceOpen) Reset() {
*x = SyncMessage_ViewOnceOpen{}
mi := &file_SignalService_proto_msgTypes[57]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_ViewOnceOpen) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_ViewOnceOpen) ProtoMessage() {}
func (x *SyncMessage_ViewOnceOpen) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[57]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_ViewOnceOpen.ProtoReflect.Descriptor instead.
func (*SyncMessage_ViewOnceOpen) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 8}
}
func (x *SyncMessage_ViewOnceOpen) GetSenderAci() string {
if x != nil && x.SenderAci != nil {
return *x.SenderAci
}
return ""
}
func (x *SyncMessage_ViewOnceOpen) GetTimestamp() uint64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
}
return 0
}
type SyncMessage_FetchLatest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type *SyncMessage_FetchLatest_Type `protobuf:"varint,1,opt,name=type,enum=signalservice.SyncMessage_FetchLatest_Type" json:"type,omitempty"`
}
func (x *SyncMessage_FetchLatest) Reset() {
*x = SyncMessage_FetchLatest{}
mi := &file_SignalService_proto_msgTypes[58]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_FetchLatest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_FetchLatest) ProtoMessage() {}
func (x *SyncMessage_FetchLatest) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[58]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_FetchLatest.ProtoReflect.Descriptor instead.
func (*SyncMessage_FetchLatest) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 9}
}
func (x *SyncMessage_FetchLatest) GetType() SyncMessage_FetchLatest_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return SyncMessage_FetchLatest_UNKNOWN
}
type SyncMessage_Keys struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// @deprecated
StorageService []byte `protobuf:"bytes,1,opt,name=storageService" json:"storageService,omitempty"`
Master []byte `protobuf:"bytes,2,opt,name=master" json:"master,omitempty"`
AccountEntropyPool *string `protobuf:"bytes,3,opt,name=accountEntropyPool" json:"accountEntropyPool,omitempty"` // Copied manually from Signal Desktop
MediaRootBackupKey []byte `protobuf:"bytes,4,opt,name=mediaRootBackupKey" json:"mediaRootBackupKey,omitempty"` // Copied manually from Signal Desktop
}
func (x *SyncMessage_Keys) Reset() {
*x = SyncMessage_Keys{}
mi := &file_SignalService_proto_msgTypes[59]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_Keys) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_Keys) ProtoMessage() {}
func (x *SyncMessage_Keys) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[59]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_Keys.ProtoReflect.Descriptor instead.
func (*SyncMessage_Keys) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 10}
}
func (x *SyncMessage_Keys) GetStorageService() []byte {
if x != nil {
return x.StorageService
}
return nil
}
func (x *SyncMessage_Keys) GetMaster() []byte {
if x != nil {
return x.Master
}
return nil
}
func (x *SyncMessage_Keys) GetAccountEntropyPool() string {
if x != nil && x.AccountEntropyPool != nil {
return *x.AccountEntropyPool
}
return ""
}
func (x *SyncMessage_Keys) GetMediaRootBackupKey() []byte {
if x != nil {
return x.MediaRootBackupKey
}
return nil
}
type SyncMessage_MessageRequestResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ThreadAci *string `protobuf:"bytes,2,opt,name=threadAci" json:"threadAci,omitempty"`
GroupId []byte `protobuf:"bytes,3,opt,name=groupId" json:"groupId,omitempty"`
Type *SyncMessage_MessageRequestResponse_Type `protobuf:"varint,4,opt,name=type,enum=signalservice.SyncMessage_MessageRequestResponse_Type" json:"type,omitempty"`
}
func (x *SyncMessage_MessageRequestResponse) Reset() {
*x = SyncMessage_MessageRequestResponse{}
mi := &file_SignalService_proto_msgTypes[60]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_MessageRequestResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_MessageRequestResponse) ProtoMessage() {}
func (x *SyncMessage_MessageRequestResponse) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[60]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_MessageRequestResponse.ProtoReflect.Descriptor instead.
func (*SyncMessage_MessageRequestResponse) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 11}
}
func (x *SyncMessage_MessageRequestResponse) GetThreadAci() string {
if x != nil && x.ThreadAci != nil {
return *x.ThreadAci
}
return ""
}
func (x *SyncMessage_MessageRequestResponse) GetGroupId() []byte {
if x != nil {
return x.GroupId
}
return nil
}
func (x *SyncMessage_MessageRequestResponse) GetType() SyncMessage_MessageRequestResponse_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return SyncMessage_MessageRequestResponse_UNKNOWN
}
type SyncMessage_OutgoingPayment struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RecipientServiceId *string `protobuf:"bytes,1,opt,name=recipientServiceId" json:"recipientServiceId,omitempty"`
Note *string `protobuf:"bytes,2,opt,name=note" json:"note,omitempty"`
// Types that are assignable to PaymentDetail:
//
// *SyncMessage_OutgoingPayment_MobileCoin_
PaymentDetail isSyncMessage_OutgoingPayment_PaymentDetail `protobuf_oneof:"paymentDetail"`
}
func (x *SyncMessage_OutgoingPayment) Reset() {
*x = SyncMessage_OutgoingPayment{}
mi := &file_SignalService_proto_msgTypes[61]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_OutgoingPayment) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_OutgoingPayment) ProtoMessage() {}
func (x *SyncMessage_OutgoingPayment) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[61]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_OutgoingPayment.ProtoReflect.Descriptor instead.
func (*SyncMessage_OutgoingPayment) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 12}
}
func (x *SyncMessage_OutgoingPayment) GetRecipientServiceId() string {
if x != nil && x.RecipientServiceId != nil {
return *x.RecipientServiceId
}
return ""
}
func (x *SyncMessage_OutgoingPayment) GetNote() string {
if x != nil && x.Note != nil {
return *x.Note
}
return ""
}
func (m *SyncMessage_OutgoingPayment) GetPaymentDetail() isSyncMessage_OutgoingPayment_PaymentDetail {
if m != nil {
return m.PaymentDetail
}
return nil
}
func (x *SyncMessage_OutgoingPayment) GetMobileCoin() *SyncMessage_OutgoingPayment_MobileCoin {
if x, ok := x.GetPaymentDetail().(*SyncMessage_OutgoingPayment_MobileCoin_); ok {
return x.MobileCoin
}
return nil
}
type isSyncMessage_OutgoingPayment_PaymentDetail interface {
isSyncMessage_OutgoingPayment_PaymentDetail()
}
type SyncMessage_OutgoingPayment_MobileCoin_ struct {
MobileCoin *SyncMessage_OutgoingPayment_MobileCoin `protobuf:"bytes,3,opt,name=mobileCoin,oneof"`
}
func (*SyncMessage_OutgoingPayment_MobileCoin_) isSyncMessage_OutgoingPayment_PaymentDetail() {}
type SyncMessage_PniChangeNumber struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
IdentityKeyPair []byte `protobuf:"bytes,1,opt,name=identityKeyPair" json:"identityKeyPair,omitempty"` // Serialized libsignal-client IdentityKeyPair
SignedPreKey []byte `protobuf:"bytes,2,opt,name=signedPreKey" json:"signedPreKey,omitempty"` // Serialized libsignal-client SignedPreKeyRecord
LastResortKyberPreKey []byte `protobuf:"bytes,5,opt,name=lastResortKyberPreKey" json:"lastResortKyberPreKey,omitempty"` // Serialized libsignal-client KyberPreKeyRecord
RegistrationId *uint32 `protobuf:"varint,3,opt,name=registrationId" json:"registrationId,omitempty"`
NewE164 *string `protobuf:"bytes,4,opt,name=newE164" json:"newE164,omitempty"` // The e164 we have changed our number to
}
func (x *SyncMessage_PniChangeNumber) Reset() {
*x = SyncMessage_PniChangeNumber{}
mi := &file_SignalService_proto_msgTypes[62]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_PniChangeNumber) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_PniChangeNumber) ProtoMessage() {}
func (x *SyncMessage_PniChangeNumber) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[62]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_PniChangeNumber.ProtoReflect.Descriptor instead.
func (*SyncMessage_PniChangeNumber) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 13}
}
func (x *SyncMessage_PniChangeNumber) GetIdentityKeyPair() []byte {
if x != nil {
return x.IdentityKeyPair
}
return nil
}
func (x *SyncMessage_PniChangeNumber) GetSignedPreKey() []byte {
if x != nil {
return x.SignedPreKey
}
return nil
}
func (x *SyncMessage_PniChangeNumber) GetLastResortKyberPreKey() []byte {
if x != nil {
return x.LastResortKyberPreKey
}
return nil
}
func (x *SyncMessage_PniChangeNumber) GetRegistrationId() uint32 {
if x != nil && x.RegistrationId != nil {
return *x.RegistrationId
}
return 0
}
func (x *SyncMessage_PniChangeNumber) GetNewE164() string {
if x != nil && x.NewE164 != nil {
return *x.NewE164
}
return ""
}
type SyncMessage_CallEvent struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ConversationId []byte `protobuf:"bytes,1,opt,name=conversationId" json:"conversationId,omitempty"`
Id *uint64 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
Timestamp *uint64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"`
Type *SyncMessage_CallEvent_Type `protobuf:"varint,4,opt,name=type,enum=signalservice.SyncMessage_CallEvent_Type" json:"type,omitempty"`
Direction *SyncMessage_CallEvent_Direction `protobuf:"varint,5,opt,name=direction,enum=signalservice.SyncMessage_CallEvent_Direction" json:"direction,omitempty"`
Event *SyncMessage_CallEvent_Event `protobuf:"varint,6,opt,name=event,enum=signalservice.SyncMessage_CallEvent_Event" json:"event,omitempty"`
}
func (x *SyncMessage_CallEvent) Reset() {
*x = SyncMessage_CallEvent{}
mi := &file_SignalService_proto_msgTypes[63]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_CallEvent) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_CallEvent) ProtoMessage() {}
func (x *SyncMessage_CallEvent) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[63]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_CallEvent.ProtoReflect.Descriptor instead.
func (*SyncMessage_CallEvent) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 14}
}
func (x *SyncMessage_CallEvent) GetConversationId() []byte {
if x != nil {
return x.ConversationId
}
return nil
}
func (x *SyncMessage_CallEvent) GetId() uint64 {
if x != nil && x.Id != nil {
return *x.Id
}
return 0
}
func (x *SyncMessage_CallEvent) GetTimestamp() uint64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
}
return 0
}
func (x *SyncMessage_CallEvent) GetType() SyncMessage_CallEvent_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return SyncMessage_CallEvent_UNKNOWN_TYPE
}
func (x *SyncMessage_CallEvent) GetDirection() SyncMessage_CallEvent_Direction {
if x != nil && x.Direction != nil {
return *x.Direction
}
return SyncMessage_CallEvent_UNKNOWN_DIRECTION
}
func (x *SyncMessage_CallEvent) GetEvent() SyncMessage_CallEvent_Event {
if x != nil && x.Event != nil {
return *x.Event
}
return SyncMessage_CallEvent_UNKNOWN_ACTION
}
type SyncMessage_CallLinkUpdate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RootKey []byte `protobuf:"bytes,1,opt,name=rootKey" json:"rootKey,omitempty"`
AdminPassKey []byte `protobuf:"bytes,2,opt,name=adminPassKey" json:"adminPassKey,omitempty"`
Type *SyncMessage_CallLinkUpdate_Type `protobuf:"varint,3,opt,name=type,enum=signalservice.SyncMessage_CallLinkUpdate_Type" json:"type,omitempty"`
}
func (x *SyncMessage_CallLinkUpdate) Reset() {
*x = SyncMessage_CallLinkUpdate{}
mi := &file_SignalService_proto_msgTypes[64]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_CallLinkUpdate) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_CallLinkUpdate) ProtoMessage() {}
func (x *SyncMessage_CallLinkUpdate) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[64]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_CallLinkUpdate.ProtoReflect.Descriptor instead.
func (*SyncMessage_CallLinkUpdate) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 15}
}
func (x *SyncMessage_CallLinkUpdate) GetRootKey() []byte {
if x != nil {
return x.RootKey
}
return nil
}
func (x *SyncMessage_CallLinkUpdate) GetAdminPassKey() []byte {
if x != nil {
return x.AdminPassKey
}
return nil
}
func (x *SyncMessage_CallLinkUpdate) GetType() SyncMessage_CallLinkUpdate_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return SyncMessage_CallLinkUpdate_UPDATE
}
type SyncMessage_CallLogEvent struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type *SyncMessage_CallLogEvent_Type `protobuf:"varint,1,opt,name=type,enum=signalservice.SyncMessage_CallLogEvent_Type" json:"type,omitempty"`
Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
// Data identifying a conversation. The service ID for 1:1, the group ID for
// group, or the room ID for an ad-hoc call. See also
// `CallEvent/conversationId`.
ConversationId []byte `protobuf:"bytes,3,opt,name=conversationId" json:"conversationId,omitempty"`
// An identifier for a call. Generated directly for 1:1, or derived from
// the era ID for group and ad-hoc calls. See also `CallEvent/callId`.
CallId *uint64 `protobuf:"varint,4,opt,name=callId" json:"callId,omitempty"`
}
func (x *SyncMessage_CallLogEvent) Reset() {
*x = SyncMessage_CallLogEvent{}
mi := &file_SignalService_proto_msgTypes[65]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_CallLogEvent) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_CallLogEvent) ProtoMessage() {}
func (x *SyncMessage_CallLogEvent) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[65]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_CallLogEvent.ProtoReflect.Descriptor instead.
func (*SyncMessage_CallLogEvent) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 16}
}
func (x *SyncMessage_CallLogEvent) GetType() SyncMessage_CallLogEvent_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return SyncMessage_CallLogEvent_CLEAR
}
func (x *SyncMessage_CallLogEvent) GetTimestamp() uint64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
}
return 0
}
func (x *SyncMessage_CallLogEvent) GetConversationId() []byte {
if x != nil {
return x.ConversationId
}
return nil
}
func (x *SyncMessage_CallLogEvent) GetCallId() uint64 {
if x != nil && x.CallId != nil {
return *x.CallId
}
return 0
}
type SyncMessage_DeleteForMe struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MessageDeletes []*SyncMessage_DeleteForMe_MessageDeletes `protobuf:"bytes,1,rep,name=messageDeletes" json:"messageDeletes,omitempty"`
ConversationDeletes []*SyncMessage_DeleteForMe_ConversationDelete `protobuf:"bytes,2,rep,name=conversationDeletes" json:"conversationDeletes,omitempty"`
LocalOnlyConversationDeletes []*SyncMessage_DeleteForMe_LocalOnlyConversationDelete `protobuf:"bytes,3,rep,name=localOnlyConversationDeletes" json:"localOnlyConversationDeletes,omitempty"`
AttachmentDeletes []*SyncMessage_DeleteForMe_AttachmentDelete `protobuf:"bytes,4,rep,name=attachmentDeletes" json:"attachmentDeletes,omitempty"`
}
func (x *SyncMessage_DeleteForMe) Reset() {
*x = SyncMessage_DeleteForMe{}
mi := &file_SignalService_proto_msgTypes[66]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_DeleteForMe) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_DeleteForMe) ProtoMessage() {}
func (x *SyncMessage_DeleteForMe) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[66]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_DeleteForMe.ProtoReflect.Descriptor instead.
func (*SyncMessage_DeleteForMe) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 17}
}
func (x *SyncMessage_DeleteForMe) GetMessageDeletes() []*SyncMessage_DeleteForMe_MessageDeletes {
if x != nil {
return x.MessageDeletes
}
return nil
}
func (x *SyncMessage_DeleteForMe) GetConversationDeletes() []*SyncMessage_DeleteForMe_ConversationDelete {
if x != nil {
return x.ConversationDeletes
}
return nil
}
func (x *SyncMessage_DeleteForMe) GetLocalOnlyConversationDeletes() []*SyncMessage_DeleteForMe_LocalOnlyConversationDelete {
if x != nil {
return x.LocalOnlyConversationDeletes
}
return nil
}
func (x *SyncMessage_DeleteForMe) GetAttachmentDeletes() []*SyncMessage_DeleteForMe_AttachmentDelete {
if x != nil {
return x.AttachmentDeletes
}
return nil
}
type SyncMessage_Sent_UnidentifiedDeliveryStatus struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DestinationServiceId *string `protobuf:"bytes,3,opt,name=destinationServiceId" json:"destinationServiceId,omitempty"`
Unidentified *bool `protobuf:"varint,2,opt,name=unidentified" json:"unidentified,omitempty"`
DestinationIdentityKey []byte `protobuf:"bytes,5,opt,name=destinationIdentityKey" json:"destinationIdentityKey,omitempty"`
}
func (x *SyncMessage_Sent_UnidentifiedDeliveryStatus) Reset() {
*x = SyncMessage_Sent_UnidentifiedDeliveryStatus{}
mi := &file_SignalService_proto_msgTypes[67]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_Sent_UnidentifiedDeliveryStatus) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_Sent_UnidentifiedDeliveryStatus) ProtoMessage() {}
func (x *SyncMessage_Sent_UnidentifiedDeliveryStatus) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[67]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_Sent_UnidentifiedDeliveryStatus.ProtoReflect.Descriptor instead.
func (*SyncMessage_Sent_UnidentifiedDeliveryStatus) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 0, 0}
}
func (x *SyncMessage_Sent_UnidentifiedDeliveryStatus) GetDestinationServiceId() string {
if x != nil && x.DestinationServiceId != nil {
return *x.DestinationServiceId
}
return ""
}
func (x *SyncMessage_Sent_UnidentifiedDeliveryStatus) GetUnidentified() bool {
if x != nil && x.Unidentified != nil {
return *x.Unidentified
}
return false
}
func (x *SyncMessage_Sent_UnidentifiedDeliveryStatus) GetDestinationIdentityKey() []byte {
if x != nil {
return x.DestinationIdentityKey
}
return nil
}
type SyncMessage_Sent_StoryMessageRecipient struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DestinationServiceId *string `protobuf:"bytes,1,opt,name=destinationServiceId" json:"destinationServiceId,omitempty"`
DistributionListIds []string `protobuf:"bytes,2,rep,name=distributionListIds" json:"distributionListIds,omitempty"`
IsAllowedToReply *bool `protobuf:"varint,3,opt,name=isAllowedToReply" json:"isAllowedToReply,omitempty"`
}
func (x *SyncMessage_Sent_StoryMessageRecipient) Reset() {
*x = SyncMessage_Sent_StoryMessageRecipient{}
mi := &file_SignalService_proto_msgTypes[68]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_Sent_StoryMessageRecipient) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_Sent_StoryMessageRecipient) ProtoMessage() {}
func (x *SyncMessage_Sent_StoryMessageRecipient) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[68]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_Sent_StoryMessageRecipient.ProtoReflect.Descriptor instead.
func (*SyncMessage_Sent_StoryMessageRecipient) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 0, 1}
}
func (x *SyncMessage_Sent_StoryMessageRecipient) GetDestinationServiceId() string {
if x != nil && x.DestinationServiceId != nil {
return *x.DestinationServiceId
}
return ""
}
func (x *SyncMessage_Sent_StoryMessageRecipient) GetDistributionListIds() []string {
if x != nil {
return x.DistributionListIds
}
return nil
}
func (x *SyncMessage_Sent_StoryMessageRecipient) GetIsAllowedToReply() bool {
if x != nil && x.IsAllowedToReply != nil {
return *x.IsAllowedToReply
}
return false
}
type SyncMessage_OutgoingPayment_MobileCoin struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RecipientAddress []byte `protobuf:"bytes,1,opt,name=recipientAddress" json:"recipientAddress,omitempty"`
// @required
AmountPicoMob *uint64 `protobuf:"varint,2,opt,name=amountPicoMob" json:"amountPicoMob,omitempty"`
// @required
FeePicoMob *uint64 `protobuf:"varint,3,opt,name=feePicoMob" json:"feePicoMob,omitempty"`
Receipt []byte `protobuf:"bytes,4,opt,name=receipt" json:"receipt,omitempty"`
LedgerBlockTimestamp *uint64 `protobuf:"varint,5,opt,name=ledgerBlockTimestamp" json:"ledgerBlockTimestamp,omitempty"`
// @required
LedgerBlockIndex *uint64 `protobuf:"varint,6,opt,name=ledgerBlockIndex" json:"ledgerBlockIndex,omitempty"`
SpentKeyImages [][]byte `protobuf:"bytes,7,rep,name=spentKeyImages" json:"spentKeyImages,omitempty"`
OutputPublicKeys [][]byte `protobuf:"bytes,8,rep,name=outputPublicKeys" json:"outputPublicKeys,omitempty"`
}
func (x *SyncMessage_OutgoingPayment_MobileCoin) Reset() {
*x = SyncMessage_OutgoingPayment_MobileCoin{}
mi := &file_SignalService_proto_msgTypes[69]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_OutgoingPayment_MobileCoin) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_OutgoingPayment_MobileCoin) ProtoMessage() {}
func (x *SyncMessage_OutgoingPayment_MobileCoin) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[69]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_OutgoingPayment_MobileCoin.ProtoReflect.Descriptor instead.
func (*SyncMessage_OutgoingPayment_MobileCoin) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 12, 0}
}
func (x *SyncMessage_OutgoingPayment_MobileCoin) GetRecipientAddress() []byte {
if x != nil {
return x.RecipientAddress
}
return nil
}
func (x *SyncMessage_OutgoingPayment_MobileCoin) GetAmountPicoMob() uint64 {
if x != nil && x.AmountPicoMob != nil {
return *x.AmountPicoMob
}
return 0
}
func (x *SyncMessage_OutgoingPayment_MobileCoin) GetFeePicoMob() uint64 {
if x != nil && x.FeePicoMob != nil {
return *x.FeePicoMob
}
return 0
}
func (x *SyncMessage_OutgoingPayment_MobileCoin) GetReceipt() []byte {
if x != nil {
return x.Receipt
}
return nil
}
func (x *SyncMessage_OutgoingPayment_MobileCoin) GetLedgerBlockTimestamp() uint64 {
if x != nil && x.LedgerBlockTimestamp != nil {
return *x.LedgerBlockTimestamp
}
return 0
}
func (x *SyncMessage_OutgoingPayment_MobileCoin) GetLedgerBlockIndex() uint64 {
if x != nil && x.LedgerBlockIndex != nil {
return *x.LedgerBlockIndex
}
return 0
}
func (x *SyncMessage_OutgoingPayment_MobileCoin) GetSpentKeyImages() [][]byte {
if x != nil {
return x.SpentKeyImages
}
return nil
}
func (x *SyncMessage_OutgoingPayment_MobileCoin) GetOutputPublicKeys() [][]byte {
if x != nil {
return x.OutputPublicKeys
}
return nil
}
type SyncMessage_DeleteForMe_ConversationIdentifier struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Identifier:
//
// *SyncMessage_DeleteForMe_ConversationIdentifier_ThreadServiceId
// *SyncMessage_DeleteForMe_ConversationIdentifier_ThreadGroupId
// *SyncMessage_DeleteForMe_ConversationIdentifier_ThreadE164
Identifier isSyncMessage_DeleteForMe_ConversationIdentifier_Identifier `protobuf_oneof:"identifier"`
}
func (x *SyncMessage_DeleteForMe_ConversationIdentifier) Reset() {
*x = SyncMessage_DeleteForMe_ConversationIdentifier{}
mi := &file_SignalService_proto_msgTypes[70]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_DeleteForMe_ConversationIdentifier) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_DeleteForMe_ConversationIdentifier) ProtoMessage() {}
func (x *SyncMessage_DeleteForMe_ConversationIdentifier) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[70]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_DeleteForMe_ConversationIdentifier.ProtoReflect.Descriptor instead.
func (*SyncMessage_DeleteForMe_ConversationIdentifier) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 17, 0}
}
func (m *SyncMessage_DeleteForMe_ConversationIdentifier) GetIdentifier() isSyncMessage_DeleteForMe_ConversationIdentifier_Identifier {
if m != nil {
return m.Identifier
}
return nil
}
func (x *SyncMessage_DeleteForMe_ConversationIdentifier) GetThreadServiceId() string {
if x, ok := x.GetIdentifier().(*SyncMessage_DeleteForMe_ConversationIdentifier_ThreadServiceId); ok {
return x.ThreadServiceId
}
return ""
}
func (x *SyncMessage_DeleteForMe_ConversationIdentifier) GetThreadGroupId() []byte {
if x, ok := x.GetIdentifier().(*SyncMessage_DeleteForMe_ConversationIdentifier_ThreadGroupId); ok {
return x.ThreadGroupId
}
return nil
}
func (x *SyncMessage_DeleteForMe_ConversationIdentifier) GetThreadE164() string {
if x, ok := x.GetIdentifier().(*SyncMessage_DeleteForMe_ConversationIdentifier_ThreadE164); ok {
return x.ThreadE164
}
return ""
}
type isSyncMessage_DeleteForMe_ConversationIdentifier_Identifier interface {
isSyncMessage_DeleteForMe_ConversationIdentifier_Identifier()
}
type SyncMessage_DeleteForMe_ConversationIdentifier_ThreadServiceId struct {
ThreadServiceId string `protobuf:"bytes,1,opt,name=threadServiceId,oneof"`
}
type SyncMessage_DeleteForMe_ConversationIdentifier_ThreadGroupId struct {
ThreadGroupId []byte `protobuf:"bytes,2,opt,name=threadGroupId,oneof"`
}
type SyncMessage_DeleteForMe_ConversationIdentifier_ThreadE164 struct {
ThreadE164 string `protobuf:"bytes,3,opt,name=threadE164,oneof"`
}
func (*SyncMessage_DeleteForMe_ConversationIdentifier_ThreadServiceId) isSyncMessage_DeleteForMe_ConversationIdentifier_Identifier() {
}
func (*SyncMessage_DeleteForMe_ConversationIdentifier_ThreadGroupId) isSyncMessage_DeleteForMe_ConversationIdentifier_Identifier() {
}
func (*SyncMessage_DeleteForMe_ConversationIdentifier_ThreadE164) isSyncMessage_DeleteForMe_ConversationIdentifier_Identifier() {
}
type SyncMessage_DeleteForMe_AddressableMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Author:
//
// *SyncMessage_DeleteForMe_AddressableMessage_AuthorServiceId
// *SyncMessage_DeleteForMe_AddressableMessage_AuthorE164
Author isSyncMessage_DeleteForMe_AddressableMessage_Author `protobuf_oneof:"author"`
SentTimestamp *uint64 `protobuf:"varint,3,opt,name=sentTimestamp" json:"sentTimestamp,omitempty"`
}
func (x *SyncMessage_DeleteForMe_AddressableMessage) Reset() {
*x = SyncMessage_DeleteForMe_AddressableMessage{}
mi := &file_SignalService_proto_msgTypes[71]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_DeleteForMe_AddressableMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_DeleteForMe_AddressableMessage) ProtoMessage() {}
func (x *SyncMessage_DeleteForMe_AddressableMessage) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[71]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_DeleteForMe_AddressableMessage.ProtoReflect.Descriptor instead.
func (*SyncMessage_DeleteForMe_AddressableMessage) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 17, 1}
}
func (m *SyncMessage_DeleteForMe_AddressableMessage) GetAuthor() isSyncMessage_DeleteForMe_AddressableMessage_Author {
if m != nil {
return m.Author
}
return nil
}
func (x *SyncMessage_DeleteForMe_AddressableMessage) GetAuthorServiceId() string {
if x, ok := x.GetAuthor().(*SyncMessage_DeleteForMe_AddressableMessage_AuthorServiceId); ok {
return x.AuthorServiceId
}
return ""
}
func (x *SyncMessage_DeleteForMe_AddressableMessage) GetAuthorE164() string {
if x, ok := x.GetAuthor().(*SyncMessage_DeleteForMe_AddressableMessage_AuthorE164); ok {
return x.AuthorE164
}
return ""
}
func (x *SyncMessage_DeleteForMe_AddressableMessage) GetSentTimestamp() uint64 {
if x != nil && x.SentTimestamp != nil {
return *x.SentTimestamp
}
return 0
}
type isSyncMessage_DeleteForMe_AddressableMessage_Author interface {
isSyncMessage_DeleteForMe_AddressableMessage_Author()
}
type SyncMessage_DeleteForMe_AddressableMessage_AuthorServiceId struct {
AuthorServiceId string `protobuf:"bytes,1,opt,name=authorServiceId,oneof"`
}
type SyncMessage_DeleteForMe_AddressableMessage_AuthorE164 struct {
AuthorE164 string `protobuf:"bytes,2,opt,name=authorE164,oneof"`
}
func (*SyncMessage_DeleteForMe_AddressableMessage_AuthorServiceId) isSyncMessage_DeleteForMe_AddressableMessage_Author() {
}
func (*SyncMessage_DeleteForMe_AddressableMessage_AuthorE164) isSyncMessage_DeleteForMe_AddressableMessage_Author() {
}
type SyncMessage_DeleteForMe_MessageDeletes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Conversation *SyncMessage_DeleteForMe_ConversationIdentifier `protobuf:"bytes,1,opt,name=conversation" json:"conversation,omitempty"`
Messages []*SyncMessage_DeleteForMe_AddressableMessage `protobuf:"bytes,2,rep,name=messages" json:"messages,omitempty"`
}
func (x *SyncMessage_DeleteForMe_MessageDeletes) Reset() {
*x = SyncMessage_DeleteForMe_MessageDeletes{}
mi := &file_SignalService_proto_msgTypes[72]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_DeleteForMe_MessageDeletes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_DeleteForMe_MessageDeletes) ProtoMessage() {}
func (x *SyncMessage_DeleteForMe_MessageDeletes) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[72]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_DeleteForMe_MessageDeletes.ProtoReflect.Descriptor instead.
func (*SyncMessage_DeleteForMe_MessageDeletes) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 17, 2}
}
func (x *SyncMessage_DeleteForMe_MessageDeletes) GetConversation() *SyncMessage_DeleteForMe_ConversationIdentifier {
if x != nil {
return x.Conversation
}
return nil
}
func (x *SyncMessage_DeleteForMe_MessageDeletes) GetMessages() []*SyncMessage_DeleteForMe_AddressableMessage {
if x != nil {
return x.Messages
}
return nil
}
type SyncMessage_DeleteForMe_AttachmentDelete struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Conversation *SyncMessage_DeleteForMe_ConversationIdentifier `protobuf:"bytes,1,opt,name=conversation" json:"conversation,omitempty"`
TargetMessage *SyncMessage_DeleteForMe_AddressableMessage `protobuf:"bytes,2,opt,name=targetMessage" json:"targetMessage,omitempty"`
Uuid []byte `protobuf:"bytes,3,opt,name=uuid" json:"uuid,omitempty"` // The `uuid` from the `Attachment`.
FallbackDigest []byte `protobuf:"bytes,4,opt,name=fallbackDigest" json:"fallbackDigest,omitempty"`
FallbackPlaintextHash []byte `protobuf:"bytes,5,opt,name=fallbackPlaintextHash" json:"fallbackPlaintextHash,omitempty"`
}
func (x *SyncMessage_DeleteForMe_AttachmentDelete) Reset() {
*x = SyncMessage_DeleteForMe_AttachmentDelete{}
mi := &file_SignalService_proto_msgTypes[73]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_DeleteForMe_AttachmentDelete) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_DeleteForMe_AttachmentDelete) ProtoMessage() {}
func (x *SyncMessage_DeleteForMe_AttachmentDelete) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[73]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_DeleteForMe_AttachmentDelete.ProtoReflect.Descriptor instead.
func (*SyncMessage_DeleteForMe_AttachmentDelete) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 17, 3}
}
func (x *SyncMessage_DeleteForMe_AttachmentDelete) GetConversation() *SyncMessage_DeleteForMe_ConversationIdentifier {
if x != nil {
return x.Conversation
}
return nil
}
func (x *SyncMessage_DeleteForMe_AttachmentDelete) GetTargetMessage() *SyncMessage_DeleteForMe_AddressableMessage {
if x != nil {
return x.TargetMessage
}
return nil
}
func (x *SyncMessage_DeleteForMe_AttachmentDelete) GetUuid() []byte {
if x != nil {
return x.Uuid
}
return nil
}
func (x *SyncMessage_DeleteForMe_AttachmentDelete) GetFallbackDigest() []byte {
if x != nil {
return x.FallbackDigest
}
return nil
}
func (x *SyncMessage_DeleteForMe_AttachmentDelete) GetFallbackPlaintextHash() []byte {
if x != nil {
return x.FallbackPlaintextHash
}
return nil
}
type SyncMessage_DeleteForMe_ConversationDelete struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Conversation *SyncMessage_DeleteForMe_ConversationIdentifier `protobuf:"bytes,1,opt,name=conversation" json:"conversation,omitempty"`
MostRecentMessages []*SyncMessage_DeleteForMe_AddressableMessage `protobuf:"bytes,2,rep,name=mostRecentMessages" json:"mostRecentMessages,omitempty"`
MostRecentNonExpiringMessages []*SyncMessage_DeleteForMe_AddressableMessage `protobuf:"bytes,4,rep,name=mostRecentNonExpiringMessages" json:"mostRecentNonExpiringMessages,omitempty"`
IsFullDelete *bool `protobuf:"varint,3,opt,name=isFullDelete" json:"isFullDelete,omitempty"`
}
func (x *SyncMessage_DeleteForMe_ConversationDelete) Reset() {
*x = SyncMessage_DeleteForMe_ConversationDelete{}
mi := &file_SignalService_proto_msgTypes[74]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_DeleteForMe_ConversationDelete) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_DeleteForMe_ConversationDelete) ProtoMessage() {}
func (x *SyncMessage_DeleteForMe_ConversationDelete) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[74]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_DeleteForMe_ConversationDelete.ProtoReflect.Descriptor instead.
func (*SyncMessage_DeleteForMe_ConversationDelete) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 17, 4}
}
func (x *SyncMessage_DeleteForMe_ConversationDelete) GetConversation() *SyncMessage_DeleteForMe_ConversationIdentifier {
if x != nil {
return x.Conversation
}
return nil
}
func (x *SyncMessage_DeleteForMe_ConversationDelete) GetMostRecentMessages() []*SyncMessage_DeleteForMe_AddressableMessage {
if x != nil {
return x.MostRecentMessages
}
return nil
}
func (x *SyncMessage_DeleteForMe_ConversationDelete) GetMostRecentNonExpiringMessages() []*SyncMessage_DeleteForMe_AddressableMessage {
if x != nil {
return x.MostRecentNonExpiringMessages
}
return nil
}
func (x *SyncMessage_DeleteForMe_ConversationDelete) GetIsFullDelete() bool {
if x != nil && x.IsFullDelete != nil {
return *x.IsFullDelete
}
return false
}
type SyncMessage_DeleteForMe_LocalOnlyConversationDelete struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Conversation *SyncMessage_DeleteForMe_ConversationIdentifier `protobuf:"bytes,1,opt,name=conversation" json:"conversation,omitempty"`
}
func (x *SyncMessage_DeleteForMe_LocalOnlyConversationDelete) Reset() {
*x = SyncMessage_DeleteForMe_LocalOnlyConversationDelete{}
mi := &file_SignalService_proto_msgTypes[75]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SyncMessage_DeleteForMe_LocalOnlyConversationDelete) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncMessage_DeleteForMe_LocalOnlyConversationDelete) ProtoMessage() {}
func (x *SyncMessage_DeleteForMe_LocalOnlyConversationDelete) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[75]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncMessage_DeleteForMe_LocalOnlyConversationDelete.ProtoReflect.Descriptor instead.
func (*SyncMessage_DeleteForMe_LocalOnlyConversationDelete) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{12, 17, 5}
}
func (x *SyncMessage_DeleteForMe_LocalOnlyConversationDelete) GetConversation() *SyncMessage_DeleteForMe_ConversationIdentifier {
if x != nil {
return x.Conversation
}
return nil
}
type GroupContext_Member struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
E164 *string `protobuf:"bytes,2,opt,name=e164" json:"e164,omitempty"`
}
func (x *GroupContext_Member) Reset() {
*x = GroupContext_Member{}
mi := &file_SignalService_proto_msgTypes[76]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GroupContext_Member) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GroupContext_Member) ProtoMessage() {}
func (x *GroupContext_Member) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[76]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GroupContext_Member.ProtoReflect.Descriptor instead.
func (*GroupContext_Member) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{14, 0}
}
func (x *GroupContext_Member) GetE164() string {
if x != nil && x.E164 != nil {
return *x.E164
}
return ""
}
type ContactDetails_Avatar struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ContentType *string `protobuf:"bytes,1,opt,name=contentType" json:"contentType,omitempty"`
Length *uint32 `protobuf:"varint,2,opt,name=length" json:"length,omitempty"`
}
func (x *ContactDetails_Avatar) Reset() {
*x = ContactDetails_Avatar{}
mi := &file_SignalService_proto_msgTypes[77]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ContactDetails_Avatar) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ContactDetails_Avatar) ProtoMessage() {}
func (x *ContactDetails_Avatar) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[77]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ContactDetails_Avatar.ProtoReflect.Descriptor instead.
func (*ContactDetails_Avatar) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{16, 0}
}
func (x *ContactDetails_Avatar) GetContentType() string {
if x != nil && x.ContentType != nil {
return *x.ContentType
}
return ""
}
func (x *ContactDetails_Avatar) GetLength() uint32 {
if x != nil && x.Length != nil {
return *x.Length
}
return 0
}
type GroupDetails_Avatar struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ContentType *string `protobuf:"bytes,1,opt,name=contentType" json:"contentType,omitempty"`
Length *uint32 `protobuf:"varint,2,opt,name=length" json:"length,omitempty"`
}
func (x *GroupDetails_Avatar) Reset() {
*x = GroupDetails_Avatar{}
mi := &file_SignalService_proto_msgTypes[78]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GroupDetails_Avatar) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GroupDetails_Avatar) ProtoMessage() {}
func (x *GroupDetails_Avatar) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[78]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GroupDetails_Avatar.ProtoReflect.Descriptor instead.
func (*GroupDetails_Avatar) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{17, 0}
}
func (x *GroupDetails_Avatar) GetContentType() string {
if x != nil && x.ContentType != nil {
return *x.ContentType
}
return ""
}
func (x *GroupDetails_Avatar) GetLength() uint32 {
if x != nil && x.Length != nil {
return *x.Length
}
return 0
}
type GroupDetails_Member struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
E164 *string `protobuf:"bytes,2,opt,name=e164" json:"e164,omitempty"`
}
func (x *GroupDetails_Member) Reset() {
*x = GroupDetails_Member{}
mi := &file_SignalService_proto_msgTypes[79]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GroupDetails_Member) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GroupDetails_Member) ProtoMessage() {}
func (x *GroupDetails_Member) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[79]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GroupDetails_Member.ProtoReflect.Descriptor instead.
func (*GroupDetails_Member) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{17, 1}
}
func (x *GroupDetails_Member) GetE164() string {
if x != nil && x.E164 != nil {
return *x.E164
}
return ""
}
type PaymentAddress_MobileCoinAddress struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Address []byte `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
}
func (x *PaymentAddress_MobileCoinAddress) Reset() {
*x = PaymentAddress_MobileCoinAddress{}
mi := &file_SignalService_proto_msgTypes[80]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PaymentAddress_MobileCoinAddress) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PaymentAddress_MobileCoinAddress) ProtoMessage() {}
func (x *PaymentAddress_MobileCoinAddress) ProtoReflect() protoreflect.Message {
mi := &file_SignalService_proto_msgTypes[80]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PaymentAddress_MobileCoinAddress.ProtoReflect.Descriptor instead.
func (*PaymentAddress_MobileCoinAddress) Descriptor() ([]byte, []int) {
return file_SignalService_proto_rawDescGZIP(), []int{18, 0}
}
func (x *PaymentAddress_MobileCoinAddress) GetAddress() []byte {
if x != nil {
return x.Address
}
return nil
}
func (x *PaymentAddress_MobileCoinAddress) GetSignature() []byte {
if x != nil {
return x.Signature
}
return nil
}
var File_SignalService_proto protoreflect.FileDescriptor
//go:embed SignalService.pb.raw
var file_SignalService_proto_rawDesc []byte
var (
file_SignalService_proto_rawDescOnce sync.Once
file_SignalService_proto_rawDescData = file_SignalService_proto_rawDesc
)
func file_SignalService_proto_rawDescGZIP() []byte {
file_SignalService_proto_rawDescOnce.Do(func() {
file_SignalService_proto_rawDescData = protoimpl.X.CompressGZIP(file_SignalService_proto_rawDescData)
})
return file_SignalService_proto_rawDescData
}
var file_SignalService_proto_enumTypes = make([]protoimpl.EnumInfo, 27)
var file_SignalService_proto_msgTypes = make([]protoimpl.MessageInfo, 81)
var file_SignalService_proto_goTypes = []any{
(Envelope_Type)(0), // 0: signalservice.Envelope.Type
(CallMessage_Offer_Type)(0), // 1: signalservice.CallMessage.Offer.Type
(CallMessage_Hangup_Type)(0), // 2: signalservice.CallMessage.Hangup.Type
(CallMessage_Opaque_Urgency)(0), // 3: signalservice.CallMessage.Opaque.Urgency
(BodyRange_Style)(0), // 4: signalservice.BodyRange.Style
(DataMessage_Flags)(0), // 5: signalservice.DataMessage.Flags
(DataMessage_ProtocolVersion)(0), // 6: signalservice.DataMessage.ProtocolVersion
(DataMessage_Quote_Type)(0), // 7: signalservice.DataMessage.Quote.Type
(DataMessage_Contact_Phone_Type)(0), // 8: signalservice.DataMessage.Contact.Phone.Type
(DataMessage_Contact_Email_Type)(0), // 9: signalservice.DataMessage.Contact.Email.Type
(DataMessage_Contact_PostalAddress_Type)(0), // 10: signalservice.DataMessage.Contact.PostalAddress.Type
(DataMessage_Payment_Activation_Type)(0), // 11: signalservice.DataMessage.Payment.Activation.Type
(ReceiptMessage_Type)(0), // 12: signalservice.ReceiptMessage.Type
(TypingMessage_Action)(0), // 13: signalservice.TypingMessage.Action
(TextAttachment_Style)(0), // 14: signalservice.TextAttachment.Style
(Verified_State)(0), // 15: signalservice.Verified.State
(SyncMessage_Request_Type)(0), // 16: signalservice.SyncMessage.Request.Type
(SyncMessage_StickerPackOperation_Type)(0), // 17: signalservice.SyncMessage.StickerPackOperation.Type
(SyncMessage_FetchLatest_Type)(0), // 18: signalservice.SyncMessage.FetchLatest.Type
(SyncMessage_MessageRequestResponse_Type)(0), // 19: signalservice.SyncMessage.MessageRequestResponse.Type
(SyncMessage_CallEvent_Type)(0), // 20: signalservice.SyncMessage.CallEvent.Type
(SyncMessage_CallEvent_Direction)(0), // 21: signalservice.SyncMessage.CallEvent.Direction
(SyncMessage_CallEvent_Event)(0), // 22: signalservice.SyncMessage.CallEvent.Event
(SyncMessage_CallLinkUpdate_Type)(0), // 23: signalservice.SyncMessage.CallLinkUpdate.Type
(SyncMessage_CallLogEvent_Type)(0), // 24: signalservice.SyncMessage.CallLogEvent.Type
(AttachmentPointer_Flags)(0), // 25: signalservice.AttachmentPointer.Flags
(GroupContext_Type)(0), // 26: signalservice.GroupContext.Type
(*Envelope)(nil), // 27: signalservice.Envelope
(*Content)(nil), // 28: signalservice.Content
(*CallMessage)(nil), // 29: signalservice.CallMessage
(*BodyRange)(nil), // 30: signalservice.BodyRange
(*DataMessage)(nil), // 31: signalservice.DataMessage
(*NullMessage)(nil), // 32: signalservice.NullMessage
(*ReceiptMessage)(nil), // 33: signalservice.ReceiptMessage
(*TypingMessage)(nil), // 34: signalservice.TypingMessage
(*StoryMessage)(nil), // 35: signalservice.StoryMessage
(*Preview)(nil), // 36: signalservice.Preview
(*TextAttachment)(nil), // 37: signalservice.TextAttachment
(*Verified)(nil), // 38: signalservice.Verified
(*SyncMessage)(nil), // 39: signalservice.SyncMessage
(*AttachmentPointer)(nil), // 40: signalservice.AttachmentPointer
(*GroupContext)(nil), // 41: signalservice.GroupContext
(*GroupContextV2)(nil), // 42: signalservice.GroupContextV2
(*ContactDetails)(nil), // 43: signalservice.ContactDetails
(*GroupDetails)(nil), // 44: signalservice.GroupDetails
(*PaymentAddress)(nil), // 45: signalservice.PaymentAddress
(*DecryptionErrorMessage)(nil), // 46: signalservice.DecryptionErrorMessage
(*PniSignatureMessage)(nil), // 47: signalservice.PniSignatureMessage
(*EditMessage)(nil), // 48: signalservice.EditMessage
(*CallMessage_Offer)(nil), // 49: signalservice.CallMessage.Offer
(*CallMessage_Answer)(nil), // 50: signalservice.CallMessage.Answer
(*CallMessage_IceUpdate)(nil), // 51: signalservice.CallMessage.IceUpdate
(*CallMessage_Busy)(nil), // 52: signalservice.CallMessage.Busy
(*CallMessage_Hangup)(nil), // 53: signalservice.CallMessage.Hangup
(*CallMessage_Opaque)(nil), // 54: signalservice.CallMessage.Opaque
(*DataMessage_Quote)(nil), // 55: signalservice.DataMessage.Quote
(*DataMessage_Contact)(nil), // 56: signalservice.DataMessage.Contact
(*DataMessage_Sticker)(nil), // 57: signalservice.DataMessage.Sticker
(*DataMessage_Reaction)(nil), // 58: signalservice.DataMessage.Reaction
(*DataMessage_Delete)(nil), // 59: signalservice.DataMessage.Delete
(*DataMessage_GroupCallUpdate)(nil), // 60: signalservice.DataMessage.GroupCallUpdate
(*DataMessage_StoryContext)(nil), // 61: signalservice.DataMessage.StoryContext
(*DataMessage_Payment)(nil), // 62: signalservice.DataMessage.Payment
(*DataMessage_GiftBadge)(nil), // 63: signalservice.DataMessage.GiftBadge
(*DataMessage_Quote_QuotedAttachment)(nil), // 64: signalservice.DataMessage.Quote.QuotedAttachment
(*DataMessage_Contact_Name)(nil), // 65: signalservice.DataMessage.Contact.Name
(*DataMessage_Contact_Phone)(nil), // 66: signalservice.DataMessage.Contact.Phone
(*DataMessage_Contact_Email)(nil), // 67: signalservice.DataMessage.Contact.Email
(*DataMessage_Contact_PostalAddress)(nil), // 68: signalservice.DataMessage.Contact.PostalAddress
(*DataMessage_Contact_Avatar)(nil), // 69: signalservice.DataMessage.Contact.Avatar
(*DataMessage_Payment_Amount)(nil), // 70: signalservice.DataMessage.Payment.Amount
(*DataMessage_Payment_Notification)(nil), // 71: signalservice.DataMessage.Payment.Notification
(*DataMessage_Payment_Activation)(nil), // 72: signalservice.DataMessage.Payment.Activation
(*DataMessage_Payment_Amount_MobileCoin)(nil), // 73: signalservice.DataMessage.Payment.Amount.MobileCoin
(*DataMessage_Payment_Notification_MobileCoin)(nil), // 74: signalservice.DataMessage.Payment.Notification.MobileCoin
(*TextAttachment_Gradient)(nil), // 75: signalservice.TextAttachment.Gradient
(*SyncMessage_Sent)(nil), // 76: signalservice.SyncMessage.Sent
(*SyncMessage_Contacts)(nil), // 77: signalservice.SyncMessage.Contacts
(*SyncMessage_Blocked)(nil), // 78: signalservice.SyncMessage.Blocked
(*SyncMessage_Request)(nil), // 79: signalservice.SyncMessage.Request
(*SyncMessage_Read)(nil), // 80: signalservice.SyncMessage.Read
(*SyncMessage_Viewed)(nil), // 81: signalservice.SyncMessage.Viewed
(*SyncMessage_Configuration)(nil), // 82: signalservice.SyncMessage.Configuration
(*SyncMessage_StickerPackOperation)(nil), // 83: signalservice.SyncMessage.StickerPackOperation
(*SyncMessage_ViewOnceOpen)(nil), // 84: signalservice.SyncMessage.ViewOnceOpen
(*SyncMessage_FetchLatest)(nil), // 85: signalservice.SyncMessage.FetchLatest
(*SyncMessage_Keys)(nil), // 86: signalservice.SyncMessage.Keys
(*SyncMessage_MessageRequestResponse)(nil), // 87: signalservice.SyncMessage.MessageRequestResponse
(*SyncMessage_OutgoingPayment)(nil), // 88: signalservice.SyncMessage.OutgoingPayment
(*SyncMessage_PniChangeNumber)(nil), // 89: signalservice.SyncMessage.PniChangeNumber
(*SyncMessage_CallEvent)(nil), // 90: signalservice.SyncMessage.CallEvent
(*SyncMessage_CallLinkUpdate)(nil), // 91: signalservice.SyncMessage.CallLinkUpdate
(*SyncMessage_CallLogEvent)(nil), // 92: signalservice.SyncMessage.CallLogEvent
(*SyncMessage_DeleteForMe)(nil), // 93: signalservice.SyncMessage.DeleteForMe
(*SyncMessage_Sent_UnidentifiedDeliveryStatus)(nil), // 94: signalservice.SyncMessage.Sent.UnidentifiedDeliveryStatus
(*SyncMessage_Sent_StoryMessageRecipient)(nil), // 95: signalservice.SyncMessage.Sent.StoryMessageRecipient
(*SyncMessage_OutgoingPayment_MobileCoin)(nil), // 96: signalservice.SyncMessage.OutgoingPayment.MobileCoin
(*SyncMessage_DeleteForMe_ConversationIdentifier)(nil), // 97: signalservice.SyncMessage.DeleteForMe.ConversationIdentifier
(*SyncMessage_DeleteForMe_AddressableMessage)(nil), // 98: signalservice.SyncMessage.DeleteForMe.AddressableMessage
(*SyncMessage_DeleteForMe_MessageDeletes)(nil), // 99: signalservice.SyncMessage.DeleteForMe.MessageDeletes
(*SyncMessage_DeleteForMe_AttachmentDelete)(nil), // 100: signalservice.SyncMessage.DeleteForMe.AttachmentDelete
(*SyncMessage_DeleteForMe_ConversationDelete)(nil), // 101: signalservice.SyncMessage.DeleteForMe.ConversationDelete
(*SyncMessage_DeleteForMe_LocalOnlyConversationDelete)(nil), // 102: signalservice.SyncMessage.DeleteForMe.LocalOnlyConversationDelete
(*GroupContext_Member)(nil), // 103: signalservice.GroupContext.Member
(*ContactDetails_Avatar)(nil), // 104: signalservice.ContactDetails.Avatar
(*GroupDetails_Avatar)(nil), // 105: signalservice.GroupDetails.Avatar
(*GroupDetails_Member)(nil), // 106: signalservice.GroupDetails.Member
(*PaymentAddress_MobileCoinAddress)(nil), // 107: signalservice.PaymentAddress.MobileCoinAddress
}
var file_SignalService_proto_depIdxs = []int32{
0, // 0: signalservice.Envelope.type:type_name -> signalservice.Envelope.Type
31, // 1: signalservice.Content.dataMessage:type_name -> signalservice.DataMessage
39, // 2: signalservice.Content.syncMessage:type_name -> signalservice.SyncMessage
29, // 3: signalservice.Content.callMessage:type_name -> signalservice.CallMessage
32, // 4: signalservice.Content.nullMessage:type_name -> signalservice.NullMessage
33, // 5: signalservice.Content.receiptMessage:type_name -> signalservice.ReceiptMessage
34, // 6: signalservice.Content.typingMessage:type_name -> signalservice.TypingMessage
35, // 7: signalservice.Content.storyMessage:type_name -> signalservice.StoryMessage
47, // 8: signalservice.Content.pniSignatureMessage:type_name -> signalservice.PniSignatureMessage
48, // 9: signalservice.Content.editMessage:type_name -> signalservice.EditMessage
49, // 10: signalservice.CallMessage.offer:type_name -> signalservice.CallMessage.Offer
50, // 11: signalservice.CallMessage.answer:type_name -> signalservice.CallMessage.Answer
51, // 12: signalservice.CallMessage.iceUpdate:type_name -> signalservice.CallMessage.IceUpdate
52, // 13: signalservice.CallMessage.busy:type_name -> signalservice.CallMessage.Busy
53, // 14: signalservice.CallMessage.hangup:type_name -> signalservice.CallMessage.Hangup
54, // 15: signalservice.CallMessage.opaque:type_name -> signalservice.CallMessage.Opaque
4, // 16: signalservice.BodyRange.style:type_name -> signalservice.BodyRange.Style
40, // 17: signalservice.DataMessage.attachments:type_name -> signalservice.AttachmentPointer
42, // 18: signalservice.DataMessage.groupV2:type_name -> signalservice.GroupContextV2
55, // 19: signalservice.DataMessage.quote:type_name -> signalservice.DataMessage.Quote
56, // 20: signalservice.DataMessage.contact:type_name -> signalservice.DataMessage.Contact
36, // 21: signalservice.DataMessage.preview:type_name -> signalservice.Preview
57, // 22: signalservice.DataMessage.sticker:type_name -> signalservice.DataMessage.Sticker
58, // 23: signalservice.DataMessage.reaction:type_name -> signalservice.DataMessage.Reaction
59, // 24: signalservice.DataMessage.delete:type_name -> signalservice.DataMessage.Delete
30, // 25: signalservice.DataMessage.bodyRanges:type_name -> signalservice.BodyRange
60, // 26: signalservice.DataMessage.groupCallUpdate:type_name -> signalservice.DataMessage.GroupCallUpdate
62, // 27: signalservice.DataMessage.payment:type_name -> signalservice.DataMessage.Payment
61, // 28: signalservice.DataMessage.storyContext:type_name -> signalservice.DataMessage.StoryContext
63, // 29: signalservice.DataMessage.giftBadge:type_name -> signalservice.DataMessage.GiftBadge
12, // 30: signalservice.ReceiptMessage.type:type_name -> signalservice.ReceiptMessage.Type
13, // 31: signalservice.TypingMessage.action:type_name -> signalservice.TypingMessage.Action
42, // 32: signalservice.StoryMessage.group:type_name -> signalservice.GroupContextV2
40, // 33: signalservice.StoryMessage.fileAttachment:type_name -> signalservice.AttachmentPointer
37, // 34: signalservice.StoryMessage.textAttachment:type_name -> signalservice.TextAttachment
30, // 35: signalservice.StoryMessage.bodyRanges:type_name -> signalservice.BodyRange
40, // 36: signalservice.Preview.image:type_name -> signalservice.AttachmentPointer
14, // 37: signalservice.TextAttachment.textStyle:type_name -> signalservice.TextAttachment.Style
36, // 38: signalservice.TextAttachment.preview:type_name -> signalservice.Preview
75, // 39: signalservice.TextAttachment.gradient:type_name -> signalservice.TextAttachment.Gradient
15, // 40: signalservice.Verified.state:type_name -> signalservice.Verified.State
76, // 41: signalservice.SyncMessage.sent:type_name -> signalservice.SyncMessage.Sent
77, // 42: signalservice.SyncMessage.contacts:type_name -> signalservice.SyncMessage.Contacts
79, // 43: signalservice.SyncMessage.request:type_name -> signalservice.SyncMessage.Request
80, // 44: signalservice.SyncMessage.read:type_name -> signalservice.SyncMessage.Read
78, // 45: signalservice.SyncMessage.blocked:type_name -> signalservice.SyncMessage.Blocked
38, // 46: signalservice.SyncMessage.verified:type_name -> signalservice.Verified
82, // 47: signalservice.SyncMessage.configuration:type_name -> signalservice.SyncMessage.Configuration
83, // 48: signalservice.SyncMessage.stickerPackOperation:type_name -> signalservice.SyncMessage.StickerPackOperation
84, // 49: signalservice.SyncMessage.viewOnceOpen:type_name -> signalservice.SyncMessage.ViewOnceOpen
85, // 50: signalservice.SyncMessage.fetchLatest:type_name -> signalservice.SyncMessage.FetchLatest
86, // 51: signalservice.SyncMessage.keys:type_name -> signalservice.SyncMessage.Keys
87, // 52: signalservice.SyncMessage.messageRequestResponse:type_name -> signalservice.SyncMessage.MessageRequestResponse
88, // 53: signalservice.SyncMessage.outgoingPayment:type_name -> signalservice.SyncMessage.OutgoingPayment
81, // 54: signalservice.SyncMessage.viewed:type_name -> signalservice.SyncMessage.Viewed
89, // 55: signalservice.SyncMessage.pniChangeNumber:type_name -> signalservice.SyncMessage.PniChangeNumber
90, // 56: signalservice.SyncMessage.callEvent:type_name -> signalservice.SyncMessage.CallEvent
91, // 57: signalservice.SyncMessage.callLinkUpdate:type_name -> signalservice.SyncMessage.CallLinkUpdate
92, // 58: signalservice.SyncMessage.callLogEvent:type_name -> signalservice.SyncMessage.CallLogEvent
93, // 59: signalservice.SyncMessage.deleteForMe:type_name -> signalservice.SyncMessage.DeleteForMe
26, // 60: signalservice.GroupContext.type:type_name -> signalservice.GroupContext.Type
103, // 61: signalservice.GroupContext.members:type_name -> signalservice.GroupContext.Member
40, // 62: signalservice.GroupContext.avatar:type_name -> signalservice.AttachmentPointer
104, // 63: signalservice.ContactDetails.avatar:type_name -> signalservice.ContactDetails.Avatar
38, // 64: signalservice.ContactDetails.verified:type_name -> signalservice.Verified
106, // 65: signalservice.GroupDetails.members:type_name -> signalservice.GroupDetails.Member
105, // 66: signalservice.GroupDetails.avatar:type_name -> signalservice.GroupDetails.Avatar
107, // 67: signalservice.PaymentAddress.mobileCoinAddress:type_name -> signalservice.PaymentAddress.MobileCoinAddress
31, // 68: signalservice.EditMessage.dataMessage:type_name -> signalservice.DataMessage
1, // 69: signalservice.CallMessage.Offer.type:type_name -> signalservice.CallMessage.Offer.Type
2, // 70: signalservice.CallMessage.Hangup.type:type_name -> signalservice.CallMessage.Hangup.Type
3, // 71: signalservice.CallMessage.Opaque.urgency:type_name -> signalservice.CallMessage.Opaque.Urgency
64, // 72: signalservice.DataMessage.Quote.attachments:type_name -> signalservice.DataMessage.Quote.QuotedAttachment
30, // 73: signalservice.DataMessage.Quote.bodyRanges:type_name -> signalservice.BodyRange
7, // 74: signalservice.DataMessage.Quote.type:type_name -> signalservice.DataMessage.Quote.Type
65, // 75: signalservice.DataMessage.Contact.name:type_name -> signalservice.DataMessage.Contact.Name
66, // 76: signalservice.DataMessage.Contact.number:type_name -> signalservice.DataMessage.Contact.Phone
67, // 77: signalservice.DataMessage.Contact.email:type_name -> signalservice.DataMessage.Contact.Email
68, // 78: signalservice.DataMessage.Contact.address:type_name -> signalservice.DataMessage.Contact.PostalAddress
69, // 79: signalservice.DataMessage.Contact.avatar:type_name -> signalservice.DataMessage.Contact.Avatar
40, // 80: signalservice.DataMessage.Sticker.data:type_name -> signalservice.AttachmentPointer
71, // 81: signalservice.DataMessage.Payment.notification:type_name -> signalservice.DataMessage.Payment.Notification
72, // 82: signalservice.DataMessage.Payment.activation:type_name -> signalservice.DataMessage.Payment.Activation
40, // 83: signalservice.DataMessage.Quote.QuotedAttachment.thumbnail:type_name -> signalservice.AttachmentPointer
8, // 84: signalservice.DataMessage.Contact.Phone.type:type_name -> signalservice.DataMessage.Contact.Phone.Type
9, // 85: signalservice.DataMessage.Contact.Email.type:type_name -> signalservice.DataMessage.Contact.Email.Type
10, // 86: signalservice.DataMessage.Contact.PostalAddress.type:type_name -> signalservice.DataMessage.Contact.PostalAddress.Type
40, // 87: signalservice.DataMessage.Contact.Avatar.avatar:type_name -> signalservice.AttachmentPointer
73, // 88: signalservice.DataMessage.Payment.Amount.mobileCoin:type_name -> signalservice.DataMessage.Payment.Amount.MobileCoin
74, // 89: signalservice.DataMessage.Payment.Notification.mobileCoin:type_name -> signalservice.DataMessage.Payment.Notification.MobileCoin
11, // 90: signalservice.DataMessage.Payment.Activation.type:type_name -> signalservice.DataMessage.Payment.Activation.Type
31, // 91: signalservice.SyncMessage.Sent.message:type_name -> signalservice.DataMessage
94, // 92: signalservice.SyncMessage.Sent.unidentifiedStatus:type_name -> signalservice.SyncMessage.Sent.UnidentifiedDeliveryStatus
35, // 93: signalservice.SyncMessage.Sent.storyMessage:type_name -> signalservice.StoryMessage
95, // 94: signalservice.SyncMessage.Sent.storyMessageRecipients:type_name -> signalservice.SyncMessage.Sent.StoryMessageRecipient
48, // 95: signalservice.SyncMessage.Sent.editMessage:type_name -> signalservice.EditMessage
40, // 96: signalservice.SyncMessage.Contacts.blob:type_name -> signalservice.AttachmentPointer
16, // 97: signalservice.SyncMessage.Request.type:type_name -> signalservice.SyncMessage.Request.Type
17, // 98: signalservice.SyncMessage.StickerPackOperation.type:type_name -> signalservice.SyncMessage.StickerPackOperation.Type
18, // 99: signalservice.SyncMessage.FetchLatest.type:type_name -> signalservice.SyncMessage.FetchLatest.Type
19, // 100: signalservice.SyncMessage.MessageRequestResponse.type:type_name -> signalservice.SyncMessage.MessageRequestResponse.Type
96, // 101: signalservice.SyncMessage.OutgoingPayment.mobileCoin:type_name -> signalservice.SyncMessage.OutgoingPayment.MobileCoin
20, // 102: signalservice.SyncMessage.CallEvent.type:type_name -> signalservice.SyncMessage.CallEvent.Type
21, // 103: signalservice.SyncMessage.CallEvent.direction:type_name -> signalservice.SyncMessage.CallEvent.Direction
22, // 104: signalservice.SyncMessage.CallEvent.event:type_name -> signalservice.SyncMessage.CallEvent.Event
23, // 105: signalservice.SyncMessage.CallLinkUpdate.type:type_name -> signalservice.SyncMessage.CallLinkUpdate.Type
24, // 106: signalservice.SyncMessage.CallLogEvent.type:type_name -> signalservice.SyncMessage.CallLogEvent.Type
99, // 107: signalservice.SyncMessage.DeleteForMe.messageDeletes:type_name -> signalservice.SyncMessage.DeleteForMe.MessageDeletes
101, // 108: signalservice.SyncMessage.DeleteForMe.conversationDeletes:type_name -> signalservice.SyncMessage.DeleteForMe.ConversationDelete
102, // 109: signalservice.SyncMessage.DeleteForMe.localOnlyConversationDeletes:type_name -> signalservice.SyncMessage.DeleteForMe.LocalOnlyConversationDelete
100, // 110: signalservice.SyncMessage.DeleteForMe.attachmentDeletes:type_name -> signalservice.SyncMessage.DeleteForMe.AttachmentDelete
97, // 111: signalservice.SyncMessage.DeleteForMe.MessageDeletes.conversation:type_name -> signalservice.SyncMessage.DeleteForMe.ConversationIdentifier
98, // 112: signalservice.SyncMessage.DeleteForMe.MessageDeletes.messages:type_name -> signalservice.SyncMessage.DeleteForMe.AddressableMessage
97, // 113: signalservice.SyncMessage.DeleteForMe.AttachmentDelete.conversation:type_name -> signalservice.SyncMessage.DeleteForMe.ConversationIdentifier
98, // 114: signalservice.SyncMessage.DeleteForMe.AttachmentDelete.targetMessage:type_name -> signalservice.SyncMessage.DeleteForMe.AddressableMessage
97, // 115: signalservice.SyncMessage.DeleteForMe.ConversationDelete.conversation:type_name -> signalservice.SyncMessage.DeleteForMe.ConversationIdentifier
98, // 116: signalservice.SyncMessage.DeleteForMe.ConversationDelete.mostRecentMessages:type_name -> signalservice.SyncMessage.DeleteForMe.AddressableMessage
98, // 117: signalservice.SyncMessage.DeleteForMe.ConversationDelete.mostRecentNonExpiringMessages:type_name -> signalservice.SyncMessage.DeleteForMe.AddressableMessage
97, // 118: signalservice.SyncMessage.DeleteForMe.LocalOnlyConversationDelete.conversation:type_name -> signalservice.SyncMessage.DeleteForMe.ConversationIdentifier
119, // [119:119] is the sub-list for method output_type
119, // [119:119] is the sub-list for method input_type
119, // [119:119] is the sub-list for extension type_name
119, // [119:119] is the sub-list for extension extendee
0, // [0:119] is the sub-list for field type_name
}
func init() { file_SignalService_proto_init() }
func file_SignalService_proto_init() {
if File_SignalService_proto != nil {
return
}
file_SignalService_proto_msgTypes[3].OneofWrappers = []any{
(*BodyRange_MentionAci)(nil),
(*BodyRange_Style_)(nil),
}
file_SignalService_proto_msgTypes[8].OneofWrappers = []any{
(*StoryMessage_FileAttachment)(nil),
(*StoryMessage_TextAttachment)(nil),
}
file_SignalService_proto_msgTypes[10].OneofWrappers = []any{
(*TextAttachment_Gradient_)(nil),
(*TextAttachment_Color)(nil),
}
file_SignalService_proto_msgTypes[13].OneofWrappers = []any{
(*AttachmentPointer_CdnId)(nil),
(*AttachmentPointer_CdnKey)(nil),
}
file_SignalService_proto_msgTypes[18].OneofWrappers = []any{
(*PaymentAddress_MobileCoinAddress_)(nil),
}
file_SignalService_proto_msgTypes[35].OneofWrappers = []any{
(*DataMessage_Payment_Notification_)(nil),
(*DataMessage_Payment_Activation_)(nil),
}
file_SignalService_proto_msgTypes[43].OneofWrappers = []any{
(*DataMessage_Payment_Amount_MobileCoin_)(nil),
}
file_SignalService_proto_msgTypes[44].OneofWrappers = []any{
(*DataMessage_Payment_Notification_MobileCoin_)(nil),
}
file_SignalService_proto_msgTypes[61].OneofWrappers = []any{
(*SyncMessage_OutgoingPayment_MobileCoin_)(nil),
}
file_SignalService_proto_msgTypes[70].OneofWrappers = []any{
(*SyncMessage_DeleteForMe_ConversationIdentifier_ThreadServiceId)(nil),
(*SyncMessage_DeleteForMe_ConversationIdentifier_ThreadGroupId)(nil),
(*SyncMessage_DeleteForMe_ConversationIdentifier_ThreadE164)(nil),
}
file_SignalService_proto_msgTypes[71].OneofWrappers = []any{
(*SyncMessage_DeleteForMe_AddressableMessage_AuthorServiceId)(nil),
(*SyncMessage_DeleteForMe_AddressableMessage_AuthorE164)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_SignalService_proto_rawDesc,
NumEnums: 27,
NumMessages: 81,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_SignalService_proto_goTypes,
DependencyIndexes: file_SignalService_proto_depIdxs,
EnumInfos: file_SignalService_proto_enumTypes,
MessageInfos: file_SignalService_proto_msgTypes,
}.Build()
File_SignalService_proto = out.File
file_SignalService_proto_rawDesc = nil
file_SignalService_proto_goTypes = nil
file_SignalService_proto_depIdxs = nil
}