1618 lines
44 KiB
Go
1618 lines
44 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.30.0
|
|
// protoc v3.21.12
|
|
// source: responses.proto
|
|
|
|
package gmproto
|
|
|
|
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 GetOrCreateConversationResponse_Status int32
|
|
|
|
const (
|
|
GetOrCreateConversationResponse_UNKNOWN GetOrCreateConversationResponse_Status = 0
|
|
GetOrCreateConversationResponse_SUCCESS GetOrCreateConversationResponse_Status = 1
|
|
GetOrCreateConversationResponse_CREATE_RCS GetOrCreateConversationResponse_Status = 3
|
|
)
|
|
|
|
// Enum value maps for GetOrCreateConversationResponse_Status.
|
|
var (
|
|
GetOrCreateConversationResponse_Status_name = map[int32]string{
|
|
0: "UNKNOWN",
|
|
1: "SUCCESS",
|
|
3: "CREATE_RCS",
|
|
}
|
|
GetOrCreateConversationResponse_Status_value = map[string]int32{
|
|
"UNKNOWN": 0,
|
|
"SUCCESS": 1,
|
|
"CREATE_RCS": 3,
|
|
}
|
|
)
|
|
|
|
func (x GetOrCreateConversationResponse_Status) Enum() *GetOrCreateConversationResponse_Status {
|
|
p := new(GetOrCreateConversationResponse_Status)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x GetOrCreateConversationResponse_Status) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (GetOrCreateConversationResponse_Status) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_responses_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (GetOrCreateConversationResponse_Status) Type() protoreflect.EnumType {
|
|
return &file_responses_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x GetOrCreateConversationResponse_Status) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrCreateConversationResponse_Status.Descriptor instead.
|
|
func (GetOrCreateConversationResponse_Status) EnumDescriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{9, 0}
|
|
}
|
|
|
|
type ParticipantThumbnail struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Thumbnail []*Thumbnail `protobuf:"bytes,1,rep,name=thumbnail,proto3" json:"thumbnail,omitempty"`
|
|
}
|
|
|
|
func (x *ParticipantThumbnail) Reset() {
|
|
*x = ParticipantThumbnail{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ParticipantThumbnail) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ParticipantThumbnail) ProtoMessage() {}
|
|
|
|
func (x *ParticipantThumbnail) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ParticipantThumbnail.ProtoReflect.Descriptor instead.
|
|
func (*ParticipantThumbnail) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ParticipantThumbnail) GetThumbnail() []*Thumbnail {
|
|
if x != nil {
|
|
return x.Thumbnail
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Thumbnail struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ParticipantId string `protobuf:"bytes,1,opt,name=participantId,proto3" json:"participantId,omitempty"`
|
|
Data *ThumbnailData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
}
|
|
|
|
func (x *Thumbnail) Reset() {
|
|
*x = Thumbnail{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Thumbnail) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Thumbnail) ProtoMessage() {}
|
|
|
|
func (x *Thumbnail) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Thumbnail.ProtoReflect.Descriptor instead.
|
|
func (*Thumbnail) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *Thumbnail) GetParticipantId() string {
|
|
if x != nil {
|
|
return x.ParticipantId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Thumbnail) GetData() *ThumbnailData {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ThumbnailData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ImageBuffer []byte `protobuf:"bytes,3,opt,name=imageBuffer,proto3" json:"imageBuffer,omitempty"`
|
|
SomeInt int32 `protobuf:"varint,4,opt,name=someInt,proto3" json:"someInt,omitempty"`
|
|
Pixels *Pixels `protobuf:"bytes,5,opt,name=pixels,proto3" json:"pixels,omitempty"`
|
|
}
|
|
|
|
func (x *ThumbnailData) Reset() {
|
|
*x = ThumbnailData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ThumbnailData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ThumbnailData) ProtoMessage() {}
|
|
|
|
func (x *ThumbnailData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ThumbnailData.ProtoReflect.Descriptor instead.
|
|
func (*ThumbnailData) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ThumbnailData) GetImageBuffer() []byte {
|
|
if x != nil {
|
|
return x.ImageBuffer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ThumbnailData) GetSomeInt() int32 {
|
|
if x != nil {
|
|
return x.SomeInt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ThumbnailData) GetPixels() *Pixels {
|
|
if x != nil {
|
|
return x.Pixels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RegisterRefreshResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TokenData *RefreshAuthData `protobuf:"bytes,2,opt,name=tokenData,proto3" json:"tokenData,omitempty"`
|
|
}
|
|
|
|
func (x *RegisterRefreshResponse) Reset() {
|
|
*x = RegisterRefreshResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RegisterRefreshResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegisterRefreshResponse) ProtoMessage() {}
|
|
|
|
func (x *RegisterRefreshResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RegisterRefreshResponse.ProtoReflect.Descriptor instead.
|
|
func (*RegisterRefreshResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *RegisterRefreshResponse) GetTokenData() *RefreshAuthData {
|
|
if x != nil {
|
|
return x.TokenData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RevokeRelayPairingResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *RevokeRelayPairingResponse) Reset() {
|
|
*x = RevokeRelayPairingResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RevokeRelayPairingResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RevokeRelayPairingResponse) ProtoMessage() {}
|
|
|
|
func (x *RevokeRelayPairingResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RevokeRelayPairingResponse.ProtoReflect.Descriptor instead.
|
|
func (*RevokeRelayPairingResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
type RefreshAuthData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TachyonAuthToken []byte `protobuf:"bytes,1,opt,name=tachyonAuthToken,proto3" json:"tachyonAuthToken,omitempty"`
|
|
ValidFor string `protobuf:"bytes,2,opt,name=validFor,proto3" json:"validFor,omitempty"`
|
|
}
|
|
|
|
func (x *RefreshAuthData) Reset() {
|
|
*x = RefreshAuthData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RefreshAuthData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RefreshAuthData) ProtoMessage() {}
|
|
|
|
func (x *RefreshAuthData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RefreshAuthData.ProtoReflect.Descriptor instead.
|
|
func (*RefreshAuthData) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *RefreshAuthData) GetTachyonAuthToken() []byte {
|
|
if x != nil {
|
|
return x.TachyonAuthToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RefreshAuthData) GetValidFor() string {
|
|
if x != nil {
|
|
return x.ValidFor
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FetchMessagesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Message `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
SomeBytes []byte `protobuf:"bytes,3,opt,name=someBytes,proto3" json:"someBytes,omitempty"`
|
|
TotalMessages int64 `protobuf:"varint,4,opt,name=totalMessages,proto3" json:"totalMessages,omitempty"`
|
|
Cursor *Cursor `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"`
|
|
}
|
|
|
|
func (x *FetchMessagesResponse) Reset() {
|
|
*x = FetchMessagesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FetchMessagesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FetchMessagesResponse) ProtoMessage() {}
|
|
|
|
func (x *FetchMessagesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FetchMessagesResponse.ProtoReflect.Descriptor instead.
|
|
func (*FetchMessagesResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *FetchMessagesResponse) GetMessages() []*Message {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FetchMessagesResponse) GetSomeBytes() []byte {
|
|
if x != nil {
|
|
return x.SomeBytes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FetchMessagesResponse) GetTotalMessages() int64 {
|
|
if x != nil {
|
|
return x.TotalMessages
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchMessagesResponse) GetCursor() *Cursor {
|
|
if x != nil {
|
|
return x.Cursor
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListContactsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Contacts []*Contact `protobuf:"bytes,2,rep,name=contacts,proto3" json:"contacts,omitempty"`
|
|
}
|
|
|
|
func (x *ListContactsResponse) Reset() {
|
|
*x = ListContactsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListContactsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListContactsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListContactsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListContactsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListContactsResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ListContactsResponse) GetContacts() []*Contact {
|
|
if x != nil {
|
|
return x.Contacts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListTopContactsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Contacts []*Contact `protobuf:"bytes,1,rep,name=contacts,proto3" json:"contacts,omitempty"`
|
|
}
|
|
|
|
func (x *ListTopContactsResponse) Reset() {
|
|
*x = ListTopContactsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListTopContactsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListTopContactsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListTopContactsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListTopContactsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListTopContactsResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *ListTopContactsResponse) GetContacts() []*Contact {
|
|
if x != nil {
|
|
return x.Contacts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetOrCreateConversationResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Conversation *Conversation `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation,omitempty"`
|
|
Status GetOrCreateConversationResponse_Status `protobuf:"varint,3,opt,name=status,proto3,enum=responses.GetOrCreateConversationResponse_Status" json:"status,omitempty"`
|
|
}
|
|
|
|
func (x *GetOrCreateConversationResponse) Reset() {
|
|
*x = GetOrCreateConversationResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetOrCreateConversationResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOrCreateConversationResponse) ProtoMessage() {}
|
|
|
|
func (x *GetOrCreateConversationResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetOrCreateConversationResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetOrCreateConversationResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *GetOrCreateConversationResponse) GetConversation() *Conversation {
|
|
if x != nil {
|
|
return x.Conversation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetOrCreateConversationResponse) GetStatus() GetOrCreateConversationResponse_Status {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return GetOrCreateConversationResponse_UNKNOWN
|
|
}
|
|
|
|
type DeleteMessageResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteMessageResponse) Reset() {
|
|
*x = DeleteMessageResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteMessageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteMessageResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteMessageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *DeleteMessageResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
type UpdateConversationResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateConversationResponse) Reset() {
|
|
*x = UpdateConversationResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateConversationResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateConversationResponse) ProtoMessage() {}
|
|
|
|
func (x *UpdateConversationResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[11]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateConversationResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateConversationResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *UpdateConversationResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetConversationTypeResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
|
Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
|
|
Bool1 bool `protobuf:"varint,5,opt,name=bool1,proto3" json:"bool1,omitempty"`
|
|
Number2 int32 `protobuf:"varint,6,opt,name=number2,proto3" json:"number2,omitempty"`
|
|
}
|
|
|
|
func (x *GetConversationTypeResponse) Reset() {
|
|
*x = GetConversationTypeResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetConversationTypeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetConversationTypeResponse) ProtoMessage() {}
|
|
|
|
func (x *GetConversationTypeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[12]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetConversationTypeResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetConversationTypeResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *GetConversationTypeResponse) GetConversationID() string {
|
|
if x != nil {
|
|
return x.ConversationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetConversationTypeResponse) GetType() int32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetConversationTypeResponse) GetBool1() bool {
|
|
if x != nil {
|
|
return x.Bool1
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetConversationTypeResponse) GetNumber2() int32 {
|
|
if x != nil {
|
|
return x.Number2
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type NotifyDittoActivityResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *NotifyDittoActivityResponse) Reset() {
|
|
*x = NotifyDittoActivityResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NotifyDittoActivityResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NotifyDittoActivityResponse) ProtoMessage() {}
|
|
|
|
func (x *NotifyDittoActivityResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[13]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NotifyDittoActivityResponse.ProtoReflect.Descriptor instead.
|
|
func (*NotifyDittoActivityResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
type IsBugleDefaultResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
}
|
|
|
|
func (x *IsBugleDefaultResponse) Reset() {
|
|
*x = IsBugleDefaultResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *IsBugleDefaultResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IsBugleDefaultResponse) ProtoMessage() {}
|
|
|
|
func (x *IsBugleDefaultResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[14]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use IsBugleDefaultResponse.ProtoReflect.Descriptor instead.
|
|
func (*IsBugleDefaultResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *IsBugleDefaultResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetUpdatesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *UserAlertEvent `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
|
|
}
|
|
|
|
func (x *GetUpdatesResponse) Reset() {
|
|
*x = GetUpdatesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetUpdatesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUpdatesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetUpdatesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[15]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUpdatesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetUpdatesResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *GetUpdatesResponse) GetData() *UserAlertEvent {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SendMessageResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
|
|
}
|
|
|
|
func (x *SendMessageResponse) Reset() {
|
|
*x = SendMessageResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SendMessageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendMessageResponse) ProtoMessage() {}
|
|
|
|
func (x *SendMessageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[16]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*SendMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *SendMessageResponse) GetType() int64 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RefreshPhoneRelayResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Coordinates *CoordinateMessage `protobuf:"bytes,1,opt,name=coordinates,proto3" json:"coordinates,omitempty"`
|
|
PairKey []byte `protobuf:"bytes,2,opt,name=pairKey,proto3" json:"pairKey,omitempty"`
|
|
ValidFor int64 `protobuf:"varint,3,opt,name=validFor,proto3" json:"validFor,omitempty"`
|
|
}
|
|
|
|
func (x *RefreshPhoneRelayResponse) Reset() {
|
|
*x = RefreshPhoneRelayResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RefreshPhoneRelayResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RefreshPhoneRelayResponse) ProtoMessage() {}
|
|
|
|
func (x *RefreshPhoneRelayResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[17]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RefreshPhoneRelayResponse.ProtoReflect.Descriptor instead.
|
|
func (*RefreshPhoneRelayResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *RefreshPhoneRelayResponse) GetCoordinates() *CoordinateMessage {
|
|
if x != nil {
|
|
return x.Coordinates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RefreshPhoneRelayResponse) GetPairKey() []byte {
|
|
if x != nil {
|
|
return x.PairKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RefreshPhoneRelayResponse) GetValidFor() int64 {
|
|
if x != nil {
|
|
return x.ValidFor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WebEncryptionKeyResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Coordinates *CoordinateMessage `protobuf:"bytes,1,opt,name=coordinates,proto3" json:"coordinates,omitempty"`
|
|
Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
}
|
|
|
|
func (x *WebEncryptionKeyResponse) Reset() {
|
|
*x = WebEncryptionKeyResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WebEncryptionKeyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WebEncryptionKeyResponse) ProtoMessage() {}
|
|
|
|
func (x *WebEncryptionKeyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[18]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WebEncryptionKeyResponse.ProtoReflect.Descriptor instead.
|
|
func (*WebEncryptionKeyResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *WebEncryptionKeyResponse) GetCoordinates() *CoordinateMessage {
|
|
if x != nil {
|
|
return x.Coordinates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WebEncryptionKeyResponse) GetKey() []byte {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RegisterPhoneRelayResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Coordinates *CoordinateMessage `protobuf:"bytes,1,opt,name=coordinates,proto3" json:"coordinates,omitempty"`
|
|
Browser *Device `protobuf:"bytes,2,opt,name=browser,proto3" json:"browser,omitempty"`
|
|
PairingKey []byte `protobuf:"bytes,3,opt,name=pairingKey,proto3" json:"pairingKey,omitempty"`
|
|
ValidFor int64 `protobuf:"varint,4,opt,name=validFor,proto3" json:"validFor,omitempty"`
|
|
AuthKeyData *AuthKeyData `protobuf:"bytes,5,opt,name=authKeyData,proto3" json:"authKeyData,omitempty"`
|
|
ResponseID string `protobuf:"bytes,6,opt,name=responseID,proto3" json:"responseID,omitempty"`
|
|
}
|
|
|
|
func (x *RegisterPhoneRelayResponse) Reset() {
|
|
*x = RegisterPhoneRelayResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RegisterPhoneRelayResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegisterPhoneRelayResponse) ProtoMessage() {}
|
|
|
|
func (x *RegisterPhoneRelayResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[19]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RegisterPhoneRelayResponse.ProtoReflect.Descriptor instead.
|
|
func (*RegisterPhoneRelayResponse) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *RegisterPhoneRelayResponse) GetCoordinates() *CoordinateMessage {
|
|
if x != nil {
|
|
return x.Coordinates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RegisterPhoneRelayResponse) GetBrowser() *Device {
|
|
if x != nil {
|
|
return x.Browser
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RegisterPhoneRelayResponse) GetPairingKey() []byte {
|
|
if x != nil {
|
|
return x.PairingKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RegisterPhoneRelayResponse) GetValidFor() int64 {
|
|
if x != nil {
|
|
return x.ValidFor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RegisterPhoneRelayResponse) GetAuthKeyData() *AuthKeyData {
|
|
if x != nil {
|
|
return x.AuthKeyData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RegisterPhoneRelayResponse) GetResponseID() string {
|
|
if x != nil {
|
|
return x.ResponseID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CoordinateMessage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Coord1 int64 `protobuf:"varint,2,opt,name=coord1,proto3" json:"coord1,omitempty"`
|
|
}
|
|
|
|
func (x *CoordinateMessage) Reset() {
|
|
*x = CoordinateMessage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CoordinateMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CoordinateMessage) ProtoMessage() {}
|
|
|
|
func (x *CoordinateMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[20]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CoordinateMessage.ProtoReflect.Descriptor instead.
|
|
func (*CoordinateMessage) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *CoordinateMessage) GetCoord1() int64 {
|
|
if x != nil {
|
|
return x.Coord1
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AuthKeyData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TachyonAuthToken []byte `protobuf:"bytes,1,opt,name=tachyonAuthToken,proto3" json:"tachyonAuthToken,omitempty"`
|
|
ValidFor int64 `protobuf:"varint,2,opt,name=validFor,proto3" json:"validFor,omitempty"`
|
|
}
|
|
|
|
func (x *AuthKeyData) Reset() {
|
|
*x = AuthKeyData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_responses_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AuthKeyData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthKeyData) ProtoMessage() {}
|
|
|
|
func (x *AuthKeyData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_responses_proto_msgTypes[21]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AuthKeyData.ProtoReflect.Descriptor instead.
|
|
func (*AuthKeyData) Descriptor() ([]byte, []int) {
|
|
return file_responses_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *AuthKeyData) GetTachyonAuthToken() []byte {
|
|
if x != nil {
|
|
return x.TachyonAuthToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AuthKeyData) GetValidFor() int64 {
|
|
if x != nil {
|
|
return x.ValidFor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_responses_proto protoreflect.FileDescriptor
|
|
|
|
//go:embed responses.pb.raw
|
|
var file_responses_proto_rawDesc []byte
|
|
|
|
var (
|
|
file_responses_proto_rawDescOnce sync.Once
|
|
file_responses_proto_rawDescData = file_responses_proto_rawDesc
|
|
)
|
|
|
|
func file_responses_proto_rawDescGZIP() []byte {
|
|
file_responses_proto_rawDescOnce.Do(func() {
|
|
file_responses_proto_rawDescData = protoimpl.X.CompressGZIP(file_responses_proto_rawDescData)
|
|
})
|
|
return file_responses_proto_rawDescData
|
|
}
|
|
|
|
var file_responses_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_responses_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
|
|
var file_responses_proto_goTypes = []interface{}{
|
|
(GetOrCreateConversationResponse_Status)(0), // 0: responses.GetOrCreateConversationResponse.Status
|
|
(*ParticipantThumbnail)(nil), // 1: responses.ParticipantThumbnail
|
|
(*Thumbnail)(nil), // 2: responses.Thumbnail
|
|
(*ThumbnailData)(nil), // 3: responses.ThumbnailData
|
|
(*RegisterRefreshResponse)(nil), // 4: responses.RegisterRefreshResponse
|
|
(*RevokeRelayPairingResponse)(nil), // 5: responses.RevokeRelayPairingResponse
|
|
(*RefreshAuthData)(nil), // 6: responses.RefreshAuthData
|
|
(*FetchMessagesResponse)(nil), // 7: responses.FetchMessagesResponse
|
|
(*ListContactsResponse)(nil), // 8: responses.ListContactsResponse
|
|
(*ListTopContactsResponse)(nil), // 9: responses.ListTopContactsResponse
|
|
(*GetOrCreateConversationResponse)(nil), // 10: responses.GetOrCreateConversationResponse
|
|
(*DeleteMessageResponse)(nil), // 11: responses.DeleteMessageResponse
|
|
(*UpdateConversationResponse)(nil), // 12: responses.UpdateConversationResponse
|
|
(*GetConversationTypeResponse)(nil), // 13: responses.GetConversationTypeResponse
|
|
(*NotifyDittoActivityResponse)(nil), // 14: responses.NotifyDittoActivityResponse
|
|
(*IsBugleDefaultResponse)(nil), // 15: responses.IsBugleDefaultResponse
|
|
(*GetUpdatesResponse)(nil), // 16: responses.GetUpdatesResponse
|
|
(*SendMessageResponse)(nil), // 17: responses.SendMessageResponse
|
|
(*RefreshPhoneRelayResponse)(nil), // 18: responses.RefreshPhoneRelayResponse
|
|
(*WebEncryptionKeyResponse)(nil), // 19: responses.WebEncryptionKeyResponse
|
|
(*RegisterPhoneRelayResponse)(nil), // 20: responses.RegisterPhoneRelayResponse
|
|
(*CoordinateMessage)(nil), // 21: responses.CoordinateMessage
|
|
(*AuthKeyData)(nil), // 22: responses.AuthKeyData
|
|
(*Pixels)(nil), // 23: conversations.Pixels
|
|
(*Message)(nil), // 24: conversations.Message
|
|
(*Cursor)(nil), // 25: conversations.Cursor
|
|
(*Contact)(nil), // 26: conversations.Contact
|
|
(*Conversation)(nil), // 27: conversations.Conversation
|
|
(*UserAlertEvent)(nil), // 28: events.UserAlertEvent
|
|
(*Device)(nil), // 29: messages.Device
|
|
}
|
|
var file_responses_proto_depIdxs = []int32{
|
|
2, // 0: responses.ParticipantThumbnail.thumbnail:type_name -> responses.Thumbnail
|
|
3, // 1: responses.Thumbnail.data:type_name -> responses.ThumbnailData
|
|
23, // 2: responses.ThumbnailData.pixels:type_name -> conversations.Pixels
|
|
6, // 3: responses.RegisterRefreshResponse.tokenData:type_name -> responses.RefreshAuthData
|
|
24, // 4: responses.FetchMessagesResponse.messages:type_name -> conversations.Message
|
|
25, // 5: responses.FetchMessagesResponse.cursor:type_name -> conversations.Cursor
|
|
26, // 6: responses.ListContactsResponse.contacts:type_name -> conversations.Contact
|
|
26, // 7: responses.ListTopContactsResponse.contacts:type_name -> conversations.Contact
|
|
27, // 8: responses.GetOrCreateConversationResponse.conversation:type_name -> conversations.Conversation
|
|
0, // 9: responses.GetOrCreateConversationResponse.status:type_name -> responses.GetOrCreateConversationResponse.Status
|
|
28, // 10: responses.GetUpdatesResponse.data:type_name -> events.UserAlertEvent
|
|
21, // 11: responses.RefreshPhoneRelayResponse.coordinates:type_name -> responses.CoordinateMessage
|
|
21, // 12: responses.WebEncryptionKeyResponse.coordinates:type_name -> responses.CoordinateMessage
|
|
21, // 13: responses.RegisterPhoneRelayResponse.coordinates:type_name -> responses.CoordinateMessage
|
|
29, // 14: responses.RegisterPhoneRelayResponse.browser:type_name -> messages.Device
|
|
22, // 15: responses.RegisterPhoneRelayResponse.authKeyData:type_name -> responses.AuthKeyData
|
|
16, // [16:16] is the sub-list for method output_type
|
|
16, // [16:16] is the sub-list for method input_type
|
|
16, // [16:16] is the sub-list for extension type_name
|
|
16, // [16:16] is the sub-list for extension extendee
|
|
0, // [0:16] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_responses_proto_init() }
|
|
func file_responses_proto_init() {
|
|
if File_responses_proto != nil {
|
|
return
|
|
}
|
|
file_events_proto_init()
|
|
file_messages_proto_init()
|
|
file_conversations_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_responses_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ParticipantThumbnail); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Thumbnail); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ThumbnailData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RegisterRefreshResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RevokeRelayPairingResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RefreshAuthData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FetchMessagesResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListContactsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListTopContactsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetOrCreateConversationResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteMessageResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateConversationResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetConversationTypeResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NotifyDittoActivityResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*IsBugleDefaultResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetUpdatesResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SendMessageResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RefreshPhoneRelayResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WebEncryptionKeyResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RegisterPhoneRelayResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CoordinateMessage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_responses_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AuthKeyData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_responses_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 22,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_responses_proto_goTypes,
|
|
DependencyIndexes: file_responses_proto_depIdxs,
|
|
EnumInfos: file_responses_proto_enumTypes,
|
|
MessageInfos: file_responses_proto_msgTypes,
|
|
}.Build()
|
|
File_responses_proto = out.File
|
|
file_responses_proto_rawDesc = nil
|
|
file_responses_proto_goTypes = nil
|
|
file_responses_proto_depIdxs = nil
|
|
}
|