1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package contentwarehouse
22
23 import (
24 context "context"
25 reflect "reflect"
26 sync "sync"
27
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 grpc "google.golang.org/grpc"
30 codes "google.golang.org/grpc/codes"
31 status "google.golang.org/grpc/status"
32 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
33 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
34 emptypb "google.golang.org/protobuf/types/known/emptypb"
35 )
36
37 const (
38
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44
45 type CreateDocumentSchemaRequest struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50
51 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
52
53 DocumentSchema *DocumentSchema `protobuf:"bytes,2,opt,name=document_schema,json=documentSchema,proto3" json:"document_schema,omitempty"`
54 }
55
56 func (x *CreateDocumentSchemaRequest) Reset() {
57 *x = CreateDocumentSchemaRequest{}
58 if protoimpl.UnsafeEnabled {
59 mi := &file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63 }
64
65 func (x *CreateDocumentSchemaRequest) String() string {
66 return protoimpl.X.MessageStringOf(x)
67 }
68
69 func (*CreateDocumentSchemaRequest) ProtoMessage() {}
70
71 func (x *CreateDocumentSchemaRequest) ProtoReflect() protoreflect.Message {
72 mi := &file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[0]
73 if protoimpl.UnsafeEnabled && x != nil {
74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75 if ms.LoadMessageInfo() == nil {
76 ms.StoreMessageInfo(mi)
77 }
78 return ms
79 }
80 return mi.MessageOf(x)
81 }
82
83
84 func (*CreateDocumentSchemaRequest) Descriptor() ([]byte, []int) {
85 return file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDescGZIP(), []int{0}
86 }
87
88 func (x *CreateDocumentSchemaRequest) GetParent() string {
89 if x != nil {
90 return x.Parent
91 }
92 return ""
93 }
94
95 func (x *CreateDocumentSchemaRequest) GetDocumentSchema() *DocumentSchema {
96 if x != nil {
97 return x.DocumentSchema
98 }
99 return nil
100 }
101
102
103 type GetDocumentSchemaRequest struct {
104 state protoimpl.MessageState
105 sizeCache protoimpl.SizeCache
106 unknownFields protoimpl.UnknownFields
107
108
109 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
110 }
111
112 func (x *GetDocumentSchemaRequest) Reset() {
113 *x = GetDocumentSchemaRequest{}
114 if protoimpl.UnsafeEnabled {
115 mi := &file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[1]
116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
117 ms.StoreMessageInfo(mi)
118 }
119 }
120
121 func (x *GetDocumentSchemaRequest) String() string {
122 return protoimpl.X.MessageStringOf(x)
123 }
124
125 func (*GetDocumentSchemaRequest) ProtoMessage() {}
126
127 func (x *GetDocumentSchemaRequest) ProtoReflect() protoreflect.Message {
128 mi := &file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[1]
129 if protoimpl.UnsafeEnabled && x != nil {
130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
131 if ms.LoadMessageInfo() == nil {
132 ms.StoreMessageInfo(mi)
133 }
134 return ms
135 }
136 return mi.MessageOf(x)
137 }
138
139
140 func (*GetDocumentSchemaRequest) Descriptor() ([]byte, []int) {
141 return file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDescGZIP(), []int{1}
142 }
143
144 func (x *GetDocumentSchemaRequest) GetName() string {
145 if x != nil {
146 return x.Name
147 }
148 return ""
149 }
150
151
152 type UpdateDocumentSchemaRequest struct {
153 state protoimpl.MessageState
154 sizeCache protoimpl.SizeCache
155 unknownFields protoimpl.UnknownFields
156
157
158
159
160 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
161
162 DocumentSchema *DocumentSchema `protobuf:"bytes,2,opt,name=document_schema,json=documentSchema,proto3" json:"document_schema,omitempty"`
163 }
164
165 func (x *UpdateDocumentSchemaRequest) Reset() {
166 *x = UpdateDocumentSchemaRequest{}
167 if protoimpl.UnsafeEnabled {
168 mi := &file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[2]
169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
170 ms.StoreMessageInfo(mi)
171 }
172 }
173
174 func (x *UpdateDocumentSchemaRequest) String() string {
175 return protoimpl.X.MessageStringOf(x)
176 }
177
178 func (*UpdateDocumentSchemaRequest) ProtoMessage() {}
179
180 func (x *UpdateDocumentSchemaRequest) ProtoReflect() protoreflect.Message {
181 mi := &file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[2]
182 if protoimpl.UnsafeEnabled && x != nil {
183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
184 if ms.LoadMessageInfo() == nil {
185 ms.StoreMessageInfo(mi)
186 }
187 return ms
188 }
189 return mi.MessageOf(x)
190 }
191
192
193 func (*UpdateDocumentSchemaRequest) Descriptor() ([]byte, []int) {
194 return file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDescGZIP(), []int{2}
195 }
196
197 func (x *UpdateDocumentSchemaRequest) GetName() string {
198 if x != nil {
199 return x.Name
200 }
201 return ""
202 }
203
204 func (x *UpdateDocumentSchemaRequest) GetDocumentSchema() *DocumentSchema {
205 if x != nil {
206 return x.DocumentSchema
207 }
208 return nil
209 }
210
211
212 type DeleteDocumentSchemaRequest struct {
213 state protoimpl.MessageState
214 sizeCache protoimpl.SizeCache
215 unknownFields protoimpl.UnknownFields
216
217
218 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
219 }
220
221 func (x *DeleteDocumentSchemaRequest) Reset() {
222 *x = DeleteDocumentSchemaRequest{}
223 if protoimpl.UnsafeEnabled {
224 mi := &file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[3]
225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
226 ms.StoreMessageInfo(mi)
227 }
228 }
229
230 func (x *DeleteDocumentSchemaRequest) String() string {
231 return protoimpl.X.MessageStringOf(x)
232 }
233
234 func (*DeleteDocumentSchemaRequest) ProtoMessage() {}
235
236 func (x *DeleteDocumentSchemaRequest) ProtoReflect() protoreflect.Message {
237 mi := &file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[3]
238 if protoimpl.UnsafeEnabled && x != nil {
239 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
240 if ms.LoadMessageInfo() == nil {
241 ms.StoreMessageInfo(mi)
242 }
243 return ms
244 }
245 return mi.MessageOf(x)
246 }
247
248
249 func (*DeleteDocumentSchemaRequest) Descriptor() ([]byte, []int) {
250 return file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDescGZIP(), []int{3}
251 }
252
253 func (x *DeleteDocumentSchemaRequest) GetName() string {
254 if x != nil {
255 return x.Name
256 }
257 return ""
258 }
259
260
261 type ListDocumentSchemasRequest struct {
262 state protoimpl.MessageState
263 sizeCache protoimpl.SizeCache
264 unknownFields protoimpl.UnknownFields
265
266
267
268 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
269
270
271
272
273 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
274
275
276
277
278
279 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
280 }
281
282 func (x *ListDocumentSchemasRequest) Reset() {
283 *x = ListDocumentSchemasRequest{}
284 if protoimpl.UnsafeEnabled {
285 mi := &file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[4]
286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
287 ms.StoreMessageInfo(mi)
288 }
289 }
290
291 func (x *ListDocumentSchemasRequest) String() string {
292 return protoimpl.X.MessageStringOf(x)
293 }
294
295 func (*ListDocumentSchemasRequest) ProtoMessage() {}
296
297 func (x *ListDocumentSchemasRequest) ProtoReflect() protoreflect.Message {
298 mi := &file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[4]
299 if protoimpl.UnsafeEnabled && x != nil {
300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
301 if ms.LoadMessageInfo() == nil {
302 ms.StoreMessageInfo(mi)
303 }
304 return ms
305 }
306 return mi.MessageOf(x)
307 }
308
309
310 func (*ListDocumentSchemasRequest) Descriptor() ([]byte, []int) {
311 return file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDescGZIP(), []int{4}
312 }
313
314 func (x *ListDocumentSchemasRequest) GetParent() string {
315 if x != nil {
316 return x.Parent
317 }
318 return ""
319 }
320
321 func (x *ListDocumentSchemasRequest) GetPageSize() int32 {
322 if x != nil {
323 return x.PageSize
324 }
325 return 0
326 }
327
328 func (x *ListDocumentSchemasRequest) GetPageToken() string {
329 if x != nil {
330 return x.PageToken
331 }
332 return ""
333 }
334
335
336 type ListDocumentSchemasResponse struct {
337 state protoimpl.MessageState
338 sizeCache protoimpl.SizeCache
339 unknownFields protoimpl.UnknownFields
340
341
342 DocumentSchemas []*DocumentSchema `protobuf:"bytes,1,rep,name=document_schemas,json=documentSchemas,proto3" json:"document_schemas,omitempty"`
343
344
345 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
346 }
347
348 func (x *ListDocumentSchemasResponse) Reset() {
349 *x = ListDocumentSchemasResponse{}
350 if protoimpl.UnsafeEnabled {
351 mi := &file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[5]
352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
353 ms.StoreMessageInfo(mi)
354 }
355 }
356
357 func (x *ListDocumentSchemasResponse) String() string {
358 return protoimpl.X.MessageStringOf(x)
359 }
360
361 func (*ListDocumentSchemasResponse) ProtoMessage() {}
362
363 func (x *ListDocumentSchemasResponse) ProtoReflect() protoreflect.Message {
364 mi := &file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[5]
365 if protoimpl.UnsafeEnabled && x != nil {
366 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
367 if ms.LoadMessageInfo() == nil {
368 ms.StoreMessageInfo(mi)
369 }
370 return ms
371 }
372 return mi.MessageOf(x)
373 }
374
375
376 func (*ListDocumentSchemasResponse) Descriptor() ([]byte, []int) {
377 return file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDescGZIP(), []int{5}
378 }
379
380 func (x *ListDocumentSchemasResponse) GetDocumentSchemas() []*DocumentSchema {
381 if x != nil {
382 return x.DocumentSchemas
383 }
384 return nil
385 }
386
387 func (x *ListDocumentSchemasResponse) GetNextPageToken() string {
388 if x != nil {
389 return x.NextPageToken
390 }
391 return ""
392 }
393
394 var File_google_cloud_contentwarehouse_v1_document_schema_service_proto protoreflect.FileDescriptor
395
396 var file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDesc = []byte{
397 0x0a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63,
398 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f,
399 0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65,
400 0x6d, 0x61, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
401 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63,
402 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e,
403 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61,
404 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
405 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69,
406 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
407 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
408 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67,
409 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
410 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c,
411 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68,
412 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
413 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67,
414 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65,
415 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc7, 0x01, 0x0a, 0x1b, 0x43,
416 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68,
417 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x06, 0x70, 0x61,
418 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa,
419 0x41, 0x2a, 0x0a, 0x28, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68,
420 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
421 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61,
422 0x72, 0x65, 0x6e, 0x74, 0x12, 0x5e, 0x0a, 0x0f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
423 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e,
424 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e,
425 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31,
426 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42,
427 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63,
428 0x68, 0x65, 0x6d, 0x61, 0x22, 0x66, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d,
429 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
430 0x12, 0x4a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36,
431 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x30, 0x0a, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77,
432 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
433 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
434 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc9, 0x01, 0x0a,
435 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53,
436 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x04,
437 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, 0xe0, 0x41, 0x02, 0xfa,
438 0x41, 0x30, 0x0a, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68,
439 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
440 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65,
441 0x6d, 0x61, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5e, 0x0a, 0x0f, 0x64, 0x6f, 0x63, 0x75,
442 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28,
443 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
444 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73,
445 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68,
446 0x65, 0x6d, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65,
447 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x69, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65,
448 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
449 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
450 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x30, 0x0a, 0x2e, 0x63,
451 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e,
452 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44,
453 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x04, 0x6e,
454 0x61, 0x6d, 0x65, 0x22, 0xa2, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6f, 0x63, 0x75,
455 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
456 0x73, 0x74, 0x12, 0x48, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
457 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x63, 0x6f, 0x6e, 0x74,
458 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f,
459 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61,
460 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09,
461 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
462 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67,
463 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70,
464 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa2, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73,
465 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73,
466 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x10, 0x64, 0x6f, 0x63, 0x75,
467 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03,
468 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
469 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75,
470 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63,
471 0x68, 0x65, 0x6d, 0x61, 0x52, 0x0f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63,
472 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61,
473 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
474 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0x95, 0x09,
475 0x0a, 0x15, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
476 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xee, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61,
477 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
478 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
479 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65,
480 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65,
481 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
482 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63,
483 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e,
484 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d,
485 0x61, 0x22, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46, 0x22, 0x33, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
486 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
487 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64,
488 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x3a, 0x0f,
489 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0xda,
490 0x41, 0x16, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
491 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0xde, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64,
492 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d,
493 0x61, 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
494 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73,
495 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d,
496 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
497 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
498 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65,
499 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65,
500 0x6d, 0x61, 0x22, 0x55, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x32, 0x33, 0x2f, 0x76, 0x31, 0x2f,
501 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
502 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63,
503 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,
504 0x01, 0x2a, 0xda, 0x41, 0x14, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65,
505 0x6e, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0xc5, 0x01, 0x0a, 0x11, 0x47, 0x65,
506 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12,
507 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63,
508 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e,
509 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63,
510 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f,
511 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65,
512 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
513 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x42, 0x82,
514 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x12, 0x33, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
515 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61,
516 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
517 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
518 0x65, 0x12, 0xb1, 0x01, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75,
519 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f,
520 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
521 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65,
522 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65,
523 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
524 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
525 0x79, 0x22, 0x42, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x2a, 0x33, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
526 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
527 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75,
528 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41,
529 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xd8, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6f,
530 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x3c, 0x2e,
531 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e,
532 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31,
533 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68,
534 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x67, 0x6f,
535 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65,
536 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
537 0x69, 0x73, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d,
538 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x44, 0x82, 0xd3, 0xe4, 0x93,
539 0x02, 0x35, 0x12, 0x33, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
540 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
541 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
542 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
543 0x1a, 0x53, 0xca, 0x41, 0x1f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65,
544 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
545 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77,
546 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
547 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61,
548 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x96, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
549 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65,
550 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x1a,
551 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x65,
552 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x67, 0x6f,
553 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
554 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
555 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
556 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f,
557 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x62, 0x06,
558 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
559 }
560
561 var (
562 file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDescOnce sync.Once
563 file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDescData = file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDesc
564 )
565
566 func file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDescGZIP() []byte {
567 file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDescOnce.Do(func() {
568 file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDescData)
569 })
570 return file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDescData
571 }
572
573 var file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
574 var file_google_cloud_contentwarehouse_v1_document_schema_service_proto_goTypes = []interface{}{
575 (*CreateDocumentSchemaRequest)(nil),
576 (*GetDocumentSchemaRequest)(nil),
577 (*UpdateDocumentSchemaRequest)(nil),
578 (*DeleteDocumentSchemaRequest)(nil),
579 (*ListDocumentSchemasRequest)(nil),
580 (*ListDocumentSchemasResponse)(nil),
581 (*DocumentSchema)(nil),
582 (*emptypb.Empty)(nil),
583 }
584 var file_google_cloud_contentwarehouse_v1_document_schema_service_proto_depIdxs = []int32{
585 6,
586 6,
587 6,
588 0,
589 2,
590 1,
591 3,
592 4,
593 6,
594 6,
595 6,
596 7,
597 5,
598 8,
599 3,
600 3,
601 3,
602 0,
603 }
604
605 func init() { file_google_cloud_contentwarehouse_v1_document_schema_service_proto_init() }
606 func file_google_cloud_contentwarehouse_v1_document_schema_service_proto_init() {
607 if File_google_cloud_contentwarehouse_v1_document_schema_service_proto != nil {
608 return
609 }
610 file_google_cloud_contentwarehouse_v1_document_schema_proto_init()
611 if !protoimpl.UnsafeEnabled {
612 file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
613 switch v := v.(*CreateDocumentSchemaRequest); i {
614 case 0:
615 return &v.state
616 case 1:
617 return &v.sizeCache
618 case 2:
619 return &v.unknownFields
620 default:
621 return nil
622 }
623 }
624 file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
625 switch v := v.(*GetDocumentSchemaRequest); i {
626 case 0:
627 return &v.state
628 case 1:
629 return &v.sizeCache
630 case 2:
631 return &v.unknownFields
632 default:
633 return nil
634 }
635 }
636 file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
637 switch v := v.(*UpdateDocumentSchemaRequest); i {
638 case 0:
639 return &v.state
640 case 1:
641 return &v.sizeCache
642 case 2:
643 return &v.unknownFields
644 default:
645 return nil
646 }
647 }
648 file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
649 switch v := v.(*DeleteDocumentSchemaRequest); i {
650 case 0:
651 return &v.state
652 case 1:
653 return &v.sizeCache
654 case 2:
655 return &v.unknownFields
656 default:
657 return nil
658 }
659 }
660 file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
661 switch v := v.(*ListDocumentSchemasRequest); i {
662 case 0:
663 return &v.state
664 case 1:
665 return &v.sizeCache
666 case 2:
667 return &v.unknownFields
668 default:
669 return nil
670 }
671 }
672 file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
673 switch v := v.(*ListDocumentSchemasResponse); i {
674 case 0:
675 return &v.state
676 case 1:
677 return &v.sizeCache
678 case 2:
679 return &v.unknownFields
680 default:
681 return nil
682 }
683 }
684 }
685 type x struct{}
686 out := protoimpl.TypeBuilder{
687 File: protoimpl.DescBuilder{
688 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
689 RawDescriptor: file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDesc,
690 NumEnums: 0,
691 NumMessages: 6,
692 NumExtensions: 0,
693 NumServices: 1,
694 },
695 GoTypes: file_google_cloud_contentwarehouse_v1_document_schema_service_proto_goTypes,
696 DependencyIndexes: file_google_cloud_contentwarehouse_v1_document_schema_service_proto_depIdxs,
697 MessageInfos: file_google_cloud_contentwarehouse_v1_document_schema_service_proto_msgTypes,
698 }.Build()
699 File_google_cloud_contentwarehouse_v1_document_schema_service_proto = out.File
700 file_google_cloud_contentwarehouse_v1_document_schema_service_proto_rawDesc = nil
701 file_google_cloud_contentwarehouse_v1_document_schema_service_proto_goTypes = nil
702 file_google_cloud_contentwarehouse_v1_document_schema_service_proto_depIdxs = nil
703 }
704
705
706 var _ context.Context
707 var _ grpc.ClientConnInterface
708
709
710
711 const _ = grpc.SupportPackageIsVersion6
712
713
714
715
716 type DocumentSchemaServiceClient interface {
717
718 CreateDocumentSchema(ctx context.Context, in *CreateDocumentSchemaRequest, opts ...grpc.CallOption) (*DocumentSchema, error)
719
720
721
722
723
724
725 UpdateDocumentSchema(ctx context.Context, in *UpdateDocumentSchemaRequest, opts ...grpc.CallOption) (*DocumentSchema, error)
726
727
728 GetDocumentSchema(ctx context.Context, in *GetDocumentSchemaRequest, opts ...grpc.CallOption) (*DocumentSchema, error)
729
730
731
732 DeleteDocumentSchema(ctx context.Context, in *DeleteDocumentSchemaRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
733
734 ListDocumentSchemas(ctx context.Context, in *ListDocumentSchemasRequest, opts ...grpc.CallOption) (*ListDocumentSchemasResponse, error)
735 }
736
737 type documentSchemaServiceClient struct {
738 cc grpc.ClientConnInterface
739 }
740
741 func NewDocumentSchemaServiceClient(cc grpc.ClientConnInterface) DocumentSchemaServiceClient {
742 return &documentSchemaServiceClient{cc}
743 }
744
745 func (c *documentSchemaServiceClient) CreateDocumentSchema(ctx context.Context, in *CreateDocumentSchemaRequest, opts ...grpc.CallOption) (*DocumentSchema, error) {
746 out := new(DocumentSchema)
747 err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentSchemaService/CreateDocumentSchema", in, out, opts...)
748 if err != nil {
749 return nil, err
750 }
751 return out, nil
752 }
753
754 func (c *documentSchemaServiceClient) UpdateDocumentSchema(ctx context.Context, in *UpdateDocumentSchemaRequest, opts ...grpc.CallOption) (*DocumentSchema, error) {
755 out := new(DocumentSchema)
756 err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentSchemaService/UpdateDocumentSchema", in, out, opts...)
757 if err != nil {
758 return nil, err
759 }
760 return out, nil
761 }
762
763 func (c *documentSchemaServiceClient) GetDocumentSchema(ctx context.Context, in *GetDocumentSchemaRequest, opts ...grpc.CallOption) (*DocumentSchema, error) {
764 out := new(DocumentSchema)
765 err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentSchemaService/GetDocumentSchema", in, out, opts...)
766 if err != nil {
767 return nil, err
768 }
769 return out, nil
770 }
771
772 func (c *documentSchemaServiceClient) DeleteDocumentSchema(ctx context.Context, in *DeleteDocumentSchemaRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
773 out := new(emptypb.Empty)
774 err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentSchemaService/DeleteDocumentSchema", in, out, opts...)
775 if err != nil {
776 return nil, err
777 }
778 return out, nil
779 }
780
781 func (c *documentSchemaServiceClient) ListDocumentSchemas(ctx context.Context, in *ListDocumentSchemasRequest, opts ...grpc.CallOption) (*ListDocumentSchemasResponse, error) {
782 out := new(ListDocumentSchemasResponse)
783 err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentSchemaService/ListDocumentSchemas", in, out, opts...)
784 if err != nil {
785 return nil, err
786 }
787 return out, nil
788 }
789
790
791 type DocumentSchemaServiceServer interface {
792
793 CreateDocumentSchema(context.Context, *CreateDocumentSchemaRequest) (*DocumentSchema, error)
794
795
796
797
798
799
800 UpdateDocumentSchema(context.Context, *UpdateDocumentSchemaRequest) (*DocumentSchema, error)
801
802
803 GetDocumentSchema(context.Context, *GetDocumentSchemaRequest) (*DocumentSchema, error)
804
805
806
807 DeleteDocumentSchema(context.Context, *DeleteDocumentSchemaRequest) (*emptypb.Empty, error)
808
809 ListDocumentSchemas(context.Context, *ListDocumentSchemasRequest) (*ListDocumentSchemasResponse, error)
810 }
811
812
813 type UnimplementedDocumentSchemaServiceServer struct {
814 }
815
816 func (*UnimplementedDocumentSchemaServiceServer) CreateDocumentSchema(context.Context, *CreateDocumentSchemaRequest) (*DocumentSchema, error) {
817 return nil, status.Errorf(codes.Unimplemented, "method CreateDocumentSchema not implemented")
818 }
819 func (*UnimplementedDocumentSchemaServiceServer) UpdateDocumentSchema(context.Context, *UpdateDocumentSchemaRequest) (*DocumentSchema, error) {
820 return nil, status.Errorf(codes.Unimplemented, "method UpdateDocumentSchema not implemented")
821 }
822 func (*UnimplementedDocumentSchemaServiceServer) GetDocumentSchema(context.Context, *GetDocumentSchemaRequest) (*DocumentSchema, error) {
823 return nil, status.Errorf(codes.Unimplemented, "method GetDocumentSchema not implemented")
824 }
825 func (*UnimplementedDocumentSchemaServiceServer) DeleteDocumentSchema(context.Context, *DeleteDocumentSchemaRequest) (*emptypb.Empty, error) {
826 return nil, status.Errorf(codes.Unimplemented, "method DeleteDocumentSchema not implemented")
827 }
828 func (*UnimplementedDocumentSchemaServiceServer) ListDocumentSchemas(context.Context, *ListDocumentSchemasRequest) (*ListDocumentSchemasResponse, error) {
829 return nil, status.Errorf(codes.Unimplemented, "method ListDocumentSchemas not implemented")
830 }
831
832 func RegisterDocumentSchemaServiceServer(s *grpc.Server, srv DocumentSchemaServiceServer) {
833 s.RegisterService(&_DocumentSchemaService_serviceDesc, srv)
834 }
835
836 func _DocumentSchemaService_CreateDocumentSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
837 in := new(CreateDocumentSchemaRequest)
838 if err := dec(in); err != nil {
839 return nil, err
840 }
841 if interceptor == nil {
842 return srv.(DocumentSchemaServiceServer).CreateDocumentSchema(ctx, in)
843 }
844 info := &grpc.UnaryServerInfo{
845 Server: srv,
846 FullMethod: "/google.cloud.contentwarehouse.v1.DocumentSchemaService/CreateDocumentSchema",
847 }
848 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
849 return srv.(DocumentSchemaServiceServer).CreateDocumentSchema(ctx, req.(*CreateDocumentSchemaRequest))
850 }
851 return interceptor(ctx, in, info, handler)
852 }
853
854 func _DocumentSchemaService_UpdateDocumentSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
855 in := new(UpdateDocumentSchemaRequest)
856 if err := dec(in); err != nil {
857 return nil, err
858 }
859 if interceptor == nil {
860 return srv.(DocumentSchemaServiceServer).UpdateDocumentSchema(ctx, in)
861 }
862 info := &grpc.UnaryServerInfo{
863 Server: srv,
864 FullMethod: "/google.cloud.contentwarehouse.v1.DocumentSchemaService/UpdateDocumentSchema",
865 }
866 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
867 return srv.(DocumentSchemaServiceServer).UpdateDocumentSchema(ctx, req.(*UpdateDocumentSchemaRequest))
868 }
869 return interceptor(ctx, in, info, handler)
870 }
871
872 func _DocumentSchemaService_GetDocumentSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
873 in := new(GetDocumentSchemaRequest)
874 if err := dec(in); err != nil {
875 return nil, err
876 }
877 if interceptor == nil {
878 return srv.(DocumentSchemaServiceServer).GetDocumentSchema(ctx, in)
879 }
880 info := &grpc.UnaryServerInfo{
881 Server: srv,
882 FullMethod: "/google.cloud.contentwarehouse.v1.DocumentSchemaService/GetDocumentSchema",
883 }
884 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
885 return srv.(DocumentSchemaServiceServer).GetDocumentSchema(ctx, req.(*GetDocumentSchemaRequest))
886 }
887 return interceptor(ctx, in, info, handler)
888 }
889
890 func _DocumentSchemaService_DeleteDocumentSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
891 in := new(DeleteDocumentSchemaRequest)
892 if err := dec(in); err != nil {
893 return nil, err
894 }
895 if interceptor == nil {
896 return srv.(DocumentSchemaServiceServer).DeleteDocumentSchema(ctx, in)
897 }
898 info := &grpc.UnaryServerInfo{
899 Server: srv,
900 FullMethod: "/google.cloud.contentwarehouse.v1.DocumentSchemaService/DeleteDocumentSchema",
901 }
902 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
903 return srv.(DocumentSchemaServiceServer).DeleteDocumentSchema(ctx, req.(*DeleteDocumentSchemaRequest))
904 }
905 return interceptor(ctx, in, info, handler)
906 }
907
908 func _DocumentSchemaService_ListDocumentSchemas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
909 in := new(ListDocumentSchemasRequest)
910 if err := dec(in); err != nil {
911 return nil, err
912 }
913 if interceptor == nil {
914 return srv.(DocumentSchemaServiceServer).ListDocumentSchemas(ctx, in)
915 }
916 info := &grpc.UnaryServerInfo{
917 Server: srv,
918 FullMethod: "/google.cloud.contentwarehouse.v1.DocumentSchemaService/ListDocumentSchemas",
919 }
920 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
921 return srv.(DocumentSchemaServiceServer).ListDocumentSchemas(ctx, req.(*ListDocumentSchemasRequest))
922 }
923 return interceptor(ctx, in, info, handler)
924 }
925
926 var _DocumentSchemaService_serviceDesc = grpc.ServiceDesc{
927 ServiceName: "google.cloud.contentwarehouse.v1.DocumentSchemaService",
928 HandlerType: (*DocumentSchemaServiceServer)(nil),
929 Methods: []grpc.MethodDesc{
930 {
931 MethodName: "CreateDocumentSchema",
932 Handler: _DocumentSchemaService_CreateDocumentSchema_Handler,
933 },
934 {
935 MethodName: "UpdateDocumentSchema",
936 Handler: _DocumentSchemaService_UpdateDocumentSchema_Handler,
937 },
938 {
939 MethodName: "GetDocumentSchema",
940 Handler: _DocumentSchemaService_GetDocumentSchema_Handler,
941 },
942 {
943 MethodName: "DeleteDocumentSchema",
944 Handler: _DocumentSchemaService_DeleteDocumentSchema_Handler,
945 },
946 {
947 MethodName: "ListDocumentSchemas",
948 Handler: _DocumentSchemaService_ListDocumentSchemas_Handler,
949 },
950 },
951 Streams: []grpc.StreamDesc{},
952 Metadata: "google/cloud/contentwarehouse/v1/document_schema_service.proto",
953 }
954
View as plain text