// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.30.0 // protoc v3.21.12 // source: client.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 ConversationActionStatus int32 const ( ConversationActionStatus_UNKNOWN_ACTION_STATUS ConversationActionStatus = 0 ConversationActionStatus_UNBLOCK ConversationActionStatus = 2 ConversationActionStatus_BLOCK ConversationActionStatus = 7 ConversationActionStatus_BLOCK_AND_REPORT ConversationActionStatus = 8 ) // Enum value maps for ConversationActionStatus. var ( ConversationActionStatus_name = map[int32]string{ 0: "UNKNOWN_ACTION_STATUS", 2: "UNBLOCK", 7: "BLOCK", 8: "BLOCK_AND_REPORT", } ConversationActionStatus_value = map[string]int32{ "UNKNOWN_ACTION_STATUS": 0, "UNBLOCK": 2, "BLOCK": 7, "BLOCK_AND_REPORT": 8, } ) func (x ConversationActionStatus) Enum() *ConversationActionStatus { p := new(ConversationActionStatus) *p = x return p } func (x ConversationActionStatus) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (ConversationActionStatus) Descriptor() protoreflect.EnumDescriptor { return file_client_proto_enumTypes[0].Descriptor() } func (ConversationActionStatus) Type() protoreflect.EnumType { return &file_client_proto_enumTypes[0] } func (x ConversationActionStatus) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use ConversationActionStatus.Descriptor instead. func (ConversationActionStatus) EnumDescriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{0} } type ConversationMuteStatus int32 const ( ConversationMuteStatus_UNMUTE ConversationMuteStatus = 0 ConversationMuteStatus_MUTE ConversationMuteStatus = 1 ) // Enum value maps for ConversationMuteStatus. var ( ConversationMuteStatus_name = map[int32]string{ 0: "UNMUTE", 1: "MUTE", } ConversationMuteStatus_value = map[string]int32{ "UNMUTE": 0, "MUTE": 1, } ) func (x ConversationMuteStatus) Enum() *ConversationMuteStatus { p := new(ConversationMuteStatus) *p = x return p } func (x ConversationMuteStatus) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (ConversationMuteStatus) Descriptor() protoreflect.EnumDescriptor { return file_client_proto_enumTypes[1].Descriptor() } func (ConversationMuteStatus) Type() protoreflect.EnumType { return &file_client_proto_enumTypes[1] } func (x ConversationMuteStatus) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use ConversationMuteStatus.Descriptor instead. func (ConversationMuteStatus) EnumDescriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{1} } type ListConversationsRequest_Folder int32 const ( ListConversationsRequest_UNKNOWN ListConversationsRequest_Folder = 0 ListConversationsRequest_INBOX ListConversationsRequest_Folder = 1 ListConversationsRequest_ARCHIVE ListConversationsRequest_Folder = 2 ListConversationsRequest_SPAM_BLOCKED ListConversationsRequest_Folder = 5 ) // Enum value maps for ListConversationsRequest_Folder. var ( ListConversationsRequest_Folder_name = map[int32]string{ 0: "UNKNOWN", 1: "INBOX", 2: "ARCHIVE", 5: "SPAM_BLOCKED", } ListConversationsRequest_Folder_value = map[string]int32{ "UNKNOWN": 0, "INBOX": 1, "ARCHIVE": 2, "SPAM_BLOCKED": 5, } ) func (x ListConversationsRequest_Folder) Enum() *ListConversationsRequest_Folder { p := new(ListConversationsRequest_Folder) *p = x return p } func (x ListConversationsRequest_Folder) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (ListConversationsRequest_Folder) Descriptor() protoreflect.EnumDescriptor { return file_client_proto_enumTypes[2].Descriptor() } func (ListConversationsRequest_Folder) Type() protoreflect.EnumType { return &file_client_proto_enumTypes[2] } func (x ListConversationsRequest_Folder) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use ListConversationsRequest_Folder.Descriptor instead. func (ListConversationsRequest_Folder) EnumDescriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{20, 0} } 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_client_proto_enumTypes[3].Descriptor() } func (GetOrCreateConversationResponse_Status) Type() protoreflect.EnumType { return &file_client_proto_enumTypes[3] } 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_client_proto_rawDescGZIP(), []int{23, 0} } type SendMessageResponse_Status int32 const ( SendMessageResponse_UNKNOWN SendMessageResponse_Status = 0 SendMessageResponse_SUCCESS SendMessageResponse_Status = 1 SendMessageResponse_FAILURE_2 SendMessageResponse_Status = 2 SendMessageResponse_FAILURE_3 SendMessageResponse_Status = 3 SendMessageResponse_FAILURE_4 SendMessageResponse_Status = 4 // not default sms app? ) // Enum value maps for SendMessageResponse_Status. var ( SendMessageResponse_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "SUCCESS", 2: "FAILURE_2", 3: "FAILURE_3", 4: "FAILURE_4", } SendMessageResponse_Status_value = map[string]int32{ "UNKNOWN": 0, "SUCCESS": 1, "FAILURE_2": 2, "FAILURE_3": 3, "FAILURE_4": 4, } ) func (x SendMessageResponse_Status) Enum() *SendMessageResponse_Status { p := new(SendMessageResponse_Status) *p = x return p } func (x SendMessageResponse_Status) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (SendMessageResponse_Status) Descriptor() protoreflect.EnumDescriptor { return file_client_proto_enumTypes[4].Descriptor() } func (SendMessageResponse_Status) Type() protoreflect.EnumType { return &file_client_proto_enumTypes[4] } func (x SendMessageResponse_Status) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use SendMessageResponse_Status.Descriptor instead. func (SendMessageResponse_Status) EnumDescriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{41, 0} } type SendReactionRequest_Action int32 const ( SendReactionRequest_UNSPECIFIED SendReactionRequest_Action = 0 SendReactionRequest_ADD SendReactionRequest_Action = 1 SendReactionRequest_REMOVE SendReactionRequest_Action = 2 SendReactionRequest_SWITCH SendReactionRequest_Action = 3 ) // Enum value maps for SendReactionRequest_Action. var ( SendReactionRequest_Action_name = map[int32]string{ 0: "UNSPECIFIED", 1: "ADD", 2: "REMOVE", 3: "SWITCH", } SendReactionRequest_Action_value = map[string]int32{ "UNSPECIFIED": 0, "ADD": 1, "REMOVE": 2, "SWITCH": 3, } ) func (x SendReactionRequest_Action) Enum() *SendReactionRequest_Action { p := new(SendReactionRequest_Action) *p = x return p } func (x SendReactionRequest_Action) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (SendReactionRequest_Action) Descriptor() protoreflect.EnumDescriptor { return file_client_proto_enumTypes[5].Descriptor() } func (SendReactionRequest_Action) Type() protoreflect.EnumType { return &file_client_proto_enumTypes[5] } func (x SendReactionRequest_Action) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use SendReactionRequest_Action.Descriptor instead. func (SendReactionRequest_Action) EnumDescriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{42, 0} } type NotifyDittoActivityRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // This is not actually a boolean: after logging out, field 2 has value 2, and field 3 has value 1. Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` } func (x *NotifyDittoActivityRequest) Reset() { *x = NotifyDittoActivityRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *NotifyDittoActivityRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*NotifyDittoActivityRequest) ProtoMessage() {} func (x *NotifyDittoActivityRequest) ProtoReflect() protoreflect.Message { mi := &file_client_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 NotifyDittoActivityRequest.ProtoReflect.Descriptor instead. func (*NotifyDittoActivityRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{0} } func (x *NotifyDittoActivityRequest) GetSuccess() bool { if x != nil { return x.Success } return false } type NotifyDittoActivityResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *NotifyDittoActivityResponse) Reset() { *x = NotifyDittoActivityResponse{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[1] 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_client_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 NotifyDittoActivityResponse.ProtoReflect.Descriptor instead. func (*NotifyDittoActivityResponse) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{1} } type ReceiveMessagesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Auth *AuthMessage `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` Unknown *ReceiveMessagesRequest_UnknownEmptyObject2 `protobuf:"bytes,4,opt,name=unknown,proto3,oneof" json:"unknown,omitempty"` } func (x *ReceiveMessagesRequest) Reset() { *x = ReceiveMessagesRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ReceiveMessagesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ReceiveMessagesRequest) ProtoMessage() {} func (x *ReceiveMessagesRequest) ProtoReflect() protoreflect.Message { mi := &file_client_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 ReceiveMessagesRequest.ProtoReflect.Descriptor instead. func (*ReceiveMessagesRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{2} } func (x *ReceiveMessagesRequest) GetAuth() *AuthMessage { if x != nil { return x.Auth } return nil } func (x *ReceiveMessagesRequest) GetUnknown() *ReceiveMessagesRequest_UnknownEmptyObject2 { if x != nil { return x.Unknown } return nil } type MessageReadRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"` MessageID string `protobuf:"bytes,3,opt,name=messageID,proto3" json:"messageID,omitempty"` } func (x *MessageReadRequest) Reset() { *x = MessageReadRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MessageReadRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*MessageReadRequest) ProtoMessage() {} func (x *MessageReadRequest) ProtoReflect() protoreflect.Message { mi := &file_client_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 MessageReadRequest.ProtoReflect.Descriptor instead. func (*MessageReadRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{3} } func (x *MessageReadRequest) GetConversationID() string { if x != nil { return x.ConversationID } return "" } func (x *MessageReadRequest) GetMessageID() string { if x != nil { return x.MessageID } return "" } type AckMessageRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields AuthData *AuthMessage `protobuf:"bytes,1,opt,name=authData,proto3" json:"authData,omitempty"` EmptyArr *EmptyArr `protobuf:"bytes,2,opt,name=emptyArr,proto3" json:"emptyArr,omitempty"` Acks []*AckMessageRequest_Message `protobuf:"bytes,4,rep,name=acks,proto3" json:"acks,omitempty"` } func (x *AckMessageRequest) Reset() { *x = AckMessageRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AckMessageRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AckMessageRequest) ProtoMessage() {} func (x *AckMessageRequest) ProtoReflect() protoreflect.Message { mi := &file_client_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 AckMessageRequest.ProtoReflect.Descriptor instead. func (*AckMessageRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{4} } func (x *AckMessageRequest) GetAuthData() *AuthMessage { if x != nil { return x.AuthData } return nil } func (x *AckMessageRequest) GetEmptyArr() *EmptyArr { if x != nil { return x.EmptyArr } return nil } func (x *AckMessageRequest) GetAcks() []*AckMessageRequest_Message { if x != nil { return x.Acks } return nil } type DownloadAttachmentRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Info *AttachmentInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` AuthData *AuthMessage `protobuf:"bytes,2,opt,name=authData,proto3" json:"authData,omitempty"` } func (x *DownloadAttachmentRequest) Reset() { *x = DownloadAttachmentRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DownloadAttachmentRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DownloadAttachmentRequest) ProtoMessage() {} func (x *DownloadAttachmentRequest) ProtoReflect() protoreflect.Message { mi := &file_client_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 DownloadAttachmentRequest.ProtoReflect.Descriptor instead. func (*DownloadAttachmentRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{5} } func (x *DownloadAttachmentRequest) GetInfo() *AttachmentInfo { if x != nil { return x.Info } return nil } func (x *DownloadAttachmentRequest) GetAuthData() *AuthMessage { if x != nil { return x.AuthData } return nil } type AttachmentInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields AttachmentID string `protobuf:"bytes,1,opt,name=attachmentID,proto3" json:"attachmentID,omitempty"` Encrypted bool `protobuf:"varint,2,opt,name=encrypted,proto3" json:"encrypted,omitempty"` } func (x *AttachmentInfo) Reset() { *x = AttachmentInfo{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AttachmentInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*AttachmentInfo) ProtoMessage() {} func (x *AttachmentInfo) ProtoReflect() protoreflect.Message { mi := &file_client_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 AttachmentInfo.ProtoReflect.Descriptor instead. func (*AttachmentInfo) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{6} } func (x *AttachmentInfo) GetAttachmentID() string { if x != nil { return x.AttachmentID } return "" } func (x *AttachmentInfo) GetEncrypted() bool { if x != nil { return x.Encrypted } return false } type StartMediaUploadRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields AttachmentType int64 `protobuf:"varint,1,opt,name=attachmentType,proto3" json:"attachmentType,omitempty"` AuthData *AuthMessage `protobuf:"bytes,2,opt,name=authData,proto3" json:"authData,omitempty"` Mobile *Device `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"` } func (x *StartMediaUploadRequest) Reset() { *x = StartMediaUploadRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *StartMediaUploadRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*StartMediaUploadRequest) ProtoMessage() {} func (x *StartMediaUploadRequest) ProtoReflect() protoreflect.Message { mi := &file_client_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 StartMediaUploadRequest.ProtoReflect.Descriptor instead. func (*StartMediaUploadRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{7} } func (x *StartMediaUploadRequest) GetAttachmentType() int64 { if x != nil { return x.AttachmentType } return 0 } func (x *StartMediaUploadRequest) GetAuthData() *AuthMessage { if x != nil { return x.AuthData } return nil } func (x *StartMediaUploadRequest) GetMobile() *Device { if x != nil { return x.Mobile } return nil } type UploadMediaResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Media *UploadedMedia `protobuf:"bytes,1,opt,name=media,proto3" json:"media,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` } func (x *UploadMediaResponse) Reset() { *x = UploadMediaResponse{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UploadMediaResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UploadMediaResponse) ProtoMessage() {} func (x *UploadMediaResponse) ProtoReflect() protoreflect.Message { mi := &file_client_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 UploadMediaResponse.ProtoReflect.Descriptor instead. func (*UploadMediaResponse) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{8} } func (x *UploadMediaResponse) GetMedia() *UploadedMedia { if x != nil { return x.Media } return nil } func (x *UploadMediaResponse) GetMessage() string { if x != nil { return x.Message } return "" } type UploadedMedia struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields MediaID string `protobuf:"bytes,1,opt,name=mediaID,proto3" json:"mediaID,omitempty"` MediaNumber int64 `protobuf:"varint,2,opt,name=mediaNumber,proto3" json:"mediaNumber,omitempty"` } func (x *UploadedMedia) Reset() { *x = UploadedMedia{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UploadedMedia) String() string { return protoimpl.X.MessageStringOf(x) } func (*UploadedMedia) ProtoMessage() {} func (x *UploadedMedia) ProtoReflect() protoreflect.Message { mi := &file_client_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 UploadedMedia.ProtoReflect.Descriptor instead. func (*UploadedMedia) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{9} } func (x *UploadedMedia) GetMediaID() string { if x != nil { return x.MediaID } return "" } func (x *UploadedMedia) GetMediaNumber() int64 { if x != nil { return x.MediaNumber } return 0 } type GetThumbnailRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Identifiers []string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty"` } func (x *GetThumbnailRequest) Reset() { *x = GetThumbnailRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetThumbnailRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetThumbnailRequest) ProtoMessage() {} func (x *GetThumbnailRequest) ProtoReflect() protoreflect.Message { mi := &file_client_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 GetThumbnailRequest.ProtoReflect.Descriptor instead. func (*GetThumbnailRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{10} } func (x *GetThumbnailRequest) GetIdentifiers() []string { if x != nil { return x.Identifiers } return nil } type GetThumbnailResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Thumbnail []*GetThumbnailResponse_Thumbnail `protobuf:"bytes,1,rep,name=thumbnail,proto3" json:"thumbnail,omitempty"` } func (x *GetThumbnailResponse) Reset() { *x = GetThumbnailResponse{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetThumbnailResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetThumbnailResponse) ProtoMessage() {} func (x *GetThumbnailResponse) ProtoReflect() protoreflect.Message { mi := &file_client_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 GetThumbnailResponse.ProtoReflect.Descriptor instead. func (*GetThumbnailResponse) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{11} } func (x *GetThumbnailResponse) GetThumbnail() []*GetThumbnailResponse_Thumbnail { if x != nil { return x.Thumbnail } return nil } type ThumbnailData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // 2 -> 13: 16 mysterious bytes ImageBuffer []byte `protobuf:"bytes,3,opt,name=imageBuffer,proto3" json:"imageBuffer,omitempty"` SomeInt int32 `protobuf:"varint,4,opt,name=someInt,proto3" json:"someInt,omitempty"` Dimensions *Dimensions `protobuf:"bytes,5,opt,name=dimensions,proto3" json:"dimensions,omitempty"` MysteriousData *ThumbnailData_MysteriousData `protobuf:"bytes,2,opt,name=mysteriousData,proto3" json:"mysteriousData,omitempty"` } func (x *ThumbnailData) Reset() { *x = ThumbnailData{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[12] 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_client_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 ThumbnailData.ProtoReflect.Descriptor instead. func (*ThumbnailData) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{12} } 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) GetDimensions() *Dimensions { if x != nil { return x.Dimensions } return nil } func (x *ThumbnailData) GetMysteriousData() *ThumbnailData_MysteriousData { if x != nil { return x.MysteriousData } return nil } type Cursor struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields LastItemID string `protobuf:"bytes,1,opt,name=lastItemID,proto3" json:"lastItemID,omitempty"` LastItemTimestamp int64 `protobuf:"varint,2,opt,name=lastItemTimestamp,proto3" json:"lastItemTimestamp,omitempty"` } func (x *Cursor) Reset() { *x = Cursor{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Cursor) String() string { return protoimpl.X.MessageStringOf(x) } func (*Cursor) ProtoMessage() {} func (x *Cursor) ProtoReflect() protoreflect.Message { mi := &file_client_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 Cursor.ProtoReflect.Descriptor instead. func (*Cursor) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{13} } func (x *Cursor) GetLastItemID() string { if x != nil { return x.LastItemID } return "" } func (x *Cursor) GetLastItemTimestamp() int64 { if x != nil { return x.LastItemTimestamp } return 0 } type ListMessagesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"` Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Cursor *Cursor `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"` } func (x *ListMessagesRequest) Reset() { *x = ListMessagesRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListMessagesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListMessagesRequest) ProtoMessage() {} func (x *ListMessagesRequest) ProtoReflect() protoreflect.Message { mi := &file_client_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 ListMessagesRequest.ProtoReflect.Descriptor instead. func (*ListMessagesRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{14} } func (x *ListMessagesRequest) GetConversationID() string { if x != nil { return x.ConversationID } return "" } func (x *ListMessagesRequest) GetCount() int64 { if x != nil { return x.Count } return 0 } func (x *ListMessagesRequest) GetCursor() *Cursor { if x != nil { return x.Cursor } return nil } type ListMessagesResponse 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 *ListMessagesResponse) Reset() { *x = ListMessagesResponse{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListMessagesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListMessagesResponse) ProtoMessage() {} func (x *ListMessagesResponse) ProtoReflect() protoreflect.Message { mi := &file_client_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 ListMessagesResponse.ProtoReflect.Descriptor instead. func (*ListMessagesResponse) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{15} } func (x *ListMessagesResponse) GetMessages() []*Message { if x != nil { return x.Messages } return nil } func (x *ListMessagesResponse) GetSomeBytes() []byte { if x != nil { return x.SomeBytes } return nil } func (x *ListMessagesResponse) GetTotalMessages() int64 { if x != nil { return x.TotalMessages } return 0 } func (x *ListMessagesResponse) GetCursor() *Cursor { if x != nil { return x.Cursor } return nil } type ListContactsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields I1 int32 `protobuf:"varint,5,opt,name=i1,proto3" json:"i1,omitempty"` // = 1 I2 int32 `protobuf:"varint,6,opt,name=i2,proto3" json:"i2,omitempty"` // = 350 I3 int32 `protobuf:"varint,7,opt,name=i3,proto3" json:"i3,omitempty"` // = 50 } func (x *ListContactsRequest) Reset() { *x = ListContactsRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListContactsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListContactsRequest) ProtoMessage() {} func (x *ListContactsRequest) ProtoReflect() protoreflect.Message { mi := &file_client_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 ListContactsRequest.ProtoReflect.Descriptor instead. func (*ListContactsRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{16} } func (x *ListContactsRequest) GetI1() int32 { if x != nil { return x.I1 } return 0 } func (x *ListContactsRequest) GetI2() int32 { if x != nil { return x.I2 } return 0 } func (x *ListContactsRequest) GetI3() int32 { if x != nil { return x.I3 } return 0 } type ListTopContactsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` } func (x *ListTopContactsRequest) Reset() { *x = ListTopContactsRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListTopContactsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListTopContactsRequest) ProtoMessage() {} func (x *ListTopContactsRequest) ProtoReflect() protoreflect.Message { mi := &file_client_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 ListTopContactsRequest.ProtoReflect.Descriptor instead. func (*ListTopContactsRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{17} } func (x *ListTopContactsRequest) GetCount() int32 { if x != nil { return x.Count } return 0 } 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_client_proto_msgTypes[18] 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_client_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 ListContactsResponse.ProtoReflect.Descriptor instead. func (*ListContactsResponse) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{18} } 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_client_proto_msgTypes[19] 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_client_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 ListTopContactsResponse.ProtoReflect.Descriptor instead. func (*ListTopContactsResponse) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{19} } func (x *ListTopContactsResponse) GetContacts() []*Contact { if x != nil { return x.Contacts } return nil } type ListConversationsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Folder ListConversationsRequest_Folder `protobuf:"varint,4,opt,name=folder,proto3,enum=client.ListConversationsRequest_Folder" json:"folder,omitempty"` Cursor *Cursor `protobuf:"bytes,5,opt,name=cursor,proto3,oneof" json:"cursor,omitempty"` } func (x *ListConversationsRequest) Reset() { *x = ListConversationsRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListConversationsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListConversationsRequest) ProtoMessage() {} func (x *ListConversationsRequest) ProtoReflect() protoreflect.Message { mi := &file_client_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 ListConversationsRequest.ProtoReflect.Descriptor instead. func (*ListConversationsRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{20} } func (x *ListConversationsRequest) GetCount() int64 { if x != nil { return x.Count } return 0 } func (x *ListConversationsRequest) GetFolder() ListConversationsRequest_Folder { if x != nil { return x.Folder } return ListConversationsRequest_UNKNOWN } func (x *ListConversationsRequest) GetCursor() *Cursor { if x != nil { return x.Cursor } return nil } type ListConversationsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations,proto3" json:"conversations,omitempty"` CursorBytes []byte `protobuf:"bytes,3,opt,name=cursorBytes,proto3,oneof" json:"cursorBytes,omitempty"` Cursor *Cursor `protobuf:"bytes,5,opt,name=cursor,proto3,oneof" json:"cursor,omitempty"` } func (x *ListConversationsResponse) Reset() { *x = ListConversationsResponse{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListConversationsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListConversationsResponse) ProtoMessage() {} func (x *ListConversationsResponse) ProtoReflect() protoreflect.Message { mi := &file_client_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 ListConversationsResponse.ProtoReflect.Descriptor instead. func (*ListConversationsResponse) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{21} } func (x *ListConversationsResponse) GetConversations() []*Conversation { if x != nil { return x.Conversations } return nil } func (x *ListConversationsResponse) GetCursorBytes() []byte { if x != nil { return x.CursorBytes } return nil } func (x *ListConversationsResponse) GetCursor() *Cursor { if x != nil { return x.Cursor } return nil } type GetOrCreateConversationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Numbers []*ContactNumber `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` RCSGroupName *string `protobuf:"bytes,3,opt,name=RCSGroupName,proto3,oneof" json:"RCSGroupName,omitempty"` CreateRCSGroup *bool `protobuf:"varint,4,opt,name=createRCSGroup,proto3,oneof" json:"createRCSGroup,omitempty"` } func (x *GetOrCreateConversationRequest) Reset() { *x = GetOrCreateConversationRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetOrCreateConversationRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetOrCreateConversationRequest) ProtoMessage() {} func (x *GetOrCreateConversationRequest) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[22] 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 GetOrCreateConversationRequest.ProtoReflect.Descriptor instead. func (*GetOrCreateConversationRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{22} } func (x *GetOrCreateConversationRequest) GetNumbers() []*ContactNumber { if x != nil { return x.Numbers } return nil } func (x *GetOrCreateConversationRequest) GetRCSGroupName() string { if x != nil && x.RCSGroupName != nil { return *x.RCSGroupName } return "" } func (x *GetOrCreateConversationRequest) GetCreateRCSGroup() bool { if x != nil && x.CreateRCSGroup != nil { return *x.CreateRCSGroup } return false } 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=client.GetOrCreateConversationResponse_Status" json:"status,omitempty"` } func (x *GetOrCreateConversationResponse) Reset() { *x = GetOrCreateConversationResponse{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[23] 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_client_proto_msgTypes[23] 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_client_proto_rawDescGZIP(), []int{23} } 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 DeleteMessageRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields MessageID string `protobuf:"bytes,2,opt,name=messageID,proto3" json:"messageID,omitempty"` } func (x *DeleteMessageRequest) Reset() { *x = DeleteMessageRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteMessageRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteMessageRequest) ProtoMessage() {} func (x *DeleteMessageRequest) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[24] 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 DeleteMessageRequest.ProtoReflect.Descriptor instead. func (*DeleteMessageRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{24} } func (x *DeleteMessageRequest) GetMessageID() string { if x != nil { return x.MessageID } return "" } 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_client_proto_msgTypes[25] 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_client_proto_msgTypes[25] 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_client_proto_rawDescGZIP(), []int{25} } func (x *DeleteMessageResponse) GetSuccess() bool { if x != nil { return x.Success } return false } type UpdateConversationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Data *UpdateConversationData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Action ConversationActionStatus `protobuf:"varint,2,opt,name=action,proto3,enum=client.ConversationActionStatus" json:"action,omitempty"` ConversationID string `protobuf:"bytes,3,opt,name=conversationID,proto3" json:"conversationID,omitempty"` Action5 *ConversationAction5 `protobuf:"bytes,5,opt,name=action5,proto3" json:"action5,omitempty"` } func (x *UpdateConversationRequest) Reset() { *x = UpdateConversationRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateConversationRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateConversationRequest) ProtoMessage() {} func (x *UpdateConversationRequest) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[26] 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 UpdateConversationRequest.ProtoReflect.Descriptor instead. func (*UpdateConversationRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{26} } func (x *UpdateConversationRequest) GetData() *UpdateConversationData { if x != nil { return x.Data } return nil } func (x *UpdateConversationRequest) GetAction() ConversationActionStatus { if x != nil { return x.Action } return ConversationActionStatus_UNKNOWN_ACTION_STATUS } func (x *UpdateConversationRequest) GetConversationID() string { if x != nil { return x.ConversationID } return "" } func (x *UpdateConversationRequest) GetAction5() *ConversationAction5 { if x != nil { return x.Action5 } return nil } type ConversationAction5 struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Field2 bool `protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty"` } func (x *ConversationAction5) Reset() { *x = ConversationAction5{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ConversationAction5) String() string { return protoimpl.X.MessageStringOf(x) } func (*ConversationAction5) ProtoMessage() {} func (x *ConversationAction5) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[27] 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 ConversationAction5.ProtoReflect.Descriptor instead. func (*ConversationAction5) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{27} } func (x *ConversationAction5) GetField2() bool { if x != nil { return x.Field2 } return false } type UpdateConversationData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"` // Types that are assignable to Data: // // *UpdateConversationData_Status // *UpdateConversationData_Mute Data isUpdateConversationData_Data `protobuf_oneof:"data"` } func (x *UpdateConversationData) Reset() { *x = UpdateConversationData{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateConversationData) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateConversationData) ProtoMessage() {} func (x *UpdateConversationData) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[28] 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 UpdateConversationData.ProtoReflect.Descriptor instead. func (*UpdateConversationData) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{28} } func (x *UpdateConversationData) GetConversationID() string { if x != nil { return x.ConversationID } return "" } func (m *UpdateConversationData) GetData() isUpdateConversationData_Data { if m != nil { return m.Data } return nil } func (x *UpdateConversationData) GetStatus() ConversationStatus { if x, ok := x.GetData().(*UpdateConversationData_Status); ok { return x.Status } return ConversationStatus_UNKNOWN_CONVERSATION_STATUS } func (x *UpdateConversationData) GetMute() ConversationMuteStatus { if x, ok := x.GetData().(*UpdateConversationData_Mute); ok { return x.Mute } return ConversationMuteStatus_UNMUTE } type isUpdateConversationData_Data interface { isUpdateConversationData_Data() } type UpdateConversationData_Status struct { Status ConversationStatus `protobuf:"varint,12,opt,name=status,proto3,enum=conversations.ConversationStatus,oneof"` } type UpdateConversationData_Mute struct { Mute ConversationMuteStatus `protobuf:"varint,7,opt,name=mute,proto3,enum=client.ConversationMuteStatus,oneof"` } func (*UpdateConversationData_Status) isUpdateConversationData_Data() {} func (*UpdateConversationData_Mute) isUpdateConversationData_Data() {} 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_client_proto_msgTypes[29] 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_client_proto_msgTypes[29] 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_client_proto_rawDescGZIP(), []int{29} } func (x *UpdateConversationResponse) GetSuccess() bool { if x != nil { return x.Success } return false } type GetConversationTypeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"` } func (x *GetConversationTypeRequest) Reset() { *x = GetConversationTypeRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetConversationTypeRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetConversationTypeRequest) ProtoMessage() {} func (x *GetConversationTypeRequest) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[30] 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 GetConversationTypeRequest.ProtoReflect.Descriptor instead. func (*GetConversationTypeRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{30} } func (x *GetConversationTypeRequest) GetConversationID() string { if x != nil { return x.ConversationID } return "" } 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_client_proto_msgTypes[31] 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_client_proto_msgTypes[31] 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_client_proto_rawDescGZIP(), []int{31} } 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 GetConversationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"` } func (x *GetConversationRequest) Reset() { *x = GetConversationRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetConversationRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetConversationRequest) ProtoMessage() {} func (x *GetConversationRequest) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[32] 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 GetConversationRequest.ProtoReflect.Descriptor instead. func (*GetConversationRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{32} } func (x *GetConversationRequest) GetConversationID() string { if x != nil { return x.ConversationID } return "" } type GetConversationResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"` } func (x *GetConversationResponse) Reset() { *x = GetConversationResponse{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetConversationResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetConversationResponse) ProtoMessage() {} func (x *GetConversationResponse) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[33] 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 GetConversationResponse.ProtoReflect.Descriptor instead. func (*GetConversationResponse) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{33} } func (x *GetConversationResponse) GetConversation() *Conversation { if x != nil { return x.Conversation } return nil } type OpenConversationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"` } func (x *OpenConversationRequest) Reset() { *x = OpenConversationRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *OpenConversationRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*OpenConversationRequest) ProtoMessage() {} func (x *OpenConversationRequest) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[34] 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 OpenConversationRequest.ProtoReflect.Descriptor instead. func (*OpenConversationRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{34} } func (x *OpenConversationRequest) GetConversationID() string { if x != nil { return x.ConversationID } return "" } type PrepareOpenConversationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Field2 int64 `protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty"` // only seen value 1 } func (x *PrepareOpenConversationRequest) Reset() { *x = PrepareOpenConversationRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PrepareOpenConversationRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*PrepareOpenConversationRequest) ProtoMessage() {} func (x *PrepareOpenConversationRequest) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[35] 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 PrepareOpenConversationRequest.ProtoReflect.Descriptor instead. func (*PrepareOpenConversationRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{35} } func (x *PrepareOpenConversationRequest) GetField2() int64 { if x != nil { return x.Field2 } return 0 } 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_client_proto_msgTypes[36] 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_client_proto_msgTypes[36] 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_client_proto_rawDescGZIP(), []int{36} } func (x *IsBugleDefaultResponse) GetSuccess() bool { if x != nil { return x.Success } return false } type SendMessageRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"` MessagePayload *MessagePayload `protobuf:"bytes,3,opt,name=messagePayload,proto3" json:"messagePayload,omitempty"` SIMPayload *SIMPayload `protobuf:"bytes,4,opt,name=SIMPayload,proto3" json:"SIMPayload,omitempty"` TmpID string `protobuf:"bytes,5,opt,name=tmpID,proto3" json:"tmpID,omitempty"` IsReply bool `protobuf:"varint,6,opt,name=isReply,proto3" json:"isReply,omitempty"` // not sure Reply *ReplyPayload `protobuf:"bytes,8,opt,name=reply,proto3" json:"reply,omitempty"` } func (x *SendMessageRequest) Reset() { *x = SendMessageRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SendMessageRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SendMessageRequest) ProtoMessage() {} func (x *SendMessageRequest) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[37] 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 SendMessageRequest.ProtoReflect.Descriptor instead. func (*SendMessageRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{37} } func (x *SendMessageRequest) GetConversationID() string { if x != nil { return x.ConversationID } return "" } func (x *SendMessageRequest) GetMessagePayload() *MessagePayload { if x != nil { return x.MessagePayload } return nil } func (x *SendMessageRequest) GetSIMPayload() *SIMPayload { if x != nil { return x.SIMPayload } return nil } func (x *SendMessageRequest) GetTmpID() string { if x != nil { return x.TmpID } return "" } func (x *SendMessageRequest) GetIsReply() bool { if x != nil { return x.IsReply } return false } func (x *SendMessageRequest) GetReply() *ReplyPayload { if x != nil { return x.Reply } return nil } type ReplyPayload struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields MessageID string `protobuf:"bytes,1,opt,name=messageID,proto3" json:"messageID,omitempty"` } func (x *ReplyPayload) Reset() { *x = ReplyPayload{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ReplyPayload) String() string { return protoimpl.X.MessageStringOf(x) } func (*ReplyPayload) ProtoMessage() {} func (x *ReplyPayload) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[38] 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 ReplyPayload.ProtoReflect.Descriptor instead. func (*ReplyPayload) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{38} } func (x *ReplyPayload) GetMessageID() string { if x != nil { return x.MessageID } return "" } type MessagePayload struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TmpID string `protobuf:"bytes,1,opt,name=tmpID,proto3" json:"tmpID,omitempty"` MessagePayloadContent *MessagePayloadContent `protobuf:"bytes,6,opt,name=messagePayloadContent,proto3" json:"messagePayloadContent,omitempty"` ConversationID string `protobuf:"bytes,7,opt,name=conversationID,proto3" json:"conversationID,omitempty"` ParticipantID string `protobuf:"bytes,9,opt,name=participantID,proto3" json:"participantID,omitempty"` MessageInfo []*MessageInfo `protobuf:"bytes,10,rep,name=messageInfo,proto3" json:"messageInfo,omitempty"` TmpID2 string `protobuf:"bytes,12,opt,name=tmpID2,proto3" json:"tmpID2,omitempty"` } func (x *MessagePayload) Reset() { *x = MessagePayload{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MessagePayload) String() string { return protoimpl.X.MessageStringOf(x) } func (*MessagePayload) ProtoMessage() {} func (x *MessagePayload) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[39] 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 MessagePayload.ProtoReflect.Descriptor instead. func (*MessagePayload) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{39} } func (x *MessagePayload) GetTmpID() string { if x != nil { return x.TmpID } return "" } func (x *MessagePayload) GetMessagePayloadContent() *MessagePayloadContent { if x != nil { return x.MessagePayloadContent } return nil } func (x *MessagePayload) GetConversationID() string { if x != nil { return x.ConversationID } return "" } func (x *MessagePayload) GetParticipantID() string { if x != nil { return x.ParticipantID } return "" } func (x *MessagePayload) GetMessageInfo() []*MessageInfo { if x != nil { return x.MessageInfo } return nil } func (x *MessagePayload) GetTmpID2() string { if x != nil { return x.TmpID2 } return "" } type MessagePayloadContent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields MessageContent *MessageContent `protobuf:"bytes,1,opt,name=messageContent,proto3" json:"messageContent,omitempty"` } func (x *MessagePayloadContent) Reset() { *x = MessagePayloadContent{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MessagePayloadContent) String() string { return protoimpl.X.MessageStringOf(x) } func (*MessagePayloadContent) ProtoMessage() {} func (x *MessagePayloadContent) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[40] 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 MessagePayloadContent.ProtoReflect.Descriptor instead. func (*MessagePayloadContent) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{40} } func (x *MessagePayloadContent) GetMessageContent() *MessageContent { if x != nil { return x.MessageContent } return nil } type SendMessageResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Status SendMessageResponse_Status `protobuf:"varint,3,opt,name=status,proto3,enum=client.SendMessageResponse_Status" json:"status,omitempty"` } func (x *SendMessageResponse) Reset() { *x = SendMessageResponse{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[41] 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_client_proto_msgTypes[41] 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_client_proto_rawDescGZIP(), []int{41} } func (x *SendMessageResponse) GetStatus() SendMessageResponse_Status { if x != nil { return x.Status } return SendMessageResponse_UNKNOWN } type SendReactionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields MessageID string `protobuf:"bytes,1,opt,name=messageID,proto3" json:"messageID,omitempty"` ReactionData *ReactionData `protobuf:"bytes,2,opt,name=reactionData,proto3" json:"reactionData,omitempty"` Action SendReactionRequest_Action `protobuf:"varint,3,opt,name=action,proto3,enum=client.SendReactionRequest_Action" json:"action,omitempty"` } func (x *SendReactionRequest) Reset() { *x = SendReactionRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SendReactionRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SendReactionRequest) ProtoMessage() {} func (x *SendReactionRequest) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[42] 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 SendReactionRequest.ProtoReflect.Descriptor instead. func (*SendReactionRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{42} } func (x *SendReactionRequest) GetMessageID() string { if x != nil { return x.MessageID } return "" } func (x *SendReactionRequest) GetReactionData() *ReactionData { if x != nil { return x.ReactionData } return nil } func (x *SendReactionRequest) GetAction() SendReactionRequest_Action { if x != nil { return x.Action } return SendReactionRequest_UNSPECIFIED } type SendReactionResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` } func (x *SendReactionResponse) Reset() { *x = SendReactionResponse{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SendReactionResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SendReactionResponse) ProtoMessage() {} func (x *SendReactionResponse) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[43] 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 SendReactionResponse.ProtoReflect.Descriptor instead. func (*SendReactionResponse) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{43} } func (x *SendReactionResponse) GetSuccess() bool { if x != nil { return x.Success } return false } type ResendMessageRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields MessageID string `protobuf:"bytes,2,opt,name=messageID,proto3" json:"messageID,omitempty"` } func (x *ResendMessageRequest) Reset() { *x = ResendMessageRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ResendMessageRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ResendMessageRequest) ProtoMessage() {} func (x *ResendMessageRequest) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[44] 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 ResendMessageRequest.ProtoReflect.Descriptor instead. func (*ResendMessageRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{44} } func (x *ResendMessageRequest) GetMessageID() string { if x != nil { return x.MessageID } return "" } type TypingUpdateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Data *TypingUpdateRequest_Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` } func (x *TypingUpdateRequest) Reset() { *x = TypingUpdateRequest{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *TypingUpdateRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*TypingUpdateRequest) ProtoMessage() {} func (x *TypingUpdateRequest) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[45] 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 TypingUpdateRequest.ProtoReflect.Descriptor instead. func (*TypingUpdateRequest) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{45} } func (x *TypingUpdateRequest) GetData() *TypingUpdateRequest_Data { if x != nil { return x.Data } return nil } type ReceiveMessagesRequest_UnknownEmptyObject1 struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *ReceiveMessagesRequest_UnknownEmptyObject1) Reset() { *x = ReceiveMessagesRequest_UnknownEmptyObject1{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ReceiveMessagesRequest_UnknownEmptyObject1) String() string { return protoimpl.X.MessageStringOf(x) } func (*ReceiveMessagesRequest_UnknownEmptyObject1) ProtoMessage() {} func (x *ReceiveMessagesRequest_UnknownEmptyObject1) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[46] 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 ReceiveMessagesRequest_UnknownEmptyObject1.ProtoReflect.Descriptor instead. func (*ReceiveMessagesRequest_UnknownEmptyObject1) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{2, 0} } type ReceiveMessagesRequest_UnknownEmptyObject2 struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Unknown *ReceiveMessagesRequest_UnknownEmptyObject1 `protobuf:"bytes,2,opt,name=unknown,proto3" json:"unknown,omitempty"` } func (x *ReceiveMessagesRequest_UnknownEmptyObject2) Reset() { *x = ReceiveMessagesRequest_UnknownEmptyObject2{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ReceiveMessagesRequest_UnknownEmptyObject2) String() string { return protoimpl.X.MessageStringOf(x) } func (*ReceiveMessagesRequest_UnknownEmptyObject2) ProtoMessage() {} func (x *ReceiveMessagesRequest_UnknownEmptyObject2) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[47] 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 ReceiveMessagesRequest_UnknownEmptyObject2.ProtoReflect.Descriptor instead. func (*ReceiveMessagesRequest_UnknownEmptyObject2) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{2, 1} } func (x *ReceiveMessagesRequest_UnknownEmptyObject2) GetUnknown() *ReceiveMessagesRequest_UnknownEmptyObject1 { if x != nil { return x.Unknown } return nil } type AckMessageRequest_Message struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RequestID string `protobuf:"bytes,1,opt,name=requestID,proto3" json:"requestID,omitempty"` Device *Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` } func (x *AckMessageRequest_Message) Reset() { *x = AckMessageRequest_Message{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AckMessageRequest_Message) String() string { return protoimpl.X.MessageStringOf(x) } func (*AckMessageRequest_Message) ProtoMessage() {} func (x *AckMessageRequest_Message) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[48] 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 AckMessageRequest_Message.ProtoReflect.Descriptor instead. func (*AckMessageRequest_Message) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{4, 0} } func (x *AckMessageRequest_Message) GetRequestID() string { if x != nil { return x.RequestID } return "" } func (x *AckMessageRequest_Message) GetDevice() *Device { if x != nil { return x.Device } return nil } type GetThumbnailResponse_Thumbnail struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // ID depends on request, it's always the same as the input. Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` Data *ThumbnailData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` } func (x *GetThumbnailResponse_Thumbnail) Reset() { *x = GetThumbnailResponse_Thumbnail{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetThumbnailResponse_Thumbnail) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetThumbnailResponse_Thumbnail) ProtoMessage() {} func (x *GetThumbnailResponse_Thumbnail) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[49] 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 GetThumbnailResponse_Thumbnail.ProtoReflect.Descriptor instead. func (*GetThumbnailResponse_Thumbnail) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{11, 0} } func (x *GetThumbnailResponse_Thumbnail) GetIdentifier() string { if x != nil { return x.Identifier } return "" } func (x *GetThumbnailResponse_Thumbnail) GetData() *ThumbnailData { if x != nil { return x.Data } return nil } type ThumbnailData_MysteriousData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields MaybeAHash uint64 `protobuf:"fixed64,13,opt,name=maybeAHash,proto3" json:"maybeAHash,omitempty"` } func (x *ThumbnailData_MysteriousData) Reset() { *x = ThumbnailData_MysteriousData{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ThumbnailData_MysteriousData) String() string { return protoimpl.X.MessageStringOf(x) } func (*ThumbnailData_MysteriousData) ProtoMessage() {} func (x *ThumbnailData_MysteriousData) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[50] 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_MysteriousData.ProtoReflect.Descriptor instead. func (*ThumbnailData_MysteriousData) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{12, 0} } func (x *ThumbnailData_MysteriousData) GetMaybeAHash() uint64 { if x != nil { return x.MaybeAHash } return 0 } type TypingUpdateRequest_Data struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"` Typing bool `protobuf:"varint,3,opt,name=typing,proto3" json:"typing,omitempty"` } func (x *TypingUpdateRequest_Data) Reset() { *x = TypingUpdateRequest_Data{} if protoimpl.UnsafeEnabled { mi := &file_client_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *TypingUpdateRequest_Data) String() string { return protoimpl.X.MessageStringOf(x) } func (*TypingUpdateRequest_Data) ProtoMessage() {} func (x *TypingUpdateRequest_Data) ProtoReflect() protoreflect.Message { mi := &file_client_proto_msgTypes[51] 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 TypingUpdateRequest_Data.ProtoReflect.Descriptor instead. func (*TypingUpdateRequest_Data) Descriptor() ([]byte, []int) { return file_client_proto_rawDescGZIP(), []int{45, 0} } func (x *TypingUpdateRequest_Data) GetConversationID() string { if x != nil { return x.ConversationID } return "" } func (x *TypingUpdateRequest_Data) GetTyping() bool { if x != nil { return x.Typing } return false } var File_client_proto protoreflect.FileDescriptor //go:embed client.pb.raw var file_client_proto_rawDesc []byte var ( file_client_proto_rawDescOnce sync.Once file_client_proto_rawDescData = file_client_proto_rawDesc ) func file_client_proto_rawDescGZIP() []byte { file_client_proto_rawDescOnce.Do(func() { file_client_proto_rawDescData = protoimpl.X.CompressGZIP(file_client_proto_rawDescData) }) return file_client_proto_rawDescData } var file_client_proto_enumTypes = make([]protoimpl.EnumInfo, 6) var file_client_proto_msgTypes = make([]protoimpl.MessageInfo, 52) var file_client_proto_goTypes = []interface{}{ (ConversationActionStatus)(0), // 0: client.ConversationActionStatus (ConversationMuteStatus)(0), // 1: client.ConversationMuteStatus (ListConversationsRequest_Folder)(0), // 2: client.ListConversationsRequest.Folder (GetOrCreateConversationResponse_Status)(0), // 3: client.GetOrCreateConversationResponse.Status (SendMessageResponse_Status)(0), // 4: client.SendMessageResponse.Status (SendReactionRequest_Action)(0), // 5: client.SendReactionRequest.Action (*NotifyDittoActivityRequest)(nil), // 6: client.NotifyDittoActivityRequest (*NotifyDittoActivityResponse)(nil), // 7: client.NotifyDittoActivityResponse (*ReceiveMessagesRequest)(nil), // 8: client.ReceiveMessagesRequest (*MessageReadRequest)(nil), // 9: client.MessageReadRequest (*AckMessageRequest)(nil), // 10: client.AckMessageRequest (*DownloadAttachmentRequest)(nil), // 11: client.DownloadAttachmentRequest (*AttachmentInfo)(nil), // 12: client.AttachmentInfo (*StartMediaUploadRequest)(nil), // 13: client.StartMediaUploadRequest (*UploadMediaResponse)(nil), // 14: client.UploadMediaResponse (*UploadedMedia)(nil), // 15: client.UploadedMedia (*GetThumbnailRequest)(nil), // 16: client.GetThumbnailRequest (*GetThumbnailResponse)(nil), // 17: client.GetThumbnailResponse (*ThumbnailData)(nil), // 18: client.ThumbnailData (*Cursor)(nil), // 19: client.Cursor (*ListMessagesRequest)(nil), // 20: client.ListMessagesRequest (*ListMessagesResponse)(nil), // 21: client.ListMessagesResponse (*ListContactsRequest)(nil), // 22: client.ListContactsRequest (*ListTopContactsRequest)(nil), // 23: client.ListTopContactsRequest (*ListContactsResponse)(nil), // 24: client.ListContactsResponse (*ListTopContactsResponse)(nil), // 25: client.ListTopContactsResponse (*ListConversationsRequest)(nil), // 26: client.ListConversationsRequest (*ListConversationsResponse)(nil), // 27: client.ListConversationsResponse (*GetOrCreateConversationRequest)(nil), // 28: client.GetOrCreateConversationRequest (*GetOrCreateConversationResponse)(nil), // 29: client.GetOrCreateConversationResponse (*DeleteMessageRequest)(nil), // 30: client.DeleteMessageRequest (*DeleteMessageResponse)(nil), // 31: client.DeleteMessageResponse (*UpdateConversationRequest)(nil), // 32: client.UpdateConversationRequest (*ConversationAction5)(nil), // 33: client.ConversationAction5 (*UpdateConversationData)(nil), // 34: client.UpdateConversationData (*UpdateConversationResponse)(nil), // 35: client.UpdateConversationResponse (*GetConversationTypeRequest)(nil), // 36: client.GetConversationTypeRequest (*GetConversationTypeResponse)(nil), // 37: client.GetConversationTypeResponse (*GetConversationRequest)(nil), // 38: client.GetConversationRequest (*GetConversationResponse)(nil), // 39: client.GetConversationResponse (*OpenConversationRequest)(nil), // 40: client.OpenConversationRequest (*PrepareOpenConversationRequest)(nil), // 41: client.PrepareOpenConversationRequest (*IsBugleDefaultResponse)(nil), // 42: client.IsBugleDefaultResponse (*SendMessageRequest)(nil), // 43: client.SendMessageRequest (*ReplyPayload)(nil), // 44: client.ReplyPayload (*MessagePayload)(nil), // 45: client.MessagePayload (*MessagePayloadContent)(nil), // 46: client.MessagePayloadContent (*SendMessageResponse)(nil), // 47: client.SendMessageResponse (*SendReactionRequest)(nil), // 48: client.SendReactionRequest (*SendReactionResponse)(nil), // 49: client.SendReactionResponse (*ResendMessageRequest)(nil), // 50: client.ResendMessageRequest (*TypingUpdateRequest)(nil), // 51: client.TypingUpdateRequest (*ReceiveMessagesRequest_UnknownEmptyObject1)(nil), // 52: client.ReceiveMessagesRequest.UnknownEmptyObject1 (*ReceiveMessagesRequest_UnknownEmptyObject2)(nil), // 53: client.ReceiveMessagesRequest.UnknownEmptyObject2 (*AckMessageRequest_Message)(nil), // 54: client.AckMessageRequest.Message (*GetThumbnailResponse_Thumbnail)(nil), // 55: client.GetThumbnailResponse.Thumbnail (*ThumbnailData_MysteriousData)(nil), // 56: client.ThumbnailData.MysteriousData (*TypingUpdateRequest_Data)(nil), // 57: client.TypingUpdateRequest.Data (*AuthMessage)(nil), // 58: authentication.AuthMessage (*EmptyArr)(nil), // 59: util.EmptyArr (*Device)(nil), // 60: authentication.Device (*Dimensions)(nil), // 61: conversations.Dimensions (*Message)(nil), // 62: conversations.Message (*Contact)(nil), // 63: conversations.Contact (*Conversation)(nil), // 64: conversations.Conversation (*ContactNumber)(nil), // 65: conversations.ContactNumber (ConversationStatus)(0), // 66: conversations.ConversationStatus (*SIMPayload)(nil), // 67: settings.SIMPayload (*MessageInfo)(nil), // 68: conversations.MessageInfo (*MessageContent)(nil), // 69: conversations.MessageContent (*ReactionData)(nil), // 70: conversations.ReactionData } var file_client_proto_depIdxs = []int32{ 58, // 0: client.ReceiveMessagesRequest.auth:type_name -> authentication.AuthMessage 53, // 1: client.ReceiveMessagesRequest.unknown:type_name -> client.ReceiveMessagesRequest.UnknownEmptyObject2 58, // 2: client.AckMessageRequest.authData:type_name -> authentication.AuthMessage 59, // 3: client.AckMessageRequest.emptyArr:type_name -> util.EmptyArr 54, // 4: client.AckMessageRequest.acks:type_name -> client.AckMessageRequest.Message 12, // 5: client.DownloadAttachmentRequest.info:type_name -> client.AttachmentInfo 58, // 6: client.DownloadAttachmentRequest.authData:type_name -> authentication.AuthMessage 58, // 7: client.StartMediaUploadRequest.authData:type_name -> authentication.AuthMessage 60, // 8: client.StartMediaUploadRequest.mobile:type_name -> authentication.Device 15, // 9: client.UploadMediaResponse.media:type_name -> client.UploadedMedia 55, // 10: client.GetThumbnailResponse.thumbnail:type_name -> client.GetThumbnailResponse.Thumbnail 61, // 11: client.ThumbnailData.dimensions:type_name -> conversations.Dimensions 56, // 12: client.ThumbnailData.mysteriousData:type_name -> client.ThumbnailData.MysteriousData 19, // 13: client.ListMessagesRequest.cursor:type_name -> client.Cursor 62, // 14: client.ListMessagesResponse.messages:type_name -> conversations.Message 19, // 15: client.ListMessagesResponse.cursor:type_name -> client.Cursor 63, // 16: client.ListContactsResponse.contacts:type_name -> conversations.Contact 63, // 17: client.ListTopContactsResponse.contacts:type_name -> conversations.Contact 2, // 18: client.ListConversationsRequest.folder:type_name -> client.ListConversationsRequest.Folder 19, // 19: client.ListConversationsRequest.cursor:type_name -> client.Cursor 64, // 20: client.ListConversationsResponse.conversations:type_name -> conversations.Conversation 19, // 21: client.ListConversationsResponse.cursor:type_name -> client.Cursor 65, // 22: client.GetOrCreateConversationRequest.numbers:type_name -> conversations.ContactNumber 64, // 23: client.GetOrCreateConversationResponse.conversation:type_name -> conversations.Conversation 3, // 24: client.GetOrCreateConversationResponse.status:type_name -> client.GetOrCreateConversationResponse.Status 34, // 25: client.UpdateConversationRequest.data:type_name -> client.UpdateConversationData 0, // 26: client.UpdateConversationRequest.action:type_name -> client.ConversationActionStatus 33, // 27: client.UpdateConversationRequest.action5:type_name -> client.ConversationAction5 66, // 28: client.UpdateConversationData.status:type_name -> conversations.ConversationStatus 1, // 29: client.UpdateConversationData.mute:type_name -> client.ConversationMuteStatus 64, // 30: client.GetConversationResponse.conversation:type_name -> conversations.Conversation 45, // 31: client.SendMessageRequest.messagePayload:type_name -> client.MessagePayload 67, // 32: client.SendMessageRequest.SIMPayload:type_name -> settings.SIMPayload 44, // 33: client.SendMessageRequest.reply:type_name -> client.ReplyPayload 46, // 34: client.MessagePayload.messagePayloadContent:type_name -> client.MessagePayloadContent 68, // 35: client.MessagePayload.messageInfo:type_name -> conversations.MessageInfo 69, // 36: client.MessagePayloadContent.messageContent:type_name -> conversations.MessageContent 4, // 37: client.SendMessageResponse.status:type_name -> client.SendMessageResponse.Status 70, // 38: client.SendReactionRequest.reactionData:type_name -> conversations.ReactionData 5, // 39: client.SendReactionRequest.action:type_name -> client.SendReactionRequest.Action 57, // 40: client.TypingUpdateRequest.data:type_name -> client.TypingUpdateRequest.Data 52, // 41: client.ReceiveMessagesRequest.UnknownEmptyObject2.unknown:type_name -> client.ReceiveMessagesRequest.UnknownEmptyObject1 60, // 42: client.AckMessageRequest.Message.device:type_name -> authentication.Device 18, // 43: client.GetThumbnailResponse.Thumbnail.data:type_name -> client.ThumbnailData 44, // [44:44] is the sub-list for method output_type 44, // [44:44] is the sub-list for method input_type 44, // [44:44] is the sub-list for extension type_name 44, // [44:44] is the sub-list for extension extendee 0, // [0:44] is the sub-list for field type_name } func init() { file_client_proto_init() } func file_client_proto_init() { if File_client_proto != nil { return } file_conversations_proto_init() file_authentication_proto_init() file_settings_proto_init() file_util_proto_init() if !protoimpl.UnsafeEnabled { file_client_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NotifyDittoActivityRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[1].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_client_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReceiveMessagesRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MessageReadRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AckMessageRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DownloadAttachmentRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AttachmentInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StartMediaUploadRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UploadMediaResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UploadedMedia); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetThumbnailRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetThumbnailResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[12].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_client_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Cursor); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListMessagesRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListMessagesResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListContactsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListTopContactsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[18].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_client_proto_msgTypes[19].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_client_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListConversationsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListConversationsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetOrCreateConversationRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[23].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_client_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteMessageRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[25].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_client_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateConversationRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConversationAction5); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateConversationData); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[29].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_client_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetConversationTypeRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[31].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_client_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetConversationRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetConversationResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OpenConversationRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PrepareOpenConversationRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[36].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_client_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendMessageRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReplyPayload); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MessagePayload); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MessagePayloadContent); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[41].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_client_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendReactionRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendReactionResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ResendMessageRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TypingUpdateRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReceiveMessagesRequest_UnknownEmptyObject1); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReceiveMessagesRequest_UnknownEmptyObject2); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AckMessageRequest_Message); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetThumbnailResponse_Thumbnail); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ThumbnailData_MysteriousData); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_client_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TypingUpdateRequest_Data); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } file_client_proto_msgTypes[2].OneofWrappers = []interface{}{} file_client_proto_msgTypes[20].OneofWrappers = []interface{}{} file_client_proto_msgTypes[21].OneofWrappers = []interface{}{} file_client_proto_msgTypes[22].OneofWrappers = []interface{}{} file_client_proto_msgTypes[28].OneofWrappers = []interface{}{ (*UpdateConversationData_Status)(nil), (*UpdateConversationData_Mute)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_client_proto_rawDesc, NumEnums: 6, NumMessages: 52, NumExtensions: 0, NumServices: 0, }, GoTypes: file_client_proto_goTypes, DependencyIndexes: file_client_proto_depIdxs, EnumInfos: file_client_proto_enumTypes, MessageInfos: file_client_proto_msgTypes, }.Build() File_client_proto = out.File file_client_proto_rawDesc = nil file_client_proto_goTypes = nil file_client_proto_depIdxs = nil }