create-svc 0.1.10 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -43
- package/bin/create-service.mjs +2 -0
- package/package.json +12 -9
- package/src/cli.test.ts +28 -10
- package/src/cli.ts +195 -30
- package/src/git-bootstrap.test.ts +40 -0
- package/src/git-bootstrap.ts +110 -0
- package/src/naming.test.ts +1 -0
- package/src/naming.ts +23 -0
- package/src/post-scaffold.test.ts +19 -0
- package/src/post-scaffold.ts +17 -4
- package/src/profiles.ts +2 -5
- package/src/scaffold.test.ts +231 -40
- package/src/scaffold.ts +84 -29
- package/src/vault.test.ts +61 -1
- package/src/vault.ts +77 -15
- package/templates/shared/.github/workflows/ci.yml +2 -1
- package/templates/shared/.github/workflows/deploy.yml +2 -0
- package/templates/shared/README.md +124 -47
- package/templates/shared/grafana/alerts.yaml +54 -0
- package/templates/shared/grafana/waitlist-dashboard.json +63 -0
- package/templates/shared/scripts/authctl.ts +231 -0
- package/templates/shared/scripts/cloudrun/bootstrap.ts +14 -5
- package/templates/shared/scripts/cloudrun/cleanup.ts +64 -4
- package/templates/shared/scripts/cloudrun/cli.ts +324 -7
- package/templates/shared/scripts/cloudrun/config.ts +11 -4
- package/templates/shared/scripts/cloudrun/deploy.ts +0 -4
- package/templates/shared/scripts/cloudrun/lib.ts +174 -41
- package/templates/shared/scripts/cloudrun/neon.ts +45 -0
- package/templates/shared/scripts/dev.ts +22 -0
- package/templates/shared/scripts/ensure-local-db.ts +3 -0
- package/templates/shared/scripts/local-docker.ts +63 -0
- package/templates/shared/scripts/local-env.ts +27 -0
- package/templates/shared/scripts/seed.ts +73 -0
- package/templates/shared/scripts/wait-for-db.ts +32 -0
- package/templates/shared/service.config.ts +59 -0
- package/templates/shared/service.yaml +24 -44
- package/templates/targets/workers/.github/workflows/ci.yml +19 -0
- package/templates/targets/workers/.github/workflows/deploy.yml +19 -0
- package/templates/targets/workers/Makefile +33 -0
- package/templates/targets/workers/README.md +75 -0
- package/templates/targets/workers/package.json +35 -0
- package/templates/targets/workers/scripts/workers/cli.ts +397 -0
- package/templates/targets/workers/src/auth.ts +178 -0
- package/templates/targets/workers/src/index.ts +198 -0
- package/templates/targets/workers/src/storage.ts +370 -0
- package/templates/targets/workers/test/app.test.ts +108 -0
- package/templates/targets/workers/tsconfig.json +11 -0
- package/templates/targets/workers/wrangler.toml +24 -0
- package/templates/variants/bun-connectrpc/Makefile +14 -8
- package/templates/variants/bun-connectrpc/gen/protos/waitlist/v1/waitlist_pb.ts +424 -0
- package/templates/variants/bun-connectrpc/migrations/0000_init.sql +12 -55
- package/templates/variants/bun-connectrpc/package.json +12 -5
- package/templates/variants/bun-connectrpc/protos/waitlist/v1/waitlist.proto +91 -0
- package/templates/variants/bun-connectrpc/scripts/codegen.ts +1 -1
- package/templates/variants/bun-connectrpc/scripts/migrate.ts +4 -1
- package/templates/variants/bun-connectrpc/src/auth.ts +200 -0
- package/templates/variants/bun-connectrpc/src/db/repository.ts +67 -420
- package/templates/variants/bun-connectrpc/src/db/schema.ts +15 -64
- package/templates/variants/bun-connectrpc/src/index.ts +76 -176
- package/templates/variants/bun-connectrpc/src/temporal/activities.ts +14 -0
- package/templates/variants/bun-connectrpc/src/temporal/worker.ts +38 -0
- package/templates/variants/bun-connectrpc/src/temporal/workflows.ts +10 -0
- package/templates/variants/bun-connectrpc/src/waitlist/service.ts +172 -0
- package/templates/variants/bun-connectrpc/src/waitlist/types.ts +45 -0
- package/templates/variants/bun-connectrpc/test/app.test.ts +4 -4
- package/templates/variants/bun-connectrpc/test/waitlist.integration.test.ts +71 -0
- package/templates/variants/bun-hono/Makefile +14 -8
- package/templates/variants/bun-hono/migrations/0000_init.sql +12 -55
- package/templates/variants/bun-hono/package.json +12 -5
- package/templates/variants/bun-hono/scripts/migrate.ts +4 -1
- package/templates/variants/bun-hono/src/auth.ts +181 -0
- package/templates/variants/bun-hono/src/db/repository.ts +68 -421
- package/templates/variants/bun-hono/src/db/schema.ts +15 -64
- package/templates/variants/bun-hono/src/index.ts +65 -180
- package/templates/variants/bun-hono/src/temporal/activities.ts +14 -0
- package/templates/variants/bun-hono/src/temporal/worker.ts +38 -0
- package/templates/variants/bun-hono/src/temporal/workflows.ts +10 -0
- package/templates/variants/bun-hono/src/waitlist/service.ts +166 -0
- package/templates/variants/bun-hono/src/waitlist/types.ts +50 -0
- package/templates/variants/bun-hono/test/app.test.ts +72 -41
- package/templates/variants/bun-hono/test/waitlist.integration.test.ts +102 -0
- package/templates/variants/go-chi/Makefile +27 -11
- package/templates/variants/go-chi/atlas.hcl +8 -0
- package/templates/variants/go-chi/cmd/server/main.go +21 -10
- package/templates/variants/go-chi/go.mod +1 -3
- package/templates/variants/go-chi/internal/app/service.go +202 -685
- package/templates/variants/go-chi/internal/auth/middleware.go +289 -0
- package/templates/variants/go-chi/internal/auth/middleware_test.go +38 -0
- package/templates/variants/go-chi/internal/config/config.go +27 -11
- package/templates/variants/go-chi/internal/httpapi/routes.go +78 -157
- package/templates/variants/go-chi/internal/httpapi/waitlist_integration_test.go +199 -0
- package/templates/variants/go-chi/internal/temporal/activities.go +27 -0
- package/templates/variants/go-chi/internal/temporal/worker.go +42 -0
- package/templates/variants/go-chi/internal/temporal/workflows.go +18 -0
- package/templates/variants/go-chi/migrations/0000_init.sql +12 -55
- package/templates/variants/go-chi/migrations/atlas.sum +2 -0
- package/templates/variants/go-chi/package.json +7 -1
- package/templates/variants/go-connectrpc/Makefile +26 -9
- package/templates/variants/go-connectrpc/atlas.hcl +8 -0
- package/templates/variants/go-connectrpc/buf.gen.yaml +2 -2
- package/templates/variants/go-connectrpc/cmd/server/main.go +23 -12
- package/templates/variants/go-connectrpc/gen/waitlist/v1/waitlist.pb.go +960 -0
- package/templates/variants/go-connectrpc/gen/waitlist/v1/waitlistv1connect/waitlist.connect.go +283 -0
- package/templates/variants/go-connectrpc/go.mod +1 -1
- package/templates/variants/go-connectrpc/internal/app/service.go +202 -685
- package/templates/variants/go-connectrpc/internal/auth/middleware.go +289 -0
- package/templates/variants/go-connectrpc/internal/auth/middleware_test.go +38 -0
- package/templates/variants/go-connectrpc/internal/config/config.go +27 -11
- package/templates/variants/go-connectrpc/internal/connectapi/handler.go +78 -201
- package/templates/variants/go-connectrpc/internal/connectapi/waitlist_integration_test.go +122 -0
- package/templates/variants/go-connectrpc/internal/httpapi/routes.go +147 -9
- package/templates/variants/go-connectrpc/internal/temporal/activities.go +27 -0
- package/templates/variants/go-connectrpc/internal/temporal/worker.go +42 -0
- package/templates/variants/go-connectrpc/internal/temporal/workflows.go +18 -0
- package/templates/variants/go-connectrpc/migrations/0000_init.sql +12 -55
- package/templates/variants/go-connectrpc/migrations/atlas.sum +2 -0
- package/templates/variants/go-connectrpc/package.json +7 -1
- package/templates/variants/go-connectrpc/protos/waitlist/v1/waitlist.proto +93 -0
- package/templates/root/.github/workflows/buf-publish.yml +0 -19
- package/templates/root/.github/workflows/ci.yml +0 -26
- package/templates/root/.github/workflows/deploy.yml +0 -22
- package/templates/root/Dockerfile +0 -23
- package/templates/root/README.md +0 -69
- package/templates/root/buf.gen.yaml +0 -10
- package/templates/root/buf.yaml +0 -9
- package/templates/root/cmd/server/main.go +0 -44
- package/templates/root/gen/dns/v1/dns.pb.go +0 -623
- package/templates/root/gen/dns/v1/dnsv1connect/dns.connect.go +0 -192
- package/templates/root/go.mod +0 -10
- package/templates/root/internal/app/service.go +0 -152
- package/templates/root/internal/app/token_source.go +0 -50
- package/templates/root/internal/cloudflare/client.go +0 -160
- package/templates/root/internal/config/config.go +0 -55
- package/templates/root/internal/connectapi/handler.go +0 -79
- package/templates/root/internal/httpapi/routes.go +0 -93
- package/templates/root/internal/vault/client.go +0 -148
- package/templates/root/package.json +0 -12
- package/templates/root/protos/dns/v1/dns.proto +0 -58
- package/templates/root/scripts/cloudrun/bootstrap.ts +0 -65
- package/templates/root/scripts/cloudrun/config.ts +0 -50
- package/templates/root/scripts/cloudrun/deploy.ts +0 -41
- package/templates/root/scripts/cloudrun/lib.ts +0 -244
- package/templates/root/service.yaml +0 -50
- package/templates/root/test/go.test.ts +0 -19
- package/templates/shared/scripts/cloudrun/integrations.ts +0 -111
- package/templates/variants/bun-connectrpc/gen/protos/chat/v1/chat_pb.ts +0 -1078
- package/templates/variants/bun-connectrpc/protos/chat/v1/chat.proto +0 -228
- package/templates/variants/bun-connectrpc/src/chat/service.ts +0 -384
- package/templates/variants/bun-connectrpc/src/chat/types.ts +0 -142
- package/templates/variants/bun-connectrpc/src/storage.ts +0 -72
- package/templates/variants/bun-connectrpc/src/webhooks.ts +0 -35
- package/templates/variants/bun-connectrpc/test/list-messages.integration.test.ts +0 -182
- package/templates/variants/bun-hono/src/chat/service.ts +0 -384
- package/templates/variants/bun-hono/src/chat/types.ts +0 -142
- package/templates/variants/bun-hono/src/storage.ts +0 -72
- package/templates/variants/bun-hono/src/webhooks.ts +0 -35
- package/templates/variants/bun-hono/test/list-messages.integration.test.ts +0 -256
- package/templates/variants/go-chi/buf.gen.yaml +0 -12
- package/templates/variants/go-chi/buf.yaml +0 -9
- package/templates/variants/go-chi/cmd/migrate/main.go +0 -101
- package/templates/variants/go-chi/internal/httpapi/list_messages_integration_test.go +0 -298
- package/templates/variants/go-chi/protos/chat/v1/chat.proto +0 -219
- package/templates/variants/go-connectrpc/cmd/migrate/main.go +0 -101
- package/templates/variants/go-connectrpc/gen/chat/v1/chat.pb.go +0 -2512
- package/templates/variants/go-connectrpc/gen/chat/v1/chatv1connect/chat.connect.go +0 -571
- package/templates/variants/go-connectrpc/internal/connectapi/list_messages_integration_test.go +0 -216
- package/templates/variants/go-connectrpc/protos/chat/v1/chat.proto +0 -232
|
@@ -1,2512 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-go v1.36.10
|
|
4
|
-
// protoc (unknown)
|
|
5
|
-
// source: chat/v1/chat.proto
|
|
6
|
-
|
|
7
|
-
package chatv1
|
|
8
|
-
|
|
9
|
-
import (
|
|
10
|
-
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
11
|
-
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
12
|
-
reflect "reflect"
|
|
13
|
-
sync "sync"
|
|
14
|
-
unsafe "unsafe"
|
|
15
|
-
)
|
|
16
|
-
|
|
17
|
-
const (
|
|
18
|
-
// Verify that this generated code is sufficiently up-to-date.
|
|
19
|
-
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
20
|
-
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
21
|
-
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
22
|
-
)
|
|
23
|
-
|
|
24
|
-
type User struct {
|
|
25
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
26
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
27
|
-
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
28
|
-
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
29
|
-
CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
30
|
-
UpdatedAt string `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
31
|
-
unknownFields protoimpl.UnknownFields
|
|
32
|
-
sizeCache protoimpl.SizeCache
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
func (x *User) Reset() {
|
|
36
|
-
*x = User{}
|
|
37
|
-
mi := &file_chat_v1_chat_proto_msgTypes[0]
|
|
38
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
39
|
-
ms.StoreMessageInfo(mi)
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
func (x *User) String() string {
|
|
43
|
-
return protoimpl.X.MessageStringOf(x)
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
func (*User) ProtoMessage() {}
|
|
47
|
-
|
|
48
|
-
func (x *User) ProtoReflect() protoreflect.Message {
|
|
49
|
-
mi := &file_chat_v1_chat_proto_msgTypes[0]
|
|
50
|
-
if x != nil {
|
|
51
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
52
|
-
if ms.LoadMessageInfo() == nil {
|
|
53
|
-
ms.StoreMessageInfo(mi)
|
|
54
|
-
}
|
|
55
|
-
return ms
|
|
56
|
-
}
|
|
57
|
-
return mi.MessageOf(x)
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// Deprecated: Use User.ProtoReflect.Descriptor instead.
|
|
61
|
-
func (*User) Descriptor() ([]byte, []int) {
|
|
62
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{0}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
func (x *User) GetId() string {
|
|
66
|
-
if x != nil {
|
|
67
|
-
return x.Id
|
|
68
|
-
}
|
|
69
|
-
return ""
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
func (x *User) GetUsername() string {
|
|
73
|
-
if x != nil {
|
|
74
|
-
return x.Username
|
|
75
|
-
}
|
|
76
|
-
return ""
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
func (x *User) GetDisplayName() string {
|
|
80
|
-
if x != nil {
|
|
81
|
-
return x.DisplayName
|
|
82
|
-
}
|
|
83
|
-
return ""
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
func (x *User) GetCreatedAt() string {
|
|
87
|
-
if x != nil {
|
|
88
|
-
return x.CreatedAt
|
|
89
|
-
}
|
|
90
|
-
return ""
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
func (x *User) GetUpdatedAt() string {
|
|
94
|
-
if x != nil {
|
|
95
|
-
return x.UpdatedAt
|
|
96
|
-
}
|
|
97
|
-
return ""
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
type Conversation struct {
|
|
101
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
102
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
103
|
-
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
|
|
104
|
-
CreatedByUserId string `protobuf:"bytes,3,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"`
|
|
105
|
-
Participants []*User `protobuf:"bytes,4,rep,name=participants,proto3" json:"participants,omitempty"`
|
|
106
|
-
CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
107
|
-
UpdatedAt string `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
108
|
-
unknownFields protoimpl.UnknownFields
|
|
109
|
-
sizeCache protoimpl.SizeCache
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
func (x *Conversation) Reset() {
|
|
113
|
-
*x = Conversation{}
|
|
114
|
-
mi := &file_chat_v1_chat_proto_msgTypes[1]
|
|
115
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
116
|
-
ms.StoreMessageInfo(mi)
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
func (x *Conversation) String() string {
|
|
120
|
-
return protoimpl.X.MessageStringOf(x)
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
func (*Conversation) ProtoMessage() {}
|
|
124
|
-
|
|
125
|
-
func (x *Conversation) ProtoReflect() protoreflect.Message {
|
|
126
|
-
mi := &file_chat_v1_chat_proto_msgTypes[1]
|
|
127
|
-
if x != nil {
|
|
128
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
129
|
-
if ms.LoadMessageInfo() == nil {
|
|
130
|
-
ms.StoreMessageInfo(mi)
|
|
131
|
-
}
|
|
132
|
-
return ms
|
|
133
|
-
}
|
|
134
|
-
return mi.MessageOf(x)
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
// Deprecated: Use Conversation.ProtoReflect.Descriptor instead.
|
|
138
|
-
func (*Conversation) Descriptor() ([]byte, []int) {
|
|
139
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{1}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
func (x *Conversation) GetId() string {
|
|
143
|
-
if x != nil {
|
|
144
|
-
return x.Id
|
|
145
|
-
}
|
|
146
|
-
return ""
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
func (x *Conversation) GetTitle() string {
|
|
150
|
-
if x != nil {
|
|
151
|
-
return x.Title
|
|
152
|
-
}
|
|
153
|
-
return ""
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
func (x *Conversation) GetCreatedByUserId() string {
|
|
157
|
-
if x != nil {
|
|
158
|
-
return x.CreatedByUserId
|
|
159
|
-
}
|
|
160
|
-
return ""
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
func (x *Conversation) GetParticipants() []*User {
|
|
164
|
-
if x != nil {
|
|
165
|
-
return x.Participants
|
|
166
|
-
}
|
|
167
|
-
return nil
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
func (x *Conversation) GetCreatedAt() string {
|
|
171
|
-
if x != nil {
|
|
172
|
-
return x.CreatedAt
|
|
173
|
-
}
|
|
174
|
-
return ""
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
func (x *Conversation) GetUpdatedAt() string {
|
|
178
|
-
if x != nil {
|
|
179
|
-
return x.UpdatedAt
|
|
180
|
-
}
|
|
181
|
-
return ""
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
type Message struct {
|
|
185
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
186
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
187
|
-
ConversationId string `protobuf:"bytes,2,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
|
|
188
|
-
UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
189
|
-
Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
|
|
190
|
-
EditedAt string `protobuf:"bytes,5,opt,name=edited_at,json=editedAt,proto3" json:"edited_at,omitempty"`
|
|
191
|
-
CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
192
|
-
UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
193
|
-
Attachments []*MessageAttachment `protobuf:"bytes,8,rep,name=attachments,proto3" json:"attachments,omitempty"`
|
|
194
|
-
unknownFields protoimpl.UnknownFields
|
|
195
|
-
sizeCache protoimpl.SizeCache
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
func (x *Message) Reset() {
|
|
199
|
-
*x = Message{}
|
|
200
|
-
mi := &file_chat_v1_chat_proto_msgTypes[2]
|
|
201
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
202
|
-
ms.StoreMessageInfo(mi)
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
func (x *Message) String() string {
|
|
206
|
-
return protoimpl.X.MessageStringOf(x)
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
func (*Message) ProtoMessage() {}
|
|
210
|
-
|
|
211
|
-
func (x *Message) ProtoReflect() protoreflect.Message {
|
|
212
|
-
mi := &file_chat_v1_chat_proto_msgTypes[2]
|
|
213
|
-
if x != nil {
|
|
214
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
215
|
-
if ms.LoadMessageInfo() == nil {
|
|
216
|
-
ms.StoreMessageInfo(mi)
|
|
217
|
-
}
|
|
218
|
-
return ms
|
|
219
|
-
}
|
|
220
|
-
return mi.MessageOf(x)
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
// Deprecated: Use Message.ProtoReflect.Descriptor instead.
|
|
224
|
-
func (*Message) Descriptor() ([]byte, []int) {
|
|
225
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{2}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
func (x *Message) GetId() string {
|
|
229
|
-
if x != nil {
|
|
230
|
-
return x.Id
|
|
231
|
-
}
|
|
232
|
-
return ""
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
func (x *Message) GetConversationId() string {
|
|
236
|
-
if x != nil {
|
|
237
|
-
return x.ConversationId
|
|
238
|
-
}
|
|
239
|
-
return ""
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
func (x *Message) GetUserId() string {
|
|
243
|
-
if x != nil {
|
|
244
|
-
return x.UserId
|
|
245
|
-
}
|
|
246
|
-
return ""
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
func (x *Message) GetBody() string {
|
|
250
|
-
if x != nil {
|
|
251
|
-
return x.Body
|
|
252
|
-
}
|
|
253
|
-
return ""
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
func (x *Message) GetEditedAt() string {
|
|
257
|
-
if x != nil {
|
|
258
|
-
return x.EditedAt
|
|
259
|
-
}
|
|
260
|
-
return ""
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
func (x *Message) GetCreatedAt() string {
|
|
264
|
-
if x != nil {
|
|
265
|
-
return x.CreatedAt
|
|
266
|
-
}
|
|
267
|
-
return ""
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
func (x *Message) GetUpdatedAt() string {
|
|
271
|
-
if x != nil {
|
|
272
|
-
return x.UpdatedAt
|
|
273
|
-
}
|
|
274
|
-
return ""
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
func (x *Message) GetAttachments() []*MessageAttachment {
|
|
278
|
-
if x != nil {
|
|
279
|
-
return x.Attachments
|
|
280
|
-
}
|
|
281
|
-
return nil
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
type MessageAttachment struct {
|
|
285
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
286
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
287
|
-
Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
288
|
-
ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
|
|
289
|
-
ByteSize int64 `protobuf:"varint,4,opt,name=byte_size,json=byteSize,proto3" json:"byte_size,omitempty"`
|
|
290
|
-
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
|
291
|
-
PublicUrl string `protobuf:"bytes,6,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
|
|
292
|
-
unknownFields protoimpl.UnknownFields
|
|
293
|
-
sizeCache protoimpl.SizeCache
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
func (x *MessageAttachment) Reset() {
|
|
297
|
-
*x = MessageAttachment{}
|
|
298
|
-
mi := &file_chat_v1_chat_proto_msgTypes[3]
|
|
299
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
300
|
-
ms.StoreMessageInfo(mi)
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
func (x *MessageAttachment) String() string {
|
|
304
|
-
return protoimpl.X.MessageStringOf(x)
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
func (*MessageAttachment) ProtoMessage() {}
|
|
308
|
-
|
|
309
|
-
func (x *MessageAttachment) ProtoReflect() protoreflect.Message {
|
|
310
|
-
mi := &file_chat_v1_chat_proto_msgTypes[3]
|
|
311
|
-
if x != nil {
|
|
312
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
313
|
-
if ms.LoadMessageInfo() == nil {
|
|
314
|
-
ms.StoreMessageInfo(mi)
|
|
315
|
-
}
|
|
316
|
-
return ms
|
|
317
|
-
}
|
|
318
|
-
return mi.MessageOf(x)
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
// Deprecated: Use MessageAttachment.ProtoReflect.Descriptor instead.
|
|
322
|
-
func (*MessageAttachment) Descriptor() ([]byte, []int) {
|
|
323
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{3}
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
func (x *MessageAttachment) GetId() string {
|
|
327
|
-
if x != nil {
|
|
328
|
-
return x.Id
|
|
329
|
-
}
|
|
330
|
-
return ""
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
func (x *MessageAttachment) GetFilename() string {
|
|
334
|
-
if x != nil {
|
|
335
|
-
return x.Filename
|
|
336
|
-
}
|
|
337
|
-
return ""
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
func (x *MessageAttachment) GetContentType() string {
|
|
341
|
-
if x != nil {
|
|
342
|
-
return x.ContentType
|
|
343
|
-
}
|
|
344
|
-
return ""
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
func (x *MessageAttachment) GetByteSize() int64 {
|
|
348
|
-
if x != nil {
|
|
349
|
-
return x.ByteSize
|
|
350
|
-
}
|
|
351
|
-
return 0
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
func (x *MessageAttachment) GetStatus() string {
|
|
355
|
-
if x != nil {
|
|
356
|
-
return x.Status
|
|
357
|
-
}
|
|
358
|
-
return ""
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
func (x *MessageAttachment) GetPublicUrl() string {
|
|
362
|
-
if x != nil {
|
|
363
|
-
return x.PublicUrl
|
|
364
|
-
}
|
|
365
|
-
return ""
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
type Attachment struct {
|
|
369
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
370
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
371
|
-
ConversationId string `protobuf:"bytes,2,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
|
|
372
|
-
MessageId string `protobuf:"bytes,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
|
|
373
|
-
UploadedByUserId string `protobuf:"bytes,4,opt,name=uploaded_by_user_id,json=uploadedByUserId,proto3" json:"uploaded_by_user_id,omitempty"`
|
|
374
|
-
StorageBucket string `protobuf:"bytes,5,opt,name=storage_bucket,json=storageBucket,proto3" json:"storage_bucket,omitempty"`
|
|
375
|
-
StorageKey string `protobuf:"bytes,6,opt,name=storage_key,json=storageKey,proto3" json:"storage_key,omitempty"`
|
|
376
|
-
ContentType string `protobuf:"bytes,7,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
|
|
377
|
-
ByteSize int64 `protobuf:"varint,8,opt,name=byte_size,json=byteSize,proto3" json:"byte_size,omitempty"`
|
|
378
|
-
Filename string `protobuf:"bytes,9,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
379
|
-
Status string `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
|
|
380
|
-
PublicUrl string `protobuf:"bytes,11,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
|
|
381
|
-
CreatedAt string `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
382
|
-
UpdatedAt string `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
383
|
-
unknownFields protoimpl.UnknownFields
|
|
384
|
-
sizeCache protoimpl.SizeCache
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
func (x *Attachment) Reset() {
|
|
388
|
-
*x = Attachment{}
|
|
389
|
-
mi := &file_chat_v1_chat_proto_msgTypes[4]
|
|
390
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
391
|
-
ms.StoreMessageInfo(mi)
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
func (x *Attachment) String() string {
|
|
395
|
-
return protoimpl.X.MessageStringOf(x)
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
func (*Attachment) ProtoMessage() {}
|
|
399
|
-
|
|
400
|
-
func (x *Attachment) ProtoReflect() protoreflect.Message {
|
|
401
|
-
mi := &file_chat_v1_chat_proto_msgTypes[4]
|
|
402
|
-
if x != nil {
|
|
403
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
404
|
-
if ms.LoadMessageInfo() == nil {
|
|
405
|
-
ms.StoreMessageInfo(mi)
|
|
406
|
-
}
|
|
407
|
-
return ms
|
|
408
|
-
}
|
|
409
|
-
return mi.MessageOf(x)
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
// Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
|
|
413
|
-
func (*Attachment) Descriptor() ([]byte, []int) {
|
|
414
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{4}
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
func (x *Attachment) GetId() string {
|
|
418
|
-
if x != nil {
|
|
419
|
-
return x.Id
|
|
420
|
-
}
|
|
421
|
-
return ""
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
func (x *Attachment) GetConversationId() string {
|
|
425
|
-
if x != nil {
|
|
426
|
-
return x.ConversationId
|
|
427
|
-
}
|
|
428
|
-
return ""
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
func (x *Attachment) GetMessageId() string {
|
|
432
|
-
if x != nil {
|
|
433
|
-
return x.MessageId
|
|
434
|
-
}
|
|
435
|
-
return ""
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
func (x *Attachment) GetUploadedByUserId() string {
|
|
439
|
-
if x != nil {
|
|
440
|
-
return x.UploadedByUserId
|
|
441
|
-
}
|
|
442
|
-
return ""
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
func (x *Attachment) GetStorageBucket() string {
|
|
446
|
-
if x != nil {
|
|
447
|
-
return x.StorageBucket
|
|
448
|
-
}
|
|
449
|
-
return ""
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
func (x *Attachment) GetStorageKey() string {
|
|
453
|
-
if x != nil {
|
|
454
|
-
return x.StorageKey
|
|
455
|
-
}
|
|
456
|
-
return ""
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
func (x *Attachment) GetContentType() string {
|
|
460
|
-
if x != nil {
|
|
461
|
-
return x.ContentType
|
|
462
|
-
}
|
|
463
|
-
return ""
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
func (x *Attachment) GetByteSize() int64 {
|
|
467
|
-
if x != nil {
|
|
468
|
-
return x.ByteSize
|
|
469
|
-
}
|
|
470
|
-
return 0
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
func (x *Attachment) GetFilename() string {
|
|
474
|
-
if x != nil {
|
|
475
|
-
return x.Filename
|
|
476
|
-
}
|
|
477
|
-
return ""
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
func (x *Attachment) GetStatus() string {
|
|
481
|
-
if x != nil {
|
|
482
|
-
return x.Status
|
|
483
|
-
}
|
|
484
|
-
return ""
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
func (x *Attachment) GetPublicUrl() string {
|
|
488
|
-
if x != nil {
|
|
489
|
-
return x.PublicUrl
|
|
490
|
-
}
|
|
491
|
-
return ""
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
func (x *Attachment) GetCreatedAt() string {
|
|
495
|
-
if x != nil {
|
|
496
|
-
return x.CreatedAt
|
|
497
|
-
}
|
|
498
|
-
return ""
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
func (x *Attachment) GetUpdatedAt() string {
|
|
502
|
-
if x != nil {
|
|
503
|
-
return x.UpdatedAt
|
|
504
|
-
}
|
|
505
|
-
return ""
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
type UploadTarget struct {
|
|
509
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
510
|
-
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
|
|
511
|
-
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
|
512
|
-
Headers map[string]string `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
513
|
-
unknownFields protoimpl.UnknownFields
|
|
514
|
-
sizeCache protoimpl.SizeCache
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
func (x *UploadTarget) Reset() {
|
|
518
|
-
*x = UploadTarget{}
|
|
519
|
-
mi := &file_chat_v1_chat_proto_msgTypes[5]
|
|
520
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
521
|
-
ms.StoreMessageInfo(mi)
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
func (x *UploadTarget) String() string {
|
|
525
|
-
return protoimpl.X.MessageStringOf(x)
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
func (*UploadTarget) ProtoMessage() {}
|
|
529
|
-
|
|
530
|
-
func (x *UploadTarget) ProtoReflect() protoreflect.Message {
|
|
531
|
-
mi := &file_chat_v1_chat_proto_msgTypes[5]
|
|
532
|
-
if x != nil {
|
|
533
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
534
|
-
if ms.LoadMessageInfo() == nil {
|
|
535
|
-
ms.StoreMessageInfo(mi)
|
|
536
|
-
}
|
|
537
|
-
return ms
|
|
538
|
-
}
|
|
539
|
-
return mi.MessageOf(x)
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
// Deprecated: Use UploadTarget.ProtoReflect.Descriptor instead.
|
|
543
|
-
func (*UploadTarget) Descriptor() ([]byte, []int) {
|
|
544
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{5}
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
func (x *UploadTarget) GetMethod() string {
|
|
548
|
-
if x != nil {
|
|
549
|
-
return x.Method
|
|
550
|
-
}
|
|
551
|
-
return ""
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
func (x *UploadTarget) GetUrl() string {
|
|
555
|
-
if x != nil {
|
|
556
|
-
return x.Url
|
|
557
|
-
}
|
|
558
|
-
return ""
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
func (x *UploadTarget) GetHeaders() map[string]string {
|
|
562
|
-
if x != nil {
|
|
563
|
-
return x.Headers
|
|
564
|
-
}
|
|
565
|
-
return nil
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
type CreateUserRequest struct {
|
|
569
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
570
|
-
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
571
|
-
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
572
|
-
unknownFields protoimpl.UnknownFields
|
|
573
|
-
sizeCache protoimpl.SizeCache
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
func (x *CreateUserRequest) Reset() {
|
|
577
|
-
*x = CreateUserRequest{}
|
|
578
|
-
mi := &file_chat_v1_chat_proto_msgTypes[6]
|
|
579
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
580
|
-
ms.StoreMessageInfo(mi)
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
func (x *CreateUserRequest) String() string {
|
|
584
|
-
return protoimpl.X.MessageStringOf(x)
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
func (*CreateUserRequest) ProtoMessage() {}
|
|
588
|
-
|
|
589
|
-
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message {
|
|
590
|
-
mi := &file_chat_v1_chat_proto_msgTypes[6]
|
|
591
|
-
if x != nil {
|
|
592
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
593
|
-
if ms.LoadMessageInfo() == nil {
|
|
594
|
-
ms.StoreMessageInfo(mi)
|
|
595
|
-
}
|
|
596
|
-
return ms
|
|
597
|
-
}
|
|
598
|
-
return mi.MessageOf(x)
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
// Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
|
|
602
|
-
func (*CreateUserRequest) Descriptor() ([]byte, []int) {
|
|
603
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{6}
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
func (x *CreateUserRequest) GetUsername() string {
|
|
607
|
-
if x != nil {
|
|
608
|
-
return x.Username
|
|
609
|
-
}
|
|
610
|
-
return ""
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
func (x *CreateUserRequest) GetDisplayName() string {
|
|
614
|
-
if x != nil {
|
|
615
|
-
return x.DisplayName
|
|
616
|
-
}
|
|
617
|
-
return ""
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
type CreateUserResponse struct {
|
|
621
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
622
|
-
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
|
623
|
-
unknownFields protoimpl.UnknownFields
|
|
624
|
-
sizeCache protoimpl.SizeCache
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
func (x *CreateUserResponse) Reset() {
|
|
628
|
-
*x = CreateUserResponse{}
|
|
629
|
-
mi := &file_chat_v1_chat_proto_msgTypes[7]
|
|
630
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
631
|
-
ms.StoreMessageInfo(mi)
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
func (x *CreateUserResponse) String() string {
|
|
635
|
-
return protoimpl.X.MessageStringOf(x)
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
func (*CreateUserResponse) ProtoMessage() {}
|
|
639
|
-
|
|
640
|
-
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message {
|
|
641
|
-
mi := &file_chat_v1_chat_proto_msgTypes[7]
|
|
642
|
-
if x != nil {
|
|
643
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
644
|
-
if ms.LoadMessageInfo() == nil {
|
|
645
|
-
ms.StoreMessageInfo(mi)
|
|
646
|
-
}
|
|
647
|
-
return ms
|
|
648
|
-
}
|
|
649
|
-
return mi.MessageOf(x)
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
// Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
|
|
653
|
-
func (*CreateUserResponse) Descriptor() ([]byte, []int) {
|
|
654
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{7}
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
func (x *CreateUserResponse) GetUser() *User {
|
|
658
|
-
if x != nil {
|
|
659
|
-
return x.User
|
|
660
|
-
}
|
|
661
|
-
return nil
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
type GetUserRequest struct {
|
|
665
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
666
|
-
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
667
|
-
unknownFields protoimpl.UnknownFields
|
|
668
|
-
sizeCache protoimpl.SizeCache
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
func (x *GetUserRequest) Reset() {
|
|
672
|
-
*x = GetUserRequest{}
|
|
673
|
-
mi := &file_chat_v1_chat_proto_msgTypes[8]
|
|
674
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
675
|
-
ms.StoreMessageInfo(mi)
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
func (x *GetUserRequest) String() string {
|
|
679
|
-
return protoimpl.X.MessageStringOf(x)
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
func (*GetUserRequest) ProtoMessage() {}
|
|
683
|
-
|
|
684
|
-
func (x *GetUserRequest) ProtoReflect() protoreflect.Message {
|
|
685
|
-
mi := &file_chat_v1_chat_proto_msgTypes[8]
|
|
686
|
-
if x != nil {
|
|
687
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
688
|
-
if ms.LoadMessageInfo() == nil {
|
|
689
|
-
ms.StoreMessageInfo(mi)
|
|
690
|
-
}
|
|
691
|
-
return ms
|
|
692
|
-
}
|
|
693
|
-
return mi.MessageOf(x)
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
// Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
|
|
697
|
-
func (*GetUserRequest) Descriptor() ([]byte, []int) {
|
|
698
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{8}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
func (x *GetUserRequest) GetUserId() string {
|
|
702
|
-
if x != nil {
|
|
703
|
-
return x.UserId
|
|
704
|
-
}
|
|
705
|
-
return ""
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
type GetUserResponse struct {
|
|
709
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
710
|
-
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
|
711
|
-
unknownFields protoimpl.UnknownFields
|
|
712
|
-
sizeCache protoimpl.SizeCache
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
func (x *GetUserResponse) Reset() {
|
|
716
|
-
*x = GetUserResponse{}
|
|
717
|
-
mi := &file_chat_v1_chat_proto_msgTypes[9]
|
|
718
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
719
|
-
ms.StoreMessageInfo(mi)
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
func (x *GetUserResponse) String() string {
|
|
723
|
-
return protoimpl.X.MessageStringOf(x)
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
func (*GetUserResponse) ProtoMessage() {}
|
|
727
|
-
|
|
728
|
-
func (x *GetUserResponse) ProtoReflect() protoreflect.Message {
|
|
729
|
-
mi := &file_chat_v1_chat_proto_msgTypes[9]
|
|
730
|
-
if x != nil {
|
|
731
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
732
|
-
if ms.LoadMessageInfo() == nil {
|
|
733
|
-
ms.StoreMessageInfo(mi)
|
|
734
|
-
}
|
|
735
|
-
return ms
|
|
736
|
-
}
|
|
737
|
-
return mi.MessageOf(x)
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
// Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
|
|
741
|
-
func (*GetUserResponse) Descriptor() ([]byte, []int) {
|
|
742
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{9}
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
func (x *GetUserResponse) GetUser() *User {
|
|
746
|
-
if x != nil {
|
|
747
|
-
return x.User
|
|
748
|
-
}
|
|
749
|
-
return nil
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
type GetUserByUsernameRequest struct {
|
|
753
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
754
|
-
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
755
|
-
unknownFields protoimpl.UnknownFields
|
|
756
|
-
sizeCache protoimpl.SizeCache
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
func (x *GetUserByUsernameRequest) Reset() {
|
|
760
|
-
*x = GetUserByUsernameRequest{}
|
|
761
|
-
mi := &file_chat_v1_chat_proto_msgTypes[10]
|
|
762
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
763
|
-
ms.StoreMessageInfo(mi)
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
func (x *GetUserByUsernameRequest) String() string {
|
|
767
|
-
return protoimpl.X.MessageStringOf(x)
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
func (*GetUserByUsernameRequest) ProtoMessage() {}
|
|
771
|
-
|
|
772
|
-
func (x *GetUserByUsernameRequest) ProtoReflect() protoreflect.Message {
|
|
773
|
-
mi := &file_chat_v1_chat_proto_msgTypes[10]
|
|
774
|
-
if x != nil {
|
|
775
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
776
|
-
if ms.LoadMessageInfo() == nil {
|
|
777
|
-
ms.StoreMessageInfo(mi)
|
|
778
|
-
}
|
|
779
|
-
return ms
|
|
780
|
-
}
|
|
781
|
-
return mi.MessageOf(x)
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
// Deprecated: Use GetUserByUsernameRequest.ProtoReflect.Descriptor instead.
|
|
785
|
-
func (*GetUserByUsernameRequest) Descriptor() ([]byte, []int) {
|
|
786
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{10}
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
func (x *GetUserByUsernameRequest) GetUsername() string {
|
|
790
|
-
if x != nil {
|
|
791
|
-
return x.Username
|
|
792
|
-
}
|
|
793
|
-
return ""
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
type GetUserByUsernameResponse struct {
|
|
797
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
798
|
-
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
|
799
|
-
unknownFields protoimpl.UnknownFields
|
|
800
|
-
sizeCache protoimpl.SizeCache
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
func (x *GetUserByUsernameResponse) Reset() {
|
|
804
|
-
*x = GetUserByUsernameResponse{}
|
|
805
|
-
mi := &file_chat_v1_chat_proto_msgTypes[11]
|
|
806
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
807
|
-
ms.StoreMessageInfo(mi)
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
func (x *GetUserByUsernameResponse) String() string {
|
|
811
|
-
return protoimpl.X.MessageStringOf(x)
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
func (*GetUserByUsernameResponse) ProtoMessage() {}
|
|
815
|
-
|
|
816
|
-
func (x *GetUserByUsernameResponse) ProtoReflect() protoreflect.Message {
|
|
817
|
-
mi := &file_chat_v1_chat_proto_msgTypes[11]
|
|
818
|
-
if x != nil {
|
|
819
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
820
|
-
if ms.LoadMessageInfo() == nil {
|
|
821
|
-
ms.StoreMessageInfo(mi)
|
|
822
|
-
}
|
|
823
|
-
return ms
|
|
824
|
-
}
|
|
825
|
-
return mi.MessageOf(x)
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
// Deprecated: Use GetUserByUsernameResponse.ProtoReflect.Descriptor instead.
|
|
829
|
-
func (*GetUserByUsernameResponse) Descriptor() ([]byte, []int) {
|
|
830
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{11}
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
func (x *GetUserByUsernameResponse) GetUser() *User {
|
|
834
|
-
if x != nil {
|
|
835
|
-
return x.User
|
|
836
|
-
}
|
|
837
|
-
return nil
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
type CreateConversationRequest struct {
|
|
841
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
842
|
-
CreatedByUserId string `protobuf:"bytes,1,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"`
|
|
843
|
-
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
|
|
844
|
-
ParticipantUserIds []string `protobuf:"bytes,3,rep,name=participant_user_ids,json=participantUserIds,proto3" json:"participant_user_ids,omitempty"`
|
|
845
|
-
unknownFields protoimpl.UnknownFields
|
|
846
|
-
sizeCache protoimpl.SizeCache
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
func (x *CreateConversationRequest) Reset() {
|
|
850
|
-
*x = CreateConversationRequest{}
|
|
851
|
-
mi := &file_chat_v1_chat_proto_msgTypes[12]
|
|
852
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
853
|
-
ms.StoreMessageInfo(mi)
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
func (x *CreateConversationRequest) String() string {
|
|
857
|
-
return protoimpl.X.MessageStringOf(x)
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
func (*CreateConversationRequest) ProtoMessage() {}
|
|
861
|
-
|
|
862
|
-
func (x *CreateConversationRequest) ProtoReflect() protoreflect.Message {
|
|
863
|
-
mi := &file_chat_v1_chat_proto_msgTypes[12]
|
|
864
|
-
if x != nil {
|
|
865
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
866
|
-
if ms.LoadMessageInfo() == nil {
|
|
867
|
-
ms.StoreMessageInfo(mi)
|
|
868
|
-
}
|
|
869
|
-
return ms
|
|
870
|
-
}
|
|
871
|
-
return mi.MessageOf(x)
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
// Deprecated: Use CreateConversationRequest.ProtoReflect.Descriptor instead.
|
|
875
|
-
func (*CreateConversationRequest) Descriptor() ([]byte, []int) {
|
|
876
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{12}
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
func (x *CreateConversationRequest) GetCreatedByUserId() string {
|
|
880
|
-
if x != nil {
|
|
881
|
-
return x.CreatedByUserId
|
|
882
|
-
}
|
|
883
|
-
return ""
|
|
884
|
-
}
|
|
885
|
-
|
|
886
|
-
func (x *CreateConversationRequest) GetTitle() string {
|
|
887
|
-
if x != nil {
|
|
888
|
-
return x.Title
|
|
889
|
-
}
|
|
890
|
-
return ""
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
func (x *CreateConversationRequest) GetParticipantUserIds() []string {
|
|
894
|
-
if x != nil {
|
|
895
|
-
return x.ParticipantUserIds
|
|
896
|
-
}
|
|
897
|
-
return nil
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
type CreateConversationResponse struct {
|
|
901
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
902
|
-
Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
|
|
903
|
-
unknownFields protoimpl.UnknownFields
|
|
904
|
-
sizeCache protoimpl.SizeCache
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
func (x *CreateConversationResponse) Reset() {
|
|
908
|
-
*x = CreateConversationResponse{}
|
|
909
|
-
mi := &file_chat_v1_chat_proto_msgTypes[13]
|
|
910
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
911
|
-
ms.StoreMessageInfo(mi)
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
func (x *CreateConversationResponse) String() string {
|
|
915
|
-
return protoimpl.X.MessageStringOf(x)
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
func (*CreateConversationResponse) ProtoMessage() {}
|
|
919
|
-
|
|
920
|
-
func (x *CreateConversationResponse) ProtoReflect() protoreflect.Message {
|
|
921
|
-
mi := &file_chat_v1_chat_proto_msgTypes[13]
|
|
922
|
-
if x != nil {
|
|
923
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
924
|
-
if ms.LoadMessageInfo() == nil {
|
|
925
|
-
ms.StoreMessageInfo(mi)
|
|
926
|
-
}
|
|
927
|
-
return ms
|
|
928
|
-
}
|
|
929
|
-
return mi.MessageOf(x)
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
// Deprecated: Use CreateConversationResponse.ProtoReflect.Descriptor instead.
|
|
933
|
-
func (*CreateConversationResponse) Descriptor() ([]byte, []int) {
|
|
934
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{13}
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
func (x *CreateConversationResponse) GetConversation() *Conversation {
|
|
938
|
-
if x != nil {
|
|
939
|
-
return x.Conversation
|
|
940
|
-
}
|
|
941
|
-
return nil
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
type GetConversationRequest struct {
|
|
945
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
946
|
-
ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
|
|
947
|
-
unknownFields protoimpl.UnknownFields
|
|
948
|
-
sizeCache protoimpl.SizeCache
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
func (x *GetConversationRequest) Reset() {
|
|
952
|
-
*x = GetConversationRequest{}
|
|
953
|
-
mi := &file_chat_v1_chat_proto_msgTypes[14]
|
|
954
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
955
|
-
ms.StoreMessageInfo(mi)
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
func (x *GetConversationRequest) String() string {
|
|
959
|
-
return protoimpl.X.MessageStringOf(x)
|
|
960
|
-
}
|
|
961
|
-
|
|
962
|
-
func (*GetConversationRequest) ProtoMessage() {}
|
|
963
|
-
|
|
964
|
-
func (x *GetConversationRequest) ProtoReflect() protoreflect.Message {
|
|
965
|
-
mi := &file_chat_v1_chat_proto_msgTypes[14]
|
|
966
|
-
if x != nil {
|
|
967
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
968
|
-
if ms.LoadMessageInfo() == nil {
|
|
969
|
-
ms.StoreMessageInfo(mi)
|
|
970
|
-
}
|
|
971
|
-
return ms
|
|
972
|
-
}
|
|
973
|
-
return mi.MessageOf(x)
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
// Deprecated: Use GetConversationRequest.ProtoReflect.Descriptor instead.
|
|
977
|
-
func (*GetConversationRequest) Descriptor() ([]byte, []int) {
|
|
978
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{14}
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
func (x *GetConversationRequest) GetConversationId() string {
|
|
982
|
-
if x != nil {
|
|
983
|
-
return x.ConversationId
|
|
984
|
-
}
|
|
985
|
-
return ""
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
type GetConversationResponse struct {
|
|
989
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
990
|
-
Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
|
|
991
|
-
unknownFields protoimpl.UnknownFields
|
|
992
|
-
sizeCache protoimpl.SizeCache
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
func (x *GetConversationResponse) Reset() {
|
|
996
|
-
*x = GetConversationResponse{}
|
|
997
|
-
mi := &file_chat_v1_chat_proto_msgTypes[15]
|
|
998
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
999
|
-
ms.StoreMessageInfo(mi)
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
func (x *GetConversationResponse) String() string {
|
|
1003
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
func (*GetConversationResponse) ProtoMessage() {}
|
|
1007
|
-
|
|
1008
|
-
func (x *GetConversationResponse) ProtoReflect() protoreflect.Message {
|
|
1009
|
-
mi := &file_chat_v1_chat_proto_msgTypes[15]
|
|
1010
|
-
if x != nil {
|
|
1011
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1012
|
-
if ms.LoadMessageInfo() == nil {
|
|
1013
|
-
ms.StoreMessageInfo(mi)
|
|
1014
|
-
}
|
|
1015
|
-
return ms
|
|
1016
|
-
}
|
|
1017
|
-
return mi.MessageOf(x)
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
// Deprecated: Use GetConversationResponse.ProtoReflect.Descriptor instead.
|
|
1021
|
-
func (*GetConversationResponse) Descriptor() ([]byte, []int) {
|
|
1022
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{15}
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
func (x *GetConversationResponse) GetConversation() *Conversation {
|
|
1026
|
-
if x != nil {
|
|
1027
|
-
return x.Conversation
|
|
1028
|
-
}
|
|
1029
|
-
return nil
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
type UpdateConversationRequest struct {
|
|
1033
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1034
|
-
ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
|
|
1035
|
-
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
|
|
1036
|
-
unknownFields protoimpl.UnknownFields
|
|
1037
|
-
sizeCache protoimpl.SizeCache
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
func (x *UpdateConversationRequest) Reset() {
|
|
1041
|
-
*x = UpdateConversationRequest{}
|
|
1042
|
-
mi := &file_chat_v1_chat_proto_msgTypes[16]
|
|
1043
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1044
|
-
ms.StoreMessageInfo(mi)
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
func (x *UpdateConversationRequest) String() string {
|
|
1048
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
func (*UpdateConversationRequest) ProtoMessage() {}
|
|
1052
|
-
|
|
1053
|
-
func (x *UpdateConversationRequest) ProtoReflect() protoreflect.Message {
|
|
1054
|
-
mi := &file_chat_v1_chat_proto_msgTypes[16]
|
|
1055
|
-
if x != nil {
|
|
1056
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1057
|
-
if ms.LoadMessageInfo() == nil {
|
|
1058
|
-
ms.StoreMessageInfo(mi)
|
|
1059
|
-
}
|
|
1060
|
-
return ms
|
|
1061
|
-
}
|
|
1062
|
-
return mi.MessageOf(x)
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
// Deprecated: Use UpdateConversationRequest.ProtoReflect.Descriptor instead.
|
|
1066
|
-
func (*UpdateConversationRequest) Descriptor() ([]byte, []int) {
|
|
1067
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{16}
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
func (x *UpdateConversationRequest) GetConversationId() string {
|
|
1071
|
-
if x != nil {
|
|
1072
|
-
return x.ConversationId
|
|
1073
|
-
}
|
|
1074
|
-
return ""
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
func (x *UpdateConversationRequest) GetTitle() string {
|
|
1078
|
-
if x != nil {
|
|
1079
|
-
return x.Title
|
|
1080
|
-
}
|
|
1081
|
-
return ""
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
type UpdateConversationResponse struct {
|
|
1085
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1086
|
-
Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
|
|
1087
|
-
unknownFields protoimpl.UnknownFields
|
|
1088
|
-
sizeCache protoimpl.SizeCache
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
|
-
func (x *UpdateConversationResponse) Reset() {
|
|
1092
|
-
*x = UpdateConversationResponse{}
|
|
1093
|
-
mi := &file_chat_v1_chat_proto_msgTypes[17]
|
|
1094
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1095
|
-
ms.StoreMessageInfo(mi)
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
func (x *UpdateConversationResponse) String() string {
|
|
1099
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
func (*UpdateConversationResponse) ProtoMessage() {}
|
|
1103
|
-
|
|
1104
|
-
func (x *UpdateConversationResponse) ProtoReflect() protoreflect.Message {
|
|
1105
|
-
mi := &file_chat_v1_chat_proto_msgTypes[17]
|
|
1106
|
-
if x != nil {
|
|
1107
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1108
|
-
if ms.LoadMessageInfo() == nil {
|
|
1109
|
-
ms.StoreMessageInfo(mi)
|
|
1110
|
-
}
|
|
1111
|
-
return ms
|
|
1112
|
-
}
|
|
1113
|
-
return mi.MessageOf(x)
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
// Deprecated: Use UpdateConversationResponse.ProtoReflect.Descriptor instead.
|
|
1117
|
-
func (*UpdateConversationResponse) Descriptor() ([]byte, []int) {
|
|
1118
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{17}
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
func (x *UpdateConversationResponse) GetConversation() *Conversation {
|
|
1122
|
-
if x != nil {
|
|
1123
|
-
return x.Conversation
|
|
1124
|
-
}
|
|
1125
|
-
return nil
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
type DeleteConversationRequest struct {
|
|
1129
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1130
|
-
ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
|
|
1131
|
-
unknownFields protoimpl.UnknownFields
|
|
1132
|
-
sizeCache protoimpl.SizeCache
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
func (x *DeleteConversationRequest) Reset() {
|
|
1136
|
-
*x = DeleteConversationRequest{}
|
|
1137
|
-
mi := &file_chat_v1_chat_proto_msgTypes[18]
|
|
1138
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1139
|
-
ms.StoreMessageInfo(mi)
|
|
1140
|
-
}
|
|
1141
|
-
|
|
1142
|
-
func (x *DeleteConversationRequest) String() string {
|
|
1143
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
func (*DeleteConversationRequest) ProtoMessage() {}
|
|
1147
|
-
|
|
1148
|
-
func (x *DeleteConversationRequest) ProtoReflect() protoreflect.Message {
|
|
1149
|
-
mi := &file_chat_v1_chat_proto_msgTypes[18]
|
|
1150
|
-
if x != nil {
|
|
1151
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1152
|
-
if ms.LoadMessageInfo() == nil {
|
|
1153
|
-
ms.StoreMessageInfo(mi)
|
|
1154
|
-
}
|
|
1155
|
-
return ms
|
|
1156
|
-
}
|
|
1157
|
-
return mi.MessageOf(x)
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
// Deprecated: Use DeleteConversationRequest.ProtoReflect.Descriptor instead.
|
|
1161
|
-
func (*DeleteConversationRequest) Descriptor() ([]byte, []int) {
|
|
1162
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{18}
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
func (x *DeleteConversationRequest) GetConversationId() string {
|
|
1166
|
-
if x != nil {
|
|
1167
|
-
return x.ConversationId
|
|
1168
|
-
}
|
|
1169
|
-
return ""
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
type DeleteConversationResponse struct {
|
|
1173
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1174
|
-
unknownFields protoimpl.UnknownFields
|
|
1175
|
-
sizeCache protoimpl.SizeCache
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
func (x *DeleteConversationResponse) Reset() {
|
|
1179
|
-
*x = DeleteConversationResponse{}
|
|
1180
|
-
mi := &file_chat_v1_chat_proto_msgTypes[19]
|
|
1181
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1182
|
-
ms.StoreMessageInfo(mi)
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
func (x *DeleteConversationResponse) String() string {
|
|
1186
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
func (*DeleteConversationResponse) ProtoMessage() {}
|
|
1190
|
-
|
|
1191
|
-
func (x *DeleteConversationResponse) ProtoReflect() protoreflect.Message {
|
|
1192
|
-
mi := &file_chat_v1_chat_proto_msgTypes[19]
|
|
1193
|
-
if x != nil {
|
|
1194
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1195
|
-
if ms.LoadMessageInfo() == nil {
|
|
1196
|
-
ms.StoreMessageInfo(mi)
|
|
1197
|
-
}
|
|
1198
|
-
return ms
|
|
1199
|
-
}
|
|
1200
|
-
return mi.MessageOf(x)
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
// Deprecated: Use DeleteConversationResponse.ProtoReflect.Descriptor instead.
|
|
1204
|
-
func (*DeleteConversationResponse) Descriptor() ([]byte, []int) {
|
|
1205
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{19}
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
|
-
type AddConversationParticipantRequest struct {
|
|
1209
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1210
|
-
ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
|
|
1211
|
-
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
1212
|
-
unknownFields protoimpl.UnknownFields
|
|
1213
|
-
sizeCache protoimpl.SizeCache
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
func (x *AddConversationParticipantRequest) Reset() {
|
|
1217
|
-
*x = AddConversationParticipantRequest{}
|
|
1218
|
-
mi := &file_chat_v1_chat_proto_msgTypes[20]
|
|
1219
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1220
|
-
ms.StoreMessageInfo(mi)
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
|
-
func (x *AddConversationParticipantRequest) String() string {
|
|
1224
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
func (*AddConversationParticipantRequest) ProtoMessage() {}
|
|
1228
|
-
|
|
1229
|
-
func (x *AddConversationParticipantRequest) ProtoReflect() protoreflect.Message {
|
|
1230
|
-
mi := &file_chat_v1_chat_proto_msgTypes[20]
|
|
1231
|
-
if x != nil {
|
|
1232
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1233
|
-
if ms.LoadMessageInfo() == nil {
|
|
1234
|
-
ms.StoreMessageInfo(mi)
|
|
1235
|
-
}
|
|
1236
|
-
return ms
|
|
1237
|
-
}
|
|
1238
|
-
return mi.MessageOf(x)
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
|
-
// Deprecated: Use AddConversationParticipantRequest.ProtoReflect.Descriptor instead.
|
|
1242
|
-
func (*AddConversationParticipantRequest) Descriptor() ([]byte, []int) {
|
|
1243
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{20}
|
|
1244
|
-
}
|
|
1245
|
-
|
|
1246
|
-
func (x *AddConversationParticipantRequest) GetConversationId() string {
|
|
1247
|
-
if x != nil {
|
|
1248
|
-
return x.ConversationId
|
|
1249
|
-
}
|
|
1250
|
-
return ""
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
func (x *AddConversationParticipantRequest) GetUserId() string {
|
|
1254
|
-
if x != nil {
|
|
1255
|
-
return x.UserId
|
|
1256
|
-
}
|
|
1257
|
-
return ""
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
type AddConversationParticipantResponse struct {
|
|
1261
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1262
|
-
Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
|
|
1263
|
-
unknownFields protoimpl.UnknownFields
|
|
1264
|
-
sizeCache protoimpl.SizeCache
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
func (x *AddConversationParticipantResponse) Reset() {
|
|
1268
|
-
*x = AddConversationParticipantResponse{}
|
|
1269
|
-
mi := &file_chat_v1_chat_proto_msgTypes[21]
|
|
1270
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1271
|
-
ms.StoreMessageInfo(mi)
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
func (x *AddConversationParticipantResponse) String() string {
|
|
1275
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1276
|
-
}
|
|
1277
|
-
|
|
1278
|
-
func (*AddConversationParticipantResponse) ProtoMessage() {}
|
|
1279
|
-
|
|
1280
|
-
func (x *AddConversationParticipantResponse) ProtoReflect() protoreflect.Message {
|
|
1281
|
-
mi := &file_chat_v1_chat_proto_msgTypes[21]
|
|
1282
|
-
if x != nil {
|
|
1283
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1284
|
-
if ms.LoadMessageInfo() == nil {
|
|
1285
|
-
ms.StoreMessageInfo(mi)
|
|
1286
|
-
}
|
|
1287
|
-
return ms
|
|
1288
|
-
}
|
|
1289
|
-
return mi.MessageOf(x)
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
|
-
// Deprecated: Use AddConversationParticipantResponse.ProtoReflect.Descriptor instead.
|
|
1293
|
-
func (*AddConversationParticipantResponse) Descriptor() ([]byte, []int) {
|
|
1294
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{21}
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
func (x *AddConversationParticipantResponse) GetConversation() *Conversation {
|
|
1298
|
-
if x != nil {
|
|
1299
|
-
return x.Conversation
|
|
1300
|
-
}
|
|
1301
|
-
return nil
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
type RemoveConversationParticipantRequest struct {
|
|
1305
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1306
|
-
ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
|
|
1307
|
-
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
1308
|
-
unknownFields protoimpl.UnknownFields
|
|
1309
|
-
sizeCache protoimpl.SizeCache
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
func (x *RemoveConversationParticipantRequest) Reset() {
|
|
1313
|
-
*x = RemoveConversationParticipantRequest{}
|
|
1314
|
-
mi := &file_chat_v1_chat_proto_msgTypes[22]
|
|
1315
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1316
|
-
ms.StoreMessageInfo(mi)
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
func (x *RemoveConversationParticipantRequest) String() string {
|
|
1320
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1321
|
-
}
|
|
1322
|
-
|
|
1323
|
-
func (*RemoveConversationParticipantRequest) ProtoMessage() {}
|
|
1324
|
-
|
|
1325
|
-
func (x *RemoveConversationParticipantRequest) ProtoReflect() protoreflect.Message {
|
|
1326
|
-
mi := &file_chat_v1_chat_proto_msgTypes[22]
|
|
1327
|
-
if x != nil {
|
|
1328
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1329
|
-
if ms.LoadMessageInfo() == nil {
|
|
1330
|
-
ms.StoreMessageInfo(mi)
|
|
1331
|
-
}
|
|
1332
|
-
return ms
|
|
1333
|
-
}
|
|
1334
|
-
return mi.MessageOf(x)
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
|
-
// Deprecated: Use RemoveConversationParticipantRequest.ProtoReflect.Descriptor instead.
|
|
1338
|
-
func (*RemoveConversationParticipantRequest) Descriptor() ([]byte, []int) {
|
|
1339
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{22}
|
|
1340
|
-
}
|
|
1341
|
-
|
|
1342
|
-
func (x *RemoveConversationParticipantRequest) GetConversationId() string {
|
|
1343
|
-
if x != nil {
|
|
1344
|
-
return x.ConversationId
|
|
1345
|
-
}
|
|
1346
|
-
return ""
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
func (x *RemoveConversationParticipantRequest) GetUserId() string {
|
|
1350
|
-
if x != nil {
|
|
1351
|
-
return x.UserId
|
|
1352
|
-
}
|
|
1353
|
-
return ""
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
type RemoveConversationParticipantResponse struct {
|
|
1357
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1358
|
-
unknownFields protoimpl.UnknownFields
|
|
1359
|
-
sizeCache protoimpl.SizeCache
|
|
1360
|
-
}
|
|
1361
|
-
|
|
1362
|
-
func (x *RemoveConversationParticipantResponse) Reset() {
|
|
1363
|
-
*x = RemoveConversationParticipantResponse{}
|
|
1364
|
-
mi := &file_chat_v1_chat_proto_msgTypes[23]
|
|
1365
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1366
|
-
ms.StoreMessageInfo(mi)
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
|
-
func (x *RemoveConversationParticipantResponse) String() string {
|
|
1370
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
|
-
func (*RemoveConversationParticipantResponse) ProtoMessage() {}
|
|
1374
|
-
|
|
1375
|
-
func (x *RemoveConversationParticipantResponse) ProtoReflect() protoreflect.Message {
|
|
1376
|
-
mi := &file_chat_v1_chat_proto_msgTypes[23]
|
|
1377
|
-
if x != nil {
|
|
1378
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1379
|
-
if ms.LoadMessageInfo() == nil {
|
|
1380
|
-
ms.StoreMessageInfo(mi)
|
|
1381
|
-
}
|
|
1382
|
-
return ms
|
|
1383
|
-
}
|
|
1384
|
-
return mi.MessageOf(x)
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1387
|
-
// Deprecated: Use RemoveConversationParticipantResponse.ProtoReflect.Descriptor instead.
|
|
1388
|
-
func (*RemoveConversationParticipantResponse) Descriptor() ([]byte, []int) {
|
|
1389
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{23}
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
type ListMessagesRequest struct {
|
|
1393
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1394
|
-
ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
|
|
1395
|
-
Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
|
|
1396
|
-
Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
1397
|
-
unknownFields protoimpl.UnknownFields
|
|
1398
|
-
sizeCache protoimpl.SizeCache
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
func (x *ListMessagesRequest) Reset() {
|
|
1402
|
-
*x = ListMessagesRequest{}
|
|
1403
|
-
mi := &file_chat_v1_chat_proto_msgTypes[24]
|
|
1404
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1405
|
-
ms.StoreMessageInfo(mi)
|
|
1406
|
-
}
|
|
1407
|
-
|
|
1408
|
-
func (x *ListMessagesRequest) String() string {
|
|
1409
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
func (*ListMessagesRequest) ProtoMessage() {}
|
|
1413
|
-
|
|
1414
|
-
func (x *ListMessagesRequest) ProtoReflect() protoreflect.Message {
|
|
1415
|
-
mi := &file_chat_v1_chat_proto_msgTypes[24]
|
|
1416
|
-
if x != nil {
|
|
1417
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1418
|
-
if ms.LoadMessageInfo() == nil {
|
|
1419
|
-
ms.StoreMessageInfo(mi)
|
|
1420
|
-
}
|
|
1421
|
-
return ms
|
|
1422
|
-
}
|
|
1423
|
-
return mi.MessageOf(x)
|
|
1424
|
-
}
|
|
1425
|
-
|
|
1426
|
-
// Deprecated: Use ListMessagesRequest.ProtoReflect.Descriptor instead.
|
|
1427
|
-
func (*ListMessagesRequest) Descriptor() ([]byte, []int) {
|
|
1428
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{24}
|
|
1429
|
-
}
|
|
1430
|
-
|
|
1431
|
-
func (x *ListMessagesRequest) GetConversationId() string {
|
|
1432
|
-
if x != nil {
|
|
1433
|
-
return x.ConversationId
|
|
1434
|
-
}
|
|
1435
|
-
return ""
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
func (x *ListMessagesRequest) GetCursor() string {
|
|
1439
|
-
if x != nil {
|
|
1440
|
-
return x.Cursor
|
|
1441
|
-
}
|
|
1442
|
-
return ""
|
|
1443
|
-
}
|
|
1444
|
-
|
|
1445
|
-
func (x *ListMessagesRequest) GetLimit() int32 {
|
|
1446
|
-
if x != nil {
|
|
1447
|
-
return x.Limit
|
|
1448
|
-
}
|
|
1449
|
-
return 0
|
|
1450
|
-
}
|
|
1451
|
-
|
|
1452
|
-
type ListMessagesResponse struct {
|
|
1453
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1454
|
-
Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
1455
|
-
NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
|
|
1456
|
-
unknownFields protoimpl.UnknownFields
|
|
1457
|
-
sizeCache protoimpl.SizeCache
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
func (x *ListMessagesResponse) Reset() {
|
|
1461
|
-
*x = ListMessagesResponse{}
|
|
1462
|
-
mi := &file_chat_v1_chat_proto_msgTypes[25]
|
|
1463
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1464
|
-
ms.StoreMessageInfo(mi)
|
|
1465
|
-
}
|
|
1466
|
-
|
|
1467
|
-
func (x *ListMessagesResponse) String() string {
|
|
1468
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
func (*ListMessagesResponse) ProtoMessage() {}
|
|
1472
|
-
|
|
1473
|
-
func (x *ListMessagesResponse) ProtoReflect() protoreflect.Message {
|
|
1474
|
-
mi := &file_chat_v1_chat_proto_msgTypes[25]
|
|
1475
|
-
if x != nil {
|
|
1476
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1477
|
-
if ms.LoadMessageInfo() == nil {
|
|
1478
|
-
ms.StoreMessageInfo(mi)
|
|
1479
|
-
}
|
|
1480
|
-
return ms
|
|
1481
|
-
}
|
|
1482
|
-
return mi.MessageOf(x)
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
// Deprecated: Use ListMessagesResponse.ProtoReflect.Descriptor instead.
|
|
1486
|
-
func (*ListMessagesResponse) Descriptor() ([]byte, []int) {
|
|
1487
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{25}
|
|
1488
|
-
}
|
|
1489
|
-
|
|
1490
|
-
func (x *ListMessagesResponse) GetMessages() []*Message {
|
|
1491
|
-
if x != nil {
|
|
1492
|
-
return x.Messages
|
|
1493
|
-
}
|
|
1494
|
-
return nil
|
|
1495
|
-
}
|
|
1496
|
-
|
|
1497
|
-
func (x *ListMessagesResponse) GetNextCursor() string {
|
|
1498
|
-
if x != nil {
|
|
1499
|
-
return x.NextCursor
|
|
1500
|
-
}
|
|
1501
|
-
return ""
|
|
1502
|
-
}
|
|
1503
|
-
|
|
1504
|
-
type CreateMessageRequest struct {
|
|
1505
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1506
|
-
ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
|
|
1507
|
-
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
1508
|
-
Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
|
|
1509
|
-
unknownFields protoimpl.UnknownFields
|
|
1510
|
-
sizeCache protoimpl.SizeCache
|
|
1511
|
-
}
|
|
1512
|
-
|
|
1513
|
-
func (x *CreateMessageRequest) Reset() {
|
|
1514
|
-
*x = CreateMessageRequest{}
|
|
1515
|
-
mi := &file_chat_v1_chat_proto_msgTypes[26]
|
|
1516
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1517
|
-
ms.StoreMessageInfo(mi)
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
func (x *CreateMessageRequest) String() string {
|
|
1521
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1522
|
-
}
|
|
1523
|
-
|
|
1524
|
-
func (*CreateMessageRequest) ProtoMessage() {}
|
|
1525
|
-
|
|
1526
|
-
func (x *CreateMessageRequest) ProtoReflect() protoreflect.Message {
|
|
1527
|
-
mi := &file_chat_v1_chat_proto_msgTypes[26]
|
|
1528
|
-
if x != nil {
|
|
1529
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1530
|
-
if ms.LoadMessageInfo() == nil {
|
|
1531
|
-
ms.StoreMessageInfo(mi)
|
|
1532
|
-
}
|
|
1533
|
-
return ms
|
|
1534
|
-
}
|
|
1535
|
-
return mi.MessageOf(x)
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
|
-
// Deprecated: Use CreateMessageRequest.ProtoReflect.Descriptor instead.
|
|
1539
|
-
func (*CreateMessageRequest) Descriptor() ([]byte, []int) {
|
|
1540
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{26}
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
func (x *CreateMessageRequest) GetConversationId() string {
|
|
1544
|
-
if x != nil {
|
|
1545
|
-
return x.ConversationId
|
|
1546
|
-
}
|
|
1547
|
-
return ""
|
|
1548
|
-
}
|
|
1549
|
-
|
|
1550
|
-
func (x *CreateMessageRequest) GetUserId() string {
|
|
1551
|
-
if x != nil {
|
|
1552
|
-
return x.UserId
|
|
1553
|
-
}
|
|
1554
|
-
return ""
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
|
-
func (x *CreateMessageRequest) GetBody() string {
|
|
1558
|
-
if x != nil {
|
|
1559
|
-
return x.Body
|
|
1560
|
-
}
|
|
1561
|
-
return ""
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1564
|
-
type CreateMessageResponse struct {
|
|
1565
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1566
|
-
Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
1567
|
-
unknownFields protoimpl.UnknownFields
|
|
1568
|
-
sizeCache protoimpl.SizeCache
|
|
1569
|
-
}
|
|
1570
|
-
|
|
1571
|
-
func (x *CreateMessageResponse) Reset() {
|
|
1572
|
-
*x = CreateMessageResponse{}
|
|
1573
|
-
mi := &file_chat_v1_chat_proto_msgTypes[27]
|
|
1574
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1575
|
-
ms.StoreMessageInfo(mi)
|
|
1576
|
-
}
|
|
1577
|
-
|
|
1578
|
-
func (x *CreateMessageResponse) String() string {
|
|
1579
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
func (*CreateMessageResponse) ProtoMessage() {}
|
|
1583
|
-
|
|
1584
|
-
func (x *CreateMessageResponse) ProtoReflect() protoreflect.Message {
|
|
1585
|
-
mi := &file_chat_v1_chat_proto_msgTypes[27]
|
|
1586
|
-
if x != nil {
|
|
1587
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1588
|
-
if ms.LoadMessageInfo() == nil {
|
|
1589
|
-
ms.StoreMessageInfo(mi)
|
|
1590
|
-
}
|
|
1591
|
-
return ms
|
|
1592
|
-
}
|
|
1593
|
-
return mi.MessageOf(x)
|
|
1594
|
-
}
|
|
1595
|
-
|
|
1596
|
-
// Deprecated: Use CreateMessageResponse.ProtoReflect.Descriptor instead.
|
|
1597
|
-
func (*CreateMessageResponse) Descriptor() ([]byte, []int) {
|
|
1598
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{27}
|
|
1599
|
-
}
|
|
1600
|
-
|
|
1601
|
-
func (x *CreateMessageResponse) GetMessage() *Message {
|
|
1602
|
-
if x != nil {
|
|
1603
|
-
return x.Message
|
|
1604
|
-
}
|
|
1605
|
-
return nil
|
|
1606
|
-
}
|
|
1607
|
-
|
|
1608
|
-
type UpdateMessageRequest struct {
|
|
1609
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1610
|
-
ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
|
|
1611
|
-
MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
|
|
1612
|
-
Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
|
|
1613
|
-
unknownFields protoimpl.UnknownFields
|
|
1614
|
-
sizeCache protoimpl.SizeCache
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
func (x *UpdateMessageRequest) Reset() {
|
|
1618
|
-
*x = UpdateMessageRequest{}
|
|
1619
|
-
mi := &file_chat_v1_chat_proto_msgTypes[28]
|
|
1620
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1621
|
-
ms.StoreMessageInfo(mi)
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
func (x *UpdateMessageRequest) String() string {
|
|
1625
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
func (*UpdateMessageRequest) ProtoMessage() {}
|
|
1629
|
-
|
|
1630
|
-
func (x *UpdateMessageRequest) ProtoReflect() protoreflect.Message {
|
|
1631
|
-
mi := &file_chat_v1_chat_proto_msgTypes[28]
|
|
1632
|
-
if x != nil {
|
|
1633
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1634
|
-
if ms.LoadMessageInfo() == nil {
|
|
1635
|
-
ms.StoreMessageInfo(mi)
|
|
1636
|
-
}
|
|
1637
|
-
return ms
|
|
1638
|
-
}
|
|
1639
|
-
return mi.MessageOf(x)
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
|
-
// Deprecated: Use UpdateMessageRequest.ProtoReflect.Descriptor instead.
|
|
1643
|
-
func (*UpdateMessageRequest) Descriptor() ([]byte, []int) {
|
|
1644
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{28}
|
|
1645
|
-
}
|
|
1646
|
-
|
|
1647
|
-
func (x *UpdateMessageRequest) GetConversationId() string {
|
|
1648
|
-
if x != nil {
|
|
1649
|
-
return x.ConversationId
|
|
1650
|
-
}
|
|
1651
|
-
return ""
|
|
1652
|
-
}
|
|
1653
|
-
|
|
1654
|
-
func (x *UpdateMessageRequest) GetMessageId() string {
|
|
1655
|
-
if x != nil {
|
|
1656
|
-
return x.MessageId
|
|
1657
|
-
}
|
|
1658
|
-
return ""
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
|
-
func (x *UpdateMessageRequest) GetBody() string {
|
|
1662
|
-
if x != nil {
|
|
1663
|
-
return x.Body
|
|
1664
|
-
}
|
|
1665
|
-
return ""
|
|
1666
|
-
}
|
|
1667
|
-
|
|
1668
|
-
type UpdateMessageResponse struct {
|
|
1669
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1670
|
-
Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
1671
|
-
unknownFields protoimpl.UnknownFields
|
|
1672
|
-
sizeCache protoimpl.SizeCache
|
|
1673
|
-
}
|
|
1674
|
-
|
|
1675
|
-
func (x *UpdateMessageResponse) Reset() {
|
|
1676
|
-
*x = UpdateMessageResponse{}
|
|
1677
|
-
mi := &file_chat_v1_chat_proto_msgTypes[29]
|
|
1678
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1679
|
-
ms.StoreMessageInfo(mi)
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
|
-
func (x *UpdateMessageResponse) String() string {
|
|
1683
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1684
|
-
}
|
|
1685
|
-
|
|
1686
|
-
func (*UpdateMessageResponse) ProtoMessage() {}
|
|
1687
|
-
|
|
1688
|
-
func (x *UpdateMessageResponse) ProtoReflect() protoreflect.Message {
|
|
1689
|
-
mi := &file_chat_v1_chat_proto_msgTypes[29]
|
|
1690
|
-
if x != nil {
|
|
1691
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1692
|
-
if ms.LoadMessageInfo() == nil {
|
|
1693
|
-
ms.StoreMessageInfo(mi)
|
|
1694
|
-
}
|
|
1695
|
-
return ms
|
|
1696
|
-
}
|
|
1697
|
-
return mi.MessageOf(x)
|
|
1698
|
-
}
|
|
1699
|
-
|
|
1700
|
-
// Deprecated: Use UpdateMessageResponse.ProtoReflect.Descriptor instead.
|
|
1701
|
-
func (*UpdateMessageResponse) Descriptor() ([]byte, []int) {
|
|
1702
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{29}
|
|
1703
|
-
}
|
|
1704
|
-
|
|
1705
|
-
func (x *UpdateMessageResponse) GetMessage() *Message {
|
|
1706
|
-
if x != nil {
|
|
1707
|
-
return x.Message
|
|
1708
|
-
}
|
|
1709
|
-
return nil
|
|
1710
|
-
}
|
|
1711
|
-
|
|
1712
|
-
type DeleteMessageRequest struct {
|
|
1713
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1714
|
-
ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
|
|
1715
|
-
MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
|
|
1716
|
-
unknownFields protoimpl.UnknownFields
|
|
1717
|
-
sizeCache protoimpl.SizeCache
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
|
-
func (x *DeleteMessageRequest) Reset() {
|
|
1721
|
-
*x = DeleteMessageRequest{}
|
|
1722
|
-
mi := &file_chat_v1_chat_proto_msgTypes[30]
|
|
1723
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1724
|
-
ms.StoreMessageInfo(mi)
|
|
1725
|
-
}
|
|
1726
|
-
|
|
1727
|
-
func (x *DeleteMessageRequest) String() string {
|
|
1728
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1729
|
-
}
|
|
1730
|
-
|
|
1731
|
-
func (*DeleteMessageRequest) ProtoMessage() {}
|
|
1732
|
-
|
|
1733
|
-
func (x *DeleteMessageRequest) ProtoReflect() protoreflect.Message {
|
|
1734
|
-
mi := &file_chat_v1_chat_proto_msgTypes[30]
|
|
1735
|
-
if x != nil {
|
|
1736
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1737
|
-
if ms.LoadMessageInfo() == nil {
|
|
1738
|
-
ms.StoreMessageInfo(mi)
|
|
1739
|
-
}
|
|
1740
|
-
return ms
|
|
1741
|
-
}
|
|
1742
|
-
return mi.MessageOf(x)
|
|
1743
|
-
}
|
|
1744
|
-
|
|
1745
|
-
// Deprecated: Use DeleteMessageRequest.ProtoReflect.Descriptor instead.
|
|
1746
|
-
func (*DeleteMessageRequest) Descriptor() ([]byte, []int) {
|
|
1747
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{30}
|
|
1748
|
-
}
|
|
1749
|
-
|
|
1750
|
-
func (x *DeleteMessageRequest) GetConversationId() string {
|
|
1751
|
-
if x != nil {
|
|
1752
|
-
return x.ConversationId
|
|
1753
|
-
}
|
|
1754
|
-
return ""
|
|
1755
|
-
}
|
|
1756
|
-
|
|
1757
|
-
func (x *DeleteMessageRequest) GetMessageId() string {
|
|
1758
|
-
if x != nil {
|
|
1759
|
-
return x.MessageId
|
|
1760
|
-
}
|
|
1761
|
-
return ""
|
|
1762
|
-
}
|
|
1763
|
-
|
|
1764
|
-
type DeleteMessageResponse struct {
|
|
1765
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1766
|
-
unknownFields protoimpl.UnknownFields
|
|
1767
|
-
sizeCache protoimpl.SizeCache
|
|
1768
|
-
}
|
|
1769
|
-
|
|
1770
|
-
func (x *DeleteMessageResponse) Reset() {
|
|
1771
|
-
*x = DeleteMessageResponse{}
|
|
1772
|
-
mi := &file_chat_v1_chat_proto_msgTypes[31]
|
|
1773
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1774
|
-
ms.StoreMessageInfo(mi)
|
|
1775
|
-
}
|
|
1776
|
-
|
|
1777
|
-
func (x *DeleteMessageResponse) String() string {
|
|
1778
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
|
-
func (*DeleteMessageResponse) ProtoMessage() {}
|
|
1782
|
-
|
|
1783
|
-
func (x *DeleteMessageResponse) ProtoReflect() protoreflect.Message {
|
|
1784
|
-
mi := &file_chat_v1_chat_proto_msgTypes[31]
|
|
1785
|
-
if x != nil {
|
|
1786
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1787
|
-
if ms.LoadMessageInfo() == nil {
|
|
1788
|
-
ms.StoreMessageInfo(mi)
|
|
1789
|
-
}
|
|
1790
|
-
return ms
|
|
1791
|
-
}
|
|
1792
|
-
return mi.MessageOf(x)
|
|
1793
|
-
}
|
|
1794
|
-
|
|
1795
|
-
// Deprecated: Use DeleteMessageResponse.ProtoReflect.Descriptor instead.
|
|
1796
|
-
func (*DeleteMessageResponse) Descriptor() ([]byte, []int) {
|
|
1797
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{31}
|
|
1798
|
-
}
|
|
1799
|
-
|
|
1800
|
-
type CreateAttachmentUploadRequest struct {
|
|
1801
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1802
|
-
ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
|
|
1803
|
-
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
1804
|
-
Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
1805
|
-
ContentType string `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
|
|
1806
|
-
ByteSize int64 `protobuf:"varint,5,opt,name=byte_size,json=byteSize,proto3" json:"byte_size,omitempty"`
|
|
1807
|
-
unknownFields protoimpl.UnknownFields
|
|
1808
|
-
sizeCache protoimpl.SizeCache
|
|
1809
|
-
}
|
|
1810
|
-
|
|
1811
|
-
func (x *CreateAttachmentUploadRequest) Reset() {
|
|
1812
|
-
*x = CreateAttachmentUploadRequest{}
|
|
1813
|
-
mi := &file_chat_v1_chat_proto_msgTypes[32]
|
|
1814
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1815
|
-
ms.StoreMessageInfo(mi)
|
|
1816
|
-
}
|
|
1817
|
-
|
|
1818
|
-
func (x *CreateAttachmentUploadRequest) String() string {
|
|
1819
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1820
|
-
}
|
|
1821
|
-
|
|
1822
|
-
func (*CreateAttachmentUploadRequest) ProtoMessage() {}
|
|
1823
|
-
|
|
1824
|
-
func (x *CreateAttachmentUploadRequest) ProtoReflect() protoreflect.Message {
|
|
1825
|
-
mi := &file_chat_v1_chat_proto_msgTypes[32]
|
|
1826
|
-
if x != nil {
|
|
1827
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1828
|
-
if ms.LoadMessageInfo() == nil {
|
|
1829
|
-
ms.StoreMessageInfo(mi)
|
|
1830
|
-
}
|
|
1831
|
-
return ms
|
|
1832
|
-
}
|
|
1833
|
-
return mi.MessageOf(x)
|
|
1834
|
-
}
|
|
1835
|
-
|
|
1836
|
-
// Deprecated: Use CreateAttachmentUploadRequest.ProtoReflect.Descriptor instead.
|
|
1837
|
-
func (*CreateAttachmentUploadRequest) Descriptor() ([]byte, []int) {
|
|
1838
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{32}
|
|
1839
|
-
}
|
|
1840
|
-
|
|
1841
|
-
func (x *CreateAttachmentUploadRequest) GetConversationId() string {
|
|
1842
|
-
if x != nil {
|
|
1843
|
-
return x.ConversationId
|
|
1844
|
-
}
|
|
1845
|
-
return ""
|
|
1846
|
-
}
|
|
1847
|
-
|
|
1848
|
-
func (x *CreateAttachmentUploadRequest) GetUserId() string {
|
|
1849
|
-
if x != nil {
|
|
1850
|
-
return x.UserId
|
|
1851
|
-
}
|
|
1852
|
-
return ""
|
|
1853
|
-
}
|
|
1854
|
-
|
|
1855
|
-
func (x *CreateAttachmentUploadRequest) GetFilename() string {
|
|
1856
|
-
if x != nil {
|
|
1857
|
-
return x.Filename
|
|
1858
|
-
}
|
|
1859
|
-
return ""
|
|
1860
|
-
}
|
|
1861
|
-
|
|
1862
|
-
func (x *CreateAttachmentUploadRequest) GetContentType() string {
|
|
1863
|
-
if x != nil {
|
|
1864
|
-
return x.ContentType
|
|
1865
|
-
}
|
|
1866
|
-
return ""
|
|
1867
|
-
}
|
|
1868
|
-
|
|
1869
|
-
func (x *CreateAttachmentUploadRequest) GetByteSize() int64 {
|
|
1870
|
-
if x != nil {
|
|
1871
|
-
return x.ByteSize
|
|
1872
|
-
}
|
|
1873
|
-
return 0
|
|
1874
|
-
}
|
|
1875
|
-
|
|
1876
|
-
type CreateAttachmentUploadResponse struct {
|
|
1877
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1878
|
-
Attachment *Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"`
|
|
1879
|
-
Upload *UploadTarget `protobuf:"bytes,2,opt,name=upload,proto3" json:"upload,omitempty"`
|
|
1880
|
-
unknownFields protoimpl.UnknownFields
|
|
1881
|
-
sizeCache protoimpl.SizeCache
|
|
1882
|
-
}
|
|
1883
|
-
|
|
1884
|
-
func (x *CreateAttachmentUploadResponse) Reset() {
|
|
1885
|
-
*x = CreateAttachmentUploadResponse{}
|
|
1886
|
-
mi := &file_chat_v1_chat_proto_msgTypes[33]
|
|
1887
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1888
|
-
ms.StoreMessageInfo(mi)
|
|
1889
|
-
}
|
|
1890
|
-
|
|
1891
|
-
func (x *CreateAttachmentUploadResponse) String() string {
|
|
1892
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1893
|
-
}
|
|
1894
|
-
|
|
1895
|
-
func (*CreateAttachmentUploadResponse) ProtoMessage() {}
|
|
1896
|
-
|
|
1897
|
-
func (x *CreateAttachmentUploadResponse) ProtoReflect() protoreflect.Message {
|
|
1898
|
-
mi := &file_chat_v1_chat_proto_msgTypes[33]
|
|
1899
|
-
if x != nil {
|
|
1900
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1901
|
-
if ms.LoadMessageInfo() == nil {
|
|
1902
|
-
ms.StoreMessageInfo(mi)
|
|
1903
|
-
}
|
|
1904
|
-
return ms
|
|
1905
|
-
}
|
|
1906
|
-
return mi.MessageOf(x)
|
|
1907
|
-
}
|
|
1908
|
-
|
|
1909
|
-
// Deprecated: Use CreateAttachmentUploadResponse.ProtoReflect.Descriptor instead.
|
|
1910
|
-
func (*CreateAttachmentUploadResponse) Descriptor() ([]byte, []int) {
|
|
1911
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{33}
|
|
1912
|
-
}
|
|
1913
|
-
|
|
1914
|
-
func (x *CreateAttachmentUploadResponse) GetAttachment() *Attachment {
|
|
1915
|
-
if x != nil {
|
|
1916
|
-
return x.Attachment
|
|
1917
|
-
}
|
|
1918
|
-
return nil
|
|
1919
|
-
}
|
|
1920
|
-
|
|
1921
|
-
func (x *CreateAttachmentUploadResponse) GetUpload() *UploadTarget {
|
|
1922
|
-
if x != nil {
|
|
1923
|
-
return x.Upload
|
|
1924
|
-
}
|
|
1925
|
-
return nil
|
|
1926
|
-
}
|
|
1927
|
-
|
|
1928
|
-
type FinalizeAttachmentRequest struct {
|
|
1929
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1930
|
-
AttachmentId string `protobuf:"bytes,1,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"`
|
|
1931
|
-
MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
|
|
1932
|
-
unknownFields protoimpl.UnknownFields
|
|
1933
|
-
sizeCache protoimpl.SizeCache
|
|
1934
|
-
}
|
|
1935
|
-
|
|
1936
|
-
func (x *FinalizeAttachmentRequest) Reset() {
|
|
1937
|
-
*x = FinalizeAttachmentRequest{}
|
|
1938
|
-
mi := &file_chat_v1_chat_proto_msgTypes[34]
|
|
1939
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1940
|
-
ms.StoreMessageInfo(mi)
|
|
1941
|
-
}
|
|
1942
|
-
|
|
1943
|
-
func (x *FinalizeAttachmentRequest) String() string {
|
|
1944
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
|
-
func (*FinalizeAttachmentRequest) ProtoMessage() {}
|
|
1948
|
-
|
|
1949
|
-
func (x *FinalizeAttachmentRequest) ProtoReflect() protoreflect.Message {
|
|
1950
|
-
mi := &file_chat_v1_chat_proto_msgTypes[34]
|
|
1951
|
-
if x != nil {
|
|
1952
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1953
|
-
if ms.LoadMessageInfo() == nil {
|
|
1954
|
-
ms.StoreMessageInfo(mi)
|
|
1955
|
-
}
|
|
1956
|
-
return ms
|
|
1957
|
-
}
|
|
1958
|
-
return mi.MessageOf(x)
|
|
1959
|
-
}
|
|
1960
|
-
|
|
1961
|
-
// Deprecated: Use FinalizeAttachmentRequest.ProtoReflect.Descriptor instead.
|
|
1962
|
-
func (*FinalizeAttachmentRequest) Descriptor() ([]byte, []int) {
|
|
1963
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{34}
|
|
1964
|
-
}
|
|
1965
|
-
|
|
1966
|
-
func (x *FinalizeAttachmentRequest) GetAttachmentId() string {
|
|
1967
|
-
if x != nil {
|
|
1968
|
-
return x.AttachmentId
|
|
1969
|
-
}
|
|
1970
|
-
return ""
|
|
1971
|
-
}
|
|
1972
|
-
|
|
1973
|
-
func (x *FinalizeAttachmentRequest) GetMessageId() string {
|
|
1974
|
-
if x != nil {
|
|
1975
|
-
return x.MessageId
|
|
1976
|
-
}
|
|
1977
|
-
return ""
|
|
1978
|
-
}
|
|
1979
|
-
|
|
1980
|
-
type FinalizeAttachmentResponse struct {
|
|
1981
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
1982
|
-
Attachment *Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"`
|
|
1983
|
-
unknownFields protoimpl.UnknownFields
|
|
1984
|
-
sizeCache protoimpl.SizeCache
|
|
1985
|
-
}
|
|
1986
|
-
|
|
1987
|
-
func (x *FinalizeAttachmentResponse) Reset() {
|
|
1988
|
-
*x = FinalizeAttachmentResponse{}
|
|
1989
|
-
mi := &file_chat_v1_chat_proto_msgTypes[35]
|
|
1990
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
1991
|
-
ms.StoreMessageInfo(mi)
|
|
1992
|
-
}
|
|
1993
|
-
|
|
1994
|
-
func (x *FinalizeAttachmentResponse) String() string {
|
|
1995
|
-
return protoimpl.X.MessageStringOf(x)
|
|
1996
|
-
}
|
|
1997
|
-
|
|
1998
|
-
func (*FinalizeAttachmentResponse) ProtoMessage() {}
|
|
1999
|
-
|
|
2000
|
-
func (x *FinalizeAttachmentResponse) ProtoReflect() protoreflect.Message {
|
|
2001
|
-
mi := &file_chat_v1_chat_proto_msgTypes[35]
|
|
2002
|
-
if x != nil {
|
|
2003
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
2004
|
-
if ms.LoadMessageInfo() == nil {
|
|
2005
|
-
ms.StoreMessageInfo(mi)
|
|
2006
|
-
}
|
|
2007
|
-
return ms
|
|
2008
|
-
}
|
|
2009
|
-
return mi.MessageOf(x)
|
|
2010
|
-
}
|
|
2011
|
-
|
|
2012
|
-
// Deprecated: Use FinalizeAttachmentResponse.ProtoReflect.Descriptor instead.
|
|
2013
|
-
func (*FinalizeAttachmentResponse) Descriptor() ([]byte, []int) {
|
|
2014
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{35}
|
|
2015
|
-
}
|
|
2016
|
-
|
|
2017
|
-
func (x *FinalizeAttachmentResponse) GetAttachment() *Attachment {
|
|
2018
|
-
if x != nil {
|
|
2019
|
-
return x.Attachment
|
|
2020
|
-
}
|
|
2021
|
-
return nil
|
|
2022
|
-
}
|
|
2023
|
-
|
|
2024
|
-
type GetAttachmentRequest struct {
|
|
2025
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
2026
|
-
AttachmentId string `protobuf:"bytes,1,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"`
|
|
2027
|
-
unknownFields protoimpl.UnknownFields
|
|
2028
|
-
sizeCache protoimpl.SizeCache
|
|
2029
|
-
}
|
|
2030
|
-
|
|
2031
|
-
func (x *GetAttachmentRequest) Reset() {
|
|
2032
|
-
*x = GetAttachmentRequest{}
|
|
2033
|
-
mi := &file_chat_v1_chat_proto_msgTypes[36]
|
|
2034
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
2035
|
-
ms.StoreMessageInfo(mi)
|
|
2036
|
-
}
|
|
2037
|
-
|
|
2038
|
-
func (x *GetAttachmentRequest) String() string {
|
|
2039
|
-
return protoimpl.X.MessageStringOf(x)
|
|
2040
|
-
}
|
|
2041
|
-
|
|
2042
|
-
func (*GetAttachmentRequest) ProtoMessage() {}
|
|
2043
|
-
|
|
2044
|
-
func (x *GetAttachmentRequest) ProtoReflect() protoreflect.Message {
|
|
2045
|
-
mi := &file_chat_v1_chat_proto_msgTypes[36]
|
|
2046
|
-
if x != nil {
|
|
2047
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
2048
|
-
if ms.LoadMessageInfo() == nil {
|
|
2049
|
-
ms.StoreMessageInfo(mi)
|
|
2050
|
-
}
|
|
2051
|
-
return ms
|
|
2052
|
-
}
|
|
2053
|
-
return mi.MessageOf(x)
|
|
2054
|
-
}
|
|
2055
|
-
|
|
2056
|
-
// Deprecated: Use GetAttachmentRequest.ProtoReflect.Descriptor instead.
|
|
2057
|
-
func (*GetAttachmentRequest) Descriptor() ([]byte, []int) {
|
|
2058
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{36}
|
|
2059
|
-
}
|
|
2060
|
-
|
|
2061
|
-
func (x *GetAttachmentRequest) GetAttachmentId() string {
|
|
2062
|
-
if x != nil {
|
|
2063
|
-
return x.AttachmentId
|
|
2064
|
-
}
|
|
2065
|
-
return ""
|
|
2066
|
-
}
|
|
2067
|
-
|
|
2068
|
-
type GetAttachmentResponse struct {
|
|
2069
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
2070
|
-
Attachment *Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"`
|
|
2071
|
-
unknownFields protoimpl.UnknownFields
|
|
2072
|
-
sizeCache protoimpl.SizeCache
|
|
2073
|
-
}
|
|
2074
|
-
|
|
2075
|
-
func (x *GetAttachmentResponse) Reset() {
|
|
2076
|
-
*x = GetAttachmentResponse{}
|
|
2077
|
-
mi := &file_chat_v1_chat_proto_msgTypes[37]
|
|
2078
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
2079
|
-
ms.StoreMessageInfo(mi)
|
|
2080
|
-
}
|
|
2081
|
-
|
|
2082
|
-
func (x *GetAttachmentResponse) String() string {
|
|
2083
|
-
return protoimpl.X.MessageStringOf(x)
|
|
2084
|
-
}
|
|
2085
|
-
|
|
2086
|
-
func (*GetAttachmentResponse) ProtoMessage() {}
|
|
2087
|
-
|
|
2088
|
-
func (x *GetAttachmentResponse) ProtoReflect() protoreflect.Message {
|
|
2089
|
-
mi := &file_chat_v1_chat_proto_msgTypes[37]
|
|
2090
|
-
if x != nil {
|
|
2091
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
2092
|
-
if ms.LoadMessageInfo() == nil {
|
|
2093
|
-
ms.StoreMessageInfo(mi)
|
|
2094
|
-
}
|
|
2095
|
-
return ms
|
|
2096
|
-
}
|
|
2097
|
-
return mi.MessageOf(x)
|
|
2098
|
-
}
|
|
2099
|
-
|
|
2100
|
-
// Deprecated: Use GetAttachmentResponse.ProtoReflect.Descriptor instead.
|
|
2101
|
-
func (*GetAttachmentResponse) Descriptor() ([]byte, []int) {
|
|
2102
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{37}
|
|
2103
|
-
}
|
|
2104
|
-
|
|
2105
|
-
func (x *GetAttachmentResponse) GetAttachment() *Attachment {
|
|
2106
|
-
if x != nil {
|
|
2107
|
-
return x.Attachment
|
|
2108
|
-
}
|
|
2109
|
-
return nil
|
|
2110
|
-
}
|
|
2111
|
-
|
|
2112
|
-
type DeleteAttachmentRequest struct {
|
|
2113
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
2114
|
-
AttachmentId string `protobuf:"bytes,1,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"`
|
|
2115
|
-
unknownFields protoimpl.UnknownFields
|
|
2116
|
-
sizeCache protoimpl.SizeCache
|
|
2117
|
-
}
|
|
2118
|
-
|
|
2119
|
-
func (x *DeleteAttachmentRequest) Reset() {
|
|
2120
|
-
*x = DeleteAttachmentRequest{}
|
|
2121
|
-
mi := &file_chat_v1_chat_proto_msgTypes[38]
|
|
2122
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
2123
|
-
ms.StoreMessageInfo(mi)
|
|
2124
|
-
}
|
|
2125
|
-
|
|
2126
|
-
func (x *DeleteAttachmentRequest) String() string {
|
|
2127
|
-
return protoimpl.X.MessageStringOf(x)
|
|
2128
|
-
}
|
|
2129
|
-
|
|
2130
|
-
func (*DeleteAttachmentRequest) ProtoMessage() {}
|
|
2131
|
-
|
|
2132
|
-
func (x *DeleteAttachmentRequest) ProtoReflect() protoreflect.Message {
|
|
2133
|
-
mi := &file_chat_v1_chat_proto_msgTypes[38]
|
|
2134
|
-
if x != nil {
|
|
2135
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
2136
|
-
if ms.LoadMessageInfo() == nil {
|
|
2137
|
-
ms.StoreMessageInfo(mi)
|
|
2138
|
-
}
|
|
2139
|
-
return ms
|
|
2140
|
-
}
|
|
2141
|
-
return mi.MessageOf(x)
|
|
2142
|
-
}
|
|
2143
|
-
|
|
2144
|
-
// Deprecated: Use DeleteAttachmentRequest.ProtoReflect.Descriptor instead.
|
|
2145
|
-
func (*DeleteAttachmentRequest) Descriptor() ([]byte, []int) {
|
|
2146
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{38}
|
|
2147
|
-
}
|
|
2148
|
-
|
|
2149
|
-
func (x *DeleteAttachmentRequest) GetAttachmentId() string {
|
|
2150
|
-
if x != nil {
|
|
2151
|
-
return x.AttachmentId
|
|
2152
|
-
}
|
|
2153
|
-
return ""
|
|
2154
|
-
}
|
|
2155
|
-
|
|
2156
|
-
type DeleteAttachmentResponse struct {
|
|
2157
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
2158
|
-
unknownFields protoimpl.UnknownFields
|
|
2159
|
-
sizeCache protoimpl.SizeCache
|
|
2160
|
-
}
|
|
2161
|
-
|
|
2162
|
-
func (x *DeleteAttachmentResponse) Reset() {
|
|
2163
|
-
*x = DeleteAttachmentResponse{}
|
|
2164
|
-
mi := &file_chat_v1_chat_proto_msgTypes[39]
|
|
2165
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
2166
|
-
ms.StoreMessageInfo(mi)
|
|
2167
|
-
}
|
|
2168
|
-
|
|
2169
|
-
func (x *DeleteAttachmentResponse) String() string {
|
|
2170
|
-
return protoimpl.X.MessageStringOf(x)
|
|
2171
|
-
}
|
|
2172
|
-
|
|
2173
|
-
func (*DeleteAttachmentResponse) ProtoMessage() {}
|
|
2174
|
-
|
|
2175
|
-
func (x *DeleteAttachmentResponse) ProtoReflect() protoreflect.Message {
|
|
2176
|
-
mi := &file_chat_v1_chat_proto_msgTypes[39]
|
|
2177
|
-
if x != nil {
|
|
2178
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
2179
|
-
if ms.LoadMessageInfo() == nil {
|
|
2180
|
-
ms.StoreMessageInfo(mi)
|
|
2181
|
-
}
|
|
2182
|
-
return ms
|
|
2183
|
-
}
|
|
2184
|
-
return mi.MessageOf(x)
|
|
2185
|
-
}
|
|
2186
|
-
|
|
2187
|
-
// Deprecated: Use DeleteAttachmentResponse.ProtoReflect.Descriptor instead.
|
|
2188
|
-
func (*DeleteAttachmentResponse) Descriptor() ([]byte, []int) {
|
|
2189
|
-
return file_chat_v1_chat_proto_rawDescGZIP(), []int{39}
|
|
2190
|
-
}
|
|
2191
|
-
|
|
2192
|
-
var File_chat_v1_chat_proto protoreflect.FileDescriptor
|
|
2193
|
-
|
|
2194
|
-
const file_chat_v1_chat_proto_rawDesc = "" +
|
|
2195
|
-
"\n" +
|
|
2196
|
-
"\x12chat/v1/chat.proto\x12\achat.v1\"\x93\x01\n" +
|
|
2197
|
-
"\x04User\x12\x0e\n" +
|
|
2198
|
-
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" +
|
|
2199
|
-
"\busername\x18\x02 \x01(\tR\busername\x12!\n" +
|
|
2200
|
-
"\fdisplay_name\x18\x03 \x01(\tR\vdisplayName\x12\x1d\n" +
|
|
2201
|
-
"\n" +
|
|
2202
|
-
"created_at\x18\x04 \x01(\tR\tcreatedAt\x12\x1d\n" +
|
|
2203
|
-
"\n" +
|
|
2204
|
-
"updated_at\x18\x05 \x01(\tR\tupdatedAt\"\xd2\x01\n" +
|
|
2205
|
-
"\fConversation\x12\x0e\n" +
|
|
2206
|
-
"\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
|
|
2207
|
-
"\x05title\x18\x02 \x01(\tR\x05title\x12+\n" +
|
|
2208
|
-
"\x12created_by_user_id\x18\x03 \x01(\tR\x0fcreatedByUserId\x121\n" +
|
|
2209
|
-
"\fparticipants\x18\x04 \x03(\v2\r.chat.v1.UserR\fparticipants\x12\x1d\n" +
|
|
2210
|
-
"\n" +
|
|
2211
|
-
"created_at\x18\x05 \x01(\tR\tcreatedAt\x12\x1d\n" +
|
|
2212
|
-
"\n" +
|
|
2213
|
-
"updated_at\x18\x06 \x01(\tR\tupdatedAt\"\x88\x02\n" +
|
|
2214
|
-
"\aMessage\x12\x0e\n" +
|
|
2215
|
-
"\x02id\x18\x01 \x01(\tR\x02id\x12'\n" +
|
|
2216
|
-
"\x0fconversation_id\x18\x02 \x01(\tR\x0econversationId\x12\x17\n" +
|
|
2217
|
-
"\auser_id\x18\x03 \x01(\tR\x06userId\x12\x12\n" +
|
|
2218
|
-
"\x04body\x18\x04 \x01(\tR\x04body\x12\x1b\n" +
|
|
2219
|
-
"\tedited_at\x18\x05 \x01(\tR\beditedAt\x12\x1d\n" +
|
|
2220
|
-
"\n" +
|
|
2221
|
-
"created_at\x18\x06 \x01(\tR\tcreatedAt\x12\x1d\n" +
|
|
2222
|
-
"\n" +
|
|
2223
|
-
"updated_at\x18\a \x01(\tR\tupdatedAt\x12<\n" +
|
|
2224
|
-
"\vattachments\x18\b \x03(\v2\x1a.chat.v1.MessageAttachmentR\vattachments\"\xb6\x01\n" +
|
|
2225
|
-
"\x11MessageAttachment\x12\x0e\n" +
|
|
2226
|
-
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" +
|
|
2227
|
-
"\bfilename\x18\x02 \x01(\tR\bfilename\x12!\n" +
|
|
2228
|
-
"\fcontent_type\x18\x03 \x01(\tR\vcontentType\x12\x1b\n" +
|
|
2229
|
-
"\tbyte_size\x18\x04 \x01(\x03R\bbyteSize\x12\x16\n" +
|
|
2230
|
-
"\x06status\x18\x05 \x01(\tR\x06status\x12\x1d\n" +
|
|
2231
|
-
"\n" +
|
|
2232
|
-
"public_url\x18\x06 \x01(\tR\tpublicUrl\"\xac\x03\n" +
|
|
2233
|
-
"\n" +
|
|
2234
|
-
"Attachment\x12\x0e\n" +
|
|
2235
|
-
"\x02id\x18\x01 \x01(\tR\x02id\x12'\n" +
|
|
2236
|
-
"\x0fconversation_id\x18\x02 \x01(\tR\x0econversationId\x12\x1d\n" +
|
|
2237
|
-
"\n" +
|
|
2238
|
-
"message_id\x18\x03 \x01(\tR\tmessageId\x12-\n" +
|
|
2239
|
-
"\x13uploaded_by_user_id\x18\x04 \x01(\tR\x10uploadedByUserId\x12%\n" +
|
|
2240
|
-
"\x0estorage_bucket\x18\x05 \x01(\tR\rstorageBucket\x12\x1f\n" +
|
|
2241
|
-
"\vstorage_key\x18\x06 \x01(\tR\n" +
|
|
2242
|
-
"storageKey\x12!\n" +
|
|
2243
|
-
"\fcontent_type\x18\a \x01(\tR\vcontentType\x12\x1b\n" +
|
|
2244
|
-
"\tbyte_size\x18\b \x01(\x03R\bbyteSize\x12\x1a\n" +
|
|
2245
|
-
"\bfilename\x18\t \x01(\tR\bfilename\x12\x16\n" +
|
|
2246
|
-
"\x06status\x18\n" +
|
|
2247
|
-
" \x01(\tR\x06status\x12\x1d\n" +
|
|
2248
|
-
"\n" +
|
|
2249
|
-
"public_url\x18\v \x01(\tR\tpublicUrl\x12\x1d\n" +
|
|
2250
|
-
"\n" +
|
|
2251
|
-
"created_at\x18\f \x01(\tR\tcreatedAt\x12\x1d\n" +
|
|
2252
|
-
"\n" +
|
|
2253
|
-
"updated_at\x18\r \x01(\tR\tupdatedAt\"\xb2\x01\n" +
|
|
2254
|
-
"\fUploadTarget\x12\x16\n" +
|
|
2255
|
-
"\x06method\x18\x01 \x01(\tR\x06method\x12\x10\n" +
|
|
2256
|
-
"\x03url\x18\x02 \x01(\tR\x03url\x12<\n" +
|
|
2257
|
-
"\aheaders\x18\x03 \x03(\v2\".chat.v1.UploadTarget.HeadersEntryR\aheaders\x1a:\n" +
|
|
2258
|
-
"\fHeadersEntry\x12\x10\n" +
|
|
2259
|
-
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
2260
|
-
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"R\n" +
|
|
2261
|
-
"\x11CreateUserRequest\x12\x1a\n" +
|
|
2262
|
-
"\busername\x18\x01 \x01(\tR\busername\x12!\n" +
|
|
2263
|
-
"\fdisplay_name\x18\x02 \x01(\tR\vdisplayName\"7\n" +
|
|
2264
|
-
"\x12CreateUserResponse\x12!\n" +
|
|
2265
|
-
"\x04user\x18\x01 \x01(\v2\r.chat.v1.UserR\x04user\")\n" +
|
|
2266
|
-
"\x0eGetUserRequest\x12\x17\n" +
|
|
2267
|
-
"\auser_id\x18\x01 \x01(\tR\x06userId\"4\n" +
|
|
2268
|
-
"\x0fGetUserResponse\x12!\n" +
|
|
2269
|
-
"\x04user\x18\x01 \x01(\v2\r.chat.v1.UserR\x04user\"6\n" +
|
|
2270
|
-
"\x18GetUserByUsernameRequest\x12\x1a\n" +
|
|
2271
|
-
"\busername\x18\x01 \x01(\tR\busername\">\n" +
|
|
2272
|
-
"\x19GetUserByUsernameResponse\x12!\n" +
|
|
2273
|
-
"\x04user\x18\x01 \x01(\v2\r.chat.v1.UserR\x04user\"\x90\x01\n" +
|
|
2274
|
-
"\x19CreateConversationRequest\x12+\n" +
|
|
2275
|
-
"\x12created_by_user_id\x18\x01 \x01(\tR\x0fcreatedByUserId\x12\x14\n" +
|
|
2276
|
-
"\x05title\x18\x02 \x01(\tR\x05title\x120\n" +
|
|
2277
|
-
"\x14participant_user_ids\x18\x03 \x03(\tR\x12participantUserIds\"W\n" +
|
|
2278
|
-
"\x1aCreateConversationResponse\x129\n" +
|
|
2279
|
-
"\fconversation\x18\x01 \x01(\v2\x15.chat.v1.ConversationR\fconversation\"A\n" +
|
|
2280
|
-
"\x16GetConversationRequest\x12'\n" +
|
|
2281
|
-
"\x0fconversation_id\x18\x01 \x01(\tR\x0econversationId\"T\n" +
|
|
2282
|
-
"\x17GetConversationResponse\x129\n" +
|
|
2283
|
-
"\fconversation\x18\x01 \x01(\v2\x15.chat.v1.ConversationR\fconversation\"Z\n" +
|
|
2284
|
-
"\x19UpdateConversationRequest\x12'\n" +
|
|
2285
|
-
"\x0fconversation_id\x18\x01 \x01(\tR\x0econversationId\x12\x14\n" +
|
|
2286
|
-
"\x05title\x18\x02 \x01(\tR\x05title\"W\n" +
|
|
2287
|
-
"\x1aUpdateConversationResponse\x129\n" +
|
|
2288
|
-
"\fconversation\x18\x01 \x01(\v2\x15.chat.v1.ConversationR\fconversation\"D\n" +
|
|
2289
|
-
"\x19DeleteConversationRequest\x12'\n" +
|
|
2290
|
-
"\x0fconversation_id\x18\x01 \x01(\tR\x0econversationId\"\x1c\n" +
|
|
2291
|
-
"\x1aDeleteConversationResponse\"e\n" +
|
|
2292
|
-
"!AddConversationParticipantRequest\x12'\n" +
|
|
2293
|
-
"\x0fconversation_id\x18\x01 \x01(\tR\x0econversationId\x12\x17\n" +
|
|
2294
|
-
"\auser_id\x18\x02 \x01(\tR\x06userId\"_\n" +
|
|
2295
|
-
"\"AddConversationParticipantResponse\x129\n" +
|
|
2296
|
-
"\fconversation\x18\x01 \x01(\v2\x15.chat.v1.ConversationR\fconversation\"h\n" +
|
|
2297
|
-
"$RemoveConversationParticipantRequest\x12'\n" +
|
|
2298
|
-
"\x0fconversation_id\x18\x01 \x01(\tR\x0econversationId\x12\x17\n" +
|
|
2299
|
-
"\auser_id\x18\x02 \x01(\tR\x06userId\"'\n" +
|
|
2300
|
-
"%RemoveConversationParticipantResponse\"l\n" +
|
|
2301
|
-
"\x13ListMessagesRequest\x12'\n" +
|
|
2302
|
-
"\x0fconversation_id\x18\x01 \x01(\tR\x0econversationId\x12\x16\n" +
|
|
2303
|
-
"\x06cursor\x18\x02 \x01(\tR\x06cursor\x12\x14\n" +
|
|
2304
|
-
"\x05limit\x18\x03 \x01(\x05R\x05limit\"e\n" +
|
|
2305
|
-
"\x14ListMessagesResponse\x12,\n" +
|
|
2306
|
-
"\bmessages\x18\x01 \x03(\v2\x10.chat.v1.MessageR\bmessages\x12\x1f\n" +
|
|
2307
|
-
"\vnext_cursor\x18\x02 \x01(\tR\n" +
|
|
2308
|
-
"nextCursor\"l\n" +
|
|
2309
|
-
"\x14CreateMessageRequest\x12'\n" +
|
|
2310
|
-
"\x0fconversation_id\x18\x01 \x01(\tR\x0econversationId\x12\x17\n" +
|
|
2311
|
-
"\auser_id\x18\x02 \x01(\tR\x06userId\x12\x12\n" +
|
|
2312
|
-
"\x04body\x18\x03 \x01(\tR\x04body\"C\n" +
|
|
2313
|
-
"\x15CreateMessageResponse\x12*\n" +
|
|
2314
|
-
"\amessage\x18\x01 \x01(\v2\x10.chat.v1.MessageR\amessage\"r\n" +
|
|
2315
|
-
"\x14UpdateMessageRequest\x12'\n" +
|
|
2316
|
-
"\x0fconversation_id\x18\x01 \x01(\tR\x0econversationId\x12\x1d\n" +
|
|
2317
|
-
"\n" +
|
|
2318
|
-
"message_id\x18\x02 \x01(\tR\tmessageId\x12\x12\n" +
|
|
2319
|
-
"\x04body\x18\x03 \x01(\tR\x04body\"C\n" +
|
|
2320
|
-
"\x15UpdateMessageResponse\x12*\n" +
|
|
2321
|
-
"\amessage\x18\x01 \x01(\v2\x10.chat.v1.MessageR\amessage\"^\n" +
|
|
2322
|
-
"\x14DeleteMessageRequest\x12'\n" +
|
|
2323
|
-
"\x0fconversation_id\x18\x01 \x01(\tR\x0econversationId\x12\x1d\n" +
|
|
2324
|
-
"\n" +
|
|
2325
|
-
"message_id\x18\x02 \x01(\tR\tmessageId\"\x17\n" +
|
|
2326
|
-
"\x15DeleteMessageResponse\"\xbd\x01\n" +
|
|
2327
|
-
"\x1dCreateAttachmentUploadRequest\x12'\n" +
|
|
2328
|
-
"\x0fconversation_id\x18\x01 \x01(\tR\x0econversationId\x12\x17\n" +
|
|
2329
|
-
"\auser_id\x18\x02 \x01(\tR\x06userId\x12\x1a\n" +
|
|
2330
|
-
"\bfilename\x18\x03 \x01(\tR\bfilename\x12!\n" +
|
|
2331
|
-
"\fcontent_type\x18\x04 \x01(\tR\vcontentType\x12\x1b\n" +
|
|
2332
|
-
"\tbyte_size\x18\x05 \x01(\x03R\bbyteSize\"\x84\x01\n" +
|
|
2333
|
-
"\x1eCreateAttachmentUploadResponse\x123\n" +
|
|
2334
|
-
"\n" +
|
|
2335
|
-
"attachment\x18\x01 \x01(\v2\x13.chat.v1.AttachmentR\n" +
|
|
2336
|
-
"attachment\x12-\n" +
|
|
2337
|
-
"\x06upload\x18\x02 \x01(\v2\x15.chat.v1.UploadTargetR\x06upload\"_\n" +
|
|
2338
|
-
"\x19FinalizeAttachmentRequest\x12#\n" +
|
|
2339
|
-
"\rattachment_id\x18\x01 \x01(\tR\fattachmentId\x12\x1d\n" +
|
|
2340
|
-
"\n" +
|
|
2341
|
-
"message_id\x18\x02 \x01(\tR\tmessageId\"Q\n" +
|
|
2342
|
-
"\x1aFinalizeAttachmentResponse\x123\n" +
|
|
2343
|
-
"\n" +
|
|
2344
|
-
"attachment\x18\x01 \x01(\v2\x13.chat.v1.AttachmentR\n" +
|
|
2345
|
-
"attachment\";\n" +
|
|
2346
|
-
"\x14GetAttachmentRequest\x12#\n" +
|
|
2347
|
-
"\rattachment_id\x18\x01 \x01(\tR\fattachmentId\"L\n" +
|
|
2348
|
-
"\x15GetAttachmentResponse\x123\n" +
|
|
2349
|
-
"\n" +
|
|
2350
|
-
"attachment\x18\x01 \x01(\v2\x13.chat.v1.AttachmentR\n" +
|
|
2351
|
-
"attachment\">\n" +
|
|
2352
|
-
"\x17DeleteAttachmentRequest\x12#\n" +
|
|
2353
|
-
"\rattachment_id\x18\x01 \x01(\tR\fattachmentId\"\x1a\n" +
|
|
2354
|
-
"\x18DeleteAttachmentResponse2\x88\f\n" +
|
|
2355
|
-
"\vChatService\x12E\n" +
|
|
2356
|
-
"\n" +
|
|
2357
|
-
"CreateUser\x12\x1a.chat.v1.CreateUserRequest\x1a\x1b.chat.v1.CreateUserResponse\x12<\n" +
|
|
2358
|
-
"\aGetUser\x12\x17.chat.v1.GetUserRequest\x1a\x18.chat.v1.GetUserResponse\x12Z\n" +
|
|
2359
|
-
"\x11GetUserByUsername\x12!.chat.v1.GetUserByUsernameRequest\x1a\".chat.v1.GetUserByUsernameResponse\x12]\n" +
|
|
2360
|
-
"\x12CreateConversation\x12\".chat.v1.CreateConversationRequest\x1a#.chat.v1.CreateConversationResponse\x12T\n" +
|
|
2361
|
-
"\x0fGetConversation\x12\x1f.chat.v1.GetConversationRequest\x1a .chat.v1.GetConversationResponse\x12]\n" +
|
|
2362
|
-
"\x12UpdateConversation\x12\".chat.v1.UpdateConversationRequest\x1a#.chat.v1.UpdateConversationResponse\x12]\n" +
|
|
2363
|
-
"\x12DeleteConversation\x12\".chat.v1.DeleteConversationRequest\x1a#.chat.v1.DeleteConversationResponse\x12u\n" +
|
|
2364
|
-
"\x1aAddConversationParticipant\x12*.chat.v1.AddConversationParticipantRequest\x1a+.chat.v1.AddConversationParticipantResponse\x12~\n" +
|
|
2365
|
-
"\x1dRemoveConversationParticipant\x12-.chat.v1.RemoveConversationParticipantRequest\x1a..chat.v1.RemoveConversationParticipantResponse\x12K\n" +
|
|
2366
|
-
"\fListMessages\x12\x1c.chat.v1.ListMessagesRequest\x1a\x1d.chat.v1.ListMessagesResponse\x12N\n" +
|
|
2367
|
-
"\rCreateMessage\x12\x1d.chat.v1.CreateMessageRequest\x1a\x1e.chat.v1.CreateMessageResponse\x12N\n" +
|
|
2368
|
-
"\rUpdateMessage\x12\x1d.chat.v1.UpdateMessageRequest\x1a\x1e.chat.v1.UpdateMessageResponse\x12N\n" +
|
|
2369
|
-
"\rDeleteMessage\x12\x1d.chat.v1.DeleteMessageRequest\x1a\x1e.chat.v1.DeleteMessageResponse\x12i\n" +
|
|
2370
|
-
"\x16CreateAttachmentUpload\x12&.chat.v1.CreateAttachmentUploadRequest\x1a'.chat.v1.CreateAttachmentUploadResponse\x12]\n" +
|
|
2371
|
-
"\x12FinalizeAttachment\x12\".chat.v1.FinalizeAttachmentRequest\x1a#.chat.v1.FinalizeAttachmentResponse\x12N\n" +
|
|
2372
|
-
"\rGetAttachment\x12\x1d.chat.v1.GetAttachmentRequest\x1a\x1e.chat.v1.GetAttachmentResponse\x12W\n" +
|
|
2373
|
-
"\x10DeleteAttachment\x12 .chat.v1.DeleteAttachmentRequest\x1a!.chat.v1.DeleteAttachmentResponseB$Z\"{{MODULE_PATH}}/gen/chat/v1;chatv1b\x06proto3"
|
|
2374
|
-
|
|
2375
|
-
var (
|
|
2376
|
-
file_chat_v1_chat_proto_rawDescOnce sync.Once
|
|
2377
|
-
file_chat_v1_chat_proto_rawDescData []byte
|
|
2378
|
-
)
|
|
2379
|
-
|
|
2380
|
-
func file_chat_v1_chat_proto_rawDescGZIP() []byte {
|
|
2381
|
-
file_chat_v1_chat_proto_rawDescOnce.Do(func() {
|
|
2382
|
-
file_chat_v1_chat_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_chat_v1_chat_proto_rawDesc), len(file_chat_v1_chat_proto_rawDesc)))
|
|
2383
|
-
})
|
|
2384
|
-
return file_chat_v1_chat_proto_rawDescData
|
|
2385
|
-
}
|
|
2386
|
-
|
|
2387
|
-
var file_chat_v1_chat_proto_msgTypes = make([]protoimpl.MessageInfo, 41)
|
|
2388
|
-
var file_chat_v1_chat_proto_goTypes = []any{
|
|
2389
|
-
(*User)(nil), // 0: chat.v1.User
|
|
2390
|
-
(*Conversation)(nil), // 1: chat.v1.Conversation
|
|
2391
|
-
(*Message)(nil), // 2: chat.v1.Message
|
|
2392
|
-
(*MessageAttachment)(nil), // 3: chat.v1.MessageAttachment
|
|
2393
|
-
(*Attachment)(nil), // 4: chat.v1.Attachment
|
|
2394
|
-
(*UploadTarget)(nil), // 5: chat.v1.UploadTarget
|
|
2395
|
-
(*CreateUserRequest)(nil), // 6: chat.v1.CreateUserRequest
|
|
2396
|
-
(*CreateUserResponse)(nil), // 7: chat.v1.CreateUserResponse
|
|
2397
|
-
(*GetUserRequest)(nil), // 8: chat.v1.GetUserRequest
|
|
2398
|
-
(*GetUserResponse)(nil), // 9: chat.v1.GetUserResponse
|
|
2399
|
-
(*GetUserByUsernameRequest)(nil), // 10: chat.v1.GetUserByUsernameRequest
|
|
2400
|
-
(*GetUserByUsernameResponse)(nil), // 11: chat.v1.GetUserByUsernameResponse
|
|
2401
|
-
(*CreateConversationRequest)(nil), // 12: chat.v1.CreateConversationRequest
|
|
2402
|
-
(*CreateConversationResponse)(nil), // 13: chat.v1.CreateConversationResponse
|
|
2403
|
-
(*GetConversationRequest)(nil), // 14: chat.v1.GetConversationRequest
|
|
2404
|
-
(*GetConversationResponse)(nil), // 15: chat.v1.GetConversationResponse
|
|
2405
|
-
(*UpdateConversationRequest)(nil), // 16: chat.v1.UpdateConversationRequest
|
|
2406
|
-
(*UpdateConversationResponse)(nil), // 17: chat.v1.UpdateConversationResponse
|
|
2407
|
-
(*DeleteConversationRequest)(nil), // 18: chat.v1.DeleteConversationRequest
|
|
2408
|
-
(*DeleteConversationResponse)(nil), // 19: chat.v1.DeleteConversationResponse
|
|
2409
|
-
(*AddConversationParticipantRequest)(nil), // 20: chat.v1.AddConversationParticipantRequest
|
|
2410
|
-
(*AddConversationParticipantResponse)(nil), // 21: chat.v1.AddConversationParticipantResponse
|
|
2411
|
-
(*RemoveConversationParticipantRequest)(nil), // 22: chat.v1.RemoveConversationParticipantRequest
|
|
2412
|
-
(*RemoveConversationParticipantResponse)(nil), // 23: chat.v1.RemoveConversationParticipantResponse
|
|
2413
|
-
(*ListMessagesRequest)(nil), // 24: chat.v1.ListMessagesRequest
|
|
2414
|
-
(*ListMessagesResponse)(nil), // 25: chat.v1.ListMessagesResponse
|
|
2415
|
-
(*CreateMessageRequest)(nil), // 26: chat.v1.CreateMessageRequest
|
|
2416
|
-
(*CreateMessageResponse)(nil), // 27: chat.v1.CreateMessageResponse
|
|
2417
|
-
(*UpdateMessageRequest)(nil), // 28: chat.v1.UpdateMessageRequest
|
|
2418
|
-
(*UpdateMessageResponse)(nil), // 29: chat.v1.UpdateMessageResponse
|
|
2419
|
-
(*DeleteMessageRequest)(nil), // 30: chat.v1.DeleteMessageRequest
|
|
2420
|
-
(*DeleteMessageResponse)(nil), // 31: chat.v1.DeleteMessageResponse
|
|
2421
|
-
(*CreateAttachmentUploadRequest)(nil), // 32: chat.v1.CreateAttachmentUploadRequest
|
|
2422
|
-
(*CreateAttachmentUploadResponse)(nil), // 33: chat.v1.CreateAttachmentUploadResponse
|
|
2423
|
-
(*FinalizeAttachmentRequest)(nil), // 34: chat.v1.FinalizeAttachmentRequest
|
|
2424
|
-
(*FinalizeAttachmentResponse)(nil), // 35: chat.v1.FinalizeAttachmentResponse
|
|
2425
|
-
(*GetAttachmentRequest)(nil), // 36: chat.v1.GetAttachmentRequest
|
|
2426
|
-
(*GetAttachmentResponse)(nil), // 37: chat.v1.GetAttachmentResponse
|
|
2427
|
-
(*DeleteAttachmentRequest)(nil), // 38: chat.v1.DeleteAttachmentRequest
|
|
2428
|
-
(*DeleteAttachmentResponse)(nil), // 39: chat.v1.DeleteAttachmentResponse
|
|
2429
|
-
nil, // 40: chat.v1.UploadTarget.HeadersEntry
|
|
2430
|
-
}
|
|
2431
|
-
var file_chat_v1_chat_proto_depIdxs = []int32{
|
|
2432
|
-
0, // 0: chat.v1.Conversation.participants:type_name -> chat.v1.User
|
|
2433
|
-
3, // 1: chat.v1.Message.attachments:type_name -> chat.v1.MessageAttachment
|
|
2434
|
-
40, // 2: chat.v1.UploadTarget.headers:type_name -> chat.v1.UploadTarget.HeadersEntry
|
|
2435
|
-
0, // 3: chat.v1.CreateUserResponse.user:type_name -> chat.v1.User
|
|
2436
|
-
0, // 4: chat.v1.GetUserResponse.user:type_name -> chat.v1.User
|
|
2437
|
-
0, // 5: chat.v1.GetUserByUsernameResponse.user:type_name -> chat.v1.User
|
|
2438
|
-
1, // 6: chat.v1.CreateConversationResponse.conversation:type_name -> chat.v1.Conversation
|
|
2439
|
-
1, // 7: chat.v1.GetConversationResponse.conversation:type_name -> chat.v1.Conversation
|
|
2440
|
-
1, // 8: chat.v1.UpdateConversationResponse.conversation:type_name -> chat.v1.Conversation
|
|
2441
|
-
1, // 9: chat.v1.AddConversationParticipantResponse.conversation:type_name -> chat.v1.Conversation
|
|
2442
|
-
2, // 10: chat.v1.ListMessagesResponse.messages:type_name -> chat.v1.Message
|
|
2443
|
-
2, // 11: chat.v1.CreateMessageResponse.message:type_name -> chat.v1.Message
|
|
2444
|
-
2, // 12: chat.v1.UpdateMessageResponse.message:type_name -> chat.v1.Message
|
|
2445
|
-
4, // 13: chat.v1.CreateAttachmentUploadResponse.attachment:type_name -> chat.v1.Attachment
|
|
2446
|
-
5, // 14: chat.v1.CreateAttachmentUploadResponse.upload:type_name -> chat.v1.UploadTarget
|
|
2447
|
-
4, // 15: chat.v1.FinalizeAttachmentResponse.attachment:type_name -> chat.v1.Attachment
|
|
2448
|
-
4, // 16: chat.v1.GetAttachmentResponse.attachment:type_name -> chat.v1.Attachment
|
|
2449
|
-
6, // 17: chat.v1.ChatService.CreateUser:input_type -> chat.v1.CreateUserRequest
|
|
2450
|
-
8, // 18: chat.v1.ChatService.GetUser:input_type -> chat.v1.GetUserRequest
|
|
2451
|
-
10, // 19: chat.v1.ChatService.GetUserByUsername:input_type -> chat.v1.GetUserByUsernameRequest
|
|
2452
|
-
12, // 20: chat.v1.ChatService.CreateConversation:input_type -> chat.v1.CreateConversationRequest
|
|
2453
|
-
14, // 21: chat.v1.ChatService.GetConversation:input_type -> chat.v1.GetConversationRequest
|
|
2454
|
-
16, // 22: chat.v1.ChatService.UpdateConversation:input_type -> chat.v1.UpdateConversationRequest
|
|
2455
|
-
18, // 23: chat.v1.ChatService.DeleteConversation:input_type -> chat.v1.DeleteConversationRequest
|
|
2456
|
-
20, // 24: chat.v1.ChatService.AddConversationParticipant:input_type -> chat.v1.AddConversationParticipantRequest
|
|
2457
|
-
22, // 25: chat.v1.ChatService.RemoveConversationParticipant:input_type -> chat.v1.RemoveConversationParticipantRequest
|
|
2458
|
-
24, // 26: chat.v1.ChatService.ListMessages:input_type -> chat.v1.ListMessagesRequest
|
|
2459
|
-
26, // 27: chat.v1.ChatService.CreateMessage:input_type -> chat.v1.CreateMessageRequest
|
|
2460
|
-
28, // 28: chat.v1.ChatService.UpdateMessage:input_type -> chat.v1.UpdateMessageRequest
|
|
2461
|
-
30, // 29: chat.v1.ChatService.DeleteMessage:input_type -> chat.v1.DeleteMessageRequest
|
|
2462
|
-
32, // 30: chat.v1.ChatService.CreateAttachmentUpload:input_type -> chat.v1.CreateAttachmentUploadRequest
|
|
2463
|
-
34, // 31: chat.v1.ChatService.FinalizeAttachment:input_type -> chat.v1.FinalizeAttachmentRequest
|
|
2464
|
-
36, // 32: chat.v1.ChatService.GetAttachment:input_type -> chat.v1.GetAttachmentRequest
|
|
2465
|
-
38, // 33: chat.v1.ChatService.DeleteAttachment:input_type -> chat.v1.DeleteAttachmentRequest
|
|
2466
|
-
7, // 34: chat.v1.ChatService.CreateUser:output_type -> chat.v1.CreateUserResponse
|
|
2467
|
-
9, // 35: chat.v1.ChatService.GetUser:output_type -> chat.v1.GetUserResponse
|
|
2468
|
-
11, // 36: chat.v1.ChatService.GetUserByUsername:output_type -> chat.v1.GetUserByUsernameResponse
|
|
2469
|
-
13, // 37: chat.v1.ChatService.CreateConversation:output_type -> chat.v1.CreateConversationResponse
|
|
2470
|
-
15, // 38: chat.v1.ChatService.GetConversation:output_type -> chat.v1.GetConversationResponse
|
|
2471
|
-
17, // 39: chat.v1.ChatService.UpdateConversation:output_type -> chat.v1.UpdateConversationResponse
|
|
2472
|
-
19, // 40: chat.v1.ChatService.DeleteConversation:output_type -> chat.v1.DeleteConversationResponse
|
|
2473
|
-
21, // 41: chat.v1.ChatService.AddConversationParticipant:output_type -> chat.v1.AddConversationParticipantResponse
|
|
2474
|
-
23, // 42: chat.v1.ChatService.RemoveConversationParticipant:output_type -> chat.v1.RemoveConversationParticipantResponse
|
|
2475
|
-
25, // 43: chat.v1.ChatService.ListMessages:output_type -> chat.v1.ListMessagesResponse
|
|
2476
|
-
27, // 44: chat.v1.ChatService.CreateMessage:output_type -> chat.v1.CreateMessageResponse
|
|
2477
|
-
29, // 45: chat.v1.ChatService.UpdateMessage:output_type -> chat.v1.UpdateMessageResponse
|
|
2478
|
-
31, // 46: chat.v1.ChatService.DeleteMessage:output_type -> chat.v1.DeleteMessageResponse
|
|
2479
|
-
33, // 47: chat.v1.ChatService.CreateAttachmentUpload:output_type -> chat.v1.CreateAttachmentUploadResponse
|
|
2480
|
-
35, // 48: chat.v1.ChatService.FinalizeAttachment:output_type -> chat.v1.FinalizeAttachmentResponse
|
|
2481
|
-
37, // 49: chat.v1.ChatService.GetAttachment:output_type -> chat.v1.GetAttachmentResponse
|
|
2482
|
-
39, // 50: chat.v1.ChatService.DeleteAttachment:output_type -> chat.v1.DeleteAttachmentResponse
|
|
2483
|
-
34, // [34:51] is the sub-list for method output_type
|
|
2484
|
-
17, // [17:34] is the sub-list for method input_type
|
|
2485
|
-
17, // [17:17] is the sub-list for extension type_name
|
|
2486
|
-
17, // [17:17] is the sub-list for extension extendee
|
|
2487
|
-
0, // [0:17] is the sub-list for field type_name
|
|
2488
|
-
}
|
|
2489
|
-
|
|
2490
|
-
func init() { file_chat_v1_chat_proto_init() }
|
|
2491
|
-
func file_chat_v1_chat_proto_init() {
|
|
2492
|
-
if File_chat_v1_chat_proto != nil {
|
|
2493
|
-
return
|
|
2494
|
-
}
|
|
2495
|
-
type x struct{}
|
|
2496
|
-
out := protoimpl.TypeBuilder{
|
|
2497
|
-
File: protoimpl.DescBuilder{
|
|
2498
|
-
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
2499
|
-
RawDescriptor: unsafe.Slice(unsafe.StringData(file_chat_v1_chat_proto_rawDesc), len(file_chat_v1_chat_proto_rawDesc)),
|
|
2500
|
-
NumEnums: 0,
|
|
2501
|
-
NumMessages: 41,
|
|
2502
|
-
NumExtensions: 0,
|
|
2503
|
-
NumServices: 1,
|
|
2504
|
-
},
|
|
2505
|
-
GoTypes: file_chat_v1_chat_proto_goTypes,
|
|
2506
|
-
DependencyIndexes: file_chat_v1_chat_proto_depIdxs,
|
|
2507
|
-
MessageInfos: file_chat_v1_chat_proto_msgTypes,
|
|
2508
|
-
}.Build()
|
|
2509
|
-
File_chat_v1_chat_proto = out.File
|
|
2510
|
-
file_chat_v1_chat_proto_goTypes = nil
|
|
2511
|
-
file_chat_v1_chat_proto_depIdxs = nil
|
|
2512
|
-
}
|